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>
603 ac_subst_vars
='am__EXEEXT_FALSE
609 LIBGFOR_BUILD_QUAD_FALSE
610 LIBGFOR_BUILD_QUAD_TRUE
615 extra_ldflags_libgfortran
640 LIBGFOR_USE_SYMVER_SUN_FALSE
641 LIBGFOR_USE_SYMVER_SUN_TRUE
642 LIBGFOR_USE_SYMVER_GNU_FALSE
643 LIBGFOR_USE_SYMVER_GNU_TRUE
644 LIBGFOR_USE_SYMVER_FALSE
645 LIBGFOR_USE_SYMVER_TRUE
671 MAINTAINER_MODE_FALSE
681 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
758 enable_version_specific_runtime_libs
760 enable_maintainer_mode
762 enable_dependency_tracking
771 enable_libquadmath_support
772 with_system_libunwind
774 ac_precious_vars
='build_alias
787 # Initialize some variables set by options.
789 ac_init_version
=false
790 ac_unrecognized_opts
=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
801 program_transform_name
=s
,x
,x
,
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir
='${exec_prefix}/bin'
816 sbindir
='${exec_prefix}/sbin'
817 libexecdir
='${exec_prefix}/libexec'
818 datarootdir
='${prefix}/share'
819 datadir
='${datarootdir}'
820 sysconfdir
='${prefix}/etc'
821 sharedstatedir
='${prefix}/com'
822 localstatedir
='${prefix}/var'
823 includedir
='${prefix}/include'
824 oldincludedir
='/usr/include'
825 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
826 infodir
='${datarootdir}/info'
831 libdir
='${exec_prefix}/lib'
832 localedir
='${datarootdir}/locale'
833 mandir
='${datarootdir}/man'
839 # If the previous option needs an argument, assign it.
840 if test -n "$ac_prev"; then
841 eval $ac_prev=\
$ac_option
847 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 # Accept the important Cygnus configure options, so we can diagnose typos.
853 case $ac_dashdash$ac_option in
857 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
859 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
862 -build |
--build |
--buil |
--bui |
--bu)
863 ac_prev
=build_alias
;;
864 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
865 build_alias
=$ac_optarg ;;
867 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
868 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
869 ac_prev
=cache_file
;;
870 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
871 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
872 cache_file
=$ac_optarg ;;
875 cache_file
=config.cache
;;
877 -datadir |
--datadir |
--datadi |
--datad)
879 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
880 datadir
=$ac_optarg ;;
882 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
883 |
--dataroo |
--dataro |
--datar)
884 ac_prev
=datarootdir
;;
885 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
886 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
887 datarootdir
=$ac_optarg ;;
889 -disable-* |
--disable-*)
890 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
893 as_fn_error
"invalid feature name: $ac_useropt"
894 ac_useropt_orig
=$ac_useropt
895 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901 ac_unrecognized_sep
=', ';;
903 eval enable_
$ac_useropt=no
;;
905 -docdir |
--docdir |
--docdi |
--doc |
--do)
907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
915 -enable-* |
--enable-*)
916 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
919 as_fn_error
"invalid feature name: $ac_useropt"
920 ac_useropt_orig
=$ac_useropt
921 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
926 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927 ac_unrecognized_sep
=', ';;
929 eval enable_
$ac_useropt=\
$ac_optarg ;;
931 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
932 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
933 |
--exec |
--exe |
--ex)
934 ac_prev
=exec_prefix
;;
935 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
936 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
937 |
--exec=* |
--exe=* |
--ex=*)
938 exec_prefix
=$ac_optarg ;;
940 -gas |
--gas |
--ga |
--g)
941 # Obsolete; use --with-gas.
944 -help |
--help |
--hel |
--he |
-h)
946 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
947 ac_init_help
=recursive
;;
948 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
949 ac_init_help
=short
;;
951 -host |
--host |
--hos |
--ho)
952 ac_prev
=host_alias
;;
953 -host=* |
--host=* |
--hos=* |
--ho=*)
954 host_alias
=$ac_optarg ;;
956 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
958 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
960 htmldir
=$ac_optarg ;;
962 -includedir |
--includedir |
--includedi |
--included |
--include \
963 |
--includ |
--inclu |
--incl |
--inc)
964 ac_prev
=includedir
;;
965 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
966 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
967 includedir
=$ac_optarg ;;
969 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
971 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
972 infodir
=$ac_optarg ;;
974 -libdir |
--libdir |
--libdi |
--libd)
976 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
979 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
980 |
--libexe |
--libex |
--libe)
981 ac_prev
=libexecdir
;;
982 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
983 |
--libexe=* |
--libex=* |
--libe=*)
984 libexecdir
=$ac_optarg ;;
986 -localedir |
--localedir |
--localedi |
--localed |
--locale)
988 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
989 localedir
=$ac_optarg ;;
991 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
992 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
993 ac_prev
=localstatedir
;;
994 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
995 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
996 localstatedir
=$ac_optarg ;;
998 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1000 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 mandir
=$ac_optarg ;;
1003 -nfp |
--nfp |
--nf)
1004 # Obsolete; use --without-fp.
1007 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1008 |
--no-cr |
--no-c |
-n)
1011 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1012 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1015 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1016 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1017 |
--oldin |
--oldi |
--old |
--ol |
--o)
1018 ac_prev
=oldincludedir
;;
1019 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1020 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1021 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1022 oldincludedir
=$ac_optarg ;;
1024 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1026 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1027 prefix
=$ac_optarg ;;
1029 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1030 |
--program-pre |
--program-pr |
--program-p)
1031 ac_prev
=program_prefix
;;
1032 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1033 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1034 program_prefix
=$ac_optarg ;;
1036 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1037 |
--program-suf |
--program-su |
--program-s)
1038 ac_prev
=program_suffix
;;
1039 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1040 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1041 program_suffix
=$ac_optarg ;;
1043 -program-transform-name |
--program-transform-name \
1044 |
--program-transform-nam |
--program-transform-na \
1045 |
--program-transform-n |
--program-transform- \
1046 |
--program-transform |
--program-transfor \
1047 |
--program-transfo |
--program-transf \
1048 |
--program-trans |
--program-tran \
1049 |
--progr-tra |
--program-tr |
--program-t)
1050 ac_prev
=program_transform_name
;;
1051 -program-transform-name=* |
--program-transform-name=* \
1052 |
--program-transform-nam=* |
--program-transform-na=* \
1053 |
--program-transform-n=* |
--program-transform-=* \
1054 |
--program-transform=* |
--program-transfor=* \
1055 |
--program-transfo=* |
--program-transf=* \
1056 |
--program-trans=* |
--program-tran=* \
1057 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1058 program_transform_name
=$ac_optarg ;;
1060 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1062 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1063 pdfdir
=$ac_optarg ;;
1065 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1067 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1071 |
-silent |
--silent |
--silen |
--sile |
--sil)
1074 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1076 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1078 sbindir
=$ac_optarg ;;
1080 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1081 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1082 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1084 ac_prev
=sharedstatedir
;;
1085 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1086 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1087 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1089 sharedstatedir
=$ac_optarg ;;
1091 -site |
--site |
--sit)
1093 -site=* |
--site=* |
--sit=*)
1096 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1098 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1099 srcdir
=$ac_optarg ;;
1101 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1102 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1103 ac_prev
=sysconfdir
;;
1104 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1105 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1106 sysconfdir
=$ac_optarg ;;
1108 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1109 ac_prev
=target_alias
;;
1110 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1111 target_alias
=$ac_optarg ;;
1113 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1116 -version |
--version |
--versio |
--versi |
--vers |
-V)
1117 ac_init_version
=: ;;
1120 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1123 as_fn_error
"invalid package name: $ac_useropt"
1124 ac_useropt_orig
=$ac_useropt
1125 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131 ac_unrecognized_sep
=', ';;
1133 eval with_
$ac_useropt=\
$ac_optarg ;;
1135 -without-* |
--without-*)
1136 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=no
;;
1152 # Obsolete; use --with-x.
1155 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1156 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1157 ac_prev
=x_includes
;;
1158 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1159 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1160 x_includes
=$ac_optarg ;;
1162 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1163 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1164 ac_prev
=x_libraries
;;
1165 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1166 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1167 x_libraries
=$ac_optarg ;;
1169 -*) as_fn_error
"unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information."
1174 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1175 # Reject names that are not valid shell variable names.
1176 case $ac_envvar in #(
1177 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1178 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1180 eval $ac_envvar=\
$ac_optarg
1181 export $ac_envvar ;;
1184 # FIXME: should be removed in autoconf 3.0.
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1194 if test -n "$ac_prev"; then
1195 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1196 as_fn_error
"missing argument to $ac_option"
1199 if test -n "$ac_unrecognized_opts"; then
1200 case $enable_option_checking in
1202 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1203 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207 # Check all directory arguments for consistency.
1208 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1213 eval ac_val
=\$
$ac_var
1214 # Remove trailing slashes.
1217 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218 eval $ac_var=\
$ac_val;;
1220 # Be sure to have absolute directory names.
1222 [\\/$
]* | ?
:[\\/]* ) continue;;
1223 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1225 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1233 target
=$target_alias
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x
; then
1237 if test "x$build_alias" = x
; then
1238 cross_compiling
=maybe
1239 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240 If a cross compiler is detected then cross compile mode will be used." >&2
1241 elif test "x$build_alias" != "x$host_alias"; then
1247 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1249 test "$silent" = yes && exec 6>/dev
/null
1252 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di
=`ls -di .` &&
1254 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error
"working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error
"pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted
=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir
=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1292 ac_srcdir_defaulted
=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1296 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1310 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 for ac_var
in $ac_precious_vars; do
1313 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1315 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1326 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1384 --program-prefix=PREFIX prepend PREFIX to installed program names
1385 --program-suffix=SUFFIX append SUFFIX to installed program names
1386 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1389 --build=BUILD configure
for building on BUILD
[guessed
]
1390 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1402 --disable-option-checking ignore unrecognized
--enable/--with options
1403 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1404 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1405 --enable-version-specific-runtime-libs
1406 specify that runtime libraries should be installed
1407 in a compiler-specific directory
1408 --enable-intermodule build the library
in one step
1409 --enable-maintainer-mode enable make rules and dependencies not useful
1410 (and sometimes confusing
) to the casual installer
1411 --enable-multilib build many library versions
(default
)
1412 --disable-dependency-tracking speeds up one-time build
1413 --enable-dependency-tracking do not reject slow dependency extractors
1414 --disable-symvers disable symbol versioning
for libgfortran
1415 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1416 --enable-static[=PKGS
] build static libraries
[default
=yes]
1417 --enable-fast-install[=PKGS
]
1418 optimize
for fast installation
[default
=yes]
1419 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1420 --disable-largefile omit support
for large files
1421 --disable-libquadmath-support
1422 disable libquadmath support
for Fortran
1425 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1426 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1427 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1428 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1430 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1431 --with-system-libunwind use installed libunwind
1433 Some influential environment variables
:
1434 CC C compiler
command
1435 CFLAGS C compiler flags
1436 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1437 nonstandard directory
<lib dir
>
1438 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1439 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1440 you have headers
in a nonstandard directory
<include dir
>
1442 FC Fortran compiler
command
1443 FCFLAGS Fortran compiler flags
1445 Use these variables to override the choices made by
`configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to the package provider.
1449 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1450 General help using GNU software: <http://www.gnu.org/gethelp/>.
1455 if test "$ac_init_help" = "recursive"; then
1456 # If there are subdirs, report their specific --help.
1457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458 test -d "$ac_dir" ||
1459 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1467 # A ".." for each directory in $ac_dir_suffix.
1468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1469 case $ac_top_builddir_sub in
1470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1480 .) # We are building in place.
1482 ac_top_srcdir=$ac_top_builddir_sub
1483 ac_abs_top_srcdir=$ac_pwd ;;
1484 [\\/]* | ?:[\\/]* ) # Absolute name.
1485 ac_srcdir=$srcdir$ac_dir_suffix;
1486 ac_top_srcdir=$srcdir
1487 ac_abs_top_srcdir=$srcdir ;;
1489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490 ac_top_srcdir=$ac_top_build_prefix$srcdir
1491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495 cd "$ac_dir" || { ac_status=$?; continue; }
1496 # Check for guested configure.
1497 if test -f "$ac_srcdir/configure.gnu"; then
1499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500 elif test -f "$ac_srcdir/configure"; then
1502 $SHELL "$ac_srcdir/configure" --help=recursive
1504 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506 cd "$ac_pwd" || { ac_status=$?; break; }
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1513 GNU Fortran Runtime Library configure 0.3
1514 generated by GNU Autoconf 2.64
1516 Copyright (C) 2009 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1527 # ac_fn_c_try_compile LINENO
1528 # --------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_compile ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 rm -f conftest.$ac_objext
1534 if { { ac_try="$ac_compile"
1536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1537 *) ac_try_echo
=$ac_try;;
1539 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_compile") 2>conftest.err
1543 if test -s conftest.err
; then
1544 grep -v '^ *+' conftest.err
>conftest.er1
1545 cat conftest.er1
>&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest.
$ac_objext; then :
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.
$ac_ext >&5
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1563 } # ac_fn_c_try_compile
1565 # ac_fn_c_try_cpp LINENO
1566 # ----------------------
1567 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1570 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1571 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } >/dev/null && {
1587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1603 # -------------------------------------------------------
1604 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1605 # the include files in INCLUDES and setting the cache variable VAR
1607 ac_fn_c_check_header_mongrel ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612 $as_echo_n "checking for $2... " >&6; }
1613 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1614 $as_echo_n "(cached) " >&6
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1620 # Is the header compilable?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1622 $as_echo_n "checking $2 usability... " >&6; }
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1628 if ac_fn_c_try_compile "$LINENO"; then :
1629 ac_header_compiler=yes
1631 ac_header_compiler=no
1633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1635 $as_echo "$ac_header_compiler" >&6; }
1637 # Is the header present?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1639 $as_echo_n "checking $2 presence... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1644 if ac_fn_c_try_cpp "$LINENO"; then :
1645 ac_header_preproc=yes
1647 ac_header_preproc=no
1649 rm -f conftest.err conftest.$ac_ext
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1651 $as_echo "$ac_header_preproc" >&6; }
1653 # So? What about this header?
1654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1657 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1663 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1665 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1667 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1669 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677 $as_echo_n "(cached) " >&6
1679 eval "$3=\$ac_header_compiler"
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 } # ac_fn_c_check_header_mongrel
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1748 if ac_fn_c_try_compile "$LINENO"; then :
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_c_check_header_compile
1762 # ac_fn_c_try_link LINENO
1763 # -----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext conftest$ac_exeext
1769 if { { ac_try="$ac_link"
1771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>conftest.err
1778 if test -s conftest.err
; then
1779 grep -v '^ *+' conftest.err
>conftest.er1
1780 cat conftest.er1
>&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest
$ac_exeext && {
1788 test "$cross_compiling" = yes ||
1789 $as_test_x conftest
$ac_exeext
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.
$ac_ext >&5
1798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800 # interfere with the next link command; also delete a directory that is
1801 # left behind by Apple's compiler. We do this before executing the actions.
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1806 } # ac_fn_c_try_link
1808 # ac_fn_c_check_func LINENO FUNC VAR
1809 # ----------------------------------
1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811 ac_fn_c_check_func
()
1813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1817 $as_echo_n "(cached) " >&6
1819 if test x
$gcc_no_link = xyes
; then
1820 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1826 #define $2 innocuous_$2
1828 /* System header to define __stub macros and hopefully few prototypes,
1829 which can conflict with char $2 (); below.
1830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1831 <limits.h> exists even on freestanding compilers. */
1834 # include <limits.h>
1836 # include <assert.h>
1841 /* Override any GCC internal prototype to avoid an error.
1842 Use char because int might match the return type of a GCC
1843 builtin and then its argument prototype would still apply. */
1848 /* The GNU C library defines this for functions which it implements
1849 to always fail with ENOSYS. Some functions are actually named
1850 something starting with __ and the normal name is an alias. */
1851 #if defined __stub_$2 || defined __stub___$2
1863 if ac_fn_c_try_link
"$LINENO"; then :
1868 rm -f core conftest.err conftest.
$ac_objext \
1869 conftest
$ac_exeext conftest.
$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1876 } # ac_fn_c_check_func
1878 # ac_fn_fc_try_compile LINENO
1879 # ---------------------------
1880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1881 ac_fn_fc_try_compile
()
1883 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1884 rm -f conftest.
$ac_objext
1885 if { { ac_try
="$ac_compile"
1887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1888 *) ac_try_echo=$ac_try;;
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_compile") 2>conftest.err
1894 if test -s conftest.err; then
1895 grep -v '^ *+' conftest.err >conftest.er1
1896 cat conftest.er1 >&5
1897 mv -f conftest.er1 conftest.err
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } && {
1901 test -z "$ac_fc_werror_flag" ||
1902 test ! -s conftest.err
1903 } && test -s conftest.$ac_objext; then :
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 } # ac_fn_fc_try_compile
1916 # ac_fn_fc_try_link LINENO
1917 # ------------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_fc_try_link ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 rm -f conftest.$ac_objext conftest$ac_exeext
1923 if { { ac_try="$ac_link"
1925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1926 *) ac_try_echo
=$ac_try;;
1928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>conftest.err
1932 if test -s conftest.err
; then
1933 grep -v '^ *+' conftest.err
>conftest.er1
1934 cat conftest.er1
>&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_fc_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest
$ac_exeext && {
1942 test "$cross_compiling" = yes ||
1943 $as_test_x conftest
$ac_exeext
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.
$ac_ext >&5
1952 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954 # interfere with the next link command; also delete a directory that is
1955 # left behind by Apple's compiler. We do this before executing the actions.
1956 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1960 } # ac_fn_fc_try_link
1962 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1963 # -------------------------------------------
1964 # Tests whether TYPE exists after having included INCLUDES, setting cache
1965 # variable VAR accordingly.
1966 ac_fn_c_check_type
()
1968 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1970 $as_echo_n "checking for $2... " >&6; }
1971 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1972 $as_echo_n "(cached) " >&6
1975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1987 if ac_fn_c_try_compile
"$LINENO"; then :
1988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
2000 if ac_fn_c_try_compile
"$LINENO"; then :
2005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2014 } # ac_fn_c_check_type
2016 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2017 # --------------------------------------------
2018 # Tries to find the compile-time value of EXPR in a program that includes
2019 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2021 ac_fn_c_compute_int
()
2023 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2024 if test "$cross_compiling" = yes; then
2025 # Depending upon the size, compute the lo and hi bounds.
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2032 static int test_array [1 - 2 * !(($2) >= 0)];
2039 if ac_fn_c_try_compile
"$LINENO"; then :
2042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2048 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2055 if ac_fn_c_try_compile
"$LINENO"; then :
2056 ac_hi
=$ac_mid; break
2058 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2059 if test $ac_lo -le $ac_mid; then
2063 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2074 static int test_array [1 - 2 * !(($2) < 0)];
2081 if ac_fn_c_try_compile
"$LINENO"; then :
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2090 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2097 if ac_fn_c_try_compile
"$LINENO"; then :
2098 ac_lo
=$ac_mid; break
2100 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2101 if test $ac_mid -le $ac_hi; then
2105 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2115 # Binary search between lo and hi bounds.
2116 while test "x$ac_lo" != "x$ac_hi"; do
2117 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2124 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2131 if ac_fn_c_try_compile
"$LINENO"; then :
2134 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2139 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2146 static long int longval () { return $2; }
2147 static unsigned long int ulongval () { return $2; }
2154 FILE *f = fopen ("conftest.val", "w");
2159 long int i = longval ();
2162 fprintf (f, "%ld", i);
2166 unsigned long int i = ulongval ();
2169 fprintf (f, "%lu", i);
2171 /* Do not output a trailing newline, as this causes \r\n confusion
2172 on some platforms. */
2173 return ferror (f) || fclose (f) != 0;
2179 if ac_fn_c_try_run
"$LINENO"; then :
2180 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2184 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2185 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2189 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2192 } # ac_fn_c_compute_int
2194 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2195 # ----------------------------------------------------
2196 # Tries to find if the field MEMBER exists in type AGGR, after including
2197 # INCLUDES, setting cache variable VAR accordingly.
2198 ac_fn_c_check_member
()
2200 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2202 $as_echo_n "checking for $2.$3... " >&6; }
2203 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 $as_echo_n "(cached) " >&6
2206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2219 if ac_fn_c_try_compile
"$LINENO"; then :
2222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2229 if (sizeof ac_aggr.$3)
2235 if ac_fn_c_try_compile
"$LINENO"; then :
2240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2247 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2249 } # ac_fn_c_check_member
2250 cat >config.log
<<_ACEOF
2251 This file contains any messages produced by compilers while
2252 running configure, to aid debugging if configure makes a mistake.
2254 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2255 generated by GNU Autoconf 2.64. Invocation command line was
2267 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2268 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2269 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2270 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2271 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2273 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2274 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2276 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2277 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2278 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2279 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2280 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2281 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2282 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir
=.
2291 $as_echo "PATH: $as_dir"
2307 # Keep a trace of the command line.
2308 # Strip out --no-create and --no-recursion so they do not pile up.
2309 # Strip out --silent because we don't want to record it for future runs.
2310 # Also quote any args containing shell meta-characters.
2311 # Make two passes to allow for proper duplicate-argument suppression.
2315 ac_must_keep_next
=false
2321 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2322 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2323 |
-silent |
--silent |
--silen |
--sile |
--sil)
2326 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2329 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2331 as_fn_append ac_configure_args1
" '$ac_arg'"
2332 if test $ac_must_keep_next = true
; then
2333 ac_must_keep_next
=false
# Got value, back to normal.
2336 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2337 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2338 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2339 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2340 case "$ac_configure_args0 " in
2341 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2344 -* ) ac_must_keep_next
=true
;;
2347 as_fn_append ac_configure_args
" '$ac_arg'"
2352 { ac_configure_args0
=; unset ac_configure_args0
;}
2353 { ac_configure_args1
=; unset ac_configure_args1
;}
2355 # When interrupted or exit'd, cleanup temporary files, and complete
2356 # config.log. We remove comments because anyway the quotes in there
2357 # would cause problems or look ugly.
2358 # WARNING: Use '\'' to represent an apostrophe within the trap.
2359 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2360 trap 'exit_status=$?
2361 # Save into config.log some information that might help in debugging.
2366 ## ---------------- ##
2367 ## Cache variables. ##
2368 ## ---------------- ##
2371 # The following way of writing the cache mishandles newlines in values,
2373 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2374 eval ac_val=\$$ac_var
2378 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2382 _ | IFS | as_nl) ;; #(
2383 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384 *) { eval $ac_var=; unset $ac_var;} ;;
2389 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2390 *${as_nl}ac_space=\ *)
2392 "s/'\''/'\''\\\\'\'''\''/g;
2393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2404 ## ----------------- ##
2405 ## Output variables. ##
2406 ## ----------------- ##
2409 for ac_var in $ac_subst_vars
2411 eval ac_val=\$$ac_var
2413 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 $as_echo "$ac_var='\''$ac_val'\''"
2419 if test -n "$ac_subst_files"; then
2421 ## ------------------- ##
2422 ## File substitutions. ##
2423 ## ------------------- ##
2426 for ac_var
in $ac_subst_files
2428 eval ac_val
=\$
$ac_var
2430 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432 $as_echo "$ac_var='\''$ac_val'\''"
2437 if test -s confdefs.h; then
2447 test "$ac_signal" != 0 &&
2448 $as_echo "$as_me: caught signal $ac_signal"
2449 $as_echo "$as_me: exit $exit_status"
2451 rm -f core *.core core.conftest.* &&
2452 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455 for ac_signal
in 1 2 13 15; do
2456 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2460 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2461 rm -f -r conftest
* confdefs.h
2463 $as_echo "/* confdefs.h */" > confdefs.h
2465 # Predefined preprocessor variables.
2467 cat >>confdefs.h
<<_ACEOF
2468 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 cat >>confdefs.h
<<_ACEOF
2472 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 cat >>confdefs.h
<<_ACEOF
2476 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 cat >>confdefs.h
<<_ACEOF
2480 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 cat >>confdefs.h
<<_ACEOF
2484 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 cat >>confdefs.h
<<_ACEOF
2488 #define PACKAGE_URL "$PACKAGE_URL"
2492 # Let the site file select an alternate cache file if it wants to.
2493 # Prefer an explicitly selected file to automatically selected ones.
2496 if test -n "$CONFIG_SITE"; then
2497 ac_site_file1
=$CONFIG_SITE
2498 elif test "x$prefix" != xNONE
; then
2499 ac_site_file1
=$prefix/share
/config.site
2500 ac_site_file2
=$prefix/etc
/config.site
2502 ac_site_file1
=$ac_default_prefix/share
/config.site
2503 ac_site_file2
=$ac_default_prefix/etc
/config.site
2505 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2507 test "x$ac_site_file" = xNONE
&& continue
2508 if test -r "$ac_site_file"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2510 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2511 sed 's/^/| /' "$ac_site_file" >&5
2516 if test -r "$cache_file"; then
2517 # Some versions of bash will fail to source /dev/null (special
2518 # files actually), so we avoid doing that.
2519 if test -f "$cache_file"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2521 $as_echo "$as_me: loading cache $cache_file" >&6;}
2523 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2524 *) .
"./$cache_file";;
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2529 $as_echo "$as_me: creating cache $cache_file" >&6;}
2533 as_fn_append ac_header_list
" unistd.h"
2534 as_fn_append ac_header_list
" sys/time.h"
2535 as_fn_append ac_header_list
" sys/times.h"
2536 as_fn_append ac_header_list
" sys/resource.h"
2537 as_fn_append ac_header_list
" sys/types.h"
2538 as_fn_append ac_header_list
" sys/stat.h"
2539 as_fn_append ac_header_list
" sys/wait.h"
2540 as_fn_append ac_header_list
" floatingpoint.h"
2541 as_fn_append ac_header_list
" ieeefp.h"
2542 as_fn_append ac_header_list
" fenv.h"
2543 as_fn_append ac_header_list
" fptrap.h"
2544 as_fn_append ac_header_list
" pwd.h"
2545 as_fn_append ac_header_list
" complex.h"
2546 as_fn_append ac_func_list
" getrusage"
2547 as_fn_append ac_func_list
" times"
2548 as_fn_append ac_func_list
" mkstemp"
2549 as_fn_append ac_func_list
" strtof"
2550 as_fn_append ac_func_list
" strtold"
2551 as_fn_append ac_func_list
" snprintf"
2552 as_fn_append ac_func_list
" ftruncate"
2553 as_fn_append ac_func_list
" chsize"
2554 as_fn_append ac_func_list
" chdir"
2555 as_fn_append ac_func_list
" getlogin"
2556 as_fn_append ac_func_list
" gethostname"
2557 as_fn_append ac_func_list
" kill"
2558 as_fn_append ac_func_list
" link"
2559 as_fn_append ac_func_list
" symlink"
2560 as_fn_append ac_func_list
" sleep"
2561 as_fn_append ac_func_list
" ttyname"
2562 as_fn_append ac_func_list
" alarm"
2563 as_fn_append ac_func_list
" access"
2564 as_fn_append ac_func_list
" fork"
2565 as_fn_append ac_func_list
" execl"
2566 as_fn_append ac_func_list
" wait"
2567 as_fn_append ac_func_list
" setmode"
2568 as_fn_append ac_func_list
" execve"
2569 as_fn_append ac_func_list
" pipe"
2570 as_fn_append ac_func_list
" dup2"
2571 as_fn_append ac_func_list
" close"
2572 as_fn_append ac_func_list
" fdopen"
2573 as_fn_append ac_func_list
" strcasestr"
2574 as_fn_append ac_func_list
" getrlimit"
2575 as_fn_append ac_func_list
" gettimeofday"
2576 as_fn_append ac_func_list
" stat"
2577 as_fn_append ac_func_list
" fstat"
2578 as_fn_append ac_func_list
" lstat"
2579 as_fn_append ac_func_list
" getpwuid"
2580 as_fn_append ac_func_list
" vsnprintf"
2581 as_fn_append ac_func_list
" dup"
2582 as_fn_append ac_func_list
" getcwd"
2583 as_fn_append ac_func_list
" localtime_r"
2584 as_fn_append ac_func_list
" gmtime_r"
2585 as_fn_append ac_func_list
" strerror_r"
2586 as_fn_append ac_func_list
" getpwuid_r"
2587 as_fn_append ac_func_list
" ttyname_r"
2588 as_fn_append ac_func_list
" clock_gettime"
2589 as_fn_append ac_func_list
" readlink"
2590 as_fn_append ac_func_list
" getgid"
2591 as_fn_append ac_func_list
" getpid"
2592 as_fn_append ac_func_list
" getppid"
2593 as_fn_append ac_func_list
" getuid"
2594 as_fn_append ac_func_list
" geteuid"
2595 # Check that the precious variables saved in the cache have kept the same
2597 ac_cache_corrupted
=false
2598 for ac_var
in $ac_precious_vars; do
2599 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2600 eval ac_new_set
=\
$ac_env_${ac_var}_set
2601 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2602 eval ac_new_val
=\
$ac_env_${ac_var}_value
2603 case $ac_old_set,$ac_new_set in
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2606 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2607 ac_cache_corrupted
=: ;;
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2610 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2611 ac_cache_corrupted
=: ;;
2614 if test "x$ac_old_val" != "x$ac_new_val"; then
2615 # differences in whitespace do not lead to failure.
2616 ac_old_val_w
=`echo x $ac_old_val`
2617 ac_new_val_w
=`echo x $ac_new_val`
2618 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2620 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2621 ac_cache_corrupted
=:
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2624 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2625 eval $ac_var=\
$ac_old_val
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2628 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2630 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2633 # Pass precious variables to config.status.
2634 if test "$ac_new_set" = set; then
2636 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2637 *) ac_arg
=$ac_var=$ac_new_val ;;
2639 case " $ac_configure_args " in
2640 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2641 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2645 if $ac_cache_corrupted; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2649 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2650 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2652 ## -------------------- ##
2653 ## Main body of script. ##
2654 ## -------------------- ##
2657 ac_cpp
='$CPP $CPPFLAGS'
2658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2666 ac_config_headers
="$ac_config_headers config.h"
2669 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2670 for ac_t
in install-sh
install.sh shtool
; do
2671 if test -f "$ac_dir/$ac_t"; then
2673 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2678 if test -z "$ac_aux_dir"; then
2679 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2682 # These three variables are undocumented and unsupported,
2683 # and are intended to be withdrawn in a future Autoconf release.
2684 # They can cause serious problems if a builder's source tree is in a directory
2685 # whose full name contains unusual characters.
2686 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2687 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2688 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2691 # Make sure we can run config.sub.
2692 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2693 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2696 $as_echo_n "checking build system type... " >&6; }
2697 if test "${ac_cv_build+set}" = set; then :
2698 $as_echo_n "(cached) " >&6
2700 ac_build_alias
=$build_alias
2701 test "x$ac_build_alias" = x
&&
2702 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2703 test "x$ac_build_alias" = x
&&
2704 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2705 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2706 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2710 $as_echo "$ac_cv_build" >&6; }
2711 case $ac_cv_build in
2713 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2716 ac_save_IFS
=$IFS; IFS
='-'
2722 # Remember, the first character of IFS is used to create $*,
2723 # except with old shells:
2726 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2729 case ${build_alias} in
2730 "") build_noncanonical
=${build} ;;
2731 *) build_noncanonical
=${build_alias} ;;
2734 case ${host_alias} in
2735 "") host_noncanonical
=${build_noncanonical} ;;
2736 *) host_noncanonical
=${host_alias} ;;
2739 case ${target_alias} in
2740 "") target_noncanonical
=${host_noncanonical} ;;
2741 *) target_noncanonical
=${target_alias} ;;
2745 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2746 # have matching libraries, they should use host libraries: Makefile.tpl
2747 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2748 # However, they still use the build modules, because the corresponding
2749 # host modules (e.g. bison) are only built for the host when bootstrap
2751 # - build_subdir is where we find build modules, and never changes.
2752 # - build_libsubdir is where we find build libraries, and can be overridden.
2754 # Prefix 'build-' so this never conflicts with target_subdir.
2755 build_subdir
="build-${build_noncanonical}"
2757 # Check whether --with-build-libsubdir was given.
2758 if test "${with_build_libsubdir+set}" = set; then :
2759 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2761 build_libsubdir
="$build_subdir"
2764 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2765 if ( test $srcdir = .
&& test -d gcc
) \
2766 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2767 host_subdir
="host-${host_noncanonical}"
2772 target_subdir
=${target_noncanonical}
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2780 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2781 # Check whether --enable-version-specific-runtime-libs was given.
2782 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2783 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2784 yes) version_specific_libs
=yes ;;
2785 no
) version_specific_libs
=no
;;
2786 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2789 version_specific_libs
=no
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2793 $as_echo "$version_specific_libs" >&6; }
2795 # Build with intermodule optimisations
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2797 $as_echo_n "checking for --enable-intermodule... " >&6; }
2798 # Check whether --enable-intermodule was given.
2799 if test "${enable_intermodule+set}" = set; then :
2800 enableval
=$enable_intermodule; case "$enable_intermodule" in
2801 yes) onestep
="-onestep";;
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2809 $as_echo "$enable_intermodule" >&6; }
2810 if test x
$onestep = x-onestep
; then
2820 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2822 # You will slowly go insane if you do not grok the following fact: when
2823 # building this library, the top-level /target/ becomes the library's /host/.
2825 # configure then causes --target to default to --host, exactly like any
2826 # other package using autoconf. Therefore, 'target' and 'host' will
2827 # always be the same. This makes sense both for native and cross compilers
2828 # just think about it for a little while. :-)
2830 # Also, if this library is being configured as part of a cross compiler, the
2831 # top-level configure script will pass the "real" host as $with_cross_host.
2833 # Do not delete or change the following two lines. For why, see
2834 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2836 $as_echo_n "checking host system type... " >&6; }
2837 if test "${ac_cv_host+set}" = set; then :
2838 $as_echo_n "(cached) " >&6
2840 if test "x$host_alias" = x
; then
2841 ac_cv_host
=$ac_cv_build
2843 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2844 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2849 $as_echo "$ac_cv_host" >&6; }
2852 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2855 ac_save_IFS
=$IFS; IFS
='-'
2861 # Remember, the first character of IFS is used to create $*,
2862 # except with old shells:
2865 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2869 $as_echo_n "checking target system type... " >&6; }
2870 if test "${ac_cv_target+set}" = set; then :
2871 $as_echo_n "(cached) " >&6
2873 if test "x$target_alias" = x
; then
2874 ac_cv_target
=$ac_cv_host
2876 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2877 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2882 $as_echo "$ac_cv_target" >&6; }
2883 case $ac_cv_target in
2885 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2887 target
=$ac_cv_target
2888 ac_save_IFS
=$IFS; IFS
='-'
2894 # Remember, the first character of IFS is used to create $*,
2895 # except with old shells:
2898 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2901 # The aliases save the names the user supplied, while $host etc.
2902 # will get canonicalized.
2903 test -n "$target_alias" &&
2904 test "$program_prefix$program_suffix$program_transform_name" = \
2906 program_prefix
=${target_alias}-
2911 target_alias
=${target_alias-$host_alias}
2914 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2915 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2916 # 1.9.6: minimum required version
2917 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2918 # of other PACKAGE_* variables will, however, and there's nothing
2919 # we can do about that; they come from AC_INIT).
2920 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2921 # file in the top srcdir, etc, etc), so stop complaining.
2922 # no-dist: we don't want 'dist' and related rules.
2923 # -Wall: turns on all automake warnings...
2924 # -Wno-portability: ...except this one, since GNU make is required.
2925 am__api_version
='1.11'
2927 # Find a good install program. We prefer a C program (faster),
2928 # so one script is as good as another. But avoid the broken or
2929 # incompatible versions:
2930 # SysV /etc/install, /usr/sbin/install
2931 # SunOS /usr/etc/install
2932 # IRIX /sbin/install
2934 # AmigaOS /C/install, which installs bootblocks on floppy discs
2935 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2936 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2937 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2938 # OS/2's system install, which has a completely different semantic
2939 # ./install, which can be erroneously created by make from ./install.sh.
2940 # Reject install programs that cannot install multiple files.
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2942 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2943 if test -z "$INSTALL"; then
2944 if test "${ac_cv_path_install+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir
=.
2952 # Account for people who put trailing slashes in PATH elements.
2953 case $as_dir/ in #((
2954 .
/ | .
// |
/[cC
]/* | \
2955 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2956 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2959 # OSF1 and SCO ODT 3.0 have their own names for install.
2960 # Don't use installbsd from OSF since it installs stuff as root
2962 for ac_prog
in ginstall scoinst
install; do
2963 for ac_exec_ext
in '' $ac_executable_extensions; do
2964 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2965 if test $ac_prog = install &&
2966 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2967 # AIX install. It has an incompatible calling convention.
2969 elif test $ac_prog = install &&
2970 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2971 # program-specific install script used by HP pwplus--don't use.
2974 rm -rf conftest.one conftest.two conftest.dir
2975 echo one
> conftest.one
2976 echo two
> conftest.two
2978 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2979 test -s conftest.one
&& test -s conftest.two
&&
2980 test -s conftest.dir
/conftest.one
&&
2981 test -s conftest.dir
/conftest.two
2983 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2996 rm -rf conftest.one conftest.two conftest.dir
2999 if test "${ac_cv_path_install+set}" = set; then
3000 INSTALL
=$ac_cv_path_install
3002 # As a last resort, use the slow shell script. Don't cache a
3003 # value for INSTALL within a source directory, because that will
3004 # break other packages using the cache if that directory is
3005 # removed, or if the value is a relative name.
3006 INSTALL
=$ac_install_sh
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3010 $as_echo "$INSTALL" >&6; }
3012 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3013 # It thinks the first close brace ends the variable substitution.
3014 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3016 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3018 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3021 $as_echo_n "checking whether build environment is sane... " >&6; }
3024 echo timestamp
> conftest.
file
3025 # Reject unsafe characters in $srcdir or the absolute working directory
3026 # name. Accept space and tab only in the latter.
3030 *[\\\"\
#\$\&\'\`$am_lf]*)
3031 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3034 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3035 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3038 # Do `set' in a subshell so we don't clobber the current shell's
3039 # arguments. Must try -L first in case configure is actually a
3040 # symlink; some systems play weird games with the mod time of symlinks
3041 # (eg FreeBSD returns the mod time of the symlink's containing
3044 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3045 if test "$*" = "X"; then
3047 set X
`ls -t "$srcdir/configure" conftest.file`
3050 if test "$*" != "X $srcdir/configure conftest.file" \
3051 && test "$*" != "X conftest.file $srcdir/configure"; then
3053 # If neither matched, then we have a broken ls. This can happen
3054 # if, for instance, CONFIG_SHELL is bash and it inherits a
3055 # broken ls alias from the environment. This has actually
3056 # happened. Such a system could not be considered "sane".
3057 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3058 alias in your environment" "$LINENO" 5
3061 test "$2" = conftest.
file
3067 as_fn_error
"newly created file is older than distributed files!
3068 Check your system clock" "$LINENO" 5
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3071 $as_echo "yes" >&6; }
3072 test "$program_prefix" != NONE
&&
3073 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3074 # Use a double $ so make ignores it.
3075 test "$program_suffix" != NONE
&&
3076 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3077 # Double any \ or $.
3078 # By default was `s,x,x', remove it if useless.
3079 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3080 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3082 # expand $ac_aux_dir to an absolute path
3083 am_aux_dir
=`cd $ac_aux_dir && pwd`
3085 if test x
"${MISSING+set}" != xset
; then
3088 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3090 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3093 # Use eval to expand $SHELL
3094 if eval "$MISSING --run true"; then
3095 am_missing_run
="$MISSING --run "
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3099 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3102 if test x
"${install_sh}" != xset
; then
3105 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3107 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3111 # Installed binaries are usually stripped using `strip' when the user
3112 # run `make install-strip'. However `strip' might not be the right
3113 # tool to use in cross-compilation environments, therefore Automake
3114 # will honor the `STRIP' environment variable to overrule this program.
3115 if test "$cross_compiling" != no
; then
3116 if test -n "$ac_tool_prefix"; then
3117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3118 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if test "${ac_cv_prog_STRIP+set}" = set; then :
3122 $as_echo_n "(cached) " >&6
3124 if test -n "$STRIP"; then
3125 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir
=.
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 STRIP
=$ac_cv_prog_STRIP
3145 if test -n "$STRIP"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3147 $as_echo "$STRIP" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3155 if test -z "$ac_cv_prog_STRIP"; then
3157 # Extract the first word of "strip", so it can be a program name with args.
3158 set dummy strip
; ac_word
=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$ac_ct_STRIP"; then
3165 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir
=.
3172 for ac_exec_ext
in '' $ac_executable_extensions; do
3173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174 ac_cv_prog_ac_ct_STRIP
="strip"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3185 if test -n "$ac_ct_STRIP"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3187 $as_echo "$ac_ct_STRIP" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3193 if test "x$ac_ct_STRIP" = x
; then
3196 case $cross_compiling:$ac_tool_warned in
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3200 ac_tool_warned
=yes ;;
3205 STRIP
="$ac_cv_prog_STRIP"
3209 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3212 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3213 if test -z "$MKDIR_P"; then
3214 if test "${ac_cv_path_mkdir+set}" = set; then :
3215 $as_echo_n "(cached) " >&6
3217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3218 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3221 test -z "$as_dir" && as_dir
=.
3222 for ac_prog
in mkdir gmkdir
; do
3223 for ac_exec_ext
in '' $ac_executable_extensions; do
3224 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3225 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3226 'mkdir (GNU coreutils) '* | \
3227 'mkdir (coreutils) '* | \
3228 'mkdir (fileutils) '4.1*)
3229 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3239 if test "${ac_cv_path_mkdir+set}" = set; then
3240 MKDIR_P
="$ac_cv_path_mkdir -p"
3242 # As a last resort, use the slow shell script. Don't cache a
3243 # value for MKDIR_P within a source directory, because that will
3244 # break other packages using the cache if that directory is
3245 # removed, or if the value is a relative name.
3246 test -d .
/--version && rmdir .
/--version
3247 MKDIR_P
="$ac_install_sh -d"
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3251 $as_echo "$MKDIR_P" >&6; }
3255 [\\/$
]* | ?
:[\\/]*) ;;
3256 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3259 for ac_prog
in gawk mawk nawk
awk
3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy
$ac_prog; ac_word
=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if test "${ac_cv_prog_AWK+set}" = set; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -n "$AWK"; then
3269 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_AWK
="$ac_prog"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 if test -n "$AWK"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3291 $as_echo "$AWK" >&6; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3298 test -n "$AWK" && break
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3302 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3304 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3305 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3306 $as_echo_n "(cached) " >&6
3308 cat >conftest.
make <<\_ACEOF
3311 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3313 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3314 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3316 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3318 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3322 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3324 $as_echo "yes" >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3329 SET_MAKE
="MAKE=${MAKE-make}"
3332 rm -rf .tst
2>/dev
/null
3333 mkdir .tst
2>/dev
/null
3334 if test -d .tst
; then
3339 rmdir .tst
2>/dev
/null
3341 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3342 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3343 # is not polluted with repeated "-I."
3344 am__isrc
=' -I$(srcdir)'
3345 # test to see if srcdir already configured
3346 if test -f $srcdir/config.status
; then
3347 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3351 # test whether we have cygpath
3352 if test -z "$CYGPATH_W"; then
3353 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3354 CYGPATH_W
='cygpath -w'
3361 # Define the identity of the package.
3362 PACKAGE
='libgfortran'
3366 # Some tools Automake needs.
3368 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3371 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3374 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3377 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3380 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3382 # We need awk for the "check" target. The system "awk" is bad on
3384 # Always define AMTAR for backward compatibility.
3386 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3388 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3397 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3398 # Check whether --enable-maintainer-mode was given.
3399 if test "${enable_maintainer_mode+set}" = set; then :
3400 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3402 USE_MAINTAINER_MODE
=no
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3406 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3407 if test $USE_MAINTAINER_MODE = yes; then
3408 MAINTAINER_MODE_TRUE
=
3409 MAINTAINER_MODE_FALSE
='#'
3411 MAINTAINER_MODE_TRUE
='#'
3412 MAINTAINER_MODE_FALSE
=
3415 MAINT
=$MAINTAINER_MODE_TRUE
3418 # Default to --enable-multilib
3419 # Check whether --enable-multilib was given.
3420 if test "${enable_multilib+set}" = set; then :
3421 enableval
=$enable_multilib; case "$enableval" in
3422 yes) multilib
=yes ;;
3424 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3431 # We may get other options which we leave undocumented:
3432 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3433 # See config-ml.in if you want the gory details.
3435 if test "$srcdir" = "."; then
3436 if test "$with_target_subdir" != "."; then
3437 multi_basedir
="$srcdir/$with_multisrctop../.."
3439 multi_basedir
="$srcdir/$with_multisrctop.."
3442 multi_basedir
="$srcdir/.."
3446 # Even if the default multilib is not a cross compilation,
3447 # it may be that some of the other multilibs are.
3448 if test $cross_compiling = no
&& test $multilib = yes \
3449 && test "x${with_multisubdir}" != x
; then
3450 cross_compiling
=maybe
3453 ac_config_commands
="$ac_config_commands default-1"
3456 # Handy for debugging:
3457 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3459 # Are we being configured with some form of cross compiler?
3460 # NB: We don't actually need to know this just now, but when, say, a test
3461 # suite is included, we'll have to know.
3462 if test "$build" != "$host"; then
3463 LIBGFOR_IS_NATIVE
=false
3466 LIBGFOR_IS_NATIVE
=true
3469 DEPDIR
="${am__leading_dot}deps"
3471 ac_config_commands
="$ac_config_commands depfiles"
3474 am_make
=${MAKE-make}
3475 cat > confinc
<< 'END'
3477 @
echo this is the am__doit target
3480 # If we don't find an include directive, just comment out the code.
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3482 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3486 # First try GNU make style include.
3487 echo "include confinc" > confmf
3488 # Ignore all kinds of additional output from `make'.
3489 case `$am_make -s -f confmf 2> /dev/null` in #(
3490 *the\ am__doit\ target
*)
3496 # Now try BSD make style include.
3497 if test "$am__include" = "#"; then
3498 echo '.include "confinc"' > confmf
3499 case `$am_make -s -f confmf 2> /dev/null` in #(
3500 *the\ am__doit\ target
*)
3501 am__include
=.include
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3510 $as_echo "$_am_result" >&6; }
3511 rm -f confinc confmf
3513 # Check whether --enable-dependency-tracking was given.
3514 if test "${enable_dependency_tracking+set}" = set; then :
3515 enableval
=$enable_dependency_tracking;
3518 if test "x$enable_dependency_tracking" != xno
; then
3519 am_depcomp
="$ac_aux_dir/depcomp"
3522 if test "x$enable_dependency_tracking" != xno; then
3532 ac_cpp
='$CPP $CPPFLAGS'
3533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3538 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if test "${ac_cv_prog_CC+set}" = set; then :
3542 $as_echo_n "(cached) " >&6
3544 if test -n "$CC"; then
3545 ac_cv_prog_CC
="$CC" # Let the user override the test.
3547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3551 test -z "$as_dir" && as_dir
=.
3552 for ac_exec_ext
in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 if test -n "$CC"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3567 $as_echo "$CC" >&6; }
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3575 if test -z "$ac_cv_prog_CC"; then
3577 # Extract the first word of "gcc", so it can be a program name with args.
3578 set dummy gcc
; ac_word
=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3584 if test -n "$ac_ct_CC"; then
3585 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir
=.
3592 for ac_exec_ext
in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_ac_ct_CC
="gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3605 if test -n "$ac_ct_CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3607 $as_echo "$ac_ct_CC" >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3613 if test "x$ac_ct_CC" = x
; then
3616 case $cross_compiling:$ac_tool_warned in
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3620 ac_tool_warned
=yes ;;
3628 if test -z "$CC"; then
3629 if test -n "$ac_tool_prefix"; then
3630 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3631 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if test "${ac_cv_prog_CC+set}" = set; then :
3635 $as_echo_n "(cached) " >&6
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC
="$CC" # Let the user override the test.
3640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3644 test -z "$as_dir" && as_dir
=.
3645 for ac_exec_ext
in '' $ac_executable_extensions; do
3646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3647 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 if test -n "$CC"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660 $as_echo "$CC" >&6; }
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3669 if test -z "$CC"; then
3670 # Extract the first word of "cc", so it can be a program name with args.
3671 set dummy cc
; ac_word
=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if test "${ac_cv_prog_CC+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC
="$CC" # Let the user override the test.
3681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir
=.
3686 for ac_exec_ext
in '' $ac_executable_extensions; do
3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3689 ac_prog_rejected
=yes
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 if test $ac_prog_rejected = yes; then
3701 # We found a bogon in the path, so make sure we never use it.
3702 set dummy
$ac_cv_prog_CC
3704 if test $# != 0; then
3705 # We chose a different compiler from the bogus one.
3706 # However, it has the same basename, so the bogon will be chosen
3707 # first if we set CC to just the basename; use the full file name.
3709 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3715 if test -n "$CC"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3717 $as_echo "$CC" >&6; }
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720 $as_echo "no" >&6; }
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 for ac_prog
in cl.exe
3729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3730 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if test "${ac_cv_prog_CC+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC
="$CC" # Let the user override the test.
3739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir
=.
3744 for ac_exec_ext
in '' $ac_executable_extensions; do
3745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 if test -n "$CC"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759 $as_echo "$CC" >&6; }
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3766 test -n "$CC" && break
3769 if test -z "$CC"; then
3771 for ac_prog
in cl.exe
3773 # Extract the first word of "$ac_prog", so it can be a program name with args.
3774 set dummy
$ac_prog; ac_word
=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -n "$ac_ct_CC"; then
3781 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir
=.
3788 for ac_exec_ext
in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 ac_cv_prog_ac_ct_CC
="$ac_prog"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3801 if test -n "$ac_ct_CC"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3803 $as_echo "$ac_ct_CC" >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3810 test -n "$ac_ct_CC" && break
3813 if test "x$ac_ct_CC" = x
; then
3816 case $cross_compiling:$ac_tool_warned in
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned
=yes ;;
3829 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error
"no acceptable C compiler found in \$PATH
3832 See \`config.log' for more details." "$LINENO" 5; }
3834 # Provide some information about the compiler.
3835 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3838 for ac_option
in --version -v -V -qversion; do
3839 { { ac_try
="$ac_compiler $ac_option >&5"
3841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845 $as_echo "$ac_try_echo"; } >&5
3846 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3848 if test -s conftest.err; then
3850 ... rest of stderr output deleted ...
3851 10q' conftest.err >conftest.er1
3852 cat conftest.er1 >&5
3853 rm -f conftest.er1 conftest.err
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3872 (eval $ac_link) 2>&5
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3880 if test x$gcc_no_link = xyes; then
3881 # Setting cross_compile will disable run tests; it will
3882 # also disable AC_CHECK_FILE but that's generally
3883 # correct if we can't link.
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3898 ac_clean_files_save=$ac_clean_files
3899 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3900 # Try to create an executable without -o first, disregard a.out.
3901 # It will help us diagnose broken compilers, and finding out an intuition
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3904 $as_echo_n "checking for C compiler default output file name... " >&6; }
3905 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3907 # The possible output files:
3908 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3911 for ac_file in $ac_files
3914 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3915 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3920 if { { ac_try="$ac_link_default"
3922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3923 *) ac_try_echo
=$ac_try;;
3925 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 $as_echo "$ac_try_echo"; } >&5
3927 (eval "$ac_link_default") 2>&5
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }; then :
3931 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3932 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3933 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3934 # so that the user can short-circuit this test for compilers unknown to
3936 for ac_file
in $ac_files ''
3938 test -f "$ac_file" ||
continue
3940 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3943 # We found the default executable, but exeext='' is most
3947 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3949 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3951 # We set ac_cv_exeext here because the later test for it is not
3952 # safe: cross compilers may not add the suffix if given an `-o'
3953 # argument, so we may need to know it at that point already.
3954 # Even if this section looks crufty: it has the advantage of
3961 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3967 $as_echo "$ac_file" >&6; }
3968 if test -z "$ac_file"; then :
3969 $as_echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.
$ac_ext >&5
3972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974 { as_fn_set_status
77
3975 as_fn_error
"C compiler cannot create executables
3976 See \`config.log' for more details." "$LINENO" 5; }; }
3978 ac_exeext
=$ac_cv_exeext
3980 # Check that the compiler produces executables we can run. If not, either
3981 # the compiler is broken, or we cross compile.
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3983 $as_echo_n "checking whether the C compiler works... " >&6; }
3984 # If not cross compiling, check that we can run a simple program.
3985 if test "$cross_compiling" != yes; then
3986 if { ac_try
='./$ac_file'
3987 { { case "(($ac_try" in
3988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_try") 2>&5
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }; }; then
3999 if test "$cross_compiling" = maybe; then
4002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error "cannot run C compiled programs.
4005 If you meant to cross compile
, use \
`--host'.
4006 See \`config.log
' for more details." "$LINENO" 5; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4011 $as_echo "yes" >&6; }
4013 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4014 ac_clean_files=$ac_clean_files_save
4015 # Check that the compiler produces executables we can run. If not, either
4016 # the compiler is broken, or we cross compile.
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4018 $as_echo_n "checking whether we are cross compiling... " >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4020 $as_echo "$cross_compiling" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4023 $as_echo_n "checking for suffix of executables... " >&6; }
4024 if { { ac_try="$ac_link"
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_link") 2>&5
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; then :
4035 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4036 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4037 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4039 for ac_file
in conftest.exe conftest conftest.
*; do
4040 test -f "$ac_file" ||
continue
4042 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4043 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4052 See \`config.log' for more details." "$LINENO" 5; }
4054 rm -f conftest
$ac_cv_exeext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4056 $as_echo "$ac_cv_exeext" >&6; }
4058 rm -f conftest.
$ac_ext
4059 EXEEXT
=$ac_cv_exeext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4063 $as_echo_n "checking for suffix of object files... " >&6; }
4064 if test "${ac_cv_objext+set}" = set; then :
4065 $as_echo_n "(cached) " >&6
4067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4078 rm -f conftest.o conftest.obj
4079 if { { ac_try
="$ac_compile"
4081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_compile") 2>&5
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; then :
4090 for ac_file in conftest.o conftest.obj conftest.*; do
4091 test -f "$ac_file" || continue;
4093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4094 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4099 $as_echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.$ac_ext >&5
4102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104 as_fn_error "cannot compute suffix of object files
: cannot compile
4105 See \
`config.log' for more details." "$LINENO" 5; }
4107 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4110 $as_echo "$ac_cv_objext" >&6; }
4111 OBJEXT=$ac_cv_objext
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4114 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4115 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4116 $as_echo_n "(cached) " >&6
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4132 if ac_fn_c_try_compile "$LINENO"; then :
4137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4142 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4143 if test $ac_compiler_gnu = yes; then
4148 ac_test_CFLAGS=${CFLAGS+set}
4149 ac_save_CFLAGS=$CFLAGS
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4151 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4152 if test "${ac_cv_prog_cc_g+set}" = set; then :
4153 $as_echo_n "(cached) " >&6
4155 ac_save_c_werror_flag=$ac_c_werror_flag
4156 ac_c_werror_flag=yes
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4170 if ac_fn_c_try_compile "$LINENO"; then :
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4185 if ac_fn_c_try_compile "$LINENO"; then :
4188 ac_c_werror_flag=$ac_save_c_werror_flag
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4201 if ac_fn_c_try_compile "$LINENO"; then :
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_c_werror_flag=$ac_save_c_werror_flag
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4212 $as_echo "$ac_cv_prog_cc_g" >&6; }
4213 if test "$ac_test_CFLAGS" = set; then
4214 CFLAGS=$ac_save_CFLAGS
4215 elif test $ac_cv_prog_cc_g = yes; then
4216 if test "$GCC" = yes; then
4222 if test "$GCC" = yes; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4229 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4230 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4231 $as_echo_n "(cached) " >&6
4233 ac_cv_prog_cc_c89=no
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4239 #include <sys/types.h>
4240 #include <sys/stat.h>
4241 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4242 struct buf { int x; };
4243 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4244 static char *e (p, i)
4250 static char *f (char * (*g) (char **, int), char **p, ...)
4255 s = g (p, va_arg (v,int));
4260 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4261 function prototypes and stuff, but not '\xHH' hex character constants.
4262 These don't provoke an error unfortunately, instead are silently treated
4263 as 'x'. The following induces an error, until -std is added to get
4264 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4265 array size at least. It's necessary to write '\x00'==0 to get something
4266 that's true only with -std. */
4267 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4269 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4270 inside strings and character constants. */
4272 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4274 int test (int i, double x);
4275 struct s1 {int (*f) (int a);};
4276 struct s2 {int (*f) (double a);};
4277 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4283 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4288 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4289 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4291 CC="$ac_save_CC $ac_arg"
4292 if ac_fn_c_try_compile "$LINENO"; then :
4293 ac_cv_prog_cc_c89=$ac_arg
4295 rm -f core conftest.err conftest.$ac_objext
4296 test "x$ac_cv_prog_cc_c89" != "xno" && break
4298 rm -f conftest.$ac_ext
4303 case "x$ac_cv_prog_cc_c89" in
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4306 $as_echo "none needed" >&6; } ;;
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4309 $as_echo "unsupported" >&6; } ;;
4311 CC="$CC $ac_cv_prog_cc_c89"
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4313 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4315 if test "x$ac_cv_prog_cc_c89" != xno; then :
4320 ac_cpp='$CPP $CPPFLAGS'
4321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4325 depcc="$CC" am_compiler_list=
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4328 $as_echo_n "checking dependency style of $depcc... " >&6; }
4329 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4332 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4333 # We make a subdir and do the tests there. Otherwise we can end up
4334 # making bogus files that we don't know about and never remove. For
4335 # instance it was reported that on HP-UX the gcc test will end up
4336 # making a dummy file named `D
' -- because `-MD' means
`put the output
4339 # Copy depcomp to subdir because otherwise we won't find it if we're
4340 # using a relative directory.
4341 cp "$am_depcomp" conftest.dir
4343 # We will build objects and dependencies in a subdirectory because
4344 # it helps to detect inapplicable dependency modes. For instance
4345 # both Tru64's cc and ICC support -MD to output dependencies as a
4346 # side effect of compilation, but ICC will put the dependencies in
4347 # the current directory while Tru64 will put them in the object
4351 am_cv_CC_dependencies_compiler_type=none
4352 if test "$am_compiler_list" = ""; then
4353 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4356 case " $depcc " in #(
4357 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4360 for depmode in $am_compiler_list; do
4361 # Setup a source with many dependencies, because some compilers
4362 # like to wrap large dependency lists on column 80 (with \), and
4363 # we should not choose a depcomp mode which is confused by this.
4365 # We need to recreate these files for each test, as the compiler may
4366 # overwrite some of them when testing with obscure command lines.
4367 # This happens at least with the AIX C compiler.
4369 for i in 1 2 3 4 5 6; do
4370 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4371 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4372 # Solaris 8's
{/usr
,}/bin
/sh.
4373 touch sub
/conftst
$i.h
4375 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4377 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4378 # mode. It turns out that the SunPro C++ compiler does not properly
4379 # handle `-M -o', and we need to detect this. Also, some Intel
4380 # versions had trouble with output in subdirs
4381 am__obj
=sub
/conftest.
${OBJEXT-o}
4382 am__minus_obj
="-o $am__obj"
4385 # This depmode causes a compiler race in universal mode.
4386 test "$am__universal" = false ||
continue
4389 # after this tag, mechanisms are not by side-effect, so they'll
4390 # only be used when explicitly requested
4391 if test "x$enable_dependency_tracking" = xyes
; then
4397 msvisualcpp | msvcmsys
)
4398 # This compiler won't grok `-c -o', but also, the minuso test has
4399 # not run yet. These depmodes are late enough in the game, and
4400 # so weak that their functioning should not be impacted.
4401 am__obj
=conftest.
${OBJEXT-o}
4406 if depmode
=$depmode \
4407 source=sub
/conftest.c object
=$am__obj \
4408 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4409 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4410 >/dev
/null
2>conftest.err
&&
4411 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4412 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4413 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4414 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4415 # icc doesn't choke on unknown options, it will just issue warnings
4416 # or remarks (even with -Werror). So we grep stderr for any message
4417 # that says an option was ignored or not supported.
4418 # When given -MP, icc 7.0 and 7.1 complain thusly:
4419 # icc: Command line warning: ignoring option '-M'; no argument required
4420 # The diagnosis changed in icc 8.0:
4421 # icc: Command line remark: option '-MP' not supported
4422 if (grep 'ignoring option' conftest.err ||
4423 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4424 am_cv_CC_dependencies_compiler_type
=$depmode
4433 am_cv_CC_dependencies_compiler_type
=none
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4438 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4439 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4442 test "x$enable_dependency_tracking" != xno \
4443 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4445 am__fastdepCC_FALSE
='#'
4447 am__fastdepCC_TRUE
='#'
4448 am__fastdepCC_FALSE
=
4454 ac_cpp
='$CPP $CPPFLAGS'
4455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4459 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4460 # On Suns, sometimes $CPP names a directory.
4461 if test -n "$CPP" && test -d "$CPP"; then
4464 if test -z "$CPP"; then
4465 if test "${ac_cv_prog_CPP+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4468 # Double quotes because CPP needs to be expanded
4469 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4472 for ac_c_preproc_warn_flag
in '' yes
4474 # Use a header file that comes with gcc, so configuring glibc
4475 # with a fresh cross-compiler works.
4476 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4477 # <limits.h> exists even on freestanding compilers.
4478 # On the NeXT, cc -E runs the code through the compiler's parser,
4479 # not just through cpp. "Syntax error" is here to catch this case.
4480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4483 # include <limits.h>
4485 # include <assert.h>
4489 if ac_fn_c_try_cpp
"$LINENO"; then :
4492 # Broken: fails on valid input.
4495 rm -f conftest.err conftest.
$ac_ext
4497 # OK, works on sane cases. Now check whether nonexistent headers
4498 # can be detected and how.
4499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4501 #include <ac_nonexistent.h>
4503 if ac_fn_c_try_cpp
"$LINENO"; then :
4504 # Broken: success on invalid input.
4507 # Passes both tests.
4511 rm -f conftest.err conftest.
$ac_ext
4514 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4515 rm -f conftest.err conftest.
$ac_ext
4516 if $ac_preproc_ok; then :
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4529 $as_echo "$CPP" >&6; }
4531 for ac_c_preproc_warn_flag
in '' yes
4533 # Use a header file that comes with gcc, so configuring glibc
4534 # with a fresh cross-compiler works.
4535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4536 # <limits.h> exists even on freestanding compilers.
4537 # On the NeXT, cc -E runs the code through the compiler's parser,
4538 # not just through cpp. "Syntax error" is here to catch this case.
4539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4542 # include <limits.h>
4544 # include <assert.h>
4548 if ac_fn_c_try_cpp
"$LINENO"; then :
4551 # Broken: fails on valid input.
4554 rm -f conftest.err conftest.
$ac_ext
4556 # OK, works on sane cases. Now check whether nonexistent headers
4557 # can be detected and how.
4558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4560 #include <ac_nonexistent.h>
4562 if ac_fn_c_try_cpp
"$LINENO"; then :
4563 # Broken: success on invalid input.
4566 # Passes both tests.
4570 rm -f conftest.err conftest.
$ac_ext
4573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4574 rm -f conftest.err conftest.
$ac_ext
4575 if $ac_preproc_ok; then :
4578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4581 See \`config.log' for more details." "$LINENO" 5; }
4585 ac_cpp
='$CPP $CPPFLAGS'
4586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4592 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4593 if test "${ac_cv_path_GREP+set}" = set; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -z "$GREP"; then
4597 ac_path_GREP_found
=false
4598 # Loop through the user's path and test for each of PROGNAME-LIST
4599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4600 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4603 test -z "$as_dir" && as_dir
=.
4604 for ac_prog
in grep ggrep
; do
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4607 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4608 # Check for GNU ac_path_GREP and select it if it is found.
4609 # Check for GNU $ac_path_GREP
4610 case `"$ac_path_GREP" --version 2>&1` in
4612 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4615 $as_echo_n 0123456789 >"conftest.in"
4618 cat "conftest.in" "conftest.in" >"conftest.tmp"
4619 mv "conftest.tmp" "conftest.in"
4620 cp "conftest.in" "conftest.nl"
4621 $as_echo 'GREP' >> "conftest.nl"
4622 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4623 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4624 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4625 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4626 # Best one so far, save it but keep looking for a better one
4627 ac_cv_path_GREP
="$ac_path_GREP"
4628 ac_path_GREP_max
=$ac_count
4630 # 10*(2^10) chars as input seems more than enough
4631 test $ac_count -gt 10 && break
4633 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4636 $ac_path_GREP_found && break 3
4641 if test -z "$ac_cv_path_GREP"; then
4642 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4645 ac_cv_path_GREP
=$GREP
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4650 $as_echo "$ac_cv_path_GREP" >&6; }
4651 GREP
="$ac_cv_path_GREP"
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4655 $as_echo_n "checking for egrep... " >&6; }
4656 if test "${ac_cv_path_EGREP+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
4659 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4660 then ac_cv_path_EGREP
="$GREP -E"
4662 if test -z "$EGREP"; then
4663 ac_path_EGREP_found
=false
4664 # Loop through the user's path and test for each of PROGNAME-LIST
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4669 test -z "$as_dir" && as_dir
=.
4670 for ac_prog
in egrep; do
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4673 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4674 # Check for GNU ac_path_EGREP and select it if it is found.
4675 # Check for GNU $ac_path_EGREP
4676 case `"$ac_path_EGREP" --version 2>&1` in
4678 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4681 $as_echo_n 0123456789 >"conftest.in"
4684 cat "conftest.in" "conftest.in" >"conftest.tmp"
4685 mv "conftest.tmp" "conftest.in"
4686 cp "conftest.in" "conftest.nl"
4687 $as_echo 'EGREP' >> "conftest.nl"
4688 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4689 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4690 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4691 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4692 # Best one so far, save it but keep looking for a better one
4693 ac_cv_path_EGREP
="$ac_path_EGREP"
4694 ac_path_EGREP_max
=$ac_count
4696 # 10*(2^10) chars as input seems more than enough
4697 test $ac_count -gt 10 && break
4699 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4702 $ac_path_EGREP_found && break 3
4707 if test -z "$ac_cv_path_EGREP"; then
4708 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4711 ac_cv_path_EGREP
=$EGREP
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4717 $as_echo "$ac_cv_path_EGREP" >&6; }
4718 EGREP
="$ac_cv_path_EGREP"
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4722 $as_echo_n "checking for ANSI C header files... " >&6; }
4723 if test "${ac_cv_header_stdc+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4741 if ac_fn_c_try_compile
"$LINENO"; then :
4742 ac_cv_header_stdc
=yes
4744 ac_cv_header_stdc
=no
4746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4748 if test $ac_cv_header_stdc = yes; then
4749 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4756 $EGREP "memchr" >/dev
/null
2>&1; then :
4759 ac_cv_header_stdc
=no
4765 if test $ac_cv_header_stdc = yes; then
4766 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4773 $EGREP "free" >/dev
/null
2>&1; then :
4776 ac_cv_header_stdc
=no
4782 if test $ac_cv_header_stdc = yes; then
4783 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4784 if test "$cross_compiling" = yes; then :
4787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4791 #if ((' ' & 0x0FF) == 0x020)
4792 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4793 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4795 # define ISLOWER(c) \
4796 (('a' <= (c) && (c) <= 'i') \
4797 || ('j' <= (c) && (c) <= 'r') \
4798 || ('s' <= (c) && (c) <= 'z'))
4799 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4802 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4807 for (i = 0; i < 256; i++)
4808 if (XOR (islower (i), ISLOWER (i))
4809 || toupper (i) != TOUPPER (i))
4814 if ac_fn_c_try_run
"$LINENO"; then :
4817 ac_cv_header_stdc
=no
4819 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4820 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4826 $as_echo "$ac_cv_header_stdc" >&6; }
4827 if test $ac_cv_header_stdc = yes; then
4829 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4833 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4834 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4835 inttypes.h stdint.h unistd.h
4837 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4838 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4840 eval as_val
=\$
$as_ac_Header
4841 if test "x$as_val" = x
""yes; then :
4842 cat >>confdefs.h
<<_ACEOF
4843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4852 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4853 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4860 if test "$MINIX" = yes; then
4862 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4865 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4868 $as_echo "#define _MINIX 1" >>confdefs.h
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4874 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4875 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4876 $as_echo_n "(cached) " >&6
4878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4881 # define __EXTENSIONS__ 1
4882 $ac_includes_default
4891 if ac_fn_c_try_compile
"$LINENO"; then :
4892 ac_cv_safe_to_define___extensions__
=yes
4894 ac_cv_safe_to_define___extensions__
=no
4896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4899 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4900 test $ac_cv_safe_to_define___extensions__ = yes &&
4901 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4903 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4905 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4907 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4909 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4913 # Calculate toolexeclibdir
4914 # Also toolexecdir, though it's only used in toolexeclibdir
4915 case ${version_specific_libs} in
4917 # Need the gcc compiler version to know where to install libraries
4918 # and header files if --enable-version-specific-runtime-libs option
4920 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4921 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4924 if test -n "$with_cross_host" &&
4925 test x
"$with_cross_host" != x
"no"; then
4926 # Install a library built with a cross compiler in tooldir, not libdir.
4927 toolexecdir
='$(exec_prefix)/$(target_alias)'
4928 toolexeclibdir
='$(toolexecdir)/lib'
4930 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4931 toolexeclibdir
='$(libdir)'
4933 multi_os_directory
=`$CC -print-multi-os-directory`
4934 case $multi_os_directory in
4935 .
) ;; # Avoid trailing /.
4936 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4943 # Create a spec file, so that compile/link tests don't fail
4944 test -f libgfortran.spec ||
touch libgfortran.spec
4947 ac_cpp
='$CPP $CPPFLAGS'
4948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4952 # Check the compiler.
4953 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4954 # We must force CC to /not/ be precious variables; otherwise
4955 # the wrong, non-multilib-adjusted value will be used in multilibs.
4956 # As a side effect, we have to subst CFLAGS ourselves.
4961 ac_cpp
='$CPP $CPPFLAGS'
4962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4965 if test -n "$ac_tool_prefix"; then
4966 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4967 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if test "${ac_cv_prog_CC+set}" = set; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$CC"; then
4974 ac_cv_prog_CC
="$CC" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir
=.
4981 for ac_exec_ext
in '' $ac_executable_extensions; do
4982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 if test -n "$CC"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4996 $as_echo "$CC" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5004 if test -z "$ac_cv_prog_CC"; then
5006 # Extract the first word of "gcc", so it can be a program name with args.
5007 set dummy gcc
; ac_word
=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$ac_ct_CC"; then
5014 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir
=.
5021 for ac_exec_ext
in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_ac_ct_CC
="gcc"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5034 if test -n "$ac_ct_CC"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5036 $as_echo "$ac_ct_CC" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5042 if test "x$ac_ct_CC" = x
; then
5045 case $cross_compiling:$ac_tool_warned in
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5049 ac_tool_warned
=yes ;;
5057 if test -z "$CC"; then
5058 if test -n "$ac_tool_prefix"; then
5059 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5060 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 $as_echo_n "checking for $ac_word... " >&6; }
5063 if test "${ac_cv_prog_CC+set}" = set; then :
5064 $as_echo_n "(cached) " >&6
5066 if test -n "$CC"; then
5067 ac_cv_prog_CC
="$CC" # Let the user override the test.
5069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5073 test -z "$as_dir" && as_dir
=.
5074 for ac_exec_ext
in '' $ac_executable_extensions; do
5075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5076 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 if test -n "$CC"; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5089 $as_echo "$CC" >&6; }
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5098 if test -z "$CC"; then
5099 # Extract the first word of "cc", so it can be a program name with args.
5100 set dummy cc
; ac_word
=$2
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102 $as_echo_n "checking for $ac_word... " >&6; }
5103 if test "${ac_cv_prog_CC+set}" = set; then :
5104 $as_echo_n "(cached) " >&6
5106 if test -n "$CC"; then
5107 ac_cv_prog_CC
="$CC" # Let the user override the test.
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_exec_ext
in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5118 ac_prog_rejected
=yes
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 if test $ac_prog_rejected = yes; then
5130 # We found a bogon in the path, so make sure we never use it.
5131 set dummy
$ac_cv_prog_CC
5133 if test $# != 0; then
5134 # We chose a different compiler from the bogus one.
5135 # However, it has the same basename, so the bogon will be chosen
5136 # first if we set CC to just the basename; use the full file name.
5138 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5144 if test -n "$CC"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5146 $as_echo "$CC" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5154 if test -z "$CC"; then
5155 if test -n "$ac_tool_prefix"; then
5156 for ac_prog
in cl.exe
5158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5159 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if test "${ac_cv_prog_CC+set}" = set; then :
5163 $as_echo_n "(cached) " >&6
5165 if test -n "$CC"; then
5166 ac_cv_prog_CC
="$CC" # Let the user override the test.
5168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir
=.
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 if test -n "$CC"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5188 $as_echo "$CC" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5195 test -n "$CC" && break
5198 if test -z "$CC"; then
5200 for ac_prog
in cl.exe
5202 # Extract the first word of "$ac_prog", so it can be a program name with args.
5203 set dummy
$ac_prog; ac_word
=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5207 $as_echo_n "(cached) " >&6
5209 if test -n "$ac_ct_CC"; then
5210 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_ac_ct_CC
="$ac_prog"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5230 if test -n "$ac_ct_CC"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5232 $as_echo "$ac_ct_CC" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5239 test -n "$ac_ct_CC" && break
5242 if test "x$ac_ct_CC" = x
; then
5245 case $cross_compiling:$ac_tool_warned in
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5249 ac_tool_warned
=yes ;;
5258 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5260 as_fn_error
"no acceptable C compiler found in \$PATH
5261 See \`config.log' for more details." "$LINENO" 5; }
5263 # Provide some information about the compiler.
5264 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5267 for ac_option
in --version -v -V -qversion; do
5268 { { ac_try
="$ac_compiler $ac_option >&5"
5270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5271 *) ac_try_echo=$ac_try;;
5273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5274 $as_echo "$ac_try_echo"; } >&5
5275 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5277 if test -s conftest.err; then
5279 ... rest of stderr output deleted ...
5280 10q' conftest.err >conftest.er1
5281 cat conftest.er1 >&5
5282 rm -f conftest.er1 conftest.err
5284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285 test $ac_status = 0; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5289 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5290 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5291 $as_echo_n "(cached) " >&6
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5307 if ac_fn_c_try_compile "$LINENO"; then :
5312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5313 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5317 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5318 if test $ac_compiler_gnu = yes; then
5323 ac_test_CFLAGS=${CFLAGS+set}
5324 ac_save_CFLAGS=$CFLAGS
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5326 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5327 if test "${ac_cv_prog_cc_g+set}" = set; then :
5328 $as_echo_n "(cached) " >&6
5330 ac_save_c_werror_flag=$ac_c_werror_flag
5331 ac_c_werror_flag=yes
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5345 if ac_fn_c_try_compile "$LINENO"; then :
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5360 if ac_fn_c_try_compile "$LINENO"; then :
5363 ac_c_werror_flag=$ac_save_c_werror_flag
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5376 if ac_fn_c_try_compile "$LINENO"; then :
5379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384 ac_c_werror_flag=$ac_save_c_werror_flag
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5387 $as_echo "$ac_cv_prog_cc_g" >&6; }
5388 if test "$ac_test_CFLAGS" = set; then
5389 CFLAGS=$ac_save_CFLAGS
5390 elif test $ac_cv_prog_cc_g = yes; then
5391 if test "$GCC" = yes; then
5397 if test "$GCC" = yes; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5404 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5405 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5406 $as_echo_n "(cached) " >&6
5408 ac_cv_prog_cc_c89=no
5410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5414 #include <sys/types.h>
5415 #include <sys/stat.h>
5416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5417 struct buf { int x; };
5418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5419 static char *e (p, i)
5425 static char *f (char * (*g) (char **, int), char **p, ...)
5430 s = g (p, va_arg (v,int));
5435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5436 function prototypes and stuff, but not '\xHH' hex character constants.
5437 These don't provoke an error unfortunately, instead are silently treated
5438 as 'x'. The following induces an error, until -std is added to get
5439 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5440 array size at least. It's necessary to write '\x00'==0 to get something
5441 that's true only with -std. */
5442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5444 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5445 inside strings and character constants. */
5447 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5449 int test (int i, double x);
5450 struct s1 {int (*f) (int a);};
5451 struct s2 {int (*f) (double a);};
5452 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5458 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5463 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5464 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5466 CC="$ac_save_CC $ac_arg"
5467 if ac_fn_c_try_compile "$LINENO"; then :
5468 ac_cv_prog_cc_c89=$ac_arg
5470 rm -f core conftest.err conftest.$ac_objext
5471 test "x$ac_cv_prog_cc_c89" != "xno" && break
5473 rm -f conftest.$ac_ext
5478 case "x$ac_cv_prog_cc_c89" in
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5481 $as_echo "none needed" >&6; } ;;
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5484 $as_echo "unsupported" >&6; } ;;
5486 CC="$CC $ac_cv_prog_cc_c89"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5488 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5490 if test "x$ac_cv_prog_cc_c89" != xno; then :
5495 ac_cpp='$CPP $CPPFLAGS'
5496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5500 depcc="$CC" am_compiler_list=
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5503 $as_echo_n "checking dependency style of $depcc... " >&6; }
5504 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5505 $as_echo_n "(cached) " >&6
5507 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5508 # We make a subdir and do the tests there. Otherwise we can end up
5509 # making bogus files that we don't know about and never remove. For
5510 # instance it was reported that on HP-UX the gcc test will end up
5511 # making a dummy file named `D
' -- because `-MD' means
`put the output
5514 # Copy depcomp to subdir because otherwise we won't find it if we're
5515 # using a relative directory.
5516 cp "$am_depcomp" conftest.dir
5518 # We will build objects and dependencies in a subdirectory because
5519 # it helps to detect inapplicable dependency modes. For instance
5520 # both Tru64's cc and ICC support -MD to output dependencies as a
5521 # side effect of compilation, but ICC will put the dependencies in
5522 # the current directory while Tru64 will put them in the object
5526 am_cv_CC_dependencies_compiler_type=none
5527 if test "$am_compiler_list" = ""; then
5528 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5531 case " $depcc " in #(
5532 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5535 for depmode in $am_compiler_list; do
5536 # Setup a source with many dependencies, because some compilers
5537 # like to wrap large dependency lists on column 80 (with \), and
5538 # we should not choose a depcomp mode which is confused by this.
5540 # We need to recreate these files for each test, as the compiler may
5541 # overwrite some of them when testing with obscure command lines.
5542 # This happens at least with the AIX C compiler.
5544 for i in 1 2 3 4 5 6; do
5545 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5546 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5547 # Solaris 8's
{/usr
,}/bin
/sh.
5548 touch sub
/conftst
$i.h
5550 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5552 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5553 # mode. It turns out that the SunPro C++ compiler does not properly
5554 # handle `-M -o', and we need to detect this. Also, some Intel
5555 # versions had trouble with output in subdirs
5556 am__obj
=sub
/conftest.
${OBJEXT-o}
5557 am__minus_obj
="-o $am__obj"
5560 # This depmode causes a compiler race in universal mode.
5561 test "$am__universal" = false ||
continue
5564 # after this tag, mechanisms are not by side-effect, so they'll
5565 # only be used when explicitly requested
5566 if test "x$enable_dependency_tracking" = xyes
; then
5572 msvisualcpp | msvcmsys
)
5573 # This compiler won't grok `-c -o', but also, the minuso test has
5574 # not run yet. These depmodes are late enough in the game, and
5575 # so weak that their functioning should not be impacted.
5576 am__obj
=conftest.
${OBJEXT-o}
5581 if depmode
=$depmode \
5582 source=sub
/conftest.c object
=$am__obj \
5583 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5584 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5585 >/dev
/null
2>conftest.err
&&
5586 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5587 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5588 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5589 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5590 # icc doesn't choke on unknown options, it will just issue warnings
5591 # or remarks (even with -Werror). So we grep stderr for any message
5592 # that says an option was ignored or not supported.
5593 # When given -MP, icc 7.0 and 7.1 complain thusly:
5594 # icc: Command line warning: ignoring option '-M'; no argument required
5595 # The diagnosis changed in icc 8.0:
5596 # icc: Command line remark: option '-MP' not supported
5597 if (grep 'ignoring option' conftest.err ||
5598 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5599 am_cv_CC_dependencies_compiler_type
=$depmode
5608 am_cv_CC_dependencies_compiler_type
=none
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5613 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5614 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5617 test "x$enable_dependency_tracking" != xno \
5618 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5620 am__fastdepCC_FALSE
='#'
5622 am__fastdepCC_TRUE
='#'
5623 am__fastdepCC_FALSE
=
5631 if test "x$CC" != xcc
; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5633 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5636 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5638 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5639 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5640 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5641 $as_echo_n "(cached) " >&6
5643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5654 # Make sure it works both with $CC and with simple cc.
5655 # We do the test twice because some compilers refuse to overwrite an
5656 # existing .o file with -o, though they will create one.
5657 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5659 if { { case "(($ac_try" in
5660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5661 *) ac_try_echo=$ac_try;;
5663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5664 $as_echo "$ac_try_echo"; } >&5
5665 (eval "$ac_try") 2>&5
5667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5668 test $ac_status = 0; } &&
5669 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5671 *) ac_try_echo
=$ac_try;;
5673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5674 $as_echo "$ac_try_echo"; } >&5
5675 (eval "$ac_try") 2>&5
5677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5678 test $ac_status = 0; };
5680 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5681 if test "x$CC" != xcc
; then
5682 # Test first that cc exists at all.
5683 if { ac_try
='cc -c conftest.$ac_ext >&5'
5684 { { case "(($ac_try" in
5685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5686 *) ac_try_echo=$ac_try;;
5688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5689 $as_echo "$ac_try_echo"; } >&5
5690 (eval "$ac_try") 2>&5
5692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5693 test $ac_status = 0; }; }; then
5694 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5696 if { { case "(($ac_try" in
5697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5698 *) ac_try_echo
=$ac_try;;
5700 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5701 $as_echo "$ac_try_echo"; } >&5
5702 (eval "$ac_try") 2>&5
5704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5705 test $ac_status = 0; } &&
5706 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5708 *) ac_try_echo=$ac_try;;
5710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5711 $as_echo "$ac_try_echo"; } >&5
5712 (eval "$ac_try") 2>&5
5714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5715 test $ac_status = 0; };
5720 # cc exists but doesn't like -o.
5721 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5726 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5728 rm -f core conftest*
5731 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5733 $as_echo "yes" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5738 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5742 # FIXME: we rely on the cache variable name because
5743 # there is no other way.
5745 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5746 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5747 if test "$am_t" != yes; then
5748 # Losing compiler, so override with the script.
5749 # FIXME: It is wrong to rewrite CC.
5750 # But if we don't then we get into trouble of one sort or another.
5751 # A longer-term fix would be to have automake use am__CC in this case,
5752 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5753 CC="$am_aux_dir/compile $CC"
5758 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5759 if test "x$GCC" = "xyes"; then
5760 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5761 ## We like to use C99 routines when available. This makes sure that
5762 ## __STDC_VERSION__ is set such that libc includes make them available.
5763 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5764 ## Compile the following tests with the same system header contents
5765 ## that we'll encounter when compiling our own source files.
5766 CFLAGS="-std=gnu99 $CFLAGS"
5772 # Check for symbol versioning (copied from libssp).
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5774 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5775 # Check whether --enable-symvers was given.
5776 if test "${enable_symvers+set}" = set; then :
5777 enableval=$enable_symvers; gfortran_use_symver=$enableval
5779 gfortran_use_symver=yes
5782 if test "x$gfortran_use_symver" = xyes; then
5783 save_LDFLAGS="$LDFLAGS"
5784 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5785 cat > conftest.map <<EOF
5787 global: *foo*; bar; local: *;
5790 if test x$gcc_no_link = xyes; then
5791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5804 if ac_fn_c_try_link "$LINENO"; then :
5805 gfortran_use_symver=gnu
5807 gfortran_use_symver=no
5809 rm -f core conftest.err conftest.$ac_objext \
5810 conftest$ac_exeext conftest.$ac_ext
5811 if test x$gfortran_use_symver = xno; then
5812 case "$target_os" in
5814 LDFLAGS="$save_LDFLAGS"
5815 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5816 # Sun ld cannot handle wildcards and treats all entries as undefined.
5817 cat > conftest.map <<EOF
5819 global: foo; local: *;
5822 if test x$gcc_no_link = xyes; then
5823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5836 if ac_fn_c_try_link "$LINENO"; then :
5837 gfortran_use_symver=sun
5839 gfortran_use_symver=no
5841 rm -f core conftest.err conftest.$ac_objext \
5842 conftest$ac_exeext conftest.$ac_ext
5846 LDFLAGS="$save_LDFLAGS"
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5849 $as_echo "$gfortran_use_symver" >&6; }
5850 if test "x$gfortran_use_symver" != xno; then
5851 LIBGFOR_USE_SYMVER_TRUE=
5852 LIBGFOR_USE_SYMVER_FALSE='#'
5854 LIBGFOR_USE_SYMVER_TRUE='#'
5855 LIBGFOR_USE_SYMVER_FALSE=
5858 if test "x$gfortran_use_symver" = xgnu; then
5859 LIBGFOR_USE_SYMVER_GNU_TRUE=
5860 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5862 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5863 LIBGFOR_USE_SYMVER_GNU_FALSE=
5866 if test "x$gfortran_use_symver" = xsun; then
5867 LIBGFOR_USE_SYMVER_SUN_TRUE=
5868 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5870 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5871 LIBGFOR_USE_SYMVER_SUN_FALSE=
5875 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5876 # similarly to how libstdc++ does it
5877 ac_test_CFLAGS="${CFLAGS+set}"
5878 ac_save_CFLAGS="$CFLAGS"
5880 # Check for -ffunction-sections -fdata-sections
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5882 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5883 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5895 if ac_fn_c_try_compile "$LINENO"; then :
5900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5901 if test "$ac_test_CFLAGS" = set; then
5902 CFLAGS="$ac_save_CFLAGS"
5904 # this is the suspicious part
5907 if test x"$ac_fdsections" = x"yes"; then
5908 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5911 $as_echo "$ac_fdsections" >&6; }
5914 # Find other programs we need.
5915 if test -n "$ac_tool_prefix"; then
5916 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5917 set dummy ${ac_tool_prefix}as; ac_word=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if test "${ac_cv_prog_AS+set}" = set; then :
5921 $as_echo_n "(cached) " >&6
5923 if test -n "$AS"; then
5924 ac_cv_prog_AS="$AS" # Let the user override the test.
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 test -z "$as_dir" && as_dir=.
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933 ac_cv_prog_AS="${ac_tool_prefix}as"
5934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 if test -n "$AS"; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5946 $as_echo "$AS" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 $as_echo "no" >&6; }
5954 if test -z "$ac_cv_prog_AS"; then
5956 # Extract the first word of "as", so it can be a program name with args.
5957 set dummy as; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5961 $as_echo_n "(cached) " >&6
5963 if test -n "$ac_ct_AS"; then
5964 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5973 ac_cv_prog_ac_ct_AS="as"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5984 if test -n "$ac_ct_AS"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5986 $as_echo "$ac_ct_AS" >&6; }
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5992 if test "x$ac_ct_AS" = x; then
5995 case $cross_compiling:$ac_tool_warned in
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5999 ac_tool_warned=yes ;;
6007 if test -n "$ac_tool_prefix"; then
6008 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6009 set dummy ${ac_tool_prefix}ar; ac_word=$2
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 $as_echo_n "checking for $ac_word... " >&6; }
6012 if test "${ac_cv_prog_AR+set}" = set; then :
6013 $as_echo_n "(cached) " >&6
6015 if test -n "$AR"; then
6016 ac_cv_prog_AR="$AR" # Let the user override the test.
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 test -z "$as_dir" && as_dir=.
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6025 ac_cv_prog_AR="${ac_tool_prefix}ar"
6026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 if test -n "$AR"; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6038 $as_echo "$AR" >&6; }
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 $as_echo "no" >&6; }
6046 if test -z "$ac_cv_prog_AR"; then
6048 # Extract the first word of "ar", so it can be a program name with args.
6049 set dummy ar; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6053 $as_echo_n "(cached) " >&6
6055 if test -n "$ac_ct_AR"; then
6056 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_ac_ct_AR="ar"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6076 if test -n "$ac_ct_AR"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6078 $as_echo "$ac_ct_AR" >&6; }
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6084 if test "x$ac_ct_AR" = x; then
6087 case $cross_compiling:$ac_tool_warned in
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6091 ac_tool_warned=yes ;;
6099 if test -n "$ac_tool_prefix"; then
6100 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6101 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6105 $as_echo_n "(cached) " >&6
6107 if test -n "$RANLIB"; then
6108 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 RANLIB=$ac_cv_prog_RANLIB
6128 if test -n "$RANLIB"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6130 $as_echo "$RANLIB" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6138 if test -z "$ac_cv_prog_RANLIB"; then
6139 ac_ct_RANLIB=$RANLIB
6140 # Extract the first word of "ranlib", so it can be a program name with args.
6141 set dummy ranlib; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143 $as_echo_n "checking for $ac_word... " >&6; }
6144 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6145 $as_echo_n "(cached) " >&6
6147 if test -n "$ac_ct_RANLIB"; then
6148 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157 ac_cv_prog_ac_ct_RANLIB="ranlib"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6168 if test -n "$ac_ct_RANLIB"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6170 $as_echo "$ac_ct_RANLIB" >&6; }
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 $as_echo "no" >&6; }
6176 if test "x$ac_ct_RANLIB" = x; then
6177 RANLIB="ranlib-not-found-in-path-error"
6179 case $cross_compiling:$ac_tool_warned in
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183 ac_tool_warned=yes ;;
6185 RANLIB=$ac_ct_RANLIB
6188 RANLIB="$ac_cv_prog_RANLIB"
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6192 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6194 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6195 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6196 $as_echo_n "(cached) " >&6
6198 cat >conftest.make <<\_ACEOF
6201 @echo '@@@%%%=$(MAKE)=@@@%%%'
6203 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6204 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6206 eval ac_cv_prog_make_${ac_make}_set=yes;;
6208 eval ac_cv_prog_make_${ac_make}_set=no;;
6212 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6214 $as_echo "yes" >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6219 SET_MAKE="MAKE=${MAKE-make}"
6225 #AC_MSG_NOTICE([====== Starting libtool configuration])
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6233 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6238 macro_version='2.2.7a'
6239 macro_revision='1.3134'
6253 ltmain="$ac_aux_dir/ltmain.sh"
6255 # Backslashify metacharacters that are still active within
6256 # double-quoted strings.
6257 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6259 # Same as above, but do not quote variable references.
6260 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6262 # Sed substitution to delay expansion of an escaped shell variable in a
6263 # double_quote_subst'ed string.
6264 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6266 # Sed substitution to delay expansion of an escaped single quote.
6267 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6269 # Sed substitution to avoid accidental globbing in evaled expressions
6270 no_glob_subst='s/\*/\\\*/g'
6272 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6273 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6274 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6277 $as_echo_n "checking how to print
strings...
" >&6; }
6278 # Test print first, because it will be a builtin if present.
6279 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6280 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6282 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6285 # Use this function as a fallback that always works.
6286 func_fallback_echo ()
6288 eval 'cat <<_LTECHO_EOF
6292 ECHO='func_fallback_echo'
6295 # func_echo_all arg...
6296 # Invoke $ECHO with all args, space-separated.
6303 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6304 $as_echo "printf" >&6; } ;;
6305 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6306 $as_echo "print
-r" >&6; } ;;
6307 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6308 $as_echo "cat" >&6; } ;;
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6325 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6326 if test "${ac_cv_path_SED+set}" = set; then :
6327 $as_echo_n "(cached
) " >&6
6329 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6330 for ac_i in 1 2 3 4 5 6 7; do
6331 ac_script="$ac_script$as_nl$ac_script"
6333 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6334 { ac_script=; unset ac_script;}
6335 if test -z "$SED"; then
6336 ac_path_SED_found=false
6337 # Loop through the user's path and test for each of PROGNAME-LIST
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 test -z "$as_dir" && as_dir=.
6343 for ac_prog in sed gsed; do
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6346 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6347 # Check for GNU ac_path_SED and select it if it is found.
6348 # Check for GNU $ac_path_SED
6349 case `"$ac_path_SED" --version 2>&1` in
6351 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6354 $as_echo_n 0123456789 >"conftest.
in"
6357 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6358 mv "conftest.tmp
" "conftest.
in"
6359 cp "conftest.
in" "conftest.
nl"
6360 $as_echo '' >> "conftest.
nl"
6361 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6362 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6363 as_fn_arith $ac_count + 1 && ac_count=$as_val
6364 if test $ac_count -gt ${ac_path_SED_max-0}; then
6365 # Best one so far, save it but keep looking for a better one
6366 ac_cv_path_SED="$ac_path_SED"
6367 ac_path_SED_max=$ac_count
6369 # 10*(2^10) chars as input seems more than enough
6370 test $ac_count -gt 10 && break
6372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6375 $ac_path_SED_found && break 3
6380 if test -z "$ac_cv_path_SED"; then
6381 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6389 $as_echo "$ac_cv_path_SED" >&6; }
6390 SED="$ac_cv_path_SED"
6393 test -z "$SED" && SED=sed
6394 Xsed="$SED -e 1s
/^X
//"
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6407 $as_echo_n "checking
for fgrep...
" >&6; }
6408 if test "${ac_cv_path_FGREP+set}" = set; then :
6409 $as_echo_n "(cached
) " >&6
6411 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6412 then ac_cv_path_FGREP="$GREP -F"
6414 if test -z "$FGREP"; then
6415 ac_path_FGREP_found=false
6416 # Loop through the user's path and test for each of PROGNAME-LIST
6417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6421 test -z "$as_dir" && as_dir=.
6422 for ac_prog in fgrep; do
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6425 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6426 # Check for GNU ac_path_FGREP and select it if it is found.
6427 # Check for GNU $ac_path_FGREP
6428 case `"$ac_path_FGREP" --version 2>&1` in
6430 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6433 $as_echo_n 0123456789 >"conftest.
in"
6436 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6437 mv "conftest.tmp
" "conftest.
in"
6438 cp "conftest.
in" "conftest.
nl"
6439 $as_echo 'FGREP' >> "conftest.
nl"
6440 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6441 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6442 as_fn_arith $ac_count + 1 && ac_count=$as_val
6443 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6444 # Best one so far, save it but keep looking for a better one
6445 ac_cv_path_FGREP="$ac_path_FGREP"
6446 ac_path_FGREP_max=$ac_count
6448 # 10*(2^10) chars as input seems more than enough
6449 test $ac_count -gt 10 && break
6451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6454 $ac_path_FGREP_found && break 3
6459 if test -z "$ac_cv_path_FGREP"; then
6460 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6463 ac_cv_path_FGREP=$FGREP
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6469 $as_echo "$ac_cv_path_FGREP" >&6; }
6470 FGREP="$ac_cv_path_FGREP"
6473 test -z "$GREP" && GREP=grep
6493 # Check whether --with-gnu-ld was given.
6494 if test "${with_gnu_ld+set}" = set; then :
6495 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6501 if test "$GCC" = yes; then
6502 # Check if gcc -print-prog-name=ld gives a path.
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6504 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6507 # gcc leaves a trailing carriage return which upsets mingw
6508 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6510 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6513 # Accept absolute paths.
6515 re_direlt='/[^/][^/]*/\.\./'
6516 # Canonicalize the pathname of ld
6517 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6518 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6519 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6521 test -z "$LD" && LD="$ac_prog"
6524 # If it fails, then pretend we aren't using GCC.
6528 # If it is relative, then search for the first ld in PATH.
6532 elif test "$with_gnu_ld" = yes; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6534 $as_echo_n "checking
for GNU ld...
" >&6; }
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6537 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6539 if test "${lt_cv_path_LD+set}" = set; then :
6540 $as_echo_n "(cached
) " >&6
6542 if test -z "$LD"; then
6543 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6544 for ac_dir in $PATH; do
6546 test -z "$ac_dir" && ac_dir=.
6547 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6548 lt_cv_path_LD="$ac_dir/$ac_prog"
6549 # Check to see if the program is GNU ld. I'd rather use --version,
6550 # but apparently some variants of GNU ld only accept -v.
6551 # Break only if it was the GNU/non-GNU ld that we prefer.
6552 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6553 *GNU* | *'with BFD'*)
6554 test "$with_gnu_ld" != no && break
6557 test "$with_gnu_ld" != yes && break
6564 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6569 if test -n "$LD"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6571 $as_echo "$LD" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6574 $as_echo "no
" >&6; }
6576 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6578 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6579 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6580 $as_echo_n "(cached
) " >&6
6582 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6583 case `$LD -v 2>&1 </dev/null` in
6584 *GNU* | *'with BFD'*)
6585 lt_cv_prog_gnu_ld=yes
6588 lt_cv_prog_gnu_ld=no
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6593 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6594 with_gnu_ld=$lt_cv_prog_gnu_ld
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6605 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6606 if test "${lt_cv_path_NM+set}" = set; then :
6607 $as_echo_n "(cached
) " >&6
6609 if test -n "$NM"; then
6610 # Let the user override the test.
6613 lt_nm_to_check="${ac_tool_prefix}nm
"
6614 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6615 lt_nm_to_check="$lt_nm_to_check nm
"
6617 for lt_tmp_nm in $lt_nm_to_check; do
6618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6619 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6621 test -z "$ac_dir" && ac_dir=.
6622 tmp_nm="$ac_dir/$lt_tmp_nm"
6623 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6624 # Check to see if the nm accepts a BSD-compat flag.
6625 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6626 # nm: unknown option "B
" ignored
6627 # Tru64's nm complains that /dev/null is an invalid object file
6628 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6629 */dev/null* | *'Invalid file or object type'*)
6630 lt_cv_path_NM="$tmp_nm -B"
6634 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6636 lt_cv_path_NM="$tmp_nm -p"
6640 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6641 continue # so that we can try to find one that supports BSD flags
6650 : ${lt_cv_path_NM=no}
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6654 $as_echo "$lt_cv_path_NM" >&6; }
6655 if test "$lt_cv_path_NM" != "no
"; then
6658 # Didn't find any BSD compatible name lister, look for dumpbin.
6659 if test -n "$DUMPBIN"; then :
6660 # Let the user override the test.
6662 if test -n "$ac_tool_prefix"; then
6663 for ac_prog in dumpbin "link
-dump"
6665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6666 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6668 $as_echo_n "checking
for $ac_word...
" >&6; }
6669 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6670 $as_echo_n "(cached
) " >&6
6672 if test -n "$DUMPBIN"; then
6673 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir=.
6680 for ac_exec_ext in '' $ac_executable_extensions; do
6681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6682 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6692 DUMPBIN=$ac_cv_prog_DUMPBIN
6693 if test -n "$DUMPBIN"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6695 $as_echo "$DUMPBIN" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6698 $as_echo "no
" >&6; }
6702 test -n "$DUMPBIN" && break
6705 if test -z "$DUMPBIN"; then
6706 ac_ct_DUMPBIN=$DUMPBIN
6707 for ac_prog in dumpbin "link
-dump"
6709 # Extract the first word of "$ac_prog", so it can be a program name with args.
6710 set dummy $ac_prog; ac_word=$2
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6712 $as_echo_n "checking
for $ac_word...
" >&6; }
6713 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6714 $as_echo_n "(cached
) " >&6
6716 if test -n "$ac_ct_DUMPBIN"; then
6717 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723 test -z "$as_dir" && as_dir=.
6724 for ac_exec_ext in '' $ac_executable_extensions; do
6725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6726 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6736 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6737 if test -n "$ac_ct_DUMPBIN"; then
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6739 $as_echo "$ac_ct_DUMPBIN" >&6; }
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6742 $as_echo "no
" >&6; }
6746 test -n "$ac_ct_DUMPBIN" && break
6749 if test "x
$ac_ct_DUMPBIN" = x; then
6752 case $cross_compiling:$ac_tool_warned in
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6755 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6756 ac_tool_warned=yes ;;
6758 DUMPBIN=$ac_ct_DUMPBIN
6762 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6764 DUMPBIN="$DUMPBIN -symbols"
6772 if test "$DUMPBIN" != ":"; then
6776 test -z "$NM" && NM=nm
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6784 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6785 if test "${lt_cv_nm_interface+set}" = set; then :
6786 $as_echo_n "(cached
) " >&6
6788 lt_cv_nm_interface="BSD nm
"
6789 echo "int some_variable
= 0;" > conftest.$ac_ext
6790 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6791 (eval "$ac_compile" 2>conftest.err)
6792 cat conftest.err >&5
6793 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6794 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6795 cat conftest.err >&5
6796 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6797 cat conftest.out >&5
6798 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6799 lt_cv_nm_interface="MS dumpbin
"
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6804 $as_echo "$lt_cv_nm_interface" >&6; }
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6807 $as_echo_n "checking whether
ln -s works...
" >&6; }
6809 if test "$LN_S" = "ln -s"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6811 $as_echo "yes" >&6; }
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6814 $as_echo "no
, using
$LN_S" >&6; }
6817 # find the maximum length of command line arguments
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6819 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6820 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6821 $as_echo_n "(cached
) " >&6
6828 # On DJGPP, this test can blow up pretty badly due to problems in libc
6829 # (any single argument exceeding 2000 bytes causes a buffer overrun
6830 # during glob expansion). Even if it were fixed, the result of this
6831 # check would be larger than it should be.
6832 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6836 # Under GNU Hurd, this test is not required because there is
6837 # no limit to the length of command line arguments.
6838 # Libtool will interpret -1 as no limit whatsoever
6839 lt_cv_sys_max_cmd_len=-1;
6842 cygwin* | mingw* | cegcc*)
6843 # On Win9x/ME, this test blows up -- it succeeds, but takes
6844 # about 5 minutes as the teststring grows exponentially.
6845 # Worse, since 9x/ME are not pre-emptively multitasking,
6846 # you end up with a "frozen
" computer, even though with patience
6847 # the test eventually succeeds (with a max line length of 256k).
6848 # Instead, let's just punt: use the minimum linelength reported by
6849 # all of the supported platforms: 8192 (on NT/2K/XP).
6850 lt_cv_sys_max_cmd_len=8192;
6854 # On MiNT this can take a long time and run out of memory.
6855 lt_cv_sys_max_cmd_len=8192;
6859 # On AmigaOS with pdksh, this test takes hours, literally.
6860 # So we just punt and use a minimum line length of 8192.
6861 lt_cv_sys_max_cmd_len=8192;
6864 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6865 # This has been around since 386BSD, at least. Likely further.
6866 if test -x /sbin/sysctl; then
6867 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6868 elif test -x /usr/sbin/sysctl; then
6869 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6871 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6873 # And add a safety zone
6874 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6875 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6879 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6880 lt_cv_sys_max_cmd_len=196608
6884 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6885 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6886 # nice to cause kernel panics so lets avoid the loop below.
6887 # First set a reasonable default.
6888 lt_cv_sys_max_cmd_len=16384
6890 if test -x /sbin/sysconfig; then
6891 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6892 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6897 lt_cv_sys_max_cmd_len=102400
6899 sysv5* | sco5v6* | sysv4.2uw2*)
6900 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6901 if test -n "$kargmax"; then
6902 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6904 lt_cv_sys_max_cmd_len=32768
6908 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6909 if test -n "$lt_cv_sys_max_cmd_len"; then
6910 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6913 # Make teststring a little bigger before we do anything with it.
6914 # a 1K string should be a reasonable start.
6915 for i in 1 2 3 4 5 6 7 8 ; do
6916 teststring=$teststring$teststring
6918 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6919 # If test is not a shell built-in, we'll probably end up computing a
6920 # maximum length that is only half of the actual maximum length, but
6922 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6923 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6924 test $i != 17 # 1/2 MB should be enough
6927 teststring=$teststring$teststring
6929 # Only check the string length outside the loop.
6930 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6932 # Add a significant safety factor because C++ compilers can tack on
6933 # massive amounts of additional arguments before passing them to the
6934 # linker. It appears as though 1/2 is a usable value.
6935 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6942 if test -n $lt_cv_sys_max_cmd_len ; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6944 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6947 $as_echo "none
" >&6; }
6949 max_cmd_len=$lt_cv_sys_max_cmd_len
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6961 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6962 # Try some XSI features
6965 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6967 && eval 'test $(( 1 + 1 )) -eq 2 \
6968 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6971 $as_echo "$xsi_shell" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6975 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6977 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6979 && lt_shell_append
=yes
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6981 $as_echo "$lt_shell_append" >&6; }
6984 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6994 # test EBCDIC or ASCII
6995 case `echo X|tr X '\101'` in
6996 A
) # ASCII based system
6997 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6998 lt_SP2NL
='tr \040 \012'
6999 lt_NL2SP
='tr \015\012 \040\040'
7001 *) # EBCDIC based system
7002 lt_SP2NL
='tr \100 \n'
7003 lt_NL2SP
='tr \r\n \100\100'
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7016 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7017 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7018 $as_echo_n "(cached) " >&6
7020 lt_cv_ld_reload_flag
='-r'
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7023 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7024 reload_flag
=$lt_cv_ld_reload_flag
7025 case $reload_flag in
7027 *) reload_flag
=" $reload_flag" ;;
7029 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7032 if test "$GCC" = yes; then
7033 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7035 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7048 if test -n "$ac_tool_prefix"; then
7049 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7050 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052 $as_echo_n "checking for $ac_word... " >&6; }
7053 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7054 $as_echo_n "(cached) " >&6
7056 if test -n "$OBJDUMP"; then
7057 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7063 test -z "$as_dir" && as_dir
=.
7064 for ac_exec_ext
in '' $ac_executable_extensions; do
7065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7066 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 OBJDUMP
=$ac_cv_prog_OBJDUMP
7077 if test -n "$OBJDUMP"; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7079 $as_echo "$OBJDUMP" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 $as_echo "no" >&6; }
7087 if test -z "$ac_cv_prog_OBJDUMP"; then
7088 ac_ct_OBJDUMP
=$OBJDUMP
7089 # Extract the first word of "objdump", so it can be a program name with args.
7090 set dummy objdump
; ac_word
=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7094 $as_echo_n "(cached) " >&6
7096 if test -n "$ac_ct_OBJDUMP"; then
7097 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir
=.
7104 for ac_exec_ext
in '' $ac_executable_extensions; do
7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7117 if test -n "$ac_ct_OBJDUMP"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7119 $as_echo "$ac_ct_OBJDUMP" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7125 if test "x$ac_ct_OBJDUMP" = x
; then
7128 case $cross_compiling:$ac_tool_warned in
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7132 ac_tool_warned
=yes ;;
7134 OBJDUMP
=$ac_ct_OBJDUMP
7137 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7140 test -z "$OBJDUMP" && OBJDUMP
=objdump
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7151 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7152 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7153 $as_echo_n "(cached) " >&6
7155 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7156 lt_cv_file_magic_test_file
=
7157 lt_cv_deplibs_check_method
='unknown'
7158 # Need to set the preceding variable on all platforms that support
7159 # interlibrary dependencies.
7160 # 'none' -- dependencies not supported.
7161 # `unknown' -- same as none, but documents that we really don't know.
7162 # 'pass_all' -- all dependencies passed with no checks.
7163 # 'test_compile' -- check by making test program.
7164 # 'file_magic [[regex]]' -- check by looking for files in library path
7165 # which responds to the $file_magic_cmd with a given extended regex.
7166 # If you have `file' or equivalent on your system and you're not sure
7167 # whether `pass_all' will *always* work, you probably want this one.
7171 lt_cv_deplibs_check_method
=pass_all
7175 lt_cv_deplibs_check_method
=pass_all
7179 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7180 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7181 lt_cv_file_magic_test_file
=/shlib
/libc.so
7185 # func_win32_libid is a shell function defined in ltmain.sh
7186 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7187 lt_cv_file_magic_cmd
='func_win32_libid'
7191 # Base MSYS/MinGW do not provide the 'file' command needed by
7192 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7193 # unless we find 'file', for example because we are cross-compiling.
7194 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7195 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7196 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7197 lt_cv_file_magic_cmd
='func_win32_libid'
7199 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7200 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7205 # use the weaker test based on 'objdump'. See mingw*.
7206 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7207 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7210 darwin
* | rhapsody
*)
7211 lt_cv_deplibs_check_method
=pass_all
7214 freebsd
* | dragonfly
*)
7215 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7218 # Not sure whether the presence of OpenBSD here was a mistake.
7219 # Let's accept both of them until this is cleared up.
7220 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7221 lt_cv_file_magic_cmd
=/usr
/bin
/file
7222 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7226 lt_cv_deplibs_check_method
=pass_all
7231 lt_cv_deplibs_check_method
=pass_all
7235 lt_cv_deplibs_check_method
=pass_all
7238 hpux10.20
* | hpux11
*)
7239 lt_cv_file_magic_cmd
=/usr
/bin
/file
7242 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7243 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7246 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]'
7247 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7250 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7251 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7257 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7258 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7261 irix5
* | irix6
* | nonstopux
*)
7263 *-32|
*"-32 ") libmagic
=32-bit;;
7264 *-n32|
*"-n32 ") libmagic
=N32
;;
7265 *-64|
*"-64 ") libmagic
=64-bit;;
7266 *) libmagic
=never-match
;;
7268 lt_cv_deplibs_check_method
=pass_all
7271 # This must be Linux ELF.
7272 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7273 lt_cv_deplibs_check_method
=pass_all
7277 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7278 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7280 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7285 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7286 lt_cv_file_magic_cmd
=/usr
/bin
/file
7287 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7291 lt_cv_deplibs_check_method
=pass_all
7295 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7296 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7298 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7302 osf3
* | osf4
* | osf5
*)
7303 lt_cv_deplibs_check_method
=pass_all
7307 lt_cv_deplibs_check_method
=pass_all
7311 lt_cv_deplibs_check_method
=pass_all
7314 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7315 lt_cv_deplibs_check_method
=pass_all
7319 case $host_vendor in
7321 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]'
7322 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7325 lt_cv_deplibs_check_method
=pass_all
7328 lt_cv_file_magic_cmd
='/bin/file'
7329 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7332 lt_cv_file_magic_cmd
='/bin/file'
7333 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7334 lt_cv_file_magic_test_file
=/lib
/libc.so
7337 lt_cv_deplibs_check_method
=pass_all
7340 lt_cv_deplibs_check_method
=pass_all
7346 lt_cv_deplibs_check_method
=pass_all
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7352 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7353 file_magic_cmd
=$lt_cv_file_magic_cmd
7354 deplibs_check_method
=$lt_cv_deplibs_check_method
7355 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7368 if test -n "$ac_tool_prefix"; then
7369 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7370 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 $as_echo_n "checking for $ac_word... " >&6; }
7373 if test "${ac_cv_prog_AR+set}" = set; then :
7374 $as_echo_n "(cached) " >&6
7376 if test -n "$AR"; then
7377 ac_cv_prog_AR
="$AR" # Let the user override the test.
7379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7383 test -z "$as_dir" && as_dir
=.
7384 for ac_exec_ext
in '' $ac_executable_extensions; do
7385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 if test -n "$AR"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7399 $as_echo "$AR" >&6; }
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 $as_echo "no" >&6; }
7407 if test -z "$ac_cv_prog_AR"; then
7409 # Extract the first word of "ar", so it can be a program name with args.
7410 set dummy
ar; ac_word
=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$ac_ct_AR"; then
7417 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir
=.
7424 for ac_exec_ext
in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_ac_ct_AR
="ar"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7437 if test -n "$ac_ct_AR"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7439 $as_echo "$ac_ct_AR" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7445 if test "x$ac_ct_AR" = x
; then
7448 case $cross_compiling:$ac_tool_warned in
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452 ac_tool_warned
=yes ;;
7460 test -z "$AR" && AR
=ar
7461 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7473 if test -n "$ac_tool_prefix"; then
7474 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7475 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477 $as_echo_n "checking for $ac_word... " >&6; }
7478 if test "${ac_cv_prog_STRIP+set}" = set; then :
7479 $as_echo_n "(cached) " >&6
7481 if test -n "$STRIP"; then
7482 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7488 test -z "$as_dir" && as_dir
=.
7489 for ac_exec_ext
in '' $ac_executable_extensions; do
7490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501 STRIP
=$ac_cv_prog_STRIP
7502 if test -n "$STRIP"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7504 $as_echo "$STRIP" >&6; }
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7512 if test -z "$ac_cv_prog_STRIP"; then
7514 # Extract the first word of "strip", so it can be a program name with args.
7515 set dummy strip
; ac_word
=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517 $as_echo_n "checking for $ac_word... " >&6; }
7518 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7519 $as_echo_n "(cached) " >&6
7521 if test -n "$ac_ct_STRIP"; then
7522 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir
=.
7529 for ac_exec_ext
in '' $ac_executable_extensions; do
7530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531 ac_cv_prog_ac_ct_STRIP
="strip"
7532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7542 if test -n "$ac_ct_STRIP"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7544 $as_echo "$ac_ct_STRIP" >&6; }
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547 $as_echo "no" >&6; }
7550 if test "x$ac_ct_STRIP" = x
; then
7553 case $cross_compiling:$ac_tool_warned in
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7557 ac_tool_warned
=yes ;;
7562 STRIP
="$ac_cv_prog_STRIP"
7565 test -z "$STRIP" && STRIP
=:
7572 if test -n "$ac_tool_prefix"; then
7573 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7574 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7580 if test -n "$RANLIB"; then
7581 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7587 test -z "$as_dir" && as_dir
=.
7588 for ac_exec_ext
in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 RANLIB
=$ac_cv_prog_RANLIB
7601 if test -n "$RANLIB"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7603 $as_echo "$RANLIB" >&6; }
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7611 if test -z "$ac_cv_prog_RANLIB"; then
7612 ac_ct_RANLIB
=$RANLIB
7613 # Extract the first word of "ranlib", so it can be a program name with args.
7614 set dummy ranlib
; ac_word
=$2
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7616 $as_echo_n "checking for $ac_word... " >&6; }
7617 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7618 $as_echo_n "(cached) " >&6
7620 if test -n "$ac_ct_RANLIB"; then
7621 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7627 test -z "$as_dir" && as_dir
=.
7628 for ac_exec_ext
in '' $ac_executable_extensions; do
7629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7630 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7641 if test -n "$ac_ct_RANLIB"; then
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7643 $as_echo "$ac_ct_RANLIB" >&6; }
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 $as_echo "no" >&6; }
7649 if test "x$ac_ct_RANLIB" = x
; then
7652 case $cross_compiling:$ac_tool_warned in
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7656 ac_tool_warned
=yes ;;
7658 RANLIB
=$ac_ct_RANLIB
7661 RANLIB
="$ac_cv_prog_RANLIB"
7664 test -z "$RANLIB" && RANLIB
=:
7671 # Determine commands to create old-style static archives.
7672 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7673 old_postinstall_cmds
='chmod 644 $oldlib'
7674 old_postuninstall_cmds
=
7676 if test -n "$RANLIB"; then
7679 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7682 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7685 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7690 lock_old_archive_extraction
=yes ;;
7692 lock_old_archive_extraction
=no
;;
7733 # If no C compiler was specified, use CC.
7736 # If no C compiler flags were specified, use CFLAGS.
7737 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7739 # Allow CC to be a program name with arguments.
7743 # Check for command to grab the raw symbol name followed by C symbol from nm.
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7745 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7746 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7747 $as_echo_n "(cached) " >&6
7750 # These are sane defaults that work on at least a few old systems.
7751 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7753 # Character class describing NM global symbol codes.
7754 symcode
='[BCDEGRST]'
7756 # Regexp to match symbols that can be accessed directly from C.
7757 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7759 # Define system-specific variables.
7764 cygwin
* | mingw
* | pw32
* | cegcc
*)
7765 symcode
='[ABCDGISTW]'
7768 if test "$host_cpu" = ia64
; then
7769 symcode
='[ABCDEGRST]'
7773 symcode
='[BCDEGRST]'
7776 symcode
='[BCDEGQRST]'
7787 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7795 # If we're using GNU nm, then use its standard symbol codes.
7796 case `$NM -V 2>&1` in
7797 *GNU
* |
*'with BFD'*)
7798 symcode
='[ABCDGIRSTW]' ;;
7801 # Transform an extracted symbol line into a proper C declaration.
7802 # Some systems (esp. on ia64) link data and code symbols differently,
7803 # so use this general approach.
7804 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7806 # Transform an extracted symbol line into symbol name and symbol address
7807 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7808 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'"
7810 # Handle CRLF in mingw tool chain
7814 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7818 # Try without a prefix underscore, then with it.
7819 for ac_symprfx
in "" "_"; do
7821 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7822 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7824 # Write the raw and C identifiers.
7825 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7826 # Fake it for dumpbin and say T for any non-static function
7827 # and D for any global variable.
7828 # Also find C++ and __fastcall symbols from MSVC++,
7829 # which start with @ or ?.
7830 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7831 " {last_section=section; section=\$ 3};"\
7832 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7833 " \$ 0!~/External *\|/{next};"\
7834 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7835 " {if(hide[section]) next};"\
7836 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7837 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7838 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7839 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7840 " ' prfx=^$ac_symprfx"
7842 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7845 # Check to see that the pipe works correctly.
7849 cat > conftest.
$ac_ext <<_LT_EOF
7854 void nm_test_func(void);
7855 void nm_test_func(void){}
7859 int main(){nm_test_var='a';nm_test_func();return(0);}
7862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7863 (eval $ac_compile) 2>&5
7865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7866 test $ac_status = 0; }; then
7867 # Now try to grab the symbols.
7869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7870 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7873 test $ac_status = 0; } && test -s "$nlist"; then
7874 # Try sorting and uniquifying the output.
7875 if sort "$nlist" |
uniq > "$nlist"T
; then
7876 mv -f "$nlist"T
"$nlist"
7881 # Make sure that we snagged all the symbols we need.
7882 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7883 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7884 cat <<_LT_EOF > conftest.$ac_ext
7890 # Now generate the symbol file.
7891 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7893 cat <<_LT_EOF >> conftest.$ac_ext
7895 /* The mapping between symbol names and symbols. */
7900 lt__PROGRAM__LTX_preloaded_symbols[] =
7902 { "@PROGRAM@", (void *) 0 },
7904 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7905 cat <<\_LT_EOF
>> conftest.
$ac_ext
7909 /* This works around a problem
in FreeBSD linker
*/
7910 #ifdef FREEBSD_WORKAROUND
7911 static const void
*lt_preloaded_setup
() {
7912 return lt__PROGRAM__LTX_preloaded_symbols
;
7920 # Now try linking the two files.
7921 mv conftest.
$ac_objext conftstm.
$ac_objext
7922 lt_save_LIBS
="$LIBS"
7923 lt_save_CFLAGS
="$CFLAGS"
7924 LIBS
="conftstm.$ac_objext"
7925 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7927 (eval $ac_link) 2>&5
7929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7930 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7933 LIBS
="$lt_save_LIBS"
7934 CFLAGS
="$lt_save_CFLAGS"
7936 echo "cannot find nm_test_func in $nlist" >&5
7939 echo "cannot find nm_test_var in $nlist" >&5
7942 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7945 echo "$progname: failed program was:" >&5
7946 cat conftest.
$ac_ext >&5
7948 rm -rf conftest
* conftst
*
7950 # Do not use the global_symbol_pipe unless it works.
7951 if test "$pipe_works" = yes; then
7954 lt_cv_sys_global_symbol_pipe
=
7960 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7961 lt_cv_sys_global_symbol_to_cdecl
=
7963 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7965 $as_echo "failed" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7968 $as_echo "ok" >&6; }
7992 # Check whether --enable-libtool-lock was given.
7993 if test "${enable_libtool_lock+set}" = set; then :
7994 enableval
=$enable_libtool_lock;
7997 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7999 # Some flags need to be propagated to the compiler or linker for good
8003 # Find out which ABI we are using.
8004 echo 'int i;' > conftest.
$ac_ext
8005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8006 (eval $ac_compile) 2>&5
8008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8009 test $ac_status = 0; }; then
8010 case `/usr/bin/file conftest.$ac_objext` in
8022 # Find out which ABI we are using.
8023 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8025 (eval $ac_compile) 2>&5
8027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8028 test $ac_status = 0; }; then
8029 if test "$lt_cv_prog_gnu_ld" = yes; then
8030 case `/usr/bin/file conftest.$ac_objext` in
8032 LD
="${LD-ld} -melf32bsmip"
8035 LD
="${LD-ld} -melf32bmipn32"
8038 LD
="${LD-ld} -melf64bmip"
8042 case `/usr/bin/file conftest.$ac_objext` in
8058 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
8059 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8060 # Find out which ABI we are using.
8061 echo 'int i;' > conftest.
$ac_ext
8062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8063 (eval $ac_compile) 2>&5
8065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8066 test $ac_status = 0; }; then
8067 case `/usr/bin/file conftest.o` in
8070 x86_64-
*kfreebsd
*-gnu)
8071 LD
="${LD-ld} -m elf_i386_fbsd"
8074 LD
="${LD-ld} -m elf_i386"
8076 ppc64-
*linux
*|powerpc64-
*linux
*)
8077 LD
="${LD-ld} -m elf32ppclinux"
8080 LD
="${LD-ld} -m elf_s390"
8083 LD
="${LD-ld} -m elf32_sparc"
8089 x86_64-
*kfreebsd
*-gnu)
8090 LD
="${LD-ld} -m elf_x86_64_fbsd"
8093 LD
="${LD-ld} -m elf_x86_64"
8095 ppc
*-*linux
*|powerpc
*-*linux
*)
8096 LD
="${LD-ld} -m elf64ppc"
8098 s390
*-*linux
*|s390
*-*tpf
*)
8099 LD
="${LD-ld} -m elf64_s390"
8102 LD
="${LD-ld} -m elf64_sparc"
8112 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8113 SAVE_CFLAGS
="$CFLAGS"
8114 CFLAGS
="$CFLAGS -belf"
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8116 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8117 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8118 $as_echo_n "(cached) " >&6
8121 ac_cpp
='$CPP $CPPFLAGS'
8122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8126 if test x
$gcc_no_link = xyes
; then
8127 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8130 /* end confdefs.h. */
8140 if ac_fn_c_try_link
"$LINENO"; then :
8141 lt_cv_cc_needs_belf
=yes
8143 lt_cv_cc_needs_belf
=no
8145 rm -f core conftest.err conftest.
$ac_objext \
8146 conftest
$ac_exeext conftest.
$ac_ext
8148 ac_cpp
='$CPP $CPPFLAGS'
8149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8155 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8156 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8157 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8158 CFLAGS
="$SAVE_CFLAGS"
8162 # Find out which ABI we are using.
8163 echo 'int i;' > conftest.
$ac_ext
8164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8165 (eval $ac_compile) 2>&5
8167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8168 test $ac_status = 0; }; then
8169 case `/usr/bin/file conftest.o` in
8171 case $lt_cv_prog_gnu_ld in
8172 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8174 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8186 need_locks
="$enable_libtool_lock"
8190 rhapsody
* | darwin
*)
8191 if test -n "$ac_tool_prefix"; then
8192 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8193 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8195 $as_echo_n "checking for $ac_word... " >&6; }
8196 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8197 $as_echo_n "(cached) " >&6
8199 if test -n "$DSYMUTIL"; then
8200 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8206 test -z "$as_dir" && as_dir
=.
8207 for ac_exec_ext
in '' $ac_executable_extensions; do
8208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8209 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8220 if test -n "$DSYMUTIL"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8222 $as_echo "$DSYMUTIL" >&6; }
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225 $as_echo "no" >&6; }
8230 if test -z "$ac_cv_prog_DSYMUTIL"; then
8231 ac_ct_DSYMUTIL
=$DSYMUTIL
8232 # Extract the first word of "dsymutil", so it can be a program name with args.
8233 set dummy dsymutil
; ac_word
=$2
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8235 $as_echo_n "checking for $ac_word... " >&6; }
8236 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8237 $as_echo_n "(cached) " >&6
8239 if test -n "$ac_ct_DSYMUTIL"; then
8240 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8246 test -z "$as_dir" && as_dir
=.
8247 for ac_exec_ext
in '' $ac_executable_extensions; do
8248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8249 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8260 if test -n "$ac_ct_DSYMUTIL"; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8262 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265 $as_echo "no" >&6; }
8268 if test "x$ac_ct_DSYMUTIL" = x
; then
8271 case $cross_compiling:$ac_tool_warned in
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8275 ac_tool_warned
=yes ;;
8277 DSYMUTIL
=$ac_ct_DSYMUTIL
8280 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8283 if test -n "$ac_tool_prefix"; then
8284 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8285 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8287 $as_echo_n "checking for $ac_word... " >&6; }
8288 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8289 $as_echo_n "(cached) " >&6
8291 if test -n "$NMEDIT"; then
8292 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8298 test -z "$as_dir" && as_dir
=.
8299 for ac_exec_ext
in '' $ac_executable_extensions; do
8300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8301 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8311 NMEDIT
=$ac_cv_prog_NMEDIT
8312 if test -n "$NMEDIT"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8314 $as_echo "$NMEDIT" >&6; }
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8317 $as_echo "no" >&6; }
8322 if test -z "$ac_cv_prog_NMEDIT"; then
8323 ac_ct_NMEDIT
=$NMEDIT
8324 # Extract the first word of "nmedit", so it can be a program name with args.
8325 set dummy nmedit
; ac_word
=$2
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8327 $as_echo_n "checking for $ac_word... " >&6; }
8328 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8329 $as_echo_n "(cached) " >&6
8331 if test -n "$ac_ct_NMEDIT"; then
8332 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8338 test -z "$as_dir" && as_dir
=.
8339 for ac_exec_ext
in '' $ac_executable_extensions; do
8340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8341 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8351 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8352 if test -n "$ac_ct_NMEDIT"; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8354 $as_echo "$ac_ct_NMEDIT" >&6; }
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8357 $as_echo "no" >&6; }
8360 if test "x$ac_ct_NMEDIT" = x
; then
8363 case $cross_compiling:$ac_tool_warned in
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8367 ac_tool_warned
=yes ;;
8369 NMEDIT
=$ac_ct_NMEDIT
8372 NMEDIT
="$ac_cv_prog_NMEDIT"
8375 if test -n "$ac_tool_prefix"; then
8376 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8377 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379 $as_echo_n "checking for $ac_word... " >&6; }
8380 if test "${ac_cv_prog_LIPO+set}" = set; then :
8381 $as_echo_n "(cached) " >&6
8383 if test -n "$LIPO"; then
8384 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8390 test -z "$as_dir" && as_dir
=.
8391 for ac_exec_ext
in '' $ac_executable_extensions; do
8392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8393 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8403 LIPO
=$ac_cv_prog_LIPO
8404 if test -n "$LIPO"; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8406 $as_echo "$LIPO" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8414 if test -z "$ac_cv_prog_LIPO"; then
8416 # Extract the first word of "lipo", so it can be a program name with args.
8417 set dummy lipo
; ac_word
=$2
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8419 $as_echo_n "checking for $ac_word... " >&6; }
8420 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8421 $as_echo_n "(cached) " >&6
8423 if test -n "$ac_ct_LIPO"; then
8424 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8430 test -z "$as_dir" && as_dir
=.
8431 for ac_exec_ext
in '' $ac_executable_extensions; do
8432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8433 ac_cv_prog_ac_ct_LIPO
="lipo"
8434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8443 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8444 if test -n "$ac_ct_LIPO"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8446 $as_echo "$ac_ct_LIPO" >&6; }
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8449 $as_echo "no" >&6; }
8452 if test "x$ac_ct_LIPO" = x
; then
8455 case $cross_compiling:$ac_tool_warned in
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8459 ac_tool_warned
=yes ;;
8464 LIPO
="$ac_cv_prog_LIPO"
8467 if test -n "$ac_tool_prefix"; then
8468 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8469 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8471 $as_echo_n "checking for $ac_word... " >&6; }
8472 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8473 $as_echo_n "(cached) " >&6
8475 if test -n "$OTOOL"; then
8476 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8482 test -z "$as_dir" && as_dir
=.
8483 for ac_exec_ext
in '' $ac_executable_extensions; do
8484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8485 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8495 OTOOL
=$ac_cv_prog_OTOOL
8496 if test -n "$OTOOL"; then
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8498 $as_echo "$OTOOL" >&6; }
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501 $as_echo "no" >&6; }
8506 if test -z "$ac_cv_prog_OTOOL"; then
8508 # Extract the first word of "otool", so it can be a program name with args.
8509 set dummy otool
; ac_word
=$2
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8511 $as_echo_n "checking for $ac_word... " >&6; }
8512 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8513 $as_echo_n "(cached) " >&6
8515 if test -n "$ac_ct_OTOOL"; then
8516 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8522 test -z "$as_dir" && as_dir
=.
8523 for ac_exec_ext
in '' $ac_executable_extensions; do
8524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8525 ac_cv_prog_ac_ct_OTOOL
="otool"
8526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8535 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8536 if test -n "$ac_ct_OTOOL"; then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8538 $as_echo "$ac_ct_OTOOL" >&6; }
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8541 $as_echo "no" >&6; }
8544 if test "x$ac_ct_OTOOL" = x
; then
8547 case $cross_compiling:$ac_tool_warned in
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8551 ac_tool_warned
=yes ;;
8556 OTOOL
="$ac_cv_prog_OTOOL"
8559 if test -n "$ac_tool_prefix"; then
8560 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8561 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8563 $as_echo_n "checking for $ac_word... " >&6; }
8564 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8565 $as_echo_n "(cached) " >&6
8567 if test -n "$OTOOL64"; then
8568 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8574 test -z "$as_dir" && as_dir
=.
8575 for ac_exec_ext
in '' $ac_executable_extensions; do
8576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8577 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8587 OTOOL64
=$ac_cv_prog_OTOOL64
8588 if test -n "$OTOOL64"; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8590 $as_echo "$OTOOL64" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 $as_echo "no" >&6; }
8598 if test -z "$ac_cv_prog_OTOOL64"; then
8599 ac_ct_OTOOL64
=$OTOOL64
8600 # Extract the first word of "otool64", so it can be a program name with args.
8601 set dummy otool64
; ac_word
=$2
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8603 $as_echo_n "checking for $ac_word... " >&6; }
8604 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8605 $as_echo_n "(cached) " >&6
8607 if test -n "$ac_ct_OTOOL64"; then
8608 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8614 test -z "$as_dir" && as_dir
=.
8615 for ac_exec_ext
in '' $ac_executable_extensions; do
8616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8617 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8627 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8628 if test -n "$ac_ct_OTOOL64"; then
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8630 $as_echo "$ac_ct_OTOOL64" >&6; }
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8633 $as_echo "no" >&6; }
8636 if test "x$ac_ct_OTOOL64" = x
; then
8639 case $cross_compiling:$ac_tool_warned in
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8643 ac_tool_warned
=yes ;;
8645 OTOOL64
=$ac_ct_OTOOL64
8648 OTOOL64
="$ac_cv_prog_OTOOL64"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8678 $as_echo_n "checking for -single_module linker flag... " >&6; }
8679 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8680 $as_echo_n "(cached) " >&6
8682 lt_cv_apple_cc_single_mod
=no
8683 if test -z "${LT_MULTI_MODULE}"; then
8684 # By default we will add the -single_module flag. You can override
8685 # by either setting the environment variable LT_MULTI_MODULE
8686 # non-empty at configure time, or by adding -multi_module to the
8688 rm -rf libconftest.dylib
*
8689 echo "int foo(void){return 1;}" > conftest.c
8690 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8691 -dynamiclib -Wl,-single_module conftest.c" >&5
8692 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8693 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8695 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8696 lt_cv_apple_cc_single_mod
=yes
8698 cat conftest.err
>&5
8700 rm -rf libconftest.dylib
*
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8705 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8707 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8708 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8709 $as_echo_n "(cached) " >&6
8711 lt_cv_ld_exported_symbols_list
=no
8712 save_LDFLAGS
=$LDFLAGS
8713 echo "_main" > conftest.sym
8714 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8715 if test x
$gcc_no_link = xyes
; then
8716 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8729 if ac_fn_c_try_link
"$LINENO"; then :
8730 lt_cv_ld_exported_symbols_list
=yes
8732 lt_cv_ld_exported_symbols_list
=no
8734 rm -f core conftest.err conftest.
$ac_objext \
8735 conftest
$ac_exeext conftest.
$ac_ext
8736 LDFLAGS
="$save_LDFLAGS"
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8740 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8742 $as_echo_n "checking for -force_load linker flag... " >&6; }
8743 if test "${lt_cv_ld_force_load+set}" = set; then :
8744 $as_echo_n "(cached) " >&6
8746 lt_cv_ld_force_load
=no
8747 cat > conftest.c
<< _LT_EOF
8748 int forced_loaded() { return 2;}
8750 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8751 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8752 echo "$AR cru libconftest.a conftest.o" >&5
8753 $AR cru libconftest.a conftest.o
2>&5
8754 cat > conftest.c
<< _LT_EOF
8755 int main() { return 0;}
8757 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8758 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8760 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8761 lt_cv_ld_force_load
=yes
8763 cat conftest.err
>&5
8765 rm -f conftest.err libconftest.a conftest conftest.c
8766 rm -rf conftest.dSYM
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8770 $as_echo "$lt_cv_ld_force_load" >&6; }
8772 rhapsody
* | darwin1.
[012])
8773 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8775 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8776 darwin
*) # darwin 5.x on
8777 # if running on 10.5 or later, the deployment target defaults
8778 # to the OS version, if on x86, and 10.4, the deployment
8779 # target defaults to 10.4. Don't you love it?
8780 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8781 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8782 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8784 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8786 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8790 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8791 _lt_dar_single_mod
='$single_module'
8793 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8794 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8796 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8798 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8799 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8806 for ac_header
in dlfcn.h
8808 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8810 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8811 cat >>confdefs.h
<<_ACEOF
8812 #define HAVE_DLFCN_H 1
8831 # Check whether --enable-shared was given.
8832 if test "${enable_shared+set}" = set; then :
8833 enableval
=$enable_shared; p
=${PACKAGE-default}
8835 yes) enable_shared
=yes ;;
8836 no
) enable_shared
=no
;;
8839 # Look at the argument we got. We use all the common list separators.
8840 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8841 for pkg
in $enableval; do
8843 if test "X$pkg" = "X$p"; then
8862 # Check whether --enable-static was given.
8863 if test "${enable_static+set}" = set; then :
8864 enableval
=$enable_static; p
=${PACKAGE-default}
8866 yes) enable_static
=yes ;;
8867 no
) enable_static
=no
;;
8870 # Look at the argument we got. We use all the common list separators.
8871 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8872 for pkg
in $enableval; do
8874 if test "X$pkg" = "X$p"; then
8894 # Check whether --with-pic was given.
8895 if test "${with_pic+set}" = set; then :
8896 withval
=$with_pic; pic_mode
="$withval"
8902 test -z "$pic_mode" && pic_mode
=default
8910 # Check whether --enable-fast-install was given.
8911 if test "${enable_fast_install+set}" = set; then :
8912 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8914 yes) enable_fast_install
=yes ;;
8915 no
) enable_fast_install
=no
;;
8917 enable_fast_install
=no
8918 # Look at the argument we got. We use all the common list separators.
8919 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8920 for pkg
in $enableval; do
8922 if test "X$pkg" = "X$p"; then
8923 enable_fast_install
=yes
8930 enable_fast_install
=yes
8943 # This can be used to rebuild libtool when needed
8944 LIBTOOL_DEPS
="$ltmain"
8946 # Always use our own libtool.
8947 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8974 test -z "$LN_S" && LN_S
="ln -s"
8989 if test -n "${ZSH_VERSION+set}" ; then
8990 setopt NO_GLOB_SUBST
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8994 $as_echo_n "checking for objdir... " >&6; }
8995 if test "${lt_cv_objdir+set}" = set; then :
8996 $as_echo_n "(cached) " >&6
8998 rm -f .libs
2>/dev
/null
8999 mkdir .libs
2>/dev
/null
9000 if test -d .libs
; then
9003 # MS-DOS does not allow filenames that begin with a dot.
9006 rmdir .libs
2>/dev
/null
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9009 $as_echo "$lt_cv_objdir" >&6; }
9010 objdir
=$lt_cv_objdir
9016 cat >>confdefs.h
<<_ACEOF
9017 #define LT_OBJDIR "$lt_cv_objdir/"
9025 # AIX sometimes has problems with the GCC collect2 program. For some
9026 # reason, if we set the COLLECT_NAMES environment variable, the problems
9027 # vanish in a puff of smoke.
9028 if test "X${COLLECT_NAMES+set}" != Xset
; then
9030 export COLLECT_NAMES
9037 can_build_shared
=yes
9039 # All known linkers require a `.a' archive for static linking (except MSVC,
9040 # which needs '.lib').
9043 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9046 old_CFLAGS
="$CFLAGS"
9048 # Set sane defaults for various variables
9049 test -z "$CC" && CC
=cc
9050 test -z "$LTCC" && LTCC
=$CC
9051 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9052 test -z "$LD" && LD
=ld
9053 test -z "$ac_objext" && ac_objext
=o
9055 for cc_temp
in $compiler""; do
9057 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9058 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9063 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9066 # Only perform the check for file, if the check method requires it
9067 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9068 case $deplibs_check_method in
9070 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9072 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9073 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9074 $as_echo_n "(cached) " >&6
9078 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9081 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9082 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9083 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9084 for ac_dir
in $ac_dummy; do
9086 test -z "$ac_dir" && ac_dir
=.
9087 if test -f $ac_dir/${ac_tool_prefix}file; then
9088 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9089 if test -n "$file_magic_test_file"; then
9090 case $deplibs_check_method in
9092 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9093 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9094 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9095 $EGREP "$file_magic_regex" > /dev
/null
; then
9100 *** Warning: the command libtool uses to detect shared libraries,
9101 *** $file_magic_cmd, produces output that libtool cannot recognize.
9102 *** The result is that libtool may fail to recognize shared libraries
9103 *** as such. This will affect the creation of libtool libraries that
9104 *** depend on shared libraries, but programs linked with such libtool
9105 *** libraries will work regardless of this problem. Nevertheless, you
9106 *** may want to report the problem to your system manager and/or to
9107 *** bug-libtool@gnu.org
9117 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9122 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9123 if test -n "$MAGIC_CMD"; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9125 $as_echo "$MAGIC_CMD" >&6; }
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9128 $as_echo "no" >&6; }
9135 if test -z "$lt_cv_path_MAGIC_CMD"; then
9136 if test -n "$ac_tool_prefix"; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9138 $as_echo_n "checking for file... " >&6; }
9139 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9140 $as_echo_n "(cached) " >&6
9144 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9147 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9148 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9149 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9150 for ac_dir
in $ac_dummy; do
9152 test -z "$ac_dir" && ac_dir
=.
9153 if test -f $ac_dir/file; then
9154 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9155 if test -n "$file_magic_test_file"; then
9156 case $deplibs_check_method in
9158 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9159 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9160 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9161 $EGREP "$file_magic_regex" > /dev
/null
; then
9166 *** Warning: the command libtool uses to detect shared libraries,
9167 *** $file_magic_cmd, produces output that libtool cannot recognize.
9168 *** The result is that libtool may fail to recognize shared libraries
9169 *** as such. This will affect the creation of libtool libraries that
9170 *** depend on shared libraries, but programs linked with such libtool
9171 *** libraries will work regardless of this problem. Nevertheless, you
9172 *** may want to report the problem to your system manager and/or to
9173 *** bug-libtool@gnu.org
9183 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9188 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9189 if test -n "$MAGIC_CMD"; then
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9191 $as_echo "$MAGIC_CMD" >&6; }
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9194 $as_echo "no" >&6; }
9207 # Use C for the default configuration in the libtool script
9211 ac_cpp
='$CPP $CPPFLAGS'
9212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9217 # Source file extension for C test sources.
9220 # Object file extension for compiled C test sources.
9224 # Code to be used in simple compile tests
9225 lt_simple_compile_test_code
="int some_variable = 0;"
9227 # Code to be used in simple link tests
9228 lt_simple_link_test_code
='int main(){return(0);}'
9236 # If no C compiler was specified, use CC.
9239 # If no C compiler flags were specified, use CFLAGS.
9240 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9242 # Allow CC to be a program name with arguments.
9245 # Save the default compiler, since it gets overwritten when the other
9246 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9247 compiler_DEFAULT
=$CC
9249 # save warnings/boilerplate of simple test code
9250 ac_outfile
=conftest.
$ac_objext
9251 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9252 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9253 _lt_compiler_boilerplate
=`cat conftest.err`
9256 ac_outfile
=conftest.
$ac_objext
9257 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9258 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9259 _lt_linker_boilerplate
=`cat conftest.err`
9264 ## There is no encapsulation within the following macros, do not change
9265 ## the running order or otherwise move them around unless you know exactly
9266 ## what you are doing...
9267 if test -n "$compiler"; then
9269 lt_prog_compiler_no_builtin_flag
=
9271 if test "$GCC" = yes; then
9272 case $cc_basename in
9274 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9276 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9280 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9281 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9282 $as_echo_n "(cached) " >&6
9284 lt_cv_prog_compiler_rtti_exceptions
=no
9285 ac_outfile
=conftest.
$ac_objext
9286 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9287 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9288 # Insert the option either (1) after the last *FLAGS variable, or
9289 # (2) before a word containing "conftest.", or (3) at the end.
9290 # Note that $ac_compile itself does not contain backslashes and begins
9291 # with a dollar sign (not a hyphen), so the echo should work correctly.
9292 # The option is referenced via a variable to avoid confusing sed.
9293 lt_compile
=`echo "$ac_compile" | $SED \
9294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9296 -e 's:$: $lt_compiler_flag:'`
9297 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9298 (eval "$lt_compile" 2>conftest.err
)
9300 cat conftest.err
>&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 if (exit $ac_status) && test -s "$ac_outfile"; then
9303 # The compiler can only warn and ignore the option if not recognized
9304 # So say no if there are warnings other than the usual output.
9305 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9306 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9307 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9308 lt_cv_prog_compiler_rtti_exceptions
=yes
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9315 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9317 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9318 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9330 lt_prog_compiler_wl
=
9331 lt_prog_compiler_pic
=
9332 lt_prog_compiler_static
=
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9335 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9337 if test "$GCC" = yes; then
9338 lt_prog_compiler_wl
='-Wl,'
9339 lt_prog_compiler_static
='-static'
9343 # All AIX code is PIC.
9344 if test "$host_cpu" = ia64
; then
9345 # AIX 5 now supports IA64 processor
9346 lt_prog_compiler_static
='-Bstatic'
9353 # see comment about AmigaOS4 .so support
9354 lt_prog_compiler_pic
='-fPIC'
9357 # FIXME: we need at least 68020 code to build shared libraries, but
9358 # adding the `-m68020' flag to GCC prevents building anything better,
9360 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9365 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9366 # PIC is the default for these OSes.
9369 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9370 # This hack is so that the source file can tell whether it is being
9371 # built for inclusion in a dll (and should export symbols for example).
9372 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9373 # (--disable-auto-import) libraries
9374 lt_prog_compiler_pic
='-DDLL_EXPORT'
9377 darwin
* | rhapsody
*)
9378 # PIC is the default on this platform
9379 # Common symbols not allowed in MH_DYLIB files
9380 lt_prog_compiler_pic
='-fno-common'
9384 # PIC is the default for Haiku.
9385 # The "-static" flag exists, but is broken.
9386 lt_prog_compiler_static
=
9390 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9391 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9392 # sets the default TLS model and affects inlining.
9398 lt_prog_compiler_pic
='-fPIC'
9404 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9405 # Instead, we relocate shared libraries at runtime.
9409 # Just because we use GCC doesn't mean we suddenly get shared libraries
9410 # on systems that don't support them.
9411 lt_prog_compiler_can_build_shared
=no
9416 # QNX uses GNU C++, but need to define -shared option too, otherwise
9418 lt_prog_compiler_pic
='-fPIC -shared'
9422 if test -d /usr
/nec
; then
9423 lt_prog_compiler_pic
=-Kconform_pic
9428 lt_prog_compiler_pic
='-fPIC'
9432 case $cc_basename in
9433 nvcc
*) # Cuda Compiler Driver 2.2
9434 lt_prog_compiler_wl
='-Xlinker '
9435 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9439 # PORTME Check for flag to pass linker flags through the system compiler.
9442 lt_prog_compiler_wl
='-Wl,'
9443 if test "$host_cpu" = ia64
; then
9444 # AIX 5 now supports IA64 processor
9445 lt_prog_compiler_static
='-Bstatic'
9447 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9451 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9452 # This hack is so that the source file can tell whether it is being
9453 # built for inclusion in a dll (and should export symbols for example).
9454 lt_prog_compiler_pic
='-DDLL_EXPORT'
9457 hpux9
* | hpux10
* | hpux11
*)
9458 lt_prog_compiler_wl
='-Wl,'
9459 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9466 lt_prog_compiler_pic
='+Z'
9469 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9470 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9473 irix5
* | irix6
* | nonstopux
*)
9474 lt_prog_compiler_wl
='-Wl,'
9475 # PIC (with -KPIC) is the default.
9476 lt_prog_compiler_static
='-non_shared'
9479 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9480 case $cc_basename in
9481 # old Intel for x86_64 which still supported -KPIC.
9483 lt_prog_compiler_wl
='-Wl,'
9484 lt_prog_compiler_pic
='-KPIC'
9485 lt_prog_compiler_static
='-static'
9487 # icc used to be incompatible with GCC.
9488 # ICC 10 doesn't accept -KPIC any more.
9490 lt_prog_compiler_wl
='-Wl,'
9491 lt_prog_compiler_pic
='-fPIC'
9492 lt_prog_compiler_static
='-static'
9494 # Lahey Fortran 8.1.
9496 lt_prog_compiler_wl
='-Wl,'
9497 lt_prog_compiler_pic
='--shared'
9498 lt_prog_compiler_static
='--static'
9500 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9501 # Portland Group compilers (*not* the Pentium gcc compiler,
9502 # which looks to be a dead project)
9503 lt_prog_compiler_wl
='-Wl,'
9504 lt_prog_compiler_pic
='-fpic'
9505 lt_prog_compiler_static
='-Bstatic'
9508 lt_prog_compiler_wl
='-Wl,'
9509 # All Alpha code is PIC.
9510 lt_prog_compiler_static
='-non_shared'
9512 xl
* | bgxl
* | bgf
* | mpixl
*)
9513 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9514 lt_prog_compiler_wl
='-Wl,'
9515 lt_prog_compiler_pic
='-qpic'
9516 lt_prog_compiler_static
='-qstaticlink'
9519 case `$CC -V 2>&1 | sed 5q` in
9520 *Sun\ F
* |
*Sun
*Fortran
*)
9521 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9522 lt_prog_compiler_pic
='-KPIC'
9523 lt_prog_compiler_static
='-Bstatic'
9524 lt_prog_compiler_wl
=''
9528 lt_prog_compiler_pic
='-KPIC'
9529 lt_prog_compiler_static
='-Bstatic'
9530 lt_prog_compiler_wl
='-Wl,'
9538 lt_prog_compiler_pic
='-KPIC'
9539 lt_prog_compiler_static
='-Bstatic'
9543 # QNX uses GNU C++, but need to define -shared option too, otherwise
9545 lt_prog_compiler_pic
='-fPIC -shared'
9548 osf3
* | osf4
* | osf5
*)
9549 lt_prog_compiler_wl
='-Wl,'
9550 # All OSF/1 code is PIC.
9551 lt_prog_compiler_static
='-non_shared'
9555 lt_prog_compiler_static
='-non_shared'
9559 lt_prog_compiler_pic
='-KPIC'
9560 lt_prog_compiler_static
='-Bstatic'
9561 case $cc_basename in
9563 lt_prog_compiler_wl
='-Qoption ld ';;
9565 lt_prog_compiler_wl
='-Wl,';;
9570 lt_prog_compiler_wl
='-Qoption ld '
9571 lt_prog_compiler_pic
='-PIC'
9572 lt_prog_compiler_static
='-Bstatic'
9575 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9576 lt_prog_compiler_wl
='-Wl,'
9577 lt_prog_compiler_pic
='-KPIC'
9578 lt_prog_compiler_static
='-Bstatic'
9582 if test -d /usr
/nec
;then
9583 lt_prog_compiler_pic
='-Kconform_pic'
9584 lt_prog_compiler_static
='-Bstatic'
9588 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9589 lt_prog_compiler_wl
='-Wl,'
9590 lt_prog_compiler_pic
='-KPIC'
9591 lt_prog_compiler_static
='-Bstatic'
9595 lt_prog_compiler_wl
='-Wl,'
9596 lt_prog_compiler_can_build_shared
=no
9600 lt_prog_compiler_pic
='-pic'
9601 lt_prog_compiler_static
='-Bstatic'
9605 lt_prog_compiler_can_build_shared
=no
9611 # For platforms which do not support PIC, -DPIC is meaningless:
9613 lt_prog_compiler_pic
=
9616 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9620 $as_echo "$lt_prog_compiler_pic" >&6; }
9628 # Check to make sure the PIC flag actually works.
9630 if test -n "$lt_prog_compiler_pic"; then
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9632 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9633 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9634 $as_echo_n "(cached) " >&6
9636 lt_cv_prog_compiler_pic_works
=no
9637 ac_outfile
=conftest.
$ac_objext
9638 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9639 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9640 # Insert the option either (1) after the last *FLAGS variable, or
9641 # (2) before a word containing "conftest.", or (3) at the end.
9642 # Note that $ac_compile itself does not contain backslashes and begins
9643 # with a dollar sign (not a hyphen), so the echo should work correctly.
9644 # The option is referenced via a variable to avoid confusing sed.
9645 lt_compile
=`echo "$ac_compile" | $SED \
9646 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9647 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9648 -e 's:$: $lt_compiler_flag:'`
9649 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9650 (eval "$lt_compile" 2>conftest.err
)
9652 cat conftest.err
>&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 if (exit $ac_status) && test -s "$ac_outfile"; then
9655 # The compiler can only warn and ignore the option if not recognized
9656 # So say no if there are warnings other than the usual output.
9657 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9658 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9659 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9660 lt_cv_prog_compiler_pic_works
=yes
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9667 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9669 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9670 case $lt_prog_compiler_pic in
9672 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9675 lt_prog_compiler_pic
=
9676 lt_prog_compiler_can_build_shared
=no
9687 # Check to make sure the static flag actually works.
9689 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9691 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9692 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9693 $as_echo_n "(cached) " >&6
9695 lt_cv_prog_compiler_static_works
=no
9696 save_LDFLAGS
="$LDFLAGS"
9697 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9698 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9699 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9700 # The linker can only warn and ignore the option if not recognized
9701 # So say no if there are warnings
9702 if test -s conftest.err
; then
9703 # Append any errors to the config.log.
9704 cat conftest.err
1>&5
9705 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9706 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9707 if diff conftest.exp conftest.er2
>/dev
/null
; then
9708 lt_cv_prog_compiler_static_works
=yes
9711 lt_cv_prog_compiler_static_works
=yes
9715 LDFLAGS
="$save_LDFLAGS"
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9719 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9721 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9724 lt_prog_compiler_static
=
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9734 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9735 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9736 $as_echo_n "(cached) " >&6
9738 lt_cv_prog_compiler_c_o
=no
9739 $RM -r conftest
2>/dev
/null
9743 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9745 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9746 # Insert the option either (1) after the last *FLAGS variable, or
9747 # (2) before a word containing "conftest.", or (3) at the end.
9748 # Note that $ac_compile itself does not contain backslashes and begins
9749 # with a dollar sign (not a hyphen), so the echo should work correctly.
9750 lt_compile
=`echo "$ac_compile" | $SED \
9751 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9752 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9753 -e 's:$: $lt_compiler_flag:'`
9754 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9755 (eval "$lt_compile" 2>out
/conftest.err
)
9757 cat out
/conftest.err
>&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9761 # The compiler can only warn and ignore the option if not recognized
9762 # So say no if there are warnings
9763 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9764 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9765 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9766 lt_cv_prog_compiler_c_o
=yes
9771 # SGI C++ compiler will create directory out/ii_files/ for
9772 # template instantiation
9773 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9774 $RM out
/* && rmdir out
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9781 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9789 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9790 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9791 $as_echo_n "(cached) " >&6
9793 lt_cv_prog_compiler_c_o
=no
9794 $RM -r conftest
2>/dev
/null
9798 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9800 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9801 # Insert the option either (1) after the last *FLAGS variable, or
9802 # (2) before a word containing "conftest.", or (3) at the end.
9803 # Note that $ac_compile itself does not contain backslashes and begins
9804 # with a dollar sign (not a hyphen), so the echo should work correctly.
9805 lt_compile
=`echo "$ac_compile" | $SED \
9806 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9808 -e 's:$: $lt_compiler_flag:'`
9809 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9810 (eval "$lt_compile" 2>out
/conftest.err
)
9812 cat out
/conftest.err
>&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9816 # The compiler can only warn and ignore the option if not recognized
9817 # So say no if there are warnings
9818 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9819 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9820 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9821 lt_cv_prog_compiler_c_o
=yes
9826 # SGI C++ compiler will create directory out/ii_files/ for
9827 # template instantiation
9828 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9829 $RM out
/* && rmdir out
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9836 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9841 hard_links
="nottested"
9842 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9843 # do not overwrite the value of need_locks provided by the user
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9845 $as_echo_n "checking if we can lock with hard links... " >&6; }
9848 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9850 ln conftest.a conftest.b
2>&5 || hard_links
=no
9851 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9853 $as_echo "$hard_links" >&6; }
9854 if test "$hard_links" = no
; then
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9856 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9869 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9872 allow_undefined_flag
=
9873 always_export_symbols
=no
9875 archive_expsym_cmds
=
9876 compiler_needs_object
=no
9877 enable_shared_with_static_runtimes
=no
9878 export_dynamic_flag_spec
=
9879 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9880 hardcode_automatic
=no
9882 hardcode_direct_absolute
=no
9883 hardcode_libdir_flag_spec
=
9884 hardcode_libdir_flag_spec_ld
=
9885 hardcode_libdir_separator
=
9887 hardcode_shlibpath_var
=unsupported
9889 link_all_deplibs
=unknown
9892 old_archive_from_new_cmds
=
9893 old_archive_from_expsyms_cmds
=
9894 thread_safe_flag_spec
=
9895 whole_archive_flag_spec
=
9896 # include_expsyms should be a list of space-separated symbols to be *always*
9897 # included in the symbol list
9899 # exclude_expsyms can be an extended regexp of symbols to exclude
9900 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9901 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9902 # as well as any symbol that contains `d'.
9903 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9904 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9905 # platforms (ab)use it in PIC code, but their linkers get confused if
9906 # the symbol is explicitly referenced. Since portable code cannot
9907 # rely on this symbol name, it's probably fine to never include it in
9908 # preloaded symbol tables.
9909 # Exclude shared library initialization/finalization symbols.
9910 extract_expsyms_cmds
=
9913 cygwin
* | mingw
* | pw32
* | cegcc
*)
9914 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9915 # When not using gcc, we currently assume that we are using
9916 # Microsoft Visual C++.
9917 if test "$GCC" != yes; then
9922 # we just hope/assume this is gcc and not c89 (= MSVC++)
9932 # On some targets, GNU ld is compatible enough with the native linker
9933 # that we're better off using the native interface for both.
9934 lt_use_gnu_ld_interface
=no
9935 if test "$with_gnu_ld" = yes; then
9938 # The AIX port of GNU ld has always aspired to compatibility
9939 # with the native linker. However, as the warning in the GNU ld
9940 # block says, versions before 2.19.5* couldn't really create working
9941 # shared libraries, regardless of the interface used.
9942 case `$LD -v 2>&1` in
9943 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9944 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9945 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9947 lt_use_gnu_ld_interface
=yes
9952 lt_use_gnu_ld_interface
=yes
9957 if test "$lt_use_gnu_ld_interface" = yes; then
9958 # If archive_cmds runs LD, not CC, wlarc should be empty
9961 # Set some defaults for GNU ld with shared library support. These
9962 # are reset later if shared libraries are not supported. Putting them
9963 # here allows them to be overridden if necessary.
9964 runpath_var
=LD_RUN_PATH
9965 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9966 export_dynamic_flag_spec
='${wl}--export-dynamic'
9967 # ancient GNU ld didn't support --whole-archive et. al.
9968 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9969 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9971 whole_archive_flag_spec
=
9973 supports_anon_versioning
=no
9974 case `$LD -v 2>&1` in
9975 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9976 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9977 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9978 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9979 *\
2.11.
*) ;; # other 2.11 versions
9980 *) supports_anon_versioning
=yes ;;
9983 # See if GNU ld supports shared libraries.
9986 # On AIX/PPC, the GNU linker is very broken
9987 if test "$host_cpu" != ia64
; then
9991 *** Warning: the GNU linker, at least up to release 2.19, is reported
9992 *** to be unable to reliably create shared libraries on AIX.
9993 *** Therefore, libtool is disabling shared libraries support. If you
9994 *** really care for shared libraries, you may want to install binutils
9995 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9996 *** You will then need to restart the configuration process.
10005 # see comment about AmigaOS4 .so support
10006 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10007 archive_expsym_cmds
=''
10010 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)'
10011 hardcode_libdir_flag_spec
='-L$libdir'
10012 hardcode_minus_L
=yes
10018 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10019 allow_undefined_flag
=unsupported
10020 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10021 # support --undefined. This deserves some investigation. FIXME
10022 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028 cygwin
* | mingw
* | pw32
* | cegcc
*)
10029 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10030 # as there is no search path for DLLs.
10031 hardcode_libdir_flag_spec
='-L$libdir'
10032 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10033 allow_undefined_flag
=unsupported
10034 always_export_symbols
=no
10035 enable_shared_with_static_runtimes
=yes
10036 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10038 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10039 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10040 # If the export-symbols file already is a .def file (1st line
10041 # is EXPORTS), use it as is; otherwise, prepend...
10042 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10043 cp $export_symbols $output_objdir/$soname.def;
10045 echo EXPORTS > $output_objdir/$soname.def;
10046 cat $export_symbols >> $output_objdir/$soname.def;
10048 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10055 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10056 link_all_deplibs
=yes
10061 hardcode_shlibpath_var
=no
10062 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10063 export_dynamic_flag_spec
='${wl}-E'
10064 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10065 # Instead, shared libraries are loaded at an image base (0x10000000 by
10066 # default) and relocated if they conflict, which is a slow very memory
10067 # consuming and fragmenting process. To avoid this, we pick a random,
10068 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10069 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10070 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10071 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'
10074 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10076 if test "$host_os" = linux-dietlibc
; then
10077 case $cc_basename in
10078 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10081 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10082 && test "$tmp_diet" = no
10085 tmp_sharedflag
='-shared'
10086 case $cc_basename,$host_cpu in
10087 pgcc
*) # Portland Group C compiler
10088 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'
10089 tmp_addflag
=' $pic_flag'
10091 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10092 # Portland Group f77 and f90 compilers
10093 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'
10094 tmp_addflag
=' $pic_flag -Mnomain' ;;
10095 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10096 tmp_addflag
=' -i_dynamic' ;;
10097 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10098 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10099 ifc
* | ifort
*) # Intel Fortran compiler
10100 tmp_addflag
=' -nofor_main' ;;
10101 lf95
*) # Lahey Fortran 8.1
10102 whole_archive_flag_spec
=
10103 tmp_sharedflag
='--shared' ;;
10104 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10105 tmp_sharedflag
='-qmkshrobj'
10107 nvcc
*) # Cuda Compiler Driver 2.2
10108 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'
10109 compiler_needs_object
=yes
10112 case `$CC -V 2>&1 | sed 5q` in
10113 *Sun\ C
*) # Sun C 5.9
10114 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'
10115 compiler_needs_object
=yes
10116 tmp_sharedflag
='-G' ;;
10117 *Sun\ F
*) # Sun Fortran 8.3
10118 tmp_sharedflag
='-G' ;;
10120 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10122 if test "x$supports_anon_versioning" = xyes
; then
10123 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10124 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10125 echo "local: *; };" >> $output_objdir/$libname.ver~
10126 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10129 case $cc_basename in
10130 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10131 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10132 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10133 hardcode_libdir_flag_spec
=
10134 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10135 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10136 if test "x$supports_anon_versioning" = xyes
; then
10137 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10138 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10139 echo "local: *; };" >> $output_objdir/$libname.ver~
10140 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10150 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10151 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10154 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10155 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10160 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10164 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10165 *** create shared libraries on Solaris systems. Therefore, libtool
10166 *** is disabling shared libraries support. We urge you to upgrade GNU
10167 *** binutils to release 2.9.1 or newer. Another option is to modify
10168 *** your PATH or compiler configuration so that the native linker is
10169 *** used, and then restart.
10172 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10174 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10180 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10181 case `$LD -v 2>&1` in
10182 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10186 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10187 *** reliably create shared libraries on SCO systems. Therefore, libtool
10188 *** is disabling shared libraries support. We urge you to upgrade GNU
10189 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10190 *** your PATH or compiler configuration so that the native linker is
10191 *** used, and then restart.
10196 # For security reasons, it is highly recommended that you always
10197 # use absolute paths for naming shared libraries, and exclude the
10198 # DT_RUNPATH tag from executables and libraries. But doing so
10199 # requires that you compile everything twice, which is a pain.
10200 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10201 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10202 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10203 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10212 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10214 hardcode_direct
=yes
10215 hardcode_shlibpath_var
=no
10219 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10220 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10221 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10228 if test "$ld_shlibs" = no
; then
10230 hardcode_libdir_flag_spec
=
10231 export_dynamic_flag_spec
=
10232 whole_archive_flag_spec
=
10235 # PORTME fill in a description of your system's linker (not GNU ld)
10238 allow_undefined_flag
=unsupported
10239 always_export_symbols
=yes
10240 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'
10241 # Note: this linker hardcodes the directories in LIBPATH if there
10242 # are no directories specified by -L.
10243 hardcode_minus_L
=yes
10244 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10245 # Neither direct hardcoding nor static linking is supported with a
10247 hardcode_direct
=unsupported
10252 if test "$host_cpu" = ia64
; then
10253 # On IA64, the linker does run time linking by default, so we don't
10254 # have to do anything special.
10255 aix_use_runtimelinking
=no
10256 exp_sym_flag
='-Bexport'
10259 # If we're using GNU nm, then we don't want the "-C" option.
10260 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10261 # Also, AIX nm treats weak defined symbols like other global
10262 # defined symbols, whereas GNU nm marks them as "W".
10263 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10264 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'
10266 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'
10268 aix_use_runtimelinking
=no
10270 # Test if we are trying to use run time linking or normal
10271 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10272 # need to do runtime linking.
10273 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10274 for ld_flag
in $LDFLAGS; do
10275 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10276 aix_use_runtimelinking
=yes
10283 exp_sym_flag
='-bexport'
10284 no_entry_flag
='-bnoentry'
10287 # When large executables or shared objects are built, AIX ld can
10288 # have problems creating the table of contents. If linking a library
10289 # or program results in "error TOC overflow" add -mminimal-toc to
10290 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10291 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10294 hardcode_direct
=yes
10295 hardcode_direct_absolute
=yes
10296 hardcode_libdir_separator
=':'
10297 link_all_deplibs
=yes
10298 file_list_spec
='${wl}-f,'
10300 if test "$GCC" = yes; then
10301 case $host_os in aix4.
[012]|aix4.
[012].
*)
10302 # We only want to do this on AIX 4.2 and lower, the check
10303 # below for broken collect2 doesn't work under 4.3+
10304 collect2name
=`${CC} -print-prog-name=collect2`
10305 if test -f "$collect2name" &&
10306 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10308 # We have reworked collect2
10311 # We have old collect2
10312 hardcode_direct
=unsupported
10313 # It fails to find uninstalled libraries when the uninstalled
10314 # path is not listed in the libpath. Setting hardcode_minus_L
10315 # to unsupported forces relinking
10316 hardcode_minus_L
=yes
10317 hardcode_libdir_flag_spec
='-L$libdir'
10318 hardcode_libdir_separator
=
10322 shared_flag
='-shared'
10323 if test "$aix_use_runtimelinking" = yes; then
10324 shared_flag
="$shared_flag "'${wl}-G'
10328 if test "$host_cpu" = ia64
; then
10329 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10330 # chokes on -Wl,-G. The following line is correct:
10333 if test "$aix_use_runtimelinking" = yes; then
10334 shared_flag
='${wl}-G'
10336 shared_flag
='${wl}-bM:SRE'
10341 export_dynamic_flag_spec
='${wl}-bexpall'
10342 # It seems that -bexpall does not export symbols beginning with
10343 # underscore (_), so it is better to generate a list of symbols to export.
10344 always_export_symbols
=yes
10345 if test "$aix_use_runtimelinking" = yes; then
10346 # Warning - without using the other runtime loading flags (-brtl),
10347 # -berok will link without error, but may produce a broken library.
10348 allow_undefined_flag
='-berok'
10349 # Determine the default libpath from the value encoded in an
10350 # empty executable.
10351 if test x
$gcc_no_link = xyes
; then
10352 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10365 if ac_fn_c_try_link
"$LINENO"; then :
10367 lt_aix_libpath_sed
='
10368 /Import File Strings/,/^$/ {
10374 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10375 # Check for a 64-bit object if we didn't find anything.
10376 if test -z "$aix_libpath"; then
10377 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10380 rm -f core conftest.err conftest.
$ac_objext \
10381 conftest
$ac_exeext conftest.
$ac_ext
10382 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10384 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10385 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"
10387 if test "$host_cpu" = ia64
; then
10388 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10389 allow_undefined_flag
="-z nodefs"
10390 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"
10392 # Determine the default libpath from the value encoded in an
10393 # empty executable.
10394 if test x
$gcc_no_link = xyes
; then
10395 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10408 if ac_fn_c_try_link
"$LINENO"; then :
10410 lt_aix_libpath_sed
='
10411 /Import File Strings/,/^$/ {
10417 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10418 # Check for a 64-bit object if we didn't find anything.
10419 if test -z "$aix_libpath"; then
10420 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10423 rm -f core conftest.err conftest.
$ac_objext \
10424 conftest
$ac_exeext conftest.
$ac_ext
10425 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10427 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10428 # Warning - without using the other run time loading flags,
10429 # -berok will link without error, but may produce a broken library.
10430 no_undefined_flag
=' ${wl}-bernotok'
10431 allow_undefined_flag
=' ${wl}-berok'
10432 if test "$with_gnu_ld" = yes; then
10433 # We only use this code for GNU lds that support --whole-archive.
10434 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10436 # Exported symbols can be pulled into shared objects from archives
10437 whole_archive_flag_spec
='$convenience'
10439 archive_cmds_need_lc
=yes
10440 # This is similar to how AIX traditionally builds its shared libraries.
10441 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'
10449 # see comment about AmigaOS4 .so support
10450 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10451 archive_expsym_cmds
=''
10454 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)'
10455 hardcode_libdir_flag_spec
='-L$libdir'
10456 hardcode_minus_L
=yes
10462 export_dynamic_flag_spec
=-rdynamic
10465 cygwin
* | mingw
* | pw32
* | cegcc
*)
10466 # When not using gcc, we currently assume that we are using
10467 # Microsoft Visual C++.
10468 # hardcode_libdir_flag_spec is actually meaningless, as there is
10469 # no search path for DLLs.
10470 hardcode_libdir_flag_spec
=' '
10471 allow_undefined_flag
=unsupported
10472 # Tell ltmain to make .lib files, not .a files.
10474 # Tell ltmain to make .dll files, not .so files.
10476 # FIXME: Setting linknames here is a bad hack.
10477 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10478 # The linker will automatically build a .lib file if we build a DLL.
10479 old_archive_from_new_cmds
='true'
10480 # FIXME: Should let the user specify the lib program.
10481 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10482 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10483 enable_shared_with_static_runtimes
=yes
10486 darwin
* | rhapsody
*)
10489 archive_cmds_need_lc
=no
10491 hardcode_automatic
=yes
10492 hardcode_shlibpath_var
=unsupported
10493 if test "$lt_cv_ld_force_load" = "yes"; then
10494 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\"`'
10496 whole_archive_flag_spec
=''
10498 link_all_deplibs
=yes
10499 allow_undefined_flag
="$_lt_dar_allow_undefined"
10500 case $cc_basename in
10501 ifort
*) _lt_dar_can_shared
=yes ;;
10502 *) _lt_dar_can_shared
=$GCC ;;
10504 if test "$_lt_dar_can_shared" = "yes"; then
10505 output_verbose_link_cmd
=func_echo_all
10506 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10507 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10508 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}"
10509 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}"
10518 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10519 hardcode_libdir_flag_spec
='-L$libdir'
10520 hardcode_shlibpath_var
=no
10523 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10524 # support. Future versions do this automatically, but an explicit c++rt0.o
10525 # does not break anything, and helps significantly (at the cost of a little
10528 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10529 hardcode_libdir_flag_spec
='-R$libdir'
10530 hardcode_direct
=yes
10531 hardcode_shlibpath_var
=no
10534 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10536 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10537 hardcode_direct
=yes
10538 hardcode_minus_L
=yes
10539 hardcode_shlibpath_var
=no
10542 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10543 freebsd
* | dragonfly
*)
10544 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10545 hardcode_libdir_flag_spec
='-R$libdir'
10546 hardcode_direct
=yes
10547 hardcode_shlibpath_var
=no
10551 if test "$GCC" = yes; then
10552 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'
10554 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'
10556 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10557 hardcode_libdir_separator
=:
10558 hardcode_direct
=yes
10560 # hardcode_minus_L: Not really in the search PATH,
10561 # but as the default location of the library.
10562 hardcode_minus_L
=yes
10563 export_dynamic_flag_spec
='${wl}-E'
10567 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10568 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10570 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10572 if test "$with_gnu_ld" = no
; then
10573 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10574 hardcode_libdir_flag_spec_ld
='+b $libdir'
10575 hardcode_libdir_separator
=:
10576 hardcode_direct
=yes
10577 hardcode_direct_absolute
=yes
10578 export_dynamic_flag_spec
='${wl}-E'
10579 # hardcode_minus_L: Not really in the search PATH,
10580 # but as the default location of the library.
10581 hardcode_minus_L
=yes
10586 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10589 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10592 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10595 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10601 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10604 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10608 # Older versions of the 11.00 compiler do not understand -b yet
10609 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10611 $as_echo_n "checking if $CC understands -b... " >&6; }
10612 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10613 $as_echo_n "(cached) " >&6
10615 lt_cv_prog_compiler__b
=no
10616 save_LDFLAGS
="$LDFLAGS"
10617 LDFLAGS
="$LDFLAGS -b"
10618 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10619 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10620 # The linker can only warn and ignore the option if not recognized
10621 # So say no if there are warnings
10622 if test -s conftest.err
; then
10623 # Append any errors to the config.log.
10624 cat conftest.err
1>&5
10625 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10626 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10627 if diff conftest.exp conftest.er2
>/dev
/null
; then
10628 lt_cv_prog_compiler__b
=yes
10631 lt_cv_prog_compiler__b
=yes
10635 LDFLAGS
="$save_LDFLAGS"
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10639 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10641 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10642 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10644 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10650 if test "$with_gnu_ld" = no
; then
10651 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10652 hardcode_libdir_separator
=:
10657 hardcode_shlibpath_var
=no
10660 hardcode_direct
=yes
10661 hardcode_direct_absolute
=yes
10662 export_dynamic_flag_spec
='${wl}-E'
10664 # hardcode_minus_L: Not really in the search PATH,
10665 # but as the default location of the library.
10666 hardcode_minus_L
=yes
10672 irix5
* | irix6
* | nonstopux
*)
10673 if test "$GCC" = yes; then
10674 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'
10675 # Try to use the -exported_symbol ld option, if it does not
10676 # work, assume that -exports_file does not work either and
10677 # implicitly export all symbols.
10678 save_LDFLAGS
="$LDFLAGS"
10679 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10680 if test x
$gcc_no_link = xyes
; then
10681 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10687 if ac_fn_c_try_link
"$LINENO"; then :
10688 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'
10691 rm -f core conftest.err conftest.
$ac_objext \
10692 conftest
$ac_exeext conftest.
$ac_ext
10693 LDFLAGS
="$save_LDFLAGS"
10695 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'
10696 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'
10698 archive_cmds_need_lc
='no'
10699 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10700 hardcode_libdir_separator
=:
10702 link_all_deplibs
=yes
10706 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10707 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10709 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10711 hardcode_libdir_flag_spec
='-R$libdir'
10712 hardcode_direct
=yes
10713 hardcode_shlibpath_var
=no
10717 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10718 hardcode_direct
=yes
10719 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10720 hardcode_libdir_separator
=:
10721 hardcode_shlibpath_var
=no
10728 if test -f /usr
/libexec
/ld.so
; then
10729 hardcode_direct
=yes
10730 hardcode_shlibpath_var
=no
10731 hardcode_direct_absolute
=yes
10732 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10733 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10734 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10735 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10736 export_dynamic_flag_spec
='${wl}-E'
10739 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10740 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10741 hardcode_libdir_flag_spec
='-R$libdir'
10744 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10745 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10755 hardcode_libdir_flag_spec
='-L$libdir'
10756 hardcode_minus_L
=yes
10757 allow_undefined_flag
=unsupported
10758 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'
10759 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10763 if test "$GCC" = yes; then
10764 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10765 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'
10767 allow_undefined_flag
=' -expect_unresolved \*'
10768 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'
10770 archive_cmds_need_lc
='no'
10771 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10772 hardcode_libdir_separator
=:
10775 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10776 if test "$GCC" = yes; then
10777 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10778 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'
10779 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10781 allow_undefined_flag
=' -expect_unresolved \*'
10782 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'
10783 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~
10784 $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'
10786 # Both c and cxx compiler support -rpath directly
10787 hardcode_libdir_flag_spec
='-rpath $libdir'
10789 archive_cmds_need_lc
='no'
10790 hardcode_libdir_separator
=:
10794 no_undefined_flag
=' -z defs'
10795 if test "$GCC" = yes; then
10797 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10798 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10799 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10801 case `$CC -V 2>&1` in
10804 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10805 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10806 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10810 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10811 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10812 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10816 hardcode_libdir_flag_spec
='-R$libdir'
10817 hardcode_shlibpath_var
=no
10819 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10821 # The compiler driver will combine and reorder linker options,
10822 # but understands `-z linker_flag'. GCC discards it without `$wl',
10823 # but is careful enough not to reorder.
10824 # Supported since Solaris 2.6 (maybe 2.5.1?)
10825 if test "$GCC" = yes; then
10826 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10828 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10832 link_all_deplibs
=yes
10836 if test "x$host_vendor" = xsequent
; then
10837 # Use $CC to link under sequent, because it throws in some extra .o
10838 # files that make .init and .fini sections work.
10839 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10841 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10843 hardcode_libdir_flag_spec
='-L$libdir'
10844 hardcode_direct
=yes
10845 hardcode_minus_L
=yes
10846 hardcode_shlibpath_var
=no
10850 case $host_vendor in
10852 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10853 hardcode_direct
=yes # is this really true???
10856 ## LD is ld it makes a PLAMLIB
10857 ## CC just makes a GrossModule.
10858 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10859 reload_cmds
='$CC -r -o $output$reload_objs'
10863 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10864 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10867 runpath_var
='LD_RUN_PATH'
10868 hardcode_shlibpath_var
=no
10872 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10873 hardcode_shlibpath_var
=no
10874 export_dynamic_flag_spec
='-Bexport'
10878 if test -d /usr
/nec
; then
10879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10880 hardcode_shlibpath_var
=no
10881 runpath_var
=LD_RUN_PATH
10882 hardcode_runpath_var
=yes
10887 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10888 no_undefined_flag
='${wl}-z,text'
10889 archive_cmds_need_lc
=no
10890 hardcode_shlibpath_var
=no
10891 runpath_var
='LD_RUN_PATH'
10893 if test "$GCC" = yes; then
10894 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10895 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10897 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10898 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10902 sysv5
* | sco3.2v5
* | sco5v6
*)
10903 # Note: We can NOT use -z defs as we might desire, because we do not
10904 # link with -lc, and that would cause any symbols used from libc to
10905 # always be unresolved, which means just about no library would
10906 # ever link correctly. If we're not using GNU ld we use -z text
10907 # though, which does catch some bad symbols but isn't as heavy-handed
10909 no_undefined_flag
='${wl}-z,text'
10910 allow_undefined_flag
='${wl}-z,nodefs'
10911 archive_cmds_need_lc
=no
10912 hardcode_shlibpath_var
=no
10913 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10914 hardcode_libdir_separator
=':'
10915 link_all_deplibs
=yes
10916 export_dynamic_flag_spec
='${wl}-Bexport'
10917 runpath_var
='LD_RUN_PATH'
10919 if test "$GCC" = yes; then
10920 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10929 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10930 hardcode_libdir_flag_spec
='-L$libdir'
10931 hardcode_shlibpath_var
=no
10939 if test x
$host_vendor = xsni
; then
10941 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10942 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10949 $as_echo "$ld_shlibs" >&6; }
10950 test "$ld_shlibs" = no
&& can_build_shared
=no
10952 with_gnu_ld
=$with_gnu_ld
10969 # Do we need to explicitly link libc?
10971 case "x$archive_cmds_need_lc" in
10973 # Assume -lc should be added
10974 archive_cmds_need_lc
=yes
10976 if test "$enable_shared" = yes && test "$GCC" = yes; then
10977 case $archive_cmds in
10979 # FIXME: we may have to deal with multi-command sequences.
10982 # Test whether the compiler implicitly links with -lc since on some
10983 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10984 # to ld, don't add -lc before -lgcc.
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10986 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10987 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10988 $as_echo_n "(cached) " >&6
10991 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10994 (eval $ac_compile) 2>&5
10996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10997 test $ac_status = 0; } 2>conftest.err
; then
11000 libobjs
=conftest.
$ac_objext
11002 wl
=$lt_prog_compiler_wl
11003 pic_flag
=$lt_prog_compiler_pic
11009 lt_save_allow_undefined_flag
=$allow_undefined_flag
11010 allow_undefined_flag
=
11011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11012 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11015 test $ac_status = 0; }
11017 lt_cv_archive_cmds_need_lc
=no
11019 lt_cv_archive_cmds_need_lc
=yes
11021 allow_undefined_flag
=$lt_save_allow_undefined_flag
11023 cat conftest.err
1>&5
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11029 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11030 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11194 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11196 if test "$GCC" = yes; then
11198 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11199 *) lt_awk_arg
="/^libraries:/" ;;
11202 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11203 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11205 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11206 case $lt_search_path_spec in
11208 # if the path contains ";" then we assume it to be the separator
11209 # otherwise default to the standard path separator (i.e. ":") - it is
11210 # assumed that no part of a normal pathname contains ";" but that should
11211 # okay in the real world where ";" in dirpaths is itself problematic.
11212 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11215 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11218 # Ok, now we have the path, separated by spaces, we can step through it
11219 # and add multilib dir if necessary.
11220 lt_tmp_lt_search_path_spec
=
11221 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11222 for lt_sys_path
in $lt_search_path_spec; do
11223 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11224 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11226 test -d "$lt_sys_path" && \
11227 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11230 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11231 BEGIN {RS=" "; FS="/|\n";} {
11234 for (lt_i = NF; lt_i > 0; lt_i--) {
11235 if ($lt_i != "" && $lt_i != ".") {
11236 if ($lt_i == "..") {
11239 if (lt_count == 0) {
11240 lt_foo="/" $lt_i lt_foo;
11247 if (lt_foo != "") { lt_freq[lt_foo]++; }
11248 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11250 # AWK program above erroneously prepends '/' to C:/dos/paths
11253 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11254 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11256 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11258 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11260 library_names_spec
=
11261 libname_spec
='lib$name'
11265 postuninstall_cmds
=
11269 shlibpath_overrides_runpath
=unknown
11271 dynamic_linker
="$host_os ld.so"
11272 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11273 need_lib_prefix
=unknown
11274 hardcode_into_libs
=no
11276 # when you set need_version to no, make sure it does not cause -set_version
11277 # flags to be left without arguments
11278 need_version
=unknown
11283 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11284 shlibpath_var
=LIBPATH
11286 # AIX 3 has no versioning support, so we append a major version to the name.
11287 soname_spec
='${libname}${release}${shared_ext}$major'
11294 hardcode_into_libs
=yes
11295 if test "$host_cpu" = ia64
; then
11296 # AIX 5 supports IA64
11297 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11298 shlibpath_var
=LD_LIBRARY_PATH
11300 # With GCC up to 2.95.x, collect2 would create an import file
11301 # for dependence libraries. The import file would start with
11302 # the line `#! .'. This would cause the generated library to
11303 # depend on `.', always an invalid library. This was fixed in
11304 # development snapshots of GCC prior to 3.0.
11306 aix4 | aix4.
[01] | aix4.
[01].
*)
11307 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11309 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11312 can_build_shared
=no
11316 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11317 # soname into executable. Probably we can add versioning support to
11318 # collect2, so additional links can be useful in future.
11319 if test "$aix_use_runtimelinking" = yes; then
11320 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11321 # instead of lib<name>.a to let people know that these are not
11322 # typical AIX shared libraries.
11323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11325 # We preserve .a as extension for shared libraries through AIX4.2
11326 # and later when we are not doing run time linking.
11327 library_names_spec
='${libname}${release}.a $libname.a'
11328 soname_spec
='${libname}${release}${shared_ext}$major'
11330 shlibpath_var
=LIBPATH
11337 # Since July 2007 AmigaOS4 officially supports .so libraries.
11338 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11342 library_names_spec
='$libname.ixlibrary $libname.a'
11343 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11344 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'
11350 library_names_spec
='${libname}${shared_ext}'
11351 dynamic_linker
="$host_os ld.so"
11352 shlibpath_var
=LIBRARY_PATH
11358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11359 soname_spec
='${libname}${release}${shared_ext}$major'
11360 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11361 shlibpath_var
=LD_LIBRARY_PATH
11362 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11363 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11364 # the default ld.so.conf also contains /usr/contrib/lib and
11365 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11366 # libtool to hard-code these into programs
11369 cygwin
* | mingw
* | pw32
* | cegcc
*)
11370 version_type
=windows
11375 case $GCC,$host_os in
11376 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11377 library_names_spec
='$libname.dll.a'
11378 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11379 postinstall_cmds
='base_file=`basename \${file}`~
11380 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11381 dldir=$destdir/`dirname \$dlpath`~
11382 test -d \$dldir || mkdir -p \$dldir~
11383 $install_prog $dir/$dlname \$dldir/$dlname~
11384 chmod a+x \$dldir/$dlname~
11385 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11386 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11388 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11389 dlpath=$dir/\$dldll~
11391 shlibpath_overrides_runpath
=yes
11395 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11396 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11398 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11401 # MinGW DLLs use traditional 'lib' prefix
11402 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11405 # pw32 DLLs use 'pw' prefix rather than 'lib'
11406 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11412 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11415 dynamic_linker
='Win32 ld.exe'
11416 # FIXME: first we should search . and the directory the executable is in
11420 darwin
* | rhapsody
*)
11421 dynamic_linker
="$host_os dyld"
11422 version_type
=darwin
11425 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11426 soname_spec
='${libname}${release}${major}$shared_ext'
11427 shlibpath_overrides_runpath
=yes
11428 shlibpath_var
=DYLD_LIBRARY_PATH
11429 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11431 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11432 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11440 soname_spec
='${libname}${release}${shared_ext}$major'
11441 shlibpath_var
=LD_LIBRARY_PATH
11444 freebsd
* | dragonfly
*)
11445 # DragonFly does not have aout. When/if they implement a new
11446 # versioning mechanism, adjust this.
11447 if test -x /usr
/bin
/objformat
; then
11448 objformat
=`/usr/bin/objformat`
11451 freebsd
[23].
*) objformat
=aout
;;
11452 *) objformat
=elf
;;
11455 version_type
=freebsd-
$objformat
11456 case $version_type in
11458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11463 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11467 shlibpath_var
=LD_LIBRARY_PATH
11470 shlibpath_overrides_runpath
=yes
11472 freebsd3.
[01]* | freebsdelf3.
[01]*)
11473 shlibpath_overrides_runpath
=yes
11474 hardcode_into_libs
=yes
11476 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11477 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11478 shlibpath_overrides_runpath
=no
11479 hardcode_into_libs
=yes
11481 *) # from 4.6 on, and DragonFly
11482 shlibpath_overrides_runpath
=yes
11483 hardcode_into_libs
=yes
11492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11493 soname_spec
='${libname}${release}${shared_ext}$major'
11494 shlibpath_var
=LD_LIBRARY_PATH
11495 hardcode_into_libs
=yes
11502 dynamic_linker
="$host_os runtime_loader"
11503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11504 soname_spec
='${libname}${release}${shared_ext}$major'
11505 shlibpath_var
=LIBRARY_PATH
11506 shlibpath_overrides_runpath
=yes
11507 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11508 hardcode_into_libs
=yes
11511 hpux9
* | hpux10
* | hpux11
*)
11512 # Give a soname corresponding to the major version so that dld.sl refuses to
11513 # link against other versions.
11520 hardcode_into_libs
=yes
11521 dynamic_linker
="$host_os dld.so"
11522 shlibpath_var
=LD_LIBRARY_PATH
11523 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11525 soname_spec
='${libname}${release}${shared_ext}$major'
11526 if test "X$HPUX_IA64_MODE" = X32
; then
11527 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11529 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11531 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11535 hardcode_into_libs
=yes
11536 dynamic_linker
="$host_os dld.sl"
11537 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11538 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11540 soname_spec
='${libname}${release}${shared_ext}$major'
11541 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11542 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11546 dynamic_linker
="$host_os dld.sl"
11547 shlibpath_var
=SHLIB_PATH
11548 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550 soname_spec
='${libname}${release}${shared_ext}$major'
11553 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11554 postinstall_cmds
='chmod 555 $lib'
11555 # or fails outright, so override atomically:
11556 install_override_mode
=555
11563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11564 soname_spec
='${libname}${release}${shared_ext}$major'
11565 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11566 shlibpath_var
=LD_LIBRARY_PATH
11567 shlibpath_overrides_runpath
=no
11568 hardcode_into_libs
=yes
11571 irix5
* | irix6
* | nonstopux
*)
11573 nonstopux
*) version_type
=nonstopux
;;
11575 if test "$lt_cv_prog_gnu_ld" = yes; then
11583 soname_spec
='${libname}${release}${shared_ext}$major'
11584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11586 irix5
* | nonstopux
*)
11587 libsuff
= shlibsuff
=
11590 case $LD in # libtool.m4 will add one of these switches to LD
11591 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11592 libsuff
= shlibsuff
= libmagic
=32-bit;;
11593 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11594 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11595 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11596 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11597 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11601 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11602 shlibpath_overrides_runpath
=no
11603 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11604 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11605 hardcode_into_libs
=yes
11608 # No shared lib support for Linux oldld, aout, or coff.
11609 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11613 # This must be Linux ELF.
11614 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11619 soname_spec
='${libname}${release}${shared_ext}$major'
11620 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11621 shlibpath_var
=LD_LIBRARY_PATH
11622 shlibpath_overrides_runpath
=no
11624 # Some binutils ld are patched to set DT_RUNPATH
11625 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11626 $as_echo_n "(cached) " >&6
11628 lt_cv_shlibpath_overrides_runpath
=no
11629 save_LDFLAGS
=$LDFLAGS
11630 save_libdir
=$libdir
11631 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11632 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11633 if test x
$gcc_no_link = xyes
; then
11634 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11647 if ac_fn_c_try_link
"$LINENO"; then :
11648 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11649 lt_cv_shlibpath_overrides_runpath
=yes
11652 rm -f core conftest.err conftest.
$ac_objext \
11653 conftest
$ac_exeext conftest.
$ac_ext
11654 LDFLAGS
=$save_LDFLAGS
11655 libdir
=$save_libdir
11659 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11661 # This implies no fast_install, which is unacceptable.
11662 # Some rework will be needed to allow for fast_install
11663 # before this can be enabled.
11664 hardcode_into_libs
=yes
11666 # Append ld.so.conf contents to the search path
11667 if test -f /etc
/ld.so.conf
; then
11668 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' ' '`
11669 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11672 # We used to test for /lib/ld.so.1 and disable shared libraries on
11673 # powerpc, because MkLinux only supported shared libraries with the
11674 # GNU dynamic linker. Since this was broken with cross compilers,
11675 # most powerpc-linux boxes support dynamic linking these days and
11676 # people can always --disable-shared, the test was removed, and we
11677 # assume the GNU/Linux dynamic linker is in use.
11678 dynamic_linker
='GNU/Linux ld.so'
11685 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11687 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11688 dynamic_linker
='NetBSD (a.out) ld.so'
11690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11691 soname_spec
='${libname}${release}${shared_ext}$major'
11692 dynamic_linker
='NetBSD ld.elf_so'
11694 shlibpath_var
=LD_LIBRARY_PATH
11695 shlibpath_overrides_runpath
=yes
11696 hardcode_into_libs
=yes
11701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11702 shlibpath_var
=LD_LIBRARY_PATH
11703 shlibpath_overrides_runpath
=yes
11710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711 soname_spec
='${libname}${release}${shared_ext}$major'
11712 shlibpath_var
=LD_LIBRARY_PATH
11713 shlibpath_overrides_runpath
=no
11714 hardcode_into_libs
=yes
11715 dynamic_linker
='ldqnx.so'
11720 sys_lib_dlsearch_path_spec
="/usr/lib"
11722 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11724 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11725 *) need_version
=no
;;
11727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11728 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11729 shlibpath_var
=LD_LIBRARY_PATH
11730 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11732 openbsd2.
[89] | openbsd2.
[89].
*)
11733 shlibpath_overrides_runpath
=no
11736 shlibpath_overrides_runpath
=yes
11740 shlibpath_overrides_runpath
=yes
11745 libname_spec
='$name'
11748 library_names_spec
='$libname${shared_ext} $libname.a'
11749 dynamic_linker
='OS/2 ld.exe'
11750 shlibpath_var
=LIBPATH
11753 osf3
* | osf4
* | osf5
*)
11757 soname_spec
='${libname}${release}${shared_ext}$major'
11758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759 shlibpath_var
=LD_LIBRARY_PATH
11760 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11761 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11773 soname_spec
='${libname}${release}${shared_ext}$major'
11774 shlibpath_var
=LD_LIBRARY_PATH
11775 shlibpath_overrides_runpath
=yes
11776 hardcode_into_libs
=yes
11777 # ldd complains unless libraries are executable
11778 postinstall_cmds
='chmod +x $lib'
11783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11784 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11785 shlibpath_var
=LD_LIBRARY_PATH
11786 shlibpath_overrides_runpath
=yes
11787 if test "$with_gnu_ld" = yes; then
11795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11796 soname_spec
='${libname}${release}${shared_ext}$major'
11797 shlibpath_var
=LD_LIBRARY_PATH
11798 case $host_vendor in
11800 shlibpath_overrides_runpath
=no
11802 runpath_var
=LD_RUN_PATH
11810 shlibpath_overrides_runpath
=no
11811 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11817 if test -d /usr
/nec
;then
11819 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11820 soname_spec
='$libname${shared_ext}.$major'
11821 shlibpath_var
=LD_LIBRARY_PATH
11825 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11826 version_type
=freebsd-elf
11829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11830 soname_spec
='${libname}${release}${shared_ext}$major'
11831 shlibpath_var
=LD_LIBRARY_PATH
11832 shlibpath_overrides_runpath
=yes
11833 hardcode_into_libs
=yes
11834 if test "$with_gnu_ld" = yes; then
11835 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11837 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11840 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11844 sys_lib_dlsearch_path_spec
='/usr/lib'
11848 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11853 shlibpath_var
=LD_LIBRARY_PATH
11854 shlibpath_overrides_runpath
=no
11855 hardcode_into_libs
=yes
11860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11861 soname_spec
='${libname}${release}${shared_ext}$major'
11862 shlibpath_var
=LD_LIBRARY_PATH
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11870 $as_echo "$dynamic_linker" >&6; }
11871 test "$dynamic_linker" = no
&& can_build_shared
=no
11873 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11874 if test "$GCC" = yes; then
11875 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11878 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11879 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11881 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11882 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11977 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11979 if test -n "$hardcode_libdir_flag_spec" ||
11980 test -n "$runpath_var" ||
11981 test "X$hardcode_automatic" = "Xyes" ; then
11983 # We can hardcode non-existent directories.
11984 if test "$hardcode_direct" != no
&&
11985 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11986 # have to relink, otherwise we might link with an installed library
11987 # when we should be linking with a yet-to-be-installed one
11988 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11989 test "$hardcode_minus_L" != no
; then
11990 # Linking always hardcodes the temporary library directory.
11991 hardcode_action
=relink
11993 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11994 hardcode_action
=immediate
11997 # We cannot hardcode anything, or else we can only hardcode existing
11999 hardcode_action
=unsupported
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12002 $as_echo "$hardcode_action" >&6; }
12004 if test "$hardcode_action" = relink ||
12005 test "$inherit_rpath" = yes; then
12006 # Fast installation is not supported
12007 enable_fast_install
=no
12008 elif test "$shlibpath_overrides_runpath" = yes ||
12009 test "$enable_shared" = no
; then
12010 # Fast installation is not necessary
12011 enable_fast_install
=needless
12019 if test "x$enable_dlopen" != xyes
; then
12020 enable_dlopen
=unknown
12021 enable_dlopen_self
=unknown
12022 enable_dlopen_self_static
=unknown
12029 lt_cv_dlopen
="load_add_on"
12031 lt_cv_dlopen_self
=yes
12034 mingw
* | pw32
* | cegcc
*)
12035 lt_cv_dlopen
="LoadLibrary"
12040 lt_cv_dlopen
="dlopen"
12045 # if libdl is installed we need to link against it
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12047 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12048 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12049 $as_echo_n "(cached) " >&6
12051 ac_check_lib_save_LIBS
=$LIBS
12053 if test x
$gcc_no_link = xyes
; then
12054 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12074 if ac_fn_c_try_link
"$LINENO"; then :
12075 ac_cv_lib_dl_dlopen
=yes
12077 ac_cv_lib_dl_dlopen
=no
12079 rm -f core conftest.err conftest.
$ac_objext \
12080 conftest
$ac_exeext conftest.
$ac_ext
12081 LIBS
=$ac_check_lib_save_LIBS
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12084 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12085 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12086 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12089 lt_cv_dlopen
="dyld"
12091 lt_cv_dlopen_self
=yes
12098 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12099 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12100 lt_cv_dlopen
="shl_load"
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12103 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12104 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12105 $as_echo_n "(cached) " >&6
12107 ac_check_lib_save_LIBS
=$LIBS
12109 if test x
$gcc_no_link = xyes
; then
12110 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12113 /* end confdefs.h. */
12115 /* Override any GCC internal prototype to avoid an error.
12116 Use char because int might match the return type of a GCC
12117 builtin and then its argument prototype would still apply. */
12125 return shl_load ();
12130 if ac_fn_c_try_link
"$LINENO"; then :
12131 ac_cv_lib_dld_shl_load
=yes
12133 ac_cv_lib_dld_shl_load
=no
12135 rm -f core conftest.err conftest.
$ac_objext \
12136 conftest
$ac_exeext conftest.
$ac_ext
12137 LIBS
=$ac_check_lib_save_LIBS
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12140 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12141 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12142 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12144 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12145 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12146 lt_cv_dlopen
="dlopen"
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12149 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12150 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12151 $as_echo_n "(cached) " >&6
12153 ac_check_lib_save_LIBS
=$LIBS
12155 if test x
$gcc_no_link = xyes
; then
12156 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12176 if ac_fn_c_try_link
"$LINENO"; then :
12177 ac_cv_lib_dl_dlopen
=yes
12179 ac_cv_lib_dl_dlopen
=no
12181 rm -f core conftest.err conftest.
$ac_objext \
12182 conftest
$ac_exeext conftest.
$ac_ext
12183 LIBS
=$ac_check_lib_save_LIBS
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12186 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12187 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12188 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12191 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12192 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12193 $as_echo_n "(cached) " >&6
12195 ac_check_lib_save_LIBS
=$LIBS
12196 LIBS
="-lsvld $LIBS"
12197 if test x
$gcc_no_link = xyes
; then
12198 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12203 /* Override any GCC internal prototype to avoid an error.
12204 Use char because int might match the return type of a GCC
12205 builtin and then its argument prototype would still apply. */
12218 if ac_fn_c_try_link
"$LINENO"; then :
12219 ac_cv_lib_svld_dlopen
=yes
12221 ac_cv_lib_svld_dlopen
=no
12223 rm -f core conftest.err conftest.
$ac_objext \
12224 conftest
$ac_exeext conftest.
$ac_ext
12225 LIBS
=$ac_check_lib_save_LIBS
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12228 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12229 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12230 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12233 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12234 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12235 $as_echo_n "(cached) " >&6
12237 ac_check_lib_save_LIBS
=$LIBS
12239 if test x
$gcc_no_link = xyes
; then
12240 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12255 return dld_link ();
12260 if ac_fn_c_try_link
"$LINENO"; then :
12261 ac_cv_lib_dld_dld_link
=yes
12263 ac_cv_lib_dld_dld_link
=no
12265 rm -f core conftest.err conftest.
$ac_objext \
12266 conftest
$ac_exeext conftest.
$ac_ext
12267 LIBS
=$ac_check_lib_save_LIBS
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12270 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12271 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12272 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12293 if test "x$lt_cv_dlopen" != xno
; then
12299 case $lt_cv_dlopen in
12301 save_CPPFLAGS
="$CPPFLAGS"
12302 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12304 save_LDFLAGS
="$LDFLAGS"
12305 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12308 LIBS
="$lt_cv_dlopen_libs $LIBS"
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12311 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12312 if test "${lt_cv_dlopen_self+set}" = set; then :
12313 $as_echo_n "(cached) " >&6
12315 if test "$cross_compiling" = yes; then :
12316 lt_cv_dlopen_self
=cross
12318 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12319 lt_status
=$lt_dlunknown
12320 cat > conftest.
$ac_ext <<_LT_EOF
12321 #line 12321 "configure"
12322 #include "confdefs.h"
12331 # define LT_DLGLOBAL RTLD_GLOBAL
12334 # define LT_DLGLOBAL DL_GLOBAL
12336 # define LT_DLGLOBAL 0
12340 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12341 find out it does not work in some platform. */
12342 #ifndef LT_DLLAZY_OR_NOW
12344 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12347 # define LT_DLLAZY_OR_NOW DL_LAZY
12350 # define LT_DLLAZY_OR_NOW RTLD_NOW
12353 # define LT_DLLAZY_OR_NOW DL_NOW
12355 # define LT_DLLAZY_OR_NOW 0
12362 /* When -fvisbility=hidden is used, assume the code has been annotated
12363 correspondingly for the symbols needed. */
12364 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12365 void fnord () __attribute__((visibility("default")));
12368 void fnord () { int i=42; }
12371 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12372 int status = $lt_dlunknown;
12376 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12379 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12380 else puts (dlerror ());
12382 /* dlclose (self); */
12390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12391 (eval $ac_link) 2>&5
12393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12394 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12395 (.
/conftest
; exit; ) >&5 2>/dev
/null
12397 case x
$lt_status in
12398 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12399 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12400 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12403 # compilation failed
12404 lt_cv_dlopen_self
=no
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12412 $as_echo "$lt_cv_dlopen_self" >&6; }
12414 if test "x$lt_cv_dlopen_self" = xyes
; then
12415 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12417 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12418 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12419 $as_echo_n "(cached) " >&6
12421 if test "$cross_compiling" = yes; then :
12422 lt_cv_dlopen_self_static
=cross
12424 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12425 lt_status
=$lt_dlunknown
12426 cat > conftest.
$ac_ext <<_LT_EOF
12427 #line 12427 "configure"
12428 #include "confdefs.h"
12437 # define LT_DLGLOBAL RTLD_GLOBAL
12440 # define LT_DLGLOBAL DL_GLOBAL
12442 # define LT_DLGLOBAL 0
12446 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12447 find out it does not work in some platform. */
12448 #ifndef LT_DLLAZY_OR_NOW
12450 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12453 # define LT_DLLAZY_OR_NOW DL_LAZY
12456 # define LT_DLLAZY_OR_NOW RTLD_NOW
12459 # define LT_DLLAZY_OR_NOW DL_NOW
12461 # define LT_DLLAZY_OR_NOW 0
12468 /* When -fvisbility=hidden is used, assume the code has been annotated
12469 correspondingly for the symbols needed. */
12470 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12471 void fnord () __attribute__((visibility("default")));
12474 void fnord () { int i=42; }
12477 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12478 int status = $lt_dlunknown;
12482 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12485 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12486 else puts (dlerror ());
12488 /* dlclose (self); */
12496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12497 (eval $ac_link) 2>&5
12499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12500 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12501 (.
/conftest
; exit; ) >&5 2>/dev
/null
12503 case x
$lt_status in
12504 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12505 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12506 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12509 # compilation failed
12510 lt_cv_dlopen_self_static
=no
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12518 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12521 CPPFLAGS
="$save_CPPFLAGS"
12522 LDFLAGS
="$save_LDFLAGS"
12527 case $lt_cv_dlopen_self in
12528 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12529 *) enable_dlopen_self
=unknown
;;
12532 case $lt_cv_dlopen_self_static in
12533 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12534 *) enable_dlopen_self_static
=unknown
;;
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12557 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12558 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12559 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12560 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12562 $as_echo "yes" >&6; }
12564 # FIXME - insert some real tests, host_os isn't really good enough
12567 if test -n "$STRIP" ; then
12568 striplib
="$STRIP -x"
12569 old_striplib
="$STRIP -S"
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12571 $as_echo "yes" >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12574 $as_echo "no" >&6; }
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12579 $as_echo "no" >&6; }
12595 # Report which library types will actually be built
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12597 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12599 $as_echo "$can_build_shared" >&6; }
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12602 $as_echo_n "checking whether to build shared libraries... " >&6; }
12603 test "$can_build_shared" = "no" && enable_shared
=no
12605 # On AIX, shared libraries and static libraries use the same namespace, and
12606 # are all built from PIC.
12609 test "$enable_shared" = yes && enable_static
=no
12610 if test -n "$RANLIB"; then
12611 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12612 postinstall_cmds
='$RANLIB $lib'
12617 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12618 test "$enable_shared" = yes && enable_static
=no
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12623 $as_echo "$enable_shared" >&6; }
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12626 $as_echo_n "checking whether to build static libraries... " >&6; }
12627 # Make sure either enable_shared or enable_static is yes.
12628 test "$enable_shared" = yes || enable_static
=yes
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12630 $as_echo "$enable_static" >&6; }
12637 ac_cpp
='$CPP $CPPFLAGS'
12638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12656 ac_config_commands
="$ac_config_commands libtool"
12661 # Only expand once:
12668 *-cygwin* |
*-mingw*)
12669 # 'host' will be top-level target in the case of a target lib,
12670 # we must compare to with_cross_host to decide if this is a native
12671 # or cross-compiler and select where to install dlls appropriately.
12672 if test -n "$with_cross_host" &&
12673 test x
"$with_cross_host" != x
"no"; then
12674 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12676 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12688 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12690 # We need gfortran to compile parts of the library
12691 #AC_PROG_FC(gfortran)
12693 ac_ext
=${ac_fc_srcext-f}
12694 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12695 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12696 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12697 if test -n "$ac_tool_prefix"; then
12698 for ac_prog
in gfortran
12700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12701 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12703 $as_echo_n "checking for $ac_word... " >&6; }
12704 if test "${ac_cv_prog_FC+set}" = set; then :
12705 $as_echo_n "(cached) " >&6
12707 if test -n "$FC"; then
12708 ac_cv_prog_FC
="$FC" # Let the user override the test.
12710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12711 for as_dir
in $PATH
12714 test -z "$as_dir" && as_dir
=.
12715 for ac_exec_ext
in '' $ac_executable_extensions; do
12716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12717 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12728 if test -n "$FC"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12730 $as_echo "$FC" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733 $as_echo "no" >&6; }
12737 test -n "$FC" && break
12740 if test -z "$FC"; then
12742 for ac_prog
in gfortran
12744 # Extract the first word of "$ac_prog", so it can be a program name with args.
12745 set dummy
$ac_prog; ac_word
=$2
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12747 $as_echo_n "checking for $ac_word... " >&6; }
12748 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12749 $as_echo_n "(cached) " >&6
12751 if test -n "$ac_ct_FC"; then
12752 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12755 for as_dir
in $PATH
12758 test -z "$as_dir" && as_dir
=.
12759 for ac_exec_ext
in '' $ac_executable_extensions; do
12760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12761 ac_cv_prog_ac_ct_FC
="$ac_prog"
12762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12771 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12772 if test -n "$ac_ct_FC"; then
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12774 $as_echo "$ac_ct_FC" >&6; }
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12777 $as_echo "no" >&6; }
12781 test -n "$ac_ct_FC" && break
12784 if test "x$ac_ct_FC" = x
; then
12787 case $cross_compiling:$ac_tool_warned in
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12791 ac_tool_warned
=yes ;;
12798 # Provide some information about the compiler.
12799 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12802 for ac_option
in --version -v -V -qversion; do
12803 { { ac_try
="$ac_compiler $ac_option >&5"
12804 case "(($ac_try" in
12805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12806 *) ac_try_echo=$ac_try;;
12808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12809 $as_echo "$ac_try_echo"; } >&5
12810 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12812 if test -s conftest.err; then
12814 ... rest of stderr output deleted ...
12815 10q' conftest.err >conftest.er1
12816 cat conftest.er1 >&5
12817 rm -f conftest.er1 conftest.err
12819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12820 test $ac_status = 0; }
12824 # If we don't use `.F
' as extension, the preprocessor is not run on the
12825 # input file. (Note that this only needs to work for GNU compilers.)
12826 ac_save_ext=$ac_ext
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12829 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12830 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12831 $as_echo_n "(cached) " >&6
12833 cat > conftest.$ac_ext <<_ACEOF
12841 if ac_fn_fc_try_compile "$LINENO"; then :
12842 ac_compiler_gnu=yes
12846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12847 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12851 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12852 ac_ext=$ac_save_ext
12853 ac_test_FCFLAGS=${FCFLAGS+set}
12854 ac_save_FCFLAGS=$FCFLAGS
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12857 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12858 if test "${ac_cv_prog_fc_g+set}" = set; then :
12859 $as_echo_n "(cached) " >&6
12862 cat > conftest.$ac_ext <<_ACEOF
12867 if ac_fn_fc_try_compile "$LINENO"; then :
12868 ac_cv_prog_fc_g=yes
12872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12876 $as_echo "$ac_cv_prog_fc_g" >&6; }
12877 if test "$ac_test_FCFLAGS" = set; then
12878 FCFLAGS=$ac_save_FCFLAGS
12879 elif test $ac_cv_prog_fc_g = yes; then
12880 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12886 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12894 ac_cpp='$CPP $CPPFLAGS'
12895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12896 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12899 ac_ext=${ac_fc_srcext-f}
12900 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12901 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12902 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12905 if test -z "$FC" || test "X$FC" = "Xno"; then
12909 archive_cmds_need_lc_FC=no
12910 allow_undefined_flag_FC=
12911 always_export_symbols_FC=no
12912 archive_expsym_cmds_FC=
12913 export_dynamic_flag_spec_FC=
12914 hardcode_direct_FC=no
12915 hardcode_direct_absolute_FC=no
12916 hardcode_libdir_flag_spec_FC=
12917 hardcode_libdir_flag_spec_ld_FC=
12918 hardcode_libdir_separator_FC=
12919 hardcode_minus_L_FC=no
12920 hardcode_automatic_FC=no
12921 inherit_rpath_FC=no
12923 module_expsym_cmds_FC=
12924 link_all_deplibs_FC=unknown
12925 old_archive_cmds_FC=$old_archive_cmds
12926 reload_flag_FC=$reload_flag
12927 reload_cmds_FC=$reload_cmds
12928 no_undefined_flag_FC=
12929 whole_archive_flag_spec_FC=
12930 enable_shared_with_static_runtimes_FC=no
12932 # Source file extension for fc test sources.
12933 ac_ext=${ac_fc_srcext-f}
12935 # Object file extension for compiled fc test sources.
12939 # No sense in running all these tests if we already determined that
12940 # the FC compiler isn't working. Some variables
(like enable_shared
)
12941 # are currently assumed to apply to all compilers on this platform,
12942 # and will be corrupted by setting them based on a non-working compiler.
12943 if test "$_lt_disable_FC" != yes; then
12944 # Code to be used in simple compile tests
12945 lt_simple_compile_test_code
="\
12951 # Code to be used in simple link tests
12952 lt_simple_link_test_code
="\
12957 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12964 # If no C compiler was specified, use CC.
12967 # If no C compiler flags were specified, use CFLAGS.
12968 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12970 # Allow CC to be a program name with arguments.
12974 # save warnings/boilerplate of simple test code
12975 ac_outfile
=conftest.
$ac_objext
12976 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12977 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12978 _lt_compiler_boilerplate
=`cat conftest.err`
12981 ac_outfile
=conftest.
$ac_objext
12982 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12983 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12984 _lt_linker_boilerplate
=`cat conftest.err`
12988 # Allow CC to be a program name with arguments.
12993 GCC
=$ac_cv_fc_compiler_gnu
12996 for cc_temp
in $compiler""; do
12998 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12999 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13004 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13007 if test -n "$compiler"; then
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13009 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13011 $as_echo "$can_build_shared" >&6; }
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13014 $as_echo_n "checking whether to build shared libraries... " >&6; }
13015 test "$can_build_shared" = "no" && enable_shared
=no
13017 # On AIX, shared libraries and static libraries use the same namespace, and
13018 # are all built from PIC.
13021 test "$enable_shared" = yes && enable_static
=no
13022 if test -n "$RANLIB"; then
13023 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13024 postinstall_cmds
='$RANLIB $lib'
13028 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13029 test "$enable_shared" = yes && enable_static
=no
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13034 $as_echo "$enable_shared" >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13037 $as_echo_n "checking whether to build static libraries... " >&6; }
13038 # Make sure either enable_shared or enable_static is yes.
13039 test "$enable_shared" = yes || enable_static
=yes
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13041 $as_echo "$enable_static" >&6; }
13043 GCC_FC
="$ac_cv_fc_compiler_gnu"
13047 ## There is no encapsulation within the following macros, do not change
13048 ## the running order or otherwise move them around unless you know exactly
13049 ## what you are doing...
13050 # Dependencies to place before and after the object being linked:
13052 postdep_objects_FC
=
13055 compiler_lib_search_path_FC
=
13057 cat > conftest.
$ac_ext <<_LT_EOF
13066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13067 (eval $ac_compile) 2>&5
13069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070 test $ac_status = 0; }; then
13071 # Parse the compiler output and extract the necessary
13072 # objects, libraries and library flags.
13074 # Sentinel used to keep track of whether or not we are before
13075 # the conftest object file.
13076 pre_test_object_deps_done
=no
13078 for p
in `eval "$output_verbose_link_cmd"`; do
13082 # Some compilers place space between "-{L,R}" and the path.
13083 # Remove the space.
13084 if test $p = "-L" ||
13085 test $p = "-R"; then
13092 if test "$pre_test_object_deps_done" = no
; then
13095 # Internal compiler library paths should come after those
13096 # provided the user. The postdeps already come after the
13097 # user supplied libs so there is no need to process them.
13098 if test -z "$compiler_lib_search_path_FC"; then
13099 compiler_lib_search_path_FC
="${prev}${p}"
13101 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13104 # The "-l" case would never come before the object being
13105 # linked, so don't bother handling this case.
13108 if test -z "$postdeps_FC"; then
13109 postdeps_FC
="${prev}${p}"
13111 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13117 # This assumes that the test object file only shows up
13118 # once in the compiler output.
13119 if test "$p" = "conftest.$objext"; then
13120 pre_test_object_deps_done
=yes
13124 if test "$pre_test_object_deps_done" = no
; then
13125 if test -z "$predep_objects_FC"; then
13126 predep_objects_FC
="$p"
13128 predep_objects_FC
="$predep_objects_FC $p"
13131 if test -z "$postdep_objects_FC"; then
13132 postdep_objects_FC
="$p"
13134 postdep_objects_FC
="$postdep_objects_FC $p"
13139 *) ;; # Ignore the rest.
13147 echo "libtool.m4: error: problem compiling FC test program"
13150 $RM -f confest.
$objext
13152 # PORTME: override above test on systems where it is broken
13155 case " $postdeps_FC " in
13156 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13158 compiler_lib_search_dirs_FC
=
13159 if test -n "${compiler_lib_search_path_FC}"; then
13160 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13193 lt_prog_compiler_wl_FC
=
13194 lt_prog_compiler_pic_FC
=
13195 lt_prog_compiler_static_FC
=
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13198 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13200 if test "$GCC" = yes; then
13201 lt_prog_compiler_wl_FC
='-Wl,'
13202 lt_prog_compiler_static_FC
='-static'
13206 # All AIX code is PIC.
13207 if test "$host_cpu" = ia64
; then
13208 # AIX 5 now supports IA64 processor
13209 lt_prog_compiler_static_FC
='-Bstatic'
13216 # see comment about AmigaOS4 .so support
13217 lt_prog_compiler_pic_FC
='-fPIC'
13220 # FIXME: we need at least 68020 code to build shared libraries, but
13221 # adding the `-m68020' flag to GCC prevents building anything better,
13223 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13228 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13229 # PIC is the default for these OSes.
13232 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13233 # This hack is so that the source file can tell whether it is being
13234 # built for inclusion in a dll (and should export symbols for example).
13235 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13236 # (--disable-auto-import) libraries
13237 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13240 darwin
* | rhapsody
*)
13241 # PIC is the default on this platform
13242 # Common symbols not allowed in MH_DYLIB files
13243 lt_prog_compiler_pic_FC
='-fno-common'
13247 # PIC is the default for Haiku.
13248 # The "-static" flag exists, but is broken.
13249 lt_prog_compiler_static_FC
=
13253 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13254 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13255 # sets the default TLS model and affects inlining.
13261 lt_prog_compiler_pic_FC
='-fPIC'
13267 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13268 # Instead, we relocate shared libraries at runtime.
13272 # Just because we use GCC doesn't mean we suddenly get shared libraries
13273 # on systems that don't support them.
13274 lt_prog_compiler_can_build_shared_FC
=no
13279 # QNX uses GNU C++, but need to define -shared option too, otherwise
13280 # it will coredump.
13281 lt_prog_compiler_pic_FC
='-fPIC -shared'
13285 if test -d /usr
/nec
; then
13286 lt_prog_compiler_pic_FC
=-Kconform_pic
13291 lt_prog_compiler_pic_FC
='-fPIC'
13295 case $cc_basename in
13296 nvcc
*) # Cuda Compiler Driver 2.2
13297 lt_prog_compiler_wl_FC
='-Xlinker '
13298 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13302 # PORTME Check for flag to pass linker flags through the system compiler.
13305 lt_prog_compiler_wl_FC
='-Wl,'
13306 if test "$host_cpu" = ia64
; then
13307 # AIX 5 now supports IA64 processor
13308 lt_prog_compiler_static_FC
='-Bstatic'
13310 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13314 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13315 # This hack is so that the source file can tell whether it is being
13316 # built for inclusion in a dll (and should export symbols for example).
13317 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13320 hpux9
* | hpux10
* | hpux11
*)
13321 lt_prog_compiler_wl_FC
='-Wl,'
13322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13323 # not for PA HP-UX.
13329 lt_prog_compiler_pic_FC
='+Z'
13332 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13333 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13336 irix5
* | irix6
* | nonstopux
*)
13337 lt_prog_compiler_wl_FC
='-Wl,'
13338 # PIC (with -KPIC) is the default.
13339 lt_prog_compiler_static_FC
='-non_shared'
13342 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13343 case $cc_basename in
13344 # old Intel for x86_64 which still supported -KPIC.
13346 lt_prog_compiler_wl_FC
='-Wl,'
13347 lt_prog_compiler_pic_FC
='-KPIC'
13348 lt_prog_compiler_static_FC
='-static'
13350 # icc used to be incompatible with GCC.
13351 # ICC 10 doesn't accept -KPIC any more.
13353 lt_prog_compiler_wl_FC
='-Wl,'
13354 lt_prog_compiler_pic_FC
='-fPIC'
13355 lt_prog_compiler_static_FC
='-static'
13357 # Lahey Fortran 8.1.
13359 lt_prog_compiler_wl_FC
='-Wl,'
13360 lt_prog_compiler_pic_FC
='--shared'
13361 lt_prog_compiler_static_FC
='--static'
13363 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13364 # Portland Group compilers (*not* the Pentium gcc compiler,
13365 # which looks to be a dead project)
13366 lt_prog_compiler_wl_FC
='-Wl,'
13367 lt_prog_compiler_pic_FC
='-fpic'
13368 lt_prog_compiler_static_FC
='-Bstatic'
13371 lt_prog_compiler_wl_FC
='-Wl,'
13372 # All Alpha code is PIC.
13373 lt_prog_compiler_static_FC
='-non_shared'
13375 xl
* | bgxl
* | bgf
* | mpixl
*)
13376 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13377 lt_prog_compiler_wl_FC
='-Wl,'
13378 lt_prog_compiler_pic_FC
='-qpic'
13379 lt_prog_compiler_static_FC
='-qstaticlink'
13382 case `$CC -V 2>&1 | sed 5q` in
13383 *Sun\ F
* |
*Sun
*Fortran
*)
13384 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13385 lt_prog_compiler_pic_FC
='-KPIC'
13386 lt_prog_compiler_static_FC
='-Bstatic'
13387 lt_prog_compiler_wl_FC
=''
13391 lt_prog_compiler_pic_FC
='-KPIC'
13392 lt_prog_compiler_static_FC
='-Bstatic'
13393 lt_prog_compiler_wl_FC
='-Wl,'
13401 lt_prog_compiler_pic_FC
='-KPIC'
13402 lt_prog_compiler_static_FC
='-Bstatic'
13406 # QNX uses GNU C++, but need to define -shared option too, otherwise
13407 # it will coredump.
13408 lt_prog_compiler_pic_FC
='-fPIC -shared'
13411 osf3
* | osf4
* | osf5
*)
13412 lt_prog_compiler_wl_FC
='-Wl,'
13413 # All OSF/1 code is PIC.
13414 lt_prog_compiler_static_FC
='-non_shared'
13418 lt_prog_compiler_static_FC
='-non_shared'
13422 lt_prog_compiler_pic_FC
='-KPIC'
13423 lt_prog_compiler_static_FC
='-Bstatic'
13424 case $cc_basename in
13425 f77
* | f90
* | f95
*)
13426 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13428 lt_prog_compiler_wl_FC
='-Wl,';;
13433 lt_prog_compiler_wl_FC
='-Qoption ld '
13434 lt_prog_compiler_pic_FC
='-PIC'
13435 lt_prog_compiler_static_FC
='-Bstatic'
13438 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13439 lt_prog_compiler_wl_FC
='-Wl,'
13440 lt_prog_compiler_pic_FC
='-KPIC'
13441 lt_prog_compiler_static_FC
='-Bstatic'
13445 if test -d /usr
/nec
;then
13446 lt_prog_compiler_pic_FC
='-Kconform_pic'
13447 lt_prog_compiler_static_FC
='-Bstatic'
13451 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13452 lt_prog_compiler_wl_FC
='-Wl,'
13453 lt_prog_compiler_pic_FC
='-KPIC'
13454 lt_prog_compiler_static_FC
='-Bstatic'
13458 lt_prog_compiler_wl_FC
='-Wl,'
13459 lt_prog_compiler_can_build_shared_FC
=no
13463 lt_prog_compiler_pic_FC
='-pic'
13464 lt_prog_compiler_static_FC
='-Bstatic'
13468 lt_prog_compiler_can_build_shared_FC
=no
13474 # For platforms which do not support PIC, -DPIC is meaningless:
13476 lt_prog_compiler_pic_FC
=
13479 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13483 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13488 # Check to make sure the PIC flag actually works.
13490 if test -n "$lt_prog_compiler_pic_FC"; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13492 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13493 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13494 $as_echo_n "(cached) " >&6
13496 lt_cv_prog_compiler_pic_works_FC
=no
13497 ac_outfile
=conftest.
$ac_objext
13498 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13499 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13500 # Insert the option either (1) after the last *FLAGS variable, or
13501 # (2) before a word containing "conftest.", or (3) at the end.
13502 # Note that $ac_compile itself does not contain backslashes and begins
13503 # with a dollar sign (not a hyphen), so the echo should work correctly.
13504 # The option is referenced via a variable to avoid confusing sed.
13505 lt_compile
=`echo "$ac_compile" | $SED \
13506 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13507 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13508 -e 's:$: $lt_compiler_flag:'`
13509 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13510 (eval "$lt_compile" 2>conftest.err
)
13512 cat conftest.err
>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 if (exit $ac_status) && test -s "$ac_outfile"; then
13515 # The compiler can only warn and ignore the option if not recognized
13516 # So say no if there are warnings other than the usual output.
13517 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13518 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13519 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13520 lt_cv_prog_compiler_pic_works_FC
=yes
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13527 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13529 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13530 case $lt_prog_compiler_pic_FC in
13532 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13535 lt_prog_compiler_pic_FC
=
13536 lt_prog_compiler_can_build_shared_FC
=no
13544 # Check to make sure the static flag actually works.
13546 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13548 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13549 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13550 $as_echo_n "(cached) " >&6
13552 lt_cv_prog_compiler_static_works_FC
=no
13553 save_LDFLAGS
="$LDFLAGS"
13554 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13555 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13556 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13557 # The linker can only warn and ignore the option if not recognized
13558 # So say no if there are warnings
13559 if test -s conftest.err
; then
13560 # Append any errors to the config.log.
13561 cat conftest.err
1>&5
13562 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13563 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13564 if diff conftest.exp conftest.er2
>/dev
/null
; then
13565 lt_cv_prog_compiler_static_works_FC
=yes
13568 lt_cv_prog_compiler_static_works_FC
=yes
13572 LDFLAGS
="$save_LDFLAGS"
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13576 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13578 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13581 lt_prog_compiler_static_FC
=
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13588 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13589 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13590 $as_echo_n "(cached) " >&6
13592 lt_cv_prog_compiler_c_o_FC
=no
13593 $RM -r conftest
2>/dev
/null
13597 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13599 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13600 # Insert the option either (1) after the last *FLAGS variable, or
13601 # (2) before a word containing "conftest.", or (3) at the end.
13602 # Note that $ac_compile itself does not contain backslashes and begins
13603 # with a dollar sign (not a hyphen), so the echo should work correctly.
13604 lt_compile
=`echo "$ac_compile" | $SED \
13605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13607 -e 's:$: $lt_compiler_flag:'`
13608 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13609 (eval "$lt_compile" 2>out
/conftest.err
)
13611 cat out
/conftest.err
>&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13615 # The compiler can only warn and ignore the option if not recognized
13616 # So say no if there are warnings
13617 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13618 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13619 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13620 lt_cv_prog_compiler_c_o_FC
=yes
13625 # SGI C++ compiler will create directory out/ii_files/ for
13626 # template instantiation
13627 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13628 $RM out
/* && rmdir out
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13635 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13640 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13641 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13642 $as_echo_n "(cached) " >&6
13644 lt_cv_prog_compiler_c_o_FC
=no
13645 $RM -r conftest
2>/dev
/null
13649 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13651 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13652 # Insert the option either (1) after the last *FLAGS variable, or
13653 # (2) before a word containing "conftest.", or (3) at the end.
13654 # Note that $ac_compile itself does not contain backslashes and begins
13655 # with a dollar sign (not a hyphen), so the echo should work correctly.
13656 lt_compile
=`echo "$ac_compile" | $SED \
13657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13659 -e 's:$: $lt_compiler_flag:'`
13660 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13661 (eval "$lt_compile" 2>out
/conftest.err
)
13663 cat out
/conftest.err
>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13667 # The compiler can only warn and ignore the option if not recognized
13668 # So say no if there are warnings
13669 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13670 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13671 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13672 lt_cv_prog_compiler_c_o_FC
=yes
13677 # SGI C++ compiler will create directory out/ii_files/ for
13678 # template instantiation
13679 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13680 $RM out
/* && rmdir out
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13687 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13692 hard_links
="nottested"
13693 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13694 # do not overwrite the value of need_locks provided by the user
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13696 $as_echo_n "checking if we can lock with hard links... " >&6; }
13699 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13701 ln conftest.a conftest.b
2>&5 || hard_links
=no
13702 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13704 $as_echo "$hard_links" >&6; }
13705 if test "$hard_links" = no
; then
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13707 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13717 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13720 allow_undefined_flag_FC
=
13721 always_export_symbols_FC
=no
13723 archive_expsym_cmds_FC
=
13724 compiler_needs_object_FC
=no
13725 enable_shared_with_static_runtimes_FC
=no
13726 export_dynamic_flag_spec_FC
=
13727 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13728 hardcode_automatic_FC
=no
13729 hardcode_direct_FC
=no
13730 hardcode_direct_absolute_FC
=no
13731 hardcode_libdir_flag_spec_FC
=
13732 hardcode_libdir_flag_spec_ld_FC
=
13733 hardcode_libdir_separator_FC
=
13734 hardcode_minus_L_FC
=no
13735 hardcode_shlibpath_var_FC
=unsupported
13736 inherit_rpath_FC
=no
13737 link_all_deplibs_FC
=unknown
13739 module_expsym_cmds_FC
=
13740 old_archive_from_new_cmds_FC
=
13741 old_archive_from_expsyms_cmds_FC
=
13742 thread_safe_flag_spec_FC
=
13743 whole_archive_flag_spec_FC
=
13744 # include_expsyms should be a list of space-separated symbols to be *always*
13745 # included in the symbol list
13746 include_expsyms_FC
=
13747 # exclude_expsyms can be an extended regexp of symbols to exclude
13748 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13749 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13750 # as well as any symbol that contains `d'.
13751 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13752 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13753 # platforms (ab)use it in PIC code, but their linkers get confused if
13754 # the symbol is explicitly referenced. Since portable code cannot
13755 # rely on this symbol name, it's probably fine to never include it in
13756 # preloaded symbol tables.
13757 # Exclude shared library initialization/finalization symbols.
13758 extract_expsyms_cmds
=
13761 cygwin
* | mingw
* | pw32
* | cegcc
*)
13762 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13763 # When not using gcc, we currently assume that we are using
13764 # Microsoft Visual C++.
13765 if test "$GCC" != yes; then
13770 # we just hope/assume this is gcc and not c89 (= MSVC++)
13780 # On some targets, GNU ld is compatible enough with the native linker
13781 # that we're better off using the native interface for both.
13782 lt_use_gnu_ld_interface
=no
13783 if test "$with_gnu_ld" = yes; then
13786 # The AIX port of GNU ld has always aspired to compatibility
13787 # with the native linker. However, as the warning in the GNU ld
13788 # block says, versions before 2.19.5* couldn't really create working
13789 # shared libraries, regardless of the interface used.
13790 case `$LD -v 2>&1` in
13791 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13792 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13793 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13795 lt_use_gnu_ld_interface
=yes
13800 lt_use_gnu_ld_interface
=yes
13805 if test "$lt_use_gnu_ld_interface" = yes; then
13806 # If archive_cmds runs LD, not CC, wlarc should be empty
13809 # Set some defaults for GNU ld with shared library support. These
13810 # are reset later if shared libraries are not supported. Putting them
13811 # here allows them to be overridden if necessary.
13812 runpath_var
=LD_RUN_PATH
13813 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13814 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13815 # ancient GNU ld didn't support --whole-archive et. al.
13816 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13817 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13819 whole_archive_flag_spec_FC
=
13821 supports_anon_versioning
=no
13822 case `$LD -v 2>&1` in
13823 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13824 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13825 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13826 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13827 *\
2.11.
*) ;; # other 2.11 versions
13828 *) supports_anon_versioning
=yes ;;
13831 # See if GNU ld supports shared libraries.
13834 # On AIX/PPC, the GNU linker is very broken
13835 if test "$host_cpu" != ia64
; then
13839 *** Warning: the GNU linker, at least up to release 2.19, is reported
13840 *** to be unable to reliably create shared libraries on AIX.
13841 *** Therefore, libtool is disabling shared libraries support. If you
13842 *** really care for shared libraries, you may want to install binutils
13843 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13844 *** You will then need to restart the configuration process.
13853 # see comment about AmigaOS4 .so support
13854 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13855 archive_expsym_cmds_FC
=''
13858 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)'
13859 hardcode_libdir_flag_spec_FC
='-L$libdir'
13860 hardcode_minus_L_FC
=yes
13866 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13867 allow_undefined_flag_FC
=unsupported
13868 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13869 # support --undefined. This deserves some investigation. FIXME
13870 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13876 cygwin
* | mingw
* | pw32
* | cegcc
*)
13877 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13878 # as there is no search path for DLLs.
13879 hardcode_libdir_flag_spec_FC
='-L$libdir'
13880 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13881 allow_undefined_flag_FC
=unsupported
13882 always_export_symbols_FC
=no
13883 enable_shared_with_static_runtimes_FC
=yes
13884 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13886 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13887 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13888 # If the export-symbols file already is a .def file (1st line
13889 # is EXPORTS), use it as is; otherwise, prepend...
13890 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13891 cp $export_symbols $output_objdir/$soname.def;
13893 echo EXPORTS > $output_objdir/$soname.def;
13894 cat $export_symbols >> $output_objdir/$soname.def;
13896 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13903 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13904 link_all_deplibs_FC
=yes
13908 hardcode_direct_FC
=no
13909 hardcode_shlibpath_var_FC
=no
13910 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13911 export_dynamic_flag_spec_FC
='${wl}-E'
13912 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13913 # Instead, shared libraries are loaded at an image base (0x10000000 by
13914 # default) and relocated if they conflict, which is a slow very memory
13915 # consuming and fragmenting process. To avoid this, we pick a random,
13916 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13917 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13918 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'
13919 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'
13922 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13924 if test "$host_os" = linux-dietlibc
; then
13925 case $cc_basename in
13926 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13929 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13930 && test "$tmp_diet" = no
13933 tmp_sharedflag
='-shared'
13934 case $cc_basename,$host_cpu in
13935 pgcc
*) # Portland Group C compiler
13936 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'
13937 tmp_addflag
=' $pic_flag'
13939 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13940 # Portland Group f77 and f90 compilers
13941 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'
13942 tmp_addflag
=' $pic_flag -Mnomain' ;;
13943 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13944 tmp_addflag
=' -i_dynamic' ;;
13945 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13946 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13947 ifc
* | ifort
*) # Intel Fortran compiler
13948 tmp_addflag
=' -nofor_main' ;;
13949 lf95
*) # Lahey Fortran 8.1
13950 whole_archive_flag_spec_FC
=
13951 tmp_sharedflag
='--shared' ;;
13952 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13953 tmp_sharedflag
='-qmkshrobj'
13955 nvcc
*) # Cuda Compiler Driver 2.2
13956 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'
13957 compiler_needs_object_FC
=yes
13960 case `$CC -V 2>&1 | sed 5q` in
13961 *Sun\ C
*) # Sun C 5.9
13962 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'
13963 compiler_needs_object_FC
=yes
13964 tmp_sharedflag
='-G' ;;
13965 *Sun\ F
*) # Sun Fortran 8.3
13966 tmp_sharedflag
='-G' ;;
13968 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13970 if test "x$supports_anon_versioning" = xyes
; then
13971 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13972 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13973 echo "local: *; };" >> $output_objdir/$libname.ver~
13974 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13977 case $cc_basename in
13978 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
13979 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13980 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
13981 hardcode_libdir_flag_spec_FC
=
13982 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
13983 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13984 if test "x$supports_anon_versioning" = xyes
; then
13985 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13986 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13987 echo "local: *; };" >> $output_objdir/$libname.ver~
13988 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13998 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13999 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14002 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14003 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14008 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14012 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14013 *** create shared libraries on Solaris systems. Therefore, libtool
14014 *** is disabling shared libraries support. We urge you to upgrade GNU
14015 *** binutils to release 2.9.1 or newer. Another option is to modify
14016 *** your PATH or compiler configuration so that the native linker is
14017 *** used, and then restart.
14020 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14021 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14022 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14028 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14029 case `$LD -v 2>&1` in
14030 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14034 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14035 *** reliably create shared libraries on SCO systems. Therefore, libtool
14036 *** is disabling shared libraries support. We urge you to upgrade GNU
14037 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14038 *** your PATH or compiler configuration so that the native linker is
14039 *** used, and then restart.
14044 # For security reasons, it is highly recommended that you always
14045 # use absolute paths for naming shared libraries, and exclude the
14046 # DT_RUNPATH tag from executables and libraries. But doing so
14047 # requires that you compile everything twice, which is a pain.
14048 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14049 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14050 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14051 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14060 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14062 hardcode_direct_FC
=yes
14063 hardcode_shlibpath_var_FC
=no
14067 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14068 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14069 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14076 if test "$ld_shlibs_FC" = no
; then
14078 hardcode_libdir_flag_spec_FC
=
14079 export_dynamic_flag_spec_FC
=
14080 whole_archive_flag_spec_FC
=
14083 # PORTME fill in a description of your system's linker (not GNU ld)
14086 allow_undefined_flag_FC
=unsupported
14087 always_export_symbols_FC
=yes
14088 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'
14089 # Note: this linker hardcodes the directories in LIBPATH if there
14090 # are no directories specified by -L.
14091 hardcode_minus_L_FC
=yes
14092 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14093 # Neither direct hardcoding nor static linking is supported with a
14095 hardcode_direct_FC
=unsupported
14100 if test "$host_cpu" = ia64
; then
14101 # On IA64, the linker does run time linking by default, so we don't
14102 # have to do anything special.
14103 aix_use_runtimelinking
=no
14104 exp_sym_flag
='-Bexport'
14107 # If we're using GNU nm, then we don't want the "-C" option.
14108 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14109 # Also, AIX nm treats weak defined symbols like other global
14110 # defined symbols, whereas GNU nm marks them as "W".
14111 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14112 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'
14114 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'
14116 aix_use_runtimelinking
=no
14118 # Test if we are trying to use run time linking or normal
14119 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14120 # need to do runtime linking.
14121 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14122 for ld_flag
in $LDFLAGS; do
14123 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14124 aix_use_runtimelinking
=yes
14131 exp_sym_flag
='-bexport'
14132 no_entry_flag
='-bnoentry'
14135 # When large executables or shared objects are built, AIX ld can
14136 # have problems creating the table of contents. If linking a library
14137 # or program results in "error TOC overflow" add -mminimal-toc to
14138 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14139 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14142 hardcode_direct_FC
=yes
14143 hardcode_direct_absolute_FC
=yes
14144 hardcode_libdir_separator_FC
=':'
14145 link_all_deplibs_FC
=yes
14146 file_list_spec_FC
='${wl}-f,'
14148 if test "$GCC" = yes; then
14149 case $host_os in aix4.
[012]|aix4.
[012].
*)
14150 # We only want to do this on AIX 4.2 and lower, the check
14151 # below for broken collect2 doesn't work under 4.3+
14152 collect2name
=`${CC} -print-prog-name=collect2`
14153 if test -f "$collect2name" &&
14154 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14156 # We have reworked collect2
14159 # We have old collect2
14160 hardcode_direct_FC
=unsupported
14161 # It fails to find uninstalled libraries when the uninstalled
14162 # path is not listed in the libpath. Setting hardcode_minus_L
14163 # to unsupported forces relinking
14164 hardcode_minus_L_FC
=yes
14165 hardcode_libdir_flag_spec_FC
='-L$libdir'
14166 hardcode_libdir_separator_FC
=
14170 shared_flag
='-shared'
14171 if test "$aix_use_runtimelinking" = yes; then
14172 shared_flag
="$shared_flag "'${wl}-G'
14176 if test "$host_cpu" = ia64
; then
14177 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14178 # chokes on -Wl,-G. The following line is correct:
14181 if test "$aix_use_runtimelinking" = yes; then
14182 shared_flag
='${wl}-G'
14184 shared_flag
='${wl}-bM:SRE'
14189 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14190 # It seems that -bexpall does not export symbols beginning with
14191 # underscore (_), so it is better to generate a list of symbols to export.
14192 always_export_symbols_FC
=yes
14193 if test "$aix_use_runtimelinking" = yes; then
14194 # Warning - without using the other runtime loading flags (-brtl),
14195 # -berok will link without error, but may produce a broken library.
14196 allow_undefined_flag_FC
='-berok'
14197 # Determine the default libpath from the value encoded in an
14198 # empty executable.
14199 if test x
$gcc_no_link = xyes
; then
14200 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14202 cat > conftest.
$ac_ext <<_ACEOF
14207 if ac_fn_fc_try_link
"$LINENO"; then :
14209 lt_aix_libpath_sed
='
14210 /Import File Strings/,/^$/ {
14216 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14217 # Check for a 64-bit object if we didn't find anything.
14218 if test -z "$aix_libpath"; then
14219 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14222 rm -f core conftest.err conftest.
$ac_objext \
14223 conftest
$ac_exeext conftest.
$ac_ext
14224 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14226 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14227 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"
14229 if test "$host_cpu" = ia64
; then
14230 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14231 allow_undefined_flag_FC
="-z nodefs"
14232 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"
14234 # Determine the default libpath from the value encoded in an
14235 # empty executable.
14236 if test x
$gcc_no_link = xyes
; then
14237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14239 cat > conftest.
$ac_ext <<_ACEOF
14244 if ac_fn_fc_try_link
"$LINENO"; then :
14246 lt_aix_libpath_sed
='
14247 /Import File Strings/,/^$/ {
14253 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14254 # Check for a 64-bit object if we didn't find anything.
14255 if test -z "$aix_libpath"; then
14256 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14259 rm -f core conftest.err conftest.
$ac_objext \
14260 conftest
$ac_exeext conftest.
$ac_ext
14261 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14263 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14264 # Warning - without using the other run time loading flags,
14265 # -berok will link without error, but may produce a broken library.
14266 no_undefined_flag_FC
=' ${wl}-bernotok'
14267 allow_undefined_flag_FC
=' ${wl}-berok'
14268 if test "$with_gnu_ld" = yes; then
14269 # We only use this code for GNU lds that support --whole-archive.
14270 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14272 # Exported symbols can be pulled into shared objects from archives
14273 whole_archive_flag_spec_FC
='$convenience'
14275 archive_cmds_need_lc_FC
=yes
14276 # This is similar to how AIX traditionally builds its shared libraries.
14277 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'
14285 # see comment about AmigaOS4 .so support
14286 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14287 archive_expsym_cmds_FC
=''
14290 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)'
14291 hardcode_libdir_flag_spec_FC
='-L$libdir'
14292 hardcode_minus_L_FC
=yes
14298 export_dynamic_flag_spec_FC
=-rdynamic
14301 cygwin
* | mingw
* | pw32
* | cegcc
*)
14302 # When not using gcc, we currently assume that we are using
14303 # Microsoft Visual C++.
14304 # hardcode_libdir_flag_spec is actually meaningless, as there is
14305 # no search path for DLLs.
14306 hardcode_libdir_flag_spec_FC
=' '
14307 allow_undefined_flag_FC
=unsupported
14308 # Tell ltmain to make .lib files, not .a files.
14310 # Tell ltmain to make .dll files, not .so files.
14312 # FIXME: Setting linknames here is a bad hack.
14313 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14314 # The linker will automatically build a .lib file if we build a DLL.
14315 old_archive_from_new_cmds_FC
='true'
14316 # FIXME: Should let the user specify the lib program.
14317 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14318 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14319 enable_shared_with_static_runtimes_FC
=yes
14322 darwin
* | rhapsody
*)
14325 archive_cmds_need_lc_FC
=no
14326 hardcode_direct_FC
=no
14327 hardcode_automatic_FC
=yes
14328 hardcode_shlibpath_var_FC
=unsupported
14329 if test "$lt_cv_ld_force_load" = "yes"; then
14330 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\"`'
14332 whole_archive_flag_spec_FC
=''
14334 link_all_deplibs_FC
=yes
14335 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14336 case $cc_basename in
14337 ifort
*) _lt_dar_can_shared
=yes ;;
14338 *) _lt_dar_can_shared
=$GCC ;;
14340 if test "$_lt_dar_can_shared" = "yes"; then
14341 output_verbose_link_cmd
=func_echo_all
14342 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}"
14343 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14344 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}"
14345 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}"
14354 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14355 hardcode_libdir_flag_spec_FC
='-L$libdir'
14356 hardcode_shlibpath_var_FC
=no
14359 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14360 # support. Future versions do this automatically, but an explicit c++rt0.o
14361 # does not break anything, and helps significantly (at the cost of a little
14364 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14365 hardcode_libdir_flag_spec_FC
='-R$libdir'
14366 hardcode_direct_FC
=yes
14367 hardcode_shlibpath_var_FC
=no
14370 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14372 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14373 hardcode_direct_FC
=yes
14374 hardcode_minus_L_FC
=yes
14375 hardcode_shlibpath_var_FC
=no
14378 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14379 freebsd
* | dragonfly
*)
14380 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14381 hardcode_libdir_flag_spec_FC
='-R$libdir'
14382 hardcode_direct_FC
=yes
14383 hardcode_shlibpath_var_FC
=no
14387 if test "$GCC" = yes; then
14388 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'
14390 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'
14392 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14393 hardcode_libdir_separator_FC
=:
14394 hardcode_direct_FC
=yes
14396 # hardcode_minus_L: Not really in the search PATH,
14397 # but as the default location of the library.
14398 hardcode_minus_L_FC
=yes
14399 export_dynamic_flag_spec_FC
='${wl}-E'
14403 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14404 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14406 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14408 if test "$with_gnu_ld" = no
; then
14409 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14410 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14411 hardcode_libdir_separator_FC
=:
14412 hardcode_direct_FC
=yes
14413 hardcode_direct_absolute_FC
=yes
14414 export_dynamic_flag_spec_FC
='${wl}-E'
14415 # hardcode_minus_L: Not really in the search PATH,
14416 # but as the default location of the library.
14417 hardcode_minus_L_FC
=yes
14422 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14425 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14428 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14431 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14437 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14440 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14443 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14447 if test "$with_gnu_ld" = no
; then
14448 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14449 hardcode_libdir_separator_FC
=:
14453 hardcode_direct_FC
=no
14454 hardcode_shlibpath_var_FC
=no
14457 hardcode_direct_FC
=yes
14458 hardcode_direct_absolute_FC
=yes
14459 export_dynamic_flag_spec_FC
='${wl}-E'
14461 # hardcode_minus_L: Not really in the search PATH,
14462 # but as the default location of the library.
14463 hardcode_minus_L_FC
=yes
14469 irix5
* | irix6
* | nonstopux
*)
14470 if test "$GCC" = yes; then
14471 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'
14472 # Try to use the -exported_symbol ld option, if it does not
14473 # work, assume that -exports_file does not work either and
14474 # implicitly export all symbols.
14475 save_LDFLAGS
="$LDFLAGS"
14476 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14477 if test x
$gcc_no_link = xyes
; then
14478 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14480 cat > conftest.
$ac_ext <<_ACEOF
14483 if ac_fn_fc_try_link
"$LINENO"; then :
14484 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'
14487 rm -f core conftest.err conftest.
$ac_objext \
14488 conftest
$ac_exeext conftest.
$ac_ext
14489 LDFLAGS
="$save_LDFLAGS"
14491 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'
14492 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'
14494 archive_cmds_need_lc_FC
='no'
14495 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14496 hardcode_libdir_separator_FC
=:
14497 inherit_rpath_FC
=yes
14498 link_all_deplibs_FC
=yes
14502 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14503 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14505 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14507 hardcode_libdir_flag_spec_FC
='-R$libdir'
14508 hardcode_direct_FC
=yes
14509 hardcode_shlibpath_var_FC
=no
14513 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14514 hardcode_direct_FC
=yes
14515 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14516 hardcode_libdir_separator_FC
=:
14517 hardcode_shlibpath_var_FC
=no
14524 if test -f /usr
/libexec
/ld.so
; then
14525 hardcode_direct_FC
=yes
14526 hardcode_shlibpath_var_FC
=no
14527 hardcode_direct_absolute_FC
=yes
14528 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14529 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14530 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14531 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14532 export_dynamic_flag_spec_FC
='${wl}-E'
14535 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14536 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14537 hardcode_libdir_flag_spec_FC
='-R$libdir'
14540 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14541 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14551 hardcode_libdir_flag_spec_FC
='-L$libdir'
14552 hardcode_minus_L_FC
=yes
14553 allow_undefined_flag_FC
=unsupported
14554 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'
14555 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14559 if test "$GCC" = yes; then
14560 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14561 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'
14563 allow_undefined_flag_FC
=' -expect_unresolved \*'
14564 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'
14566 archive_cmds_need_lc_FC
='no'
14567 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14568 hardcode_libdir_separator_FC
=:
14571 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14572 if test "$GCC" = yes; then
14573 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14574 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'
14575 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14577 allow_undefined_flag_FC
=' -expect_unresolved \*'
14578 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'
14579 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~
14580 $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'
14582 # Both c and cxx compiler support -rpath directly
14583 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14585 archive_cmds_need_lc_FC
='no'
14586 hardcode_libdir_separator_FC
=:
14590 no_undefined_flag_FC
=' -z defs'
14591 if test "$GCC" = yes; then
14593 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14594 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14595 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14597 case `$CC -V 2>&1` in
14600 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14601 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14602 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14606 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14607 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14608 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14612 hardcode_libdir_flag_spec_FC
='-R$libdir'
14613 hardcode_shlibpath_var_FC
=no
14615 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14617 # The compiler driver will combine and reorder linker options,
14618 # but understands `-z linker_flag'. GCC discards it without `$wl',
14619 # but is careful enough not to reorder.
14620 # Supported since Solaris 2.6 (maybe 2.5.1?)
14621 if test "$GCC" = yes; then
14622 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14624 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14628 link_all_deplibs_FC
=yes
14632 if test "x$host_vendor" = xsequent
; then
14633 # Use $CC to link under sequent, because it throws in some extra .o
14634 # files that make .init and .fini sections work.
14635 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14637 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14639 hardcode_libdir_flag_spec_FC
='-L$libdir'
14640 hardcode_direct_FC
=yes
14641 hardcode_minus_L_FC
=yes
14642 hardcode_shlibpath_var_FC
=no
14646 case $host_vendor in
14648 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14649 hardcode_direct_FC
=yes # is this really true???
14652 ## LD is ld it makes a PLAMLIB
14653 ## CC just makes a GrossModule.
14654 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14655 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14656 hardcode_direct_FC
=no
14659 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14660 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14663 runpath_var
='LD_RUN_PATH'
14664 hardcode_shlibpath_var_FC
=no
14668 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14669 hardcode_shlibpath_var_FC
=no
14670 export_dynamic_flag_spec_FC
='-Bexport'
14674 if test -d /usr
/nec
; then
14675 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14676 hardcode_shlibpath_var_FC
=no
14677 runpath_var
=LD_RUN_PATH
14678 hardcode_runpath_var
=yes
14683 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14684 no_undefined_flag_FC
='${wl}-z,text'
14685 archive_cmds_need_lc_FC
=no
14686 hardcode_shlibpath_var_FC
=no
14687 runpath_var
='LD_RUN_PATH'
14689 if test "$GCC" = yes; then
14690 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14691 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14693 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14694 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14698 sysv5
* | sco3.2v5
* | sco5v6
*)
14699 # Note: We can NOT use -z defs as we might desire, because we do not
14700 # link with -lc, and that would cause any symbols used from libc to
14701 # always be unresolved, which means just about no library would
14702 # ever link correctly. If we're not using GNU ld we use -z text
14703 # though, which does catch some bad symbols but isn't as heavy-handed
14705 no_undefined_flag_FC
='${wl}-z,text'
14706 allow_undefined_flag_FC
='${wl}-z,nodefs'
14707 archive_cmds_need_lc_FC
=no
14708 hardcode_shlibpath_var_FC
=no
14709 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14710 hardcode_libdir_separator_FC
=':'
14711 link_all_deplibs_FC
=yes
14712 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14713 runpath_var
='LD_RUN_PATH'
14715 if test "$GCC" = yes; then
14716 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14717 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14719 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14725 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14726 hardcode_libdir_flag_spec_FC
='-L$libdir'
14727 hardcode_shlibpath_var_FC
=no
14735 if test x
$host_vendor = xsni
; then
14737 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14738 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14745 $as_echo "$ld_shlibs_FC" >&6; }
14746 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14748 with_gnu_ld_FC
=$with_gnu_ld
14756 # Do we need to explicitly link libc?
14758 case "x$archive_cmds_need_lc_FC" in
14760 # Assume -lc should be added
14761 archive_cmds_need_lc_FC
=yes
14763 if test "$enable_shared" = yes && test "$GCC" = yes; then
14764 case $archive_cmds_FC in
14766 # FIXME: we may have to deal with multi-command sequences.
14769 # Test whether the compiler implicitly links with -lc since on some
14770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14771 # to ld, don't add -lc before -lgcc.
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14773 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14774 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14775 $as_echo_n "(cached) " >&6
14778 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14781 (eval $ac_compile) 2>&5
14783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14784 test $ac_status = 0; } 2>conftest.err
; then
14787 libobjs
=conftest.
$ac_objext
14789 wl
=$lt_prog_compiler_wl_FC
14790 pic_flag
=$lt_prog_compiler_pic_FC
14796 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14797 allow_undefined_flag_FC
=
14798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14799 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14802 test $ac_status = 0; }
14804 lt_cv_archive_cmds_need_lc_FC
=no
14806 lt_cv_archive_cmds_need_lc_FC
=yes
14808 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14810 cat conftest.err
1>&5
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14816 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14817 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14888 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14890 library_names_spec
=
14891 libname_spec
='lib$name'
14895 postuninstall_cmds
=
14899 shlibpath_overrides_runpath
=unknown
14901 dynamic_linker
="$host_os ld.so"
14902 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14903 need_lib_prefix
=unknown
14904 hardcode_into_libs
=no
14906 # when you set need_version to no, make sure it does not cause -set_version
14907 # flags to be left without arguments
14908 need_version
=unknown
14913 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14914 shlibpath_var
=LIBPATH
14916 # AIX 3 has no versioning support, so we append a major version to the name.
14917 soname_spec
='${libname}${release}${shared_ext}$major'
14924 hardcode_into_libs
=yes
14925 if test "$host_cpu" = ia64
; then
14926 # AIX 5 supports IA64
14927 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14928 shlibpath_var
=LD_LIBRARY_PATH
14930 # With GCC up to 2.95.x, collect2 would create an import file
14931 # for dependence libraries. The import file would start with
14932 # the line `#! .'. This would cause the generated library to
14933 # depend on `.', always an invalid library. This was fixed in
14934 # development snapshots of GCC prior to 3.0.
14936 aix4 | aix4.
[01] | aix4.
[01].
*)
14937 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14939 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14942 can_build_shared
=no
14946 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14947 # soname into executable. Probably we can add versioning support to
14948 # collect2, so additional links can be useful in future.
14949 if test "$aix_use_runtimelinking" = yes; then
14950 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14951 # instead of lib<name>.a to let people know that these are not
14952 # typical AIX shared libraries.
14953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14955 # We preserve .a as extension for shared libraries through AIX4.2
14956 # and later when we are not doing run time linking.
14957 library_names_spec
='${libname}${release}.a $libname.a'
14958 soname_spec
='${libname}${release}${shared_ext}$major'
14960 shlibpath_var
=LIBPATH
14967 # Since July 2007 AmigaOS4 officially supports .so libraries.
14968 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14972 library_names_spec
='$libname.ixlibrary $libname.a'
14973 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14974 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'
14980 library_names_spec
='${libname}${shared_ext}'
14981 dynamic_linker
="$host_os ld.so"
14982 shlibpath_var
=LIBRARY_PATH
14988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14989 soname_spec
='${libname}${release}${shared_ext}$major'
14990 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14991 shlibpath_var
=LD_LIBRARY_PATH
14992 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14993 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14994 # the default ld.so.conf also contains /usr/contrib/lib and
14995 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14996 # libtool to hard-code these into programs
14999 cygwin
* | mingw
* | pw32
* | cegcc
*)
15000 version_type
=windows
15005 case $GCC,$host_os in
15006 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15007 library_names_spec
='$libname.dll.a'
15008 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15009 postinstall_cmds
='base_file=`basename \${file}`~
15010 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15011 dldir=$destdir/`dirname \$dlpath`~
15012 test -d \$dldir || mkdir -p \$dldir~
15013 $install_prog $dir/$dlname \$dldir/$dlname~
15014 chmod a+x \$dldir/$dlname~
15015 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15016 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15018 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15019 dlpath=$dir/\$dldll~
15021 shlibpath_overrides_runpath
=yes
15025 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15026 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15030 # MinGW DLLs use traditional 'lib' prefix
15031 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15034 # pw32 DLLs use 'pw' prefix rather than 'lib'
15035 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15041 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15044 dynamic_linker
='Win32 ld.exe'
15045 # FIXME: first we should search . and the directory the executable is in
15049 darwin
* | rhapsody
*)
15050 dynamic_linker
="$host_os dyld"
15051 version_type
=darwin
15054 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15055 soname_spec
='${libname}${release}${major}$shared_ext'
15056 shlibpath_overrides_runpath
=yes
15057 shlibpath_var
=DYLD_LIBRARY_PATH
15058 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15060 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15068 soname_spec
='${libname}${release}${shared_ext}$major'
15069 shlibpath_var
=LD_LIBRARY_PATH
15072 freebsd
* | dragonfly
*)
15073 # DragonFly does not have aout. When/if they implement a new
15074 # versioning mechanism, adjust this.
15075 if test -x /usr
/bin
/objformat
; then
15076 objformat
=`/usr/bin/objformat`
15079 freebsd
[23].
*) objformat
=aout
;;
15080 *) objformat
=elf
;;
15083 version_type
=freebsd-
$objformat
15084 case $version_type in
15086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15091 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15095 shlibpath_var
=LD_LIBRARY_PATH
15098 shlibpath_overrides_runpath
=yes
15100 freebsd3.
[01]* | freebsdelf3.
[01]*)
15101 shlibpath_overrides_runpath
=yes
15102 hardcode_into_libs
=yes
15104 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15105 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15106 shlibpath_overrides_runpath
=no
15107 hardcode_into_libs
=yes
15109 *) # from 4.6 on, and DragonFly
15110 shlibpath_overrides_runpath
=yes
15111 hardcode_into_libs
=yes
15120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15121 soname_spec
='${libname}${release}${shared_ext}$major'
15122 shlibpath_var
=LD_LIBRARY_PATH
15123 hardcode_into_libs
=yes
15130 dynamic_linker
="$host_os runtime_loader"
15131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15132 soname_spec
='${libname}${release}${shared_ext}$major'
15133 shlibpath_var
=LIBRARY_PATH
15134 shlibpath_overrides_runpath
=yes
15135 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15136 hardcode_into_libs
=yes
15139 hpux9
* | hpux10
* | hpux11
*)
15140 # Give a soname corresponding to the major version so that dld.sl refuses to
15141 # link against other versions.
15148 hardcode_into_libs
=yes
15149 dynamic_linker
="$host_os dld.so"
15150 shlibpath_var
=LD_LIBRARY_PATH
15151 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32
; then
15155 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15157 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15159 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15163 hardcode_into_libs
=yes
15164 dynamic_linker
="$host_os dld.sl"
15165 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15166 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15168 soname_spec
='${libname}${release}${shared_ext}$major'
15169 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15170 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15174 dynamic_linker
="$host_os dld.sl"
15175 shlibpath_var
=SHLIB_PATH
15176 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15178 soname_spec
='${libname}${release}${shared_ext}$major'
15181 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15182 postinstall_cmds
='chmod 555 $lib'
15183 # or fails outright, so override atomically:
15184 install_override_mode
=555
15191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15192 soname_spec
='${libname}${release}${shared_ext}$major'
15193 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15194 shlibpath_var
=LD_LIBRARY_PATH
15195 shlibpath_overrides_runpath
=no
15196 hardcode_into_libs
=yes
15199 irix5
* | irix6
* | nonstopux
*)
15201 nonstopux
*) version_type
=nonstopux
;;
15203 if test "$lt_cv_prog_gnu_ld" = yes; then
15211 soname_spec
='${libname}${release}${shared_ext}$major'
15212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15214 irix5
* | nonstopux
*)
15215 libsuff
= shlibsuff
=
15218 case $LD in # libtool.m4 will add one of these switches to LD
15219 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15220 libsuff
= shlibsuff
= libmagic
=32-bit;;
15221 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15222 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15223 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15224 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15225 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15229 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15230 shlibpath_overrides_runpath
=no
15231 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15232 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15233 hardcode_into_libs
=yes
15236 # No shared lib support for Linux oldld, aout, or coff.
15237 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15241 # This must be Linux ELF.
15242 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15247 soname_spec
='${libname}${release}${shared_ext}$major'
15248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15249 shlibpath_var
=LD_LIBRARY_PATH
15250 shlibpath_overrides_runpath
=no
15252 # Some binutils ld are patched to set DT_RUNPATH
15253 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15254 $as_echo_n "(cached) " >&6
15256 lt_cv_shlibpath_overrides_runpath
=no
15257 save_LDFLAGS
=$LDFLAGS
15258 save_libdir
=$libdir
15259 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15260 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15261 if test x
$gcc_no_link = xyes
; then
15262 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15264 cat > conftest.
$ac_ext <<_ACEOF
15269 if ac_fn_fc_try_link
"$LINENO"; then :
15270 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15271 lt_cv_shlibpath_overrides_runpath
=yes
15274 rm -f core conftest.err conftest.
$ac_objext \
15275 conftest
$ac_exeext conftest.
$ac_ext
15276 LDFLAGS
=$save_LDFLAGS
15277 libdir
=$save_libdir
15281 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15283 # This implies no fast_install, which is unacceptable.
15284 # Some rework will be needed to allow for fast_install
15285 # before this can be enabled.
15286 hardcode_into_libs
=yes
15288 # Append ld.so.conf contents to the search path
15289 if test -f /etc
/ld.so.conf
; then
15290 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' ' '`
15291 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15294 # We used to test for /lib/ld.so.1 and disable shared libraries on
15295 # powerpc, because MkLinux only supported shared libraries with the
15296 # GNU dynamic linker. Since this was broken with cross compilers,
15297 # most powerpc-linux boxes support dynamic linking these days and
15298 # people can always --disable-shared, the test was removed, and we
15299 # assume the GNU/Linux dynamic linker is in use.
15300 dynamic_linker
='GNU/Linux ld.so'
15307 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15309 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15310 dynamic_linker
='NetBSD (a.out) ld.so'
15312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15313 soname_spec
='${libname}${release}${shared_ext}$major'
15314 dynamic_linker
='NetBSD ld.elf_so'
15316 shlibpath_var
=LD_LIBRARY_PATH
15317 shlibpath_overrides_runpath
=yes
15318 hardcode_into_libs
=yes
15323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15324 shlibpath_var
=LD_LIBRARY_PATH
15325 shlibpath_overrides_runpath
=yes
15332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15333 soname_spec
='${libname}${release}${shared_ext}$major'
15334 shlibpath_var
=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath
=no
15336 hardcode_into_libs
=yes
15337 dynamic_linker
='ldqnx.so'
15342 sys_lib_dlsearch_path_spec
="/usr/lib"
15344 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15346 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15347 *) need_version
=no
;;
15349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15350 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15351 shlibpath_var
=LD_LIBRARY_PATH
15352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15354 openbsd2.
[89] | openbsd2.
[89].
*)
15355 shlibpath_overrides_runpath
=no
15358 shlibpath_overrides_runpath
=yes
15362 shlibpath_overrides_runpath
=yes
15367 libname_spec
='$name'
15370 library_names_spec
='$libname${shared_ext} $libname.a'
15371 dynamic_linker
='OS/2 ld.exe'
15372 shlibpath_var
=LIBPATH
15375 osf3
* | osf4
* | osf5
*)
15379 soname_spec
='${libname}${release}${shared_ext}$major'
15380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15381 shlibpath_var
=LD_LIBRARY_PATH
15382 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15383 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15395 soname_spec
='${libname}${release}${shared_ext}$major'
15396 shlibpath_var
=LD_LIBRARY_PATH
15397 shlibpath_overrides_runpath
=yes
15398 hardcode_into_libs
=yes
15399 # ldd complains unless libraries are executable
15400 postinstall_cmds
='chmod +x $lib'
15405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15406 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15407 shlibpath_var
=LD_LIBRARY_PATH
15408 shlibpath_overrides_runpath
=yes
15409 if test "$with_gnu_ld" = yes; then
15417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15418 soname_spec
='${libname}${release}${shared_ext}$major'
15419 shlibpath_var
=LD_LIBRARY_PATH
15420 case $host_vendor in
15422 shlibpath_overrides_runpath
=no
15424 runpath_var
=LD_RUN_PATH
15432 shlibpath_overrides_runpath
=no
15433 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15439 if test -d /usr
/nec
;then
15441 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15442 soname_spec
='$libname${shared_ext}.$major'
15443 shlibpath_var
=LD_LIBRARY_PATH
15447 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15448 version_type
=freebsd-elf
15451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15452 soname_spec
='${libname}${release}${shared_ext}$major'
15453 shlibpath_var
=LD_LIBRARY_PATH
15454 shlibpath_overrides_runpath
=yes
15455 hardcode_into_libs
=yes
15456 if test "$with_gnu_ld" = yes; then
15457 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15459 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15462 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15466 sys_lib_dlsearch_path_spec
='/usr/lib'
15470 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15475 shlibpath_var
=LD_LIBRARY_PATH
15476 shlibpath_overrides_runpath
=no
15477 hardcode_into_libs
=yes
15482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15483 soname_spec
='${libname}${release}${shared_ext}$major'
15484 shlibpath_var
=LD_LIBRARY_PATH
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15492 $as_echo "$dynamic_linker" >&6; }
15493 test "$dynamic_linker" = no
&& can_build_shared
=no
15495 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15496 if test "$GCC" = yes; then
15497 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15500 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15501 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15503 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15504 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15545 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15546 hardcode_action_FC
=
15547 if test -n "$hardcode_libdir_flag_spec_FC" ||
15548 test -n "$runpath_var_FC" ||
15549 test "X$hardcode_automatic_FC" = "Xyes" ; then
15551 # We can hardcode non-existent directories.
15552 if test "$hardcode_direct_FC" != no
&&
15553 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15554 # have to relink, otherwise we might link with an installed library
15555 # when we should be linking with a yet-to-be-installed one
15556 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15557 test "$hardcode_minus_L_FC" != no
; then
15558 # Linking always hardcodes the temporary library directory.
15559 hardcode_action_FC
=relink
15561 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15562 hardcode_action_FC
=immediate
15565 # We cannot hardcode anything, or else we can only hardcode existing
15567 hardcode_action_FC
=unsupported
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15570 $as_echo "$hardcode_action_FC" >&6; }
15572 if test "$hardcode_action_FC" = relink ||
15573 test "$inherit_rpath_FC" = yes; then
15574 # Fast installation is not supported
15575 enable_fast_install
=no
15576 elif test "$shlibpath_overrides_runpath" = yes ||
15577 test "$enable_shared" = no
; then
15578 # Fast installation is not necessary
15579 enable_fast_install
=needless
15588 fi # test -n "$compiler"
15592 fi # test "$_lt_disable_FC" != yes
15595 ac_cpp
='$CPP $CPPFLAGS'
15596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15602 # extra LD Flags which are required for targets
15605 # Darwin needs -single_module when linking libgfortran
15606 extra_ldflags_libgfortran
=-Wl,-single_module
15611 # We need a working compiler at that point, otherwise give a clear
15612 # error message and bail out.
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15615 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15616 ac_ext
=${ac_fc_srcext-f}
15617 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15618 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15621 cat > conftest.
$ac_ext <<_ACEOF
15624 real, parameter :: bar = sin (12.34 / 2.5)
15627 if ac_fn_fc_try_compile
"$LINENO"; then :
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15629 $as_echo "yes" >&6; }
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15632 $as_echo "no" >&6; }
15633 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15638 ac_cpp
='$CPP $CPPFLAGS'
15639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15645 # Check whether --enable-largefile was given.
15646 if test "${enable_largefile+set}" = set; then :
15647 enableval
=$enable_largefile;
15650 if test "$enable_largefile" != no
; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15653 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15654 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15655 $as_echo_n "(cached) " >&6
15657 ac_cv_sys_largefile_CC
=no
15658 if test "$GCC" != yes; then
15661 # IRIX 6.2 and later do not support large files by default,
15662 # so use the C compiler's -n32 option if that helps.
15663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15665 #include <sys/types.h>
15666 /* Check that off_t can represent 2**63 - 1 correctly.
15667 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15668 since some C++ compilers masquerading as C compilers
15669 incorrectly reject 9223372036854775807. */
15670 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15671 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15672 && LARGE_OFF_T % 2147483647 == 1)
15682 if ac_fn_c_try_compile
"$LINENO"; then :
15685 rm -f core conftest.err conftest.
$ac_objext
15687 if ac_fn_c_try_compile
"$LINENO"; then :
15688 ac_cv_sys_largefile_CC
=' -n32'; break
15690 rm -f core conftest.err conftest.
$ac_objext
15694 rm -f conftest.
$ac_ext
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15698 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15699 if test "$ac_cv_sys_largefile_CC" != no
; then
15700 CC
=$CC$ac_cv_sys_largefile_CC
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15704 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15705 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15706 $as_echo_n "(cached) " >&6
15709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15711 #include <sys/types.h>
15712 /* Check that off_t can represent 2**63 - 1 correctly.
15713 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15714 since some C++ compilers masquerading as C compilers
15715 incorrectly reject 9223372036854775807. */
15716 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15717 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15718 && LARGE_OFF_T % 2147483647 == 1)
15728 if ac_fn_c_try_compile
"$LINENO"; then :
15729 ac_cv_sys_file_offset_bits
=no
; break
15731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15733 /* end confdefs.h. */
15734 #define _FILE_OFFSET_BITS 64
15735 #include <sys/types.h>
15736 /* Check that off_t can represent 2**63 - 1 correctly.
15737 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15738 since some C++ compilers masquerading as C compilers
15739 incorrectly reject 9223372036854775807. */
15740 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15741 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15742 && LARGE_OFF_T % 2147483647 == 1)
15752 if ac_fn_c_try_compile
"$LINENO"; then :
15753 ac_cv_sys_file_offset_bits
=64; break
15755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15756 ac_cv_sys_file_offset_bits
=unknown
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15761 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15762 case $ac_cv_sys_file_offset_bits in #(
15765 cat >>confdefs.h
<<_ACEOF
15766 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15771 if test $ac_cv_sys_file_offset_bits = unknown
; then
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15773 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15774 if test "${ac_cv_sys_large_files+set}" = set; then :
15775 $as_echo_n "(cached) " >&6
15778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15779 /* end confdefs.h. */
15780 #include <sys/types.h>
15781 /* Check that off_t can represent 2**63 - 1 correctly.
15782 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15783 since some C++ compilers masquerading as C compilers
15784 incorrectly reject 9223372036854775807. */
15785 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15786 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15787 && LARGE_OFF_T % 2147483647 == 1)
15797 if ac_fn_c_try_compile
"$LINENO"; then :
15798 ac_cv_sys_large_files
=no
; break
15800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15803 #define _LARGE_FILES 1
15804 #include <sys/types.h>
15805 /* Check that off_t can represent 2**63 - 1 correctly.
15806 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15807 since some C++ compilers masquerading as C compilers
15808 incorrectly reject 9223372036854775807. */
15809 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15810 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15811 && LARGE_OFF_T % 2147483647 == 1)
15821 if ac_fn_c_try_compile
"$LINENO"; then :
15822 ac_cv_sys_large_files
=1; break
15824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15825 ac_cv_sys_large_files
=unknown
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15830 $as_echo "$ac_cv_sys_large_files" >&6; }
15831 case $ac_cv_sys_large_files in #(
15834 cat >>confdefs.h
<<_ACEOF
15835 #define _LARGE_FILES $ac_cv_sys_large_files
15845 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15846 if test "x$ac_cv_type_off_t" = x
""yes; then :
15850 cat >>confdefs.h
<<_ACEOF
15851 #define off_t long int
15857 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15858 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15860 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15863 for ac_type
in 'int' 'long int' 'long long int'; do
15864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15866 $ac_includes_default
15870 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15877 if ac_fn_c_try_compile
"$LINENO"; then :
15879 cat >>confdefs.h
<<_ACEOF
15880 #define intptr_t $ac_type
15885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15886 test -z "$ac_type" && break
15892 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15893 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15895 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15898 for ac_type
in 'unsigned int' 'unsigned long int' \
15899 'unsigned long long int'; do
15900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15902 $ac_includes_default
15906 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15913 if ac_fn_c_try_compile
"$LINENO"; then :
15915 cat >>confdefs.h
<<_ACEOF
15916 #define uintptr_t $ac_type
15921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15922 test -z "$ac_type" && break
15927 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15928 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15930 cat >>confdefs.h
<<_ACEOF
15931 #define HAVE_PTRDIFF_T 1
15938 # check header files (we assume C89 is available, so don't check for that)
15942 for ac_header
in $ac_header_list
15944 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15945 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15947 eval as_val
=\$
$as_ac_Header
15948 if test "x$as_val" = x
""yes; then :
15949 cat >>confdefs.h
<<_ACEOF
15950 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15987 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15989 acx_cv_header_stdint
=stddef.h
15990 acx_cv_header_stdint_kind
="(already complete)"
15991 for i
in stdint.h
$inttype_headers; do
15992 unset ac_cv_type_uintptr_t
15993 unset ac_cv_type_uintmax_t
15994 unset ac_cv_type_int_least32_t
15995 unset ac_cv_type_int_fast32_t
15996 unset ac_cv_type_uint64_t
15997 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15998 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16001 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16002 acx_cv_header_stdint
=$i
16007 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16010 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16013 acx_cv_header_stdint_kind
="(mostly complete)"
16016 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16019 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16022 acx_cv_header_stdint_kind
="(mostly complete)"
16025 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16028 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16031 acx_cv_header_stdint_kind
="(mostly complete)"
16034 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16037 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16040 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16045 if test "$acx_cv_header_stdint" = stddef.h
; then
16046 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16047 for i
in stdint.h
$inttype_headers; do
16048 unset ac_cv_type_uintptr_t
16049 unset ac_cv_type_uint32_t
16050 unset ac_cv_type_uint64_t
16051 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16052 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16055 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16056 acx_cv_header_stdint
=$i
16061 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16064 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16068 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16071 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16078 if test "$acx_cv_header_stdint" = stddef.h
; then
16079 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16080 for i
in sys
/types.h
$inttype_headers; do
16081 unset ac_cv_type_u_int32_t
16082 unset ac_cv_type_u_int64_t
16083 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16084 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16087 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16088 acx_cv_header_stdint
=$i
16093 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16096 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16103 if test "$acx_cv_header_stdint" = stddef.h
; then
16104 acx_cv_header_stdint_kind
="(using manual detection)"
16107 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16108 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16109 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16110 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16111 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16113 # ----------------- Summarize what we found so far
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16116 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16118 case `$as_basename -- gstdint.h ||
16119 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16120 Xgstdint.h : 'X\(//\)$' \| \
16121 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16122 $as_echo X/gstdint.h |
16123 sed '/^.*\/\([^/][^/]*\)\/*$/{
16136 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16137 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16138 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16139 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16144 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16146 # ----------------- done included file, check C basic types --------
16148 # Lacking an uintptr_t? Test size of void *
16149 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16150 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16153 # This bug is HP SR number 8606223364.
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16155 $as_echo_n "checking size of void *... " >&6; }
16156 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16157 $as_echo_n "(cached) " >&6
16159 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16162 if test "$ac_cv_type_void_p" = yes; then
16163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16165 { as_fn_set_status
77
16166 as_fn_error
"cannot compute sizeof (void *)
16167 See \`config.log' for more details." "$LINENO" 5; }; }
16169 ac_cv_sizeof_void_p
=0
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16175 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16179 cat >>confdefs.h
<<_ACEOF
16180 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16186 # Lacking an uint64_t? Test size of long
16187 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16188 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16191 # This bug is HP SR number 8606223364.
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16193 $as_echo_n "checking size of long... " >&6; }
16194 if test "${ac_cv_sizeof_long+set}" = set; then :
16195 $as_echo_n "(cached) " >&6
16197 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16200 if test "$ac_cv_type_long" = yes; then
16201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16203 { as_fn_set_status
77
16204 as_fn_error
"cannot compute sizeof (long)
16205 See \`config.log' for more details." "$LINENO" 5; }; }
16207 ac_cv_sizeof_long
=0
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16213 $as_echo "$ac_cv_sizeof_long" >&6; }
16217 cat >>confdefs.h
<<_ACEOF
16218 #define SIZEOF_LONG $ac_cv_sizeof_long
16224 if test $acx_cv_header_stdint = stddef.h
; then
16225 # Lacking a good header? Test size of everything and deduce all types.
16226 # The cast to long int works around a bug in the HP C Compiler
16227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16228 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16229 # This bug is HP SR number 8606223364.
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16231 $as_echo_n "checking size of int... " >&6; }
16232 if test "${ac_cv_sizeof_int+set}" = set; then :
16233 $as_echo_n "(cached) " >&6
16235 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16238 if test "$ac_cv_type_int" = yes; then
16239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16241 { as_fn_set_status
77
16242 as_fn_error
"cannot compute sizeof (int)
16243 See \`config.log' for more details." "$LINENO" 5; }; }
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16251 $as_echo "$ac_cv_sizeof_int" >&6; }
16255 cat >>confdefs.h
<<_ACEOF
16256 #define SIZEOF_INT $ac_cv_sizeof_int
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 short" >&5
16265 $as_echo_n "checking size of short... " >&6; }
16266 if test "${ac_cv_sizeof_short+set}" = set; then :
16267 $as_echo_n "(cached) " >&6
16269 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16272 if test "$ac_cv_type_short" = 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 (short)
16277 See \`config.log' for more details." "$LINENO" 5; }; }
16279 ac_cv_sizeof_short
=0
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16285 $as_echo "$ac_cv_sizeof_short" >&6; }
16289 cat >>confdefs.h
<<_ACEOF
16290 #define SIZEOF_SHORT $ac_cv_sizeof_short
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 char" >&5
16299 $as_echo_n "checking size of char... " >&6; }
16300 if test "${ac_cv_sizeof_char+set}" = set; then :
16301 $as_echo_n "(cached) " >&6
16303 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16306 if test "$ac_cv_type_char" = 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 (char)
16311 See \`config.log' for more details." "$LINENO" 5; }; }
16313 ac_cv_sizeof_char
=0
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16319 $as_echo "$ac_cv_sizeof_char" >&6; }
16323 cat >>confdefs.h
<<_ACEOF
16324 #define SIZEOF_CHAR $ac_cv_sizeof_char
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16330 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16331 case "$ac_cv_sizeof_char" in
16332 1) acx_cv_type_int8_t
=char
;;
16333 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16336 $as_echo "$acx_cv_type_int8_t" >&6; }
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16339 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16340 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16341 2:*) acx_cv_type_int16_t
=int
;;
16342 *:2) acx_cv_type_int16_t
=short
;;
16343 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16346 $as_echo "$acx_cv_type_int16_t" >&6; }
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16349 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16350 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16351 4:*) acx_cv_type_int32_t
=int
;;
16352 *:4) acx_cv_type_int32_t
=long
;;
16353 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16356 $as_echo "$acx_cv_type_int32_t" >&6; }
16359 # These tests are here to make the output prettier
16361 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16362 case "$ac_cv_sizeof_long" in
16363 8) acx_cv_type_int64_t
=long
;;
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16366 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16368 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16371 # Now we can use the above types
16373 if test "$ac_cv_type_uintptr_t" != yes; then
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16375 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16376 case $ac_cv_sizeof_void_p in
16377 2) acx_cv_type_intptr_t
=int16_t
;;
16378 4) acx_cv_type_intptr_t
=int32_t
;;
16379 8) acx_cv_type_intptr_t
=int64_t
;;
16380 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16383 $as_echo "$acx_cv_type_intptr_t" >&6; }
16386 # ----------------- done all checks, emit header -------------
16387 ac_config_commands
="$ac_config_commands gstdint.h"
16392 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16393 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16395 cat >>confdefs.h
<<_ACEOF
16396 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16401 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16402 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16404 cat >>confdefs.h
<<_ACEOF
16405 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16410 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16411 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16413 cat >>confdefs.h
<<_ACEOF
16414 #define HAVE_STRUCT_STAT_ST_RDEV 1
16421 # Check for library functions.
16425 for ac_func
in $ac_func_list
16427 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16428 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16429 eval as_val
=\$
$as_ac_var
16430 if test "x$as_val" = x
""yes; then :
16431 cat >>confdefs.h
<<_ACEOF
16432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16538 # Check for C99 (and other IEEE) math functions
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
16540 $as_echo_n "checking for acosf in -lm... " >&6; }
16541 if test "${ac_cv_lib_m_acosf+set}" = set; then :
16542 $as_echo_n "(cached) " >&6
16544 ac_check_lib_save_LIBS
=$LIBS
16546 if test x
$gcc_no_link = xyes
; then
16547 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16552 /* Override any GCC internal prototype to avoid an error.
16553 Use char because int might match the return type of a GCC
16554 builtin and then its argument prototype would still apply. */
16567 if ac_fn_c_try_link
"$LINENO"; then :
16568 ac_cv_lib_m_acosf
=yes
16570 ac_cv_lib_m_acosf
=no
16572 rm -f core conftest.err conftest.
$ac_objext \
16573 conftest
$ac_exeext conftest.
$ac_ext
16574 LIBS
=$ac_check_lib_save_LIBS
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
16577 $as_echo "$ac_cv_lib_m_acosf" >&6; }
16578 if test "x$ac_cv_lib_m_acosf" = x
""yes; then :
16580 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
16585 $as_echo_n "checking for acos in -lm... " >&6; }
16586 if test "${ac_cv_lib_m_acos+set}" = set; then :
16587 $as_echo_n "(cached) " >&6
16589 ac_check_lib_save_LIBS
=$LIBS
16591 if test x
$gcc_no_link = xyes
; then
16592 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16597 /* Override any GCC internal prototype to avoid an error.
16598 Use char because int might match the return type of a GCC
16599 builtin and then its argument prototype would still apply. */
16612 if ac_fn_c_try_link
"$LINENO"; then :
16613 ac_cv_lib_m_acos
=yes
16615 ac_cv_lib_m_acos
=no
16617 rm -f core conftest.err conftest.
$ac_objext \
16618 conftest
$ac_exeext conftest.
$ac_ext
16619 LIBS
=$ac_check_lib_save_LIBS
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16622 $as_echo "$ac_cv_lib_m_acos" >&6; }
16623 if test "x$ac_cv_lib_m_acos" = x
""yes; then :
16625 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16630 $as_echo_n "checking for acosl in -lm... " >&6; }
16631 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16632 $as_echo_n "(cached) " >&6
16634 ac_check_lib_save_LIBS
=$LIBS
16636 if test x
$gcc_no_link = xyes
; then
16637 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16642 /* Override any GCC internal prototype to avoid an error.
16643 Use char because int might match the return type of a GCC
16644 builtin and then its argument prototype would still apply. */
16657 if ac_fn_c_try_link
"$LINENO"; then :
16658 ac_cv_lib_m_acosl
=yes
16660 ac_cv_lib_m_acosl
=no
16662 rm -f core conftest.err conftest.
$ac_objext \
16663 conftest
$ac_exeext conftest.
$ac_ext
16664 LIBS
=$ac_check_lib_save_LIBS
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16667 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16668 if test "x$ac_cv_lib_m_acosl" = x
""yes; then :
16670 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16675 $as_echo_n "checking for acoshf in -lm... " >&6; }
16676 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16677 $as_echo_n "(cached) " >&6
16679 ac_check_lib_save_LIBS
=$LIBS
16681 if test x
$gcc_no_link = xyes
; then
16682 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16687 /* Override any GCC internal prototype to avoid an error.
16688 Use char because int might match the return type of a GCC
16689 builtin and then its argument prototype would still apply. */
16702 if ac_fn_c_try_link
"$LINENO"; then :
16703 ac_cv_lib_m_acoshf
=yes
16705 ac_cv_lib_m_acoshf
=no
16707 rm -f core conftest.err conftest.
$ac_objext \
16708 conftest
$ac_exeext conftest.
$ac_ext
16709 LIBS
=$ac_check_lib_save_LIBS
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16712 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16713 if test "x$ac_cv_lib_m_acoshf" = x
""yes; then :
16715 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16720 $as_echo_n "checking for acosh in -lm... " >&6; }
16721 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16722 $as_echo_n "(cached) " >&6
16724 ac_check_lib_save_LIBS
=$LIBS
16726 if test x
$gcc_no_link = xyes
; then
16727 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16732 /* Override any GCC internal prototype to avoid an error.
16733 Use char because int might match the return type of a GCC
16734 builtin and then its argument prototype would still apply. */
16747 if ac_fn_c_try_link
"$LINENO"; then :
16748 ac_cv_lib_m_acosh
=yes
16750 ac_cv_lib_m_acosh
=no
16752 rm -f core conftest.err conftest.
$ac_objext \
16753 conftest
$ac_exeext conftest.
$ac_ext
16754 LIBS
=$ac_check_lib_save_LIBS
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16757 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16758 if test "x$ac_cv_lib_m_acosh" = x
""yes; then :
16760 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16765 $as_echo_n "checking for acoshl in -lm... " >&6; }
16766 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16767 $as_echo_n "(cached) " >&6
16769 ac_check_lib_save_LIBS
=$LIBS
16771 if test x
$gcc_no_link = xyes
; then
16772 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16777 /* Override any GCC internal prototype to avoid an error.
16778 Use char because int might match the return type of a GCC
16779 builtin and then its argument prototype would still apply. */
16792 if ac_fn_c_try_link
"$LINENO"; then :
16793 ac_cv_lib_m_acoshl
=yes
16795 ac_cv_lib_m_acoshl
=no
16797 rm -f core conftest.err conftest.
$ac_objext \
16798 conftest
$ac_exeext conftest.
$ac_ext
16799 LIBS
=$ac_check_lib_save_LIBS
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16802 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16803 if test "x$ac_cv_lib_m_acoshl" = x
""yes; then :
16805 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16810 $as_echo_n "checking for asinf in -lm... " >&6; }
16811 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16812 $as_echo_n "(cached) " >&6
16814 ac_check_lib_save_LIBS
=$LIBS
16816 if test x
$gcc_no_link = xyes
; then
16817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16820 /* end confdefs.h. */
16822 /* Override any GCC internal prototype to avoid an error.
16823 Use char because int might match the return type of a GCC
16824 builtin and then its argument prototype would still apply. */
16837 if ac_fn_c_try_link
"$LINENO"; then :
16838 ac_cv_lib_m_asinf
=yes
16840 ac_cv_lib_m_asinf
=no
16842 rm -f core conftest.err conftest.
$ac_objext \
16843 conftest
$ac_exeext conftest.
$ac_ext
16844 LIBS
=$ac_check_lib_save_LIBS
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16847 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16848 if test "x$ac_cv_lib_m_asinf" = x
""yes; then :
16850 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16855 $as_echo_n "checking for asin in -lm... " >&6; }
16856 if test "${ac_cv_lib_m_asin+set}" = set; then :
16857 $as_echo_n "(cached) " >&6
16859 ac_check_lib_save_LIBS
=$LIBS
16861 if test x
$gcc_no_link = xyes
; then
16862 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16867 /* Override any GCC internal prototype to avoid an error.
16868 Use char because int might match the return type of a GCC
16869 builtin and then its argument prototype would still apply. */
16882 if ac_fn_c_try_link
"$LINENO"; then :
16883 ac_cv_lib_m_asin
=yes
16885 ac_cv_lib_m_asin
=no
16887 rm -f core conftest.err conftest.
$ac_objext \
16888 conftest
$ac_exeext conftest.
$ac_ext
16889 LIBS
=$ac_check_lib_save_LIBS
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16892 $as_echo "$ac_cv_lib_m_asin" >&6; }
16893 if test "x$ac_cv_lib_m_asin" = x
""yes; then :
16895 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16900 $as_echo_n "checking for asinl in -lm... " >&6; }
16901 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16902 $as_echo_n "(cached) " >&6
16904 ac_check_lib_save_LIBS
=$LIBS
16906 if test x
$gcc_no_link = xyes
; then
16907 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16912 /* Override any GCC internal prototype to avoid an error.
16913 Use char because int might match the return type of a GCC
16914 builtin and then its argument prototype would still apply. */
16927 if ac_fn_c_try_link
"$LINENO"; then :
16928 ac_cv_lib_m_asinl
=yes
16930 ac_cv_lib_m_asinl
=no
16932 rm -f core conftest.err conftest.
$ac_objext \
16933 conftest
$ac_exeext conftest.
$ac_ext
16934 LIBS
=$ac_check_lib_save_LIBS
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16937 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16938 if test "x$ac_cv_lib_m_asinl" = x
""yes; then :
16940 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16945 $as_echo_n "checking for asinhf in -lm... " >&6; }
16946 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16947 $as_echo_n "(cached) " >&6
16949 ac_check_lib_save_LIBS
=$LIBS
16951 if test x
$gcc_no_link = xyes
; then
16952 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16957 /* Override any GCC internal prototype to avoid an error.
16958 Use char because int might match the return type of a GCC
16959 builtin and then its argument prototype would still apply. */
16972 if ac_fn_c_try_link
"$LINENO"; then :
16973 ac_cv_lib_m_asinhf
=yes
16975 ac_cv_lib_m_asinhf
=no
16977 rm -f core conftest.err conftest.
$ac_objext \
16978 conftest
$ac_exeext conftest.
$ac_ext
16979 LIBS
=$ac_check_lib_save_LIBS
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16982 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16983 if test "x$ac_cv_lib_m_asinhf" = x
""yes; then :
16985 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16990 $as_echo_n "checking for asinh in -lm... " >&6; }
16991 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16992 $as_echo_n "(cached) " >&6
16994 ac_check_lib_save_LIBS
=$LIBS
16996 if test x
$gcc_no_link = xyes
; then
16997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17002 /* Override any GCC internal prototype to avoid an error.
17003 Use char because int might match the return type of a GCC
17004 builtin and then its argument prototype would still apply. */
17017 if ac_fn_c_try_link
"$LINENO"; then :
17018 ac_cv_lib_m_asinh
=yes
17020 ac_cv_lib_m_asinh
=no
17022 rm -f core conftest.err conftest.
$ac_objext \
17023 conftest
$ac_exeext conftest.
$ac_ext
17024 LIBS
=$ac_check_lib_save_LIBS
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
17027 $as_echo "$ac_cv_lib_m_asinh" >&6; }
17028 if test "x$ac_cv_lib_m_asinh" = x
""yes; then :
17030 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
17035 $as_echo_n "checking for asinhl in -lm... " >&6; }
17036 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
17037 $as_echo_n "(cached) " >&6
17039 ac_check_lib_save_LIBS
=$LIBS
17041 if test x
$gcc_no_link = xyes
; then
17042 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17047 /* Override any GCC internal prototype to avoid an error.
17048 Use char because int might match the return type of a GCC
17049 builtin and then its argument prototype would still apply. */
17062 if ac_fn_c_try_link
"$LINENO"; then :
17063 ac_cv_lib_m_asinhl
=yes
17065 ac_cv_lib_m_asinhl
=no
17067 rm -f core conftest.err conftest.
$ac_objext \
17068 conftest
$ac_exeext conftest.
$ac_ext
17069 LIBS
=$ac_check_lib_save_LIBS
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
17072 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
17073 if test "x$ac_cv_lib_m_asinhl" = x
""yes; then :
17075 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
17080 $as_echo_n "checking for atan2f in -lm... " >&6; }
17081 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
17082 $as_echo_n "(cached) " >&6
17084 ac_check_lib_save_LIBS
=$LIBS
17086 if test x
$gcc_no_link = xyes
; then
17087 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17092 /* Override any GCC internal prototype to avoid an error.
17093 Use char because int might match the return type of a GCC
17094 builtin and then its argument prototype would still apply. */
17107 if ac_fn_c_try_link
"$LINENO"; then :
17108 ac_cv_lib_m_atan2f
=yes
17110 ac_cv_lib_m_atan2f
=no
17112 rm -f core conftest.err conftest.
$ac_objext \
17113 conftest
$ac_exeext conftest.
$ac_ext
17114 LIBS
=$ac_check_lib_save_LIBS
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
17117 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
17118 if test "x$ac_cv_lib_m_atan2f" = x
""yes; then :
17120 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
17125 $as_echo_n "checking for atan2 in -lm... " >&6; }
17126 if test "${ac_cv_lib_m_atan2+set}" = set; then :
17127 $as_echo_n "(cached) " >&6
17129 ac_check_lib_save_LIBS
=$LIBS
17131 if test x
$gcc_no_link = xyes
; then
17132 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17137 /* Override any GCC internal prototype to avoid an error.
17138 Use char because int might match the return type of a GCC
17139 builtin and then its argument prototype would still apply. */
17152 if ac_fn_c_try_link
"$LINENO"; then :
17153 ac_cv_lib_m_atan2
=yes
17155 ac_cv_lib_m_atan2
=no
17157 rm -f core conftest.err conftest.
$ac_objext \
17158 conftest
$ac_exeext conftest.
$ac_ext
17159 LIBS
=$ac_check_lib_save_LIBS
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
17162 $as_echo "$ac_cv_lib_m_atan2" >&6; }
17163 if test "x$ac_cv_lib_m_atan2" = x
""yes; then :
17165 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
17170 $as_echo_n "checking for atan2l in -lm... " >&6; }
17171 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
17172 $as_echo_n "(cached) " >&6
17174 ac_check_lib_save_LIBS
=$LIBS
17176 if test x
$gcc_no_link = xyes
; then
17177 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17182 /* Override any GCC internal prototype to avoid an error.
17183 Use char because int might match the return type of a GCC
17184 builtin and then its argument prototype would still apply. */
17197 if ac_fn_c_try_link
"$LINENO"; then :
17198 ac_cv_lib_m_atan2l
=yes
17200 ac_cv_lib_m_atan2l
=no
17202 rm -f core conftest.err conftest.
$ac_objext \
17203 conftest
$ac_exeext conftest.
$ac_ext
17204 LIBS
=$ac_check_lib_save_LIBS
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
17207 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
17208 if test "x$ac_cv_lib_m_atan2l" = x
""yes; then :
17210 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
17215 $as_echo_n "checking for atanf in -lm... " >&6; }
17216 if test "${ac_cv_lib_m_atanf+set}" = set; then :
17217 $as_echo_n "(cached) " >&6
17219 ac_check_lib_save_LIBS
=$LIBS
17221 if test x
$gcc_no_link = xyes
; then
17222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17227 /* Override any GCC internal prototype to avoid an error.
17228 Use char because int might match the return type of a GCC
17229 builtin and then its argument prototype would still apply. */
17242 if ac_fn_c_try_link
"$LINENO"; then :
17243 ac_cv_lib_m_atanf
=yes
17245 ac_cv_lib_m_atanf
=no
17247 rm -f core conftest.err conftest.
$ac_objext \
17248 conftest
$ac_exeext conftest.
$ac_ext
17249 LIBS
=$ac_check_lib_save_LIBS
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
17252 $as_echo "$ac_cv_lib_m_atanf" >&6; }
17253 if test "x$ac_cv_lib_m_atanf" = x
""yes; then :
17255 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
17260 $as_echo_n "checking for atan in -lm... " >&6; }
17261 if test "${ac_cv_lib_m_atan+set}" = set; then :
17262 $as_echo_n "(cached) " >&6
17264 ac_check_lib_save_LIBS
=$LIBS
17266 if test x
$gcc_no_link = xyes
; then
17267 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17272 /* Override any GCC internal prototype to avoid an error.
17273 Use char because int might match the return type of a GCC
17274 builtin and then its argument prototype would still apply. */
17287 if ac_fn_c_try_link
"$LINENO"; then :
17288 ac_cv_lib_m_atan
=yes
17290 ac_cv_lib_m_atan
=no
17292 rm -f core conftest.err conftest.
$ac_objext \
17293 conftest
$ac_exeext conftest.
$ac_ext
17294 LIBS
=$ac_check_lib_save_LIBS
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
17297 $as_echo "$ac_cv_lib_m_atan" >&6; }
17298 if test "x$ac_cv_lib_m_atan" = x
""yes; then :
17300 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
17305 $as_echo_n "checking for atanl in -lm... " >&6; }
17306 if test "${ac_cv_lib_m_atanl+set}" = set; then :
17307 $as_echo_n "(cached) " >&6
17309 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
17318 Use char because int might match the return type of a GCC
17319 builtin and then its argument prototype would still apply. */
17332 if ac_fn_c_try_link
"$LINENO"; then :
17333 ac_cv_lib_m_atanl
=yes
17335 ac_cv_lib_m_atanl
=no
17337 rm -f core conftest.err conftest.
$ac_objext \
17338 conftest
$ac_exeext conftest.
$ac_ext
17339 LIBS
=$ac_check_lib_save_LIBS
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
17342 $as_echo "$ac_cv_lib_m_atanl" >&6; }
17343 if test "x$ac_cv_lib_m_atanl" = x
""yes; then :
17345 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
17350 $as_echo_n "checking for atanhf in -lm... " >&6; }
17351 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
17352 $as_echo_n "(cached) " >&6
17354 ac_check_lib_save_LIBS
=$LIBS
17356 if test x
$gcc_no_link = xyes
; then
17357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17362 /* Override any GCC internal prototype to avoid an error.
17363 Use char because int might match the return type of a GCC
17364 builtin and then its argument prototype would still apply. */
17377 if ac_fn_c_try_link
"$LINENO"; then :
17378 ac_cv_lib_m_atanhf
=yes
17380 ac_cv_lib_m_atanhf
=no
17382 rm -f core conftest.err conftest.
$ac_objext \
17383 conftest
$ac_exeext conftest.
$ac_ext
17384 LIBS
=$ac_check_lib_save_LIBS
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
17387 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
17388 if test "x$ac_cv_lib_m_atanhf" = x
""yes; then :
17390 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
17395 $as_echo_n "checking for atanh in -lm... " >&6; }
17396 if test "${ac_cv_lib_m_atanh+set}" = set; then :
17397 $as_echo_n "(cached) " >&6
17399 ac_check_lib_save_LIBS
=$LIBS
17401 if test x
$gcc_no_link = xyes
; then
17402 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17407 /* Override any GCC internal prototype to avoid an error.
17408 Use char because int might match the return type of a GCC
17409 builtin and then its argument prototype would still apply. */
17422 if ac_fn_c_try_link
"$LINENO"; then :
17423 ac_cv_lib_m_atanh
=yes
17425 ac_cv_lib_m_atanh
=no
17427 rm -f core conftest.err conftest.
$ac_objext \
17428 conftest
$ac_exeext conftest.
$ac_ext
17429 LIBS
=$ac_check_lib_save_LIBS
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
17432 $as_echo "$ac_cv_lib_m_atanh" >&6; }
17433 if test "x$ac_cv_lib_m_atanh" = x
""yes; then :
17435 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
17440 $as_echo_n "checking for atanhl in -lm... " >&6; }
17441 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
17442 $as_echo_n "(cached) " >&6
17444 ac_check_lib_save_LIBS
=$LIBS
17446 if test x
$gcc_no_link = xyes
; then
17447 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17452 /* Override any GCC internal prototype to avoid an error.
17453 Use char because int might match the return type of a GCC
17454 builtin and then its argument prototype would still apply. */
17467 if ac_fn_c_try_link
"$LINENO"; then :
17468 ac_cv_lib_m_atanhl
=yes
17470 ac_cv_lib_m_atanhl
=no
17472 rm -f core conftest.err conftest.
$ac_objext \
17473 conftest
$ac_exeext conftest.
$ac_ext
17474 LIBS
=$ac_check_lib_save_LIBS
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
17477 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
17478 if test "x$ac_cv_lib_m_atanhl" = x
""yes; then :
17480 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
17485 $as_echo_n "checking for cargf in -lm... " >&6; }
17486 if test "${ac_cv_lib_m_cargf+set}" = set; then :
17487 $as_echo_n "(cached) " >&6
17489 ac_check_lib_save_LIBS
=$LIBS
17491 if test x
$gcc_no_link = xyes
; then
17492 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17497 /* Override any GCC internal prototype to avoid an error.
17498 Use char because int might match the return type of a GCC
17499 builtin and then its argument prototype would still apply. */
17512 if ac_fn_c_try_link
"$LINENO"; then :
17513 ac_cv_lib_m_cargf
=yes
17515 ac_cv_lib_m_cargf
=no
17517 rm -f core conftest.err conftest.
$ac_objext \
17518 conftest
$ac_exeext conftest.
$ac_ext
17519 LIBS
=$ac_check_lib_save_LIBS
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
17522 $as_echo "$ac_cv_lib_m_cargf" >&6; }
17523 if test "x$ac_cv_lib_m_cargf" = x
""yes; then :
17525 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
17530 $as_echo_n "checking for carg in -lm... " >&6; }
17531 if test "${ac_cv_lib_m_carg+set}" = set; then :
17532 $as_echo_n "(cached) " >&6
17534 ac_check_lib_save_LIBS
=$LIBS
17536 if test x
$gcc_no_link = xyes
; then
17537 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17542 /* Override any GCC internal prototype to avoid an error.
17543 Use char because int might match the return type of a GCC
17544 builtin and then its argument prototype would still apply. */
17557 if ac_fn_c_try_link
"$LINENO"; then :
17558 ac_cv_lib_m_carg
=yes
17560 ac_cv_lib_m_carg
=no
17562 rm -f core conftest.err conftest.
$ac_objext \
17563 conftest
$ac_exeext conftest.
$ac_ext
17564 LIBS
=$ac_check_lib_save_LIBS
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
17567 $as_echo "$ac_cv_lib_m_carg" >&6; }
17568 if test "x$ac_cv_lib_m_carg" = x
""yes; then :
17570 $as_echo "#define HAVE_CARG 1" >>confdefs.h
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
17575 $as_echo_n "checking for cargl in -lm... " >&6; }
17576 if test "${ac_cv_lib_m_cargl+set}" = set; then :
17577 $as_echo_n "(cached) " >&6
17579 ac_check_lib_save_LIBS
=$LIBS
17581 if test x
$gcc_no_link = xyes
; then
17582 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17587 /* Override any GCC internal prototype to avoid an error.
17588 Use char because int might match the return type of a GCC
17589 builtin and then its argument prototype would still apply. */
17602 if ac_fn_c_try_link
"$LINENO"; then :
17603 ac_cv_lib_m_cargl
=yes
17605 ac_cv_lib_m_cargl
=no
17607 rm -f core conftest.err conftest.
$ac_objext \
17608 conftest
$ac_exeext conftest.
$ac_ext
17609 LIBS
=$ac_check_lib_save_LIBS
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
17612 $as_echo "$ac_cv_lib_m_cargl" >&6; }
17613 if test "x$ac_cv_lib_m_cargl" = x
""yes; then :
17615 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
17620 $as_echo_n "checking for ceilf in -lm... " >&6; }
17621 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17622 $as_echo_n "(cached) " >&6
17624 ac_check_lib_save_LIBS
=$LIBS
17626 if test x
$gcc_no_link = xyes
; then
17627 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17630 /* end confdefs.h. */
17632 /* Override any GCC internal prototype to avoid an error.
17633 Use char because int might match the return type of a GCC
17634 builtin and then its argument prototype would still apply. */
17647 if ac_fn_c_try_link
"$LINENO"; then :
17648 ac_cv_lib_m_ceilf
=yes
17650 ac_cv_lib_m_ceilf
=no
17652 rm -f core conftest.err conftest.
$ac_objext \
17653 conftest
$ac_exeext conftest.
$ac_ext
17654 LIBS
=$ac_check_lib_save_LIBS
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17657 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17658 if test "x$ac_cv_lib_m_ceilf" = x
""yes; then :
17660 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17665 $as_echo_n "checking for ceil in -lm... " >&6; }
17666 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17667 $as_echo_n "(cached) " >&6
17669 ac_check_lib_save_LIBS
=$LIBS
17671 if test x
$gcc_no_link = xyes
; then
17672 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17677 /* Override any GCC internal prototype to avoid an error.
17678 Use char because int might match the return type of a GCC
17679 builtin and then its argument prototype would still apply. */
17692 if ac_fn_c_try_link
"$LINENO"; then :
17693 ac_cv_lib_m_ceil
=yes
17695 ac_cv_lib_m_ceil
=no
17697 rm -f core conftest.err conftest.
$ac_objext \
17698 conftest
$ac_exeext conftest.
$ac_ext
17699 LIBS
=$ac_check_lib_save_LIBS
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17702 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17703 if test "x$ac_cv_lib_m_ceil" = x
""yes; then :
17705 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17710 $as_echo_n "checking for ceill in -lm... " >&6; }
17711 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17712 $as_echo_n "(cached) " >&6
17714 ac_check_lib_save_LIBS
=$LIBS
17716 if test x
$gcc_no_link = xyes
; then
17717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17722 /* Override any GCC internal prototype to avoid an error.
17723 Use char because int might match the return type of a GCC
17724 builtin and then its argument prototype would still apply. */
17737 if ac_fn_c_try_link
"$LINENO"; then :
17738 ac_cv_lib_m_ceill
=yes
17740 ac_cv_lib_m_ceill
=no
17742 rm -f core conftest.err conftest.
$ac_objext \
17743 conftest
$ac_exeext conftest.
$ac_ext
17744 LIBS
=$ac_check_lib_save_LIBS
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17747 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17748 if test "x$ac_cv_lib_m_ceill" = x
""yes; then :
17750 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17755 $as_echo_n "checking for copysignf in -lm... " >&6; }
17756 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17757 $as_echo_n "(cached) " >&6
17759 ac_check_lib_save_LIBS
=$LIBS
17761 if test x
$gcc_no_link = xyes
; then
17762 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17767 /* Override any GCC internal prototype to avoid an error.
17768 Use char because int might match the return type of a GCC
17769 builtin and then its argument prototype would still apply. */
17777 return copysignf ();
17782 if ac_fn_c_try_link
"$LINENO"; then :
17783 ac_cv_lib_m_copysignf
=yes
17785 ac_cv_lib_m_copysignf
=no
17787 rm -f core conftest.err conftest.
$ac_objext \
17788 conftest
$ac_exeext conftest.
$ac_ext
17789 LIBS
=$ac_check_lib_save_LIBS
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17792 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17793 if test "x$ac_cv_lib_m_copysignf" = x
""yes; then :
17795 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17800 $as_echo_n "checking for copysign in -lm... " >&6; }
17801 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17802 $as_echo_n "(cached) " >&6
17804 ac_check_lib_save_LIBS
=$LIBS
17806 if test x
$gcc_no_link = xyes
; then
17807 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17812 /* Override any GCC internal prototype to avoid an error.
17813 Use char because int might match the return type of a GCC
17814 builtin and then its argument prototype would still apply. */
17822 return copysign ();
17827 if ac_fn_c_try_link
"$LINENO"; then :
17828 ac_cv_lib_m_copysign
=yes
17830 ac_cv_lib_m_copysign
=no
17832 rm -f core conftest.err conftest.
$ac_objext \
17833 conftest
$ac_exeext conftest.
$ac_ext
17834 LIBS
=$ac_check_lib_save_LIBS
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17837 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17838 if test "x$ac_cv_lib_m_copysign" = x
""yes; then :
17840 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17845 $as_echo_n "checking for copysignl in -lm... " >&6; }
17846 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17847 $as_echo_n "(cached) " >&6
17849 ac_check_lib_save_LIBS
=$LIBS
17851 if test x
$gcc_no_link = xyes
; then
17852 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17857 /* Override any GCC internal prototype to avoid an error.
17858 Use char because int might match the return type of a GCC
17859 builtin and then its argument prototype would still apply. */
17867 return copysignl ();
17872 if ac_fn_c_try_link
"$LINENO"; then :
17873 ac_cv_lib_m_copysignl
=yes
17875 ac_cv_lib_m_copysignl
=no
17877 rm -f core conftest.err conftest.
$ac_objext \
17878 conftest
$ac_exeext conftest.
$ac_ext
17879 LIBS
=$ac_check_lib_save_LIBS
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17882 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17883 if test "x$ac_cv_lib_m_copysignl" = x
""yes; then :
17885 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17890 $as_echo_n "checking for cosf in -lm... " >&6; }
17891 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17892 $as_echo_n "(cached) " >&6
17894 ac_check_lib_save_LIBS
=$LIBS
17896 if test x
$gcc_no_link = xyes
; then
17897 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17902 /* Override any GCC internal prototype to avoid an error.
17903 Use char because int might match the return type of a GCC
17904 builtin and then its argument prototype would still apply. */
17917 if ac_fn_c_try_link
"$LINENO"; then :
17918 ac_cv_lib_m_cosf
=yes
17920 ac_cv_lib_m_cosf
=no
17922 rm -f core conftest.err conftest.
$ac_objext \
17923 conftest
$ac_exeext conftest.
$ac_ext
17924 LIBS
=$ac_check_lib_save_LIBS
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17927 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17928 if test "x$ac_cv_lib_m_cosf" = x
""yes; then :
17930 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17935 $as_echo_n "checking for cos in -lm... " >&6; }
17936 if test "${ac_cv_lib_m_cos+set}" = set; then :
17937 $as_echo_n "(cached) " >&6
17939 ac_check_lib_save_LIBS
=$LIBS
17941 if test x
$gcc_no_link = xyes
; then
17942 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17947 /* Override any GCC internal prototype to avoid an error.
17948 Use char because int might match the return type of a GCC
17949 builtin and then its argument prototype would still apply. */
17962 if ac_fn_c_try_link
"$LINENO"; then :
17963 ac_cv_lib_m_cos
=yes
17967 rm -f core conftest.err conftest.
$ac_objext \
17968 conftest
$ac_exeext conftest.
$ac_ext
17969 LIBS
=$ac_check_lib_save_LIBS
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17972 $as_echo "$ac_cv_lib_m_cos" >&6; }
17973 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
17975 $as_echo "#define HAVE_COS 1" >>confdefs.h
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17980 $as_echo_n "checking for cosl in -lm... " >&6; }
17981 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17982 $as_echo_n "(cached) " >&6
17984 ac_check_lib_save_LIBS
=$LIBS
17986 if test x
$gcc_no_link = xyes
; then
17987 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 /* Override any GCC internal prototype to avoid an error.
17993 Use char because int might match the return type of a GCC
17994 builtin and then its argument prototype would still apply. */
18007 if ac_fn_c_try_link
"$LINENO"; then :
18008 ac_cv_lib_m_cosl
=yes
18010 ac_cv_lib_m_cosl
=no
18012 rm -f core conftest.err conftest.
$ac_objext \
18013 conftest
$ac_exeext conftest.
$ac_ext
18014 LIBS
=$ac_check_lib_save_LIBS
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
18017 $as_echo "$ac_cv_lib_m_cosl" >&6; }
18018 if test "x$ac_cv_lib_m_cosl" = x
""yes; then :
18020 $as_echo "#define HAVE_COSL 1" >>confdefs.h
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
18025 $as_echo_n "checking for ccosf in -lm... " >&6; }
18026 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
18027 $as_echo_n "(cached) " >&6
18029 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
18038 Use char because int might match the return type of a GCC
18039 builtin and then its argument prototype would still apply. */
18052 if ac_fn_c_try_link
"$LINENO"; then :
18053 ac_cv_lib_m_ccosf
=yes
18055 ac_cv_lib_m_ccosf
=no
18057 rm -f core conftest.err conftest.
$ac_objext \
18058 conftest
$ac_exeext conftest.
$ac_ext
18059 LIBS
=$ac_check_lib_save_LIBS
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
18062 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
18063 if test "x$ac_cv_lib_m_ccosf" = x
""yes; then :
18065 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
18070 $as_echo_n "checking for ccos in -lm... " >&6; }
18071 if test "${ac_cv_lib_m_ccos+set}" = set; then :
18072 $as_echo_n "(cached) " >&6
18074 ac_check_lib_save_LIBS
=$LIBS
18076 if test x
$gcc_no_link = xyes
; then
18077 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18082 /* Override any GCC internal prototype to avoid an error.
18083 Use char because int might match the return type of a GCC
18084 builtin and then its argument prototype would still apply. */
18097 if ac_fn_c_try_link
"$LINENO"; then :
18098 ac_cv_lib_m_ccos
=yes
18100 ac_cv_lib_m_ccos
=no
18102 rm -f core conftest.err conftest.
$ac_objext \
18103 conftest
$ac_exeext conftest.
$ac_ext
18104 LIBS
=$ac_check_lib_save_LIBS
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
18107 $as_echo "$ac_cv_lib_m_ccos" >&6; }
18108 if test "x$ac_cv_lib_m_ccos" = x
""yes; then :
18110 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
18115 $as_echo_n "checking for ccosl in -lm... " >&6; }
18116 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
18117 $as_echo_n "(cached) " >&6
18119 ac_check_lib_save_LIBS
=$LIBS
18121 if test x
$gcc_no_link = xyes
; then
18122 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18125 /* end confdefs.h. */
18127 /* Override any GCC internal prototype to avoid an error.
18128 Use char because int might match the return type of a GCC
18129 builtin and then its argument prototype would still apply. */
18142 if ac_fn_c_try_link
"$LINENO"; then :
18143 ac_cv_lib_m_ccosl
=yes
18145 ac_cv_lib_m_ccosl
=no
18147 rm -f core conftest.err conftest.
$ac_objext \
18148 conftest
$ac_exeext conftest.
$ac_ext
18149 LIBS
=$ac_check_lib_save_LIBS
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
18152 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
18153 if test "x$ac_cv_lib_m_ccosl" = x
""yes; then :
18155 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
18160 $as_echo_n "checking for coshf in -lm... " >&6; }
18161 if test "${ac_cv_lib_m_coshf+set}" = set; then :
18162 $as_echo_n "(cached) " >&6
18164 ac_check_lib_save_LIBS
=$LIBS
18166 if test x
$gcc_no_link = xyes
; then
18167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h. */
18172 /* Override any GCC internal prototype to avoid an error.
18173 Use char because int might match the return type of a GCC
18174 builtin and then its argument prototype would still apply. */
18187 if ac_fn_c_try_link
"$LINENO"; then :
18188 ac_cv_lib_m_coshf
=yes
18190 ac_cv_lib_m_coshf
=no
18192 rm -f core conftest.err conftest.
$ac_objext \
18193 conftest
$ac_exeext conftest.
$ac_ext
18194 LIBS
=$ac_check_lib_save_LIBS
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
18197 $as_echo "$ac_cv_lib_m_coshf" >&6; }
18198 if test "x$ac_cv_lib_m_coshf" = x
""yes; then :
18200 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
18205 $as_echo_n "checking for cosh in -lm... " >&6; }
18206 if test "${ac_cv_lib_m_cosh+set}" = set; then :
18207 $as_echo_n "(cached) " >&6
18209 ac_check_lib_save_LIBS
=$LIBS
18211 if test x
$gcc_no_link = xyes
; then
18212 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18215 /* end confdefs.h. */
18217 /* Override any GCC internal prototype to avoid an error.
18218 Use char because int might match the return type of a GCC
18219 builtin and then its argument prototype would still apply. */
18232 if ac_fn_c_try_link
"$LINENO"; then :
18233 ac_cv_lib_m_cosh
=yes
18235 ac_cv_lib_m_cosh
=no
18237 rm -f core conftest.err conftest.
$ac_objext \
18238 conftest
$ac_exeext conftest.
$ac_ext
18239 LIBS
=$ac_check_lib_save_LIBS
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
18242 $as_echo "$ac_cv_lib_m_cosh" >&6; }
18243 if test "x$ac_cv_lib_m_cosh" = x
""yes; then :
18245 $as_echo "#define HAVE_COSH 1" >>confdefs.h
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
18250 $as_echo_n "checking for coshl in -lm... " >&6; }
18251 if test "${ac_cv_lib_m_coshl+set}" = set; then :
18252 $as_echo_n "(cached) " >&6
18254 ac_check_lib_save_LIBS
=$LIBS
18256 if test x
$gcc_no_link = xyes
; then
18257 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18262 /* Override any GCC internal prototype to avoid an error.
18263 Use char because int might match the return type of a GCC
18264 builtin and then its argument prototype would still apply. */
18277 if ac_fn_c_try_link
"$LINENO"; then :
18278 ac_cv_lib_m_coshl
=yes
18280 ac_cv_lib_m_coshl
=no
18282 rm -f core conftest.err conftest.
$ac_objext \
18283 conftest
$ac_exeext conftest.
$ac_ext
18284 LIBS
=$ac_check_lib_save_LIBS
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
18287 $as_echo "$ac_cv_lib_m_coshl" >&6; }
18288 if test "x$ac_cv_lib_m_coshl" = x
""yes; then :
18290 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
18295 $as_echo_n "checking for ccoshf in -lm... " >&6; }
18296 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
18297 $as_echo_n "(cached) " >&6
18299 ac_check_lib_save_LIBS
=$LIBS
18301 if test x
$gcc_no_link = xyes
; then
18302 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18305 /* end confdefs.h. */
18307 /* Override any GCC internal prototype to avoid an error.
18308 Use char because int might match the return type of a GCC
18309 builtin and then its argument prototype would still apply. */
18322 if ac_fn_c_try_link
"$LINENO"; then :
18323 ac_cv_lib_m_ccoshf
=yes
18325 ac_cv_lib_m_ccoshf
=no
18327 rm -f core conftest.err conftest.
$ac_objext \
18328 conftest
$ac_exeext conftest.
$ac_ext
18329 LIBS
=$ac_check_lib_save_LIBS
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
18332 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
18333 if test "x$ac_cv_lib_m_ccoshf" = x
""yes; then :
18335 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
18340 $as_echo_n "checking for ccosh in -lm... " >&6; }
18341 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
18342 $as_echo_n "(cached) " >&6
18344 ac_check_lib_save_LIBS
=$LIBS
18346 if test x
$gcc_no_link = xyes
; then
18347 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18350 /* end confdefs.h. */
18352 /* Override any GCC internal prototype to avoid an error.
18353 Use char because int might match the return type of a GCC
18354 builtin and then its argument prototype would still apply. */
18367 if ac_fn_c_try_link
"$LINENO"; then :
18368 ac_cv_lib_m_ccosh
=yes
18370 ac_cv_lib_m_ccosh
=no
18372 rm -f core conftest.err conftest.
$ac_objext \
18373 conftest
$ac_exeext conftest.
$ac_ext
18374 LIBS
=$ac_check_lib_save_LIBS
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
18377 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
18378 if test "x$ac_cv_lib_m_ccosh" = x
""yes; then :
18380 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
18385 $as_echo_n "checking for ccoshl in -lm... " >&6; }
18386 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
18387 $as_echo_n "(cached) " >&6
18389 ac_check_lib_save_LIBS
=$LIBS
18391 if test x
$gcc_no_link = xyes
; then
18392 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18397 /* Override any GCC internal prototype to avoid an error.
18398 Use char because int might match the return type of a GCC
18399 builtin and then its argument prototype would still apply. */
18412 if ac_fn_c_try_link
"$LINENO"; then :
18413 ac_cv_lib_m_ccoshl
=yes
18415 ac_cv_lib_m_ccoshl
=no
18417 rm -f core conftest.err conftest.
$ac_objext \
18418 conftest
$ac_exeext conftest.
$ac_ext
18419 LIBS
=$ac_check_lib_save_LIBS
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
18422 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
18423 if test "x$ac_cv_lib_m_ccoshl" = x
""yes; then :
18425 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
18430 $as_echo_n "checking for expf in -lm... " >&6; }
18431 if test "${ac_cv_lib_m_expf+set}" = set; then :
18432 $as_echo_n "(cached) " >&6
18434 ac_check_lib_save_LIBS
=$LIBS
18436 if test x
$gcc_no_link = xyes
; then
18437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18442 /* Override any GCC internal prototype to avoid an error.
18443 Use char because int might match the return type of a GCC
18444 builtin and then its argument prototype would still apply. */
18457 if ac_fn_c_try_link
"$LINENO"; then :
18458 ac_cv_lib_m_expf
=yes
18460 ac_cv_lib_m_expf
=no
18462 rm -f core conftest.err conftest.
$ac_objext \
18463 conftest
$ac_exeext conftest.
$ac_ext
18464 LIBS
=$ac_check_lib_save_LIBS
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
18467 $as_echo "$ac_cv_lib_m_expf" >&6; }
18468 if test "x$ac_cv_lib_m_expf" = x
""yes; then :
18470 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
18475 $as_echo_n "checking for exp in -lm... " >&6; }
18476 if test "${ac_cv_lib_m_exp+set}" = set; then :
18477 $as_echo_n "(cached) " >&6
18479 ac_check_lib_save_LIBS
=$LIBS
18481 if test x
$gcc_no_link = xyes
; then
18482 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18487 /* Override any GCC internal prototype to avoid an error.
18488 Use char because int might match the return type of a GCC
18489 builtin and then its argument prototype would still apply. */
18502 if ac_fn_c_try_link
"$LINENO"; then :
18503 ac_cv_lib_m_exp
=yes
18507 rm -f core conftest.err conftest.
$ac_objext \
18508 conftest
$ac_exeext conftest.
$ac_ext
18509 LIBS
=$ac_check_lib_save_LIBS
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
18512 $as_echo "$ac_cv_lib_m_exp" >&6; }
18513 if test "x$ac_cv_lib_m_exp" = x
""yes; then :
18515 $as_echo "#define HAVE_EXP 1" >>confdefs.h
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
18520 $as_echo_n "checking for expl in -lm... " >&6; }
18521 if test "${ac_cv_lib_m_expl+set}" = set; then :
18522 $as_echo_n "(cached) " >&6
18524 ac_check_lib_save_LIBS
=$LIBS
18526 if test x
$gcc_no_link = xyes
; then
18527 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18532 /* Override any GCC internal prototype to avoid an error.
18533 Use char because int might match the return type of a GCC
18534 builtin and then its argument prototype would still apply. */
18547 if ac_fn_c_try_link
"$LINENO"; then :
18548 ac_cv_lib_m_expl
=yes
18550 ac_cv_lib_m_expl
=no
18552 rm -f core conftest.err conftest.
$ac_objext \
18553 conftest
$ac_exeext conftest.
$ac_ext
18554 LIBS
=$ac_check_lib_save_LIBS
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
18557 $as_echo "$ac_cv_lib_m_expl" >&6; }
18558 if test "x$ac_cv_lib_m_expl" = x
""yes; then :
18560 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
18565 $as_echo_n "checking for cexpf in -lm... " >&6; }
18566 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
18567 $as_echo_n "(cached) " >&6
18569 ac_check_lib_save_LIBS
=$LIBS
18571 if test x
$gcc_no_link = xyes
; then
18572 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18575 /* end confdefs.h. */
18577 /* Override any GCC internal prototype to avoid an error.
18578 Use char because int might match the return type of a GCC
18579 builtin and then its argument prototype would still apply. */
18592 if ac_fn_c_try_link
"$LINENO"; then :
18593 ac_cv_lib_m_cexpf
=yes
18595 ac_cv_lib_m_cexpf
=no
18597 rm -f core conftest.err conftest.
$ac_objext \
18598 conftest
$ac_exeext conftest.
$ac_ext
18599 LIBS
=$ac_check_lib_save_LIBS
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
18602 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
18603 if test "x$ac_cv_lib_m_cexpf" = x
""yes; then :
18605 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
18610 $as_echo_n "checking for cexp in -lm... " >&6; }
18611 if test "${ac_cv_lib_m_cexp+set}" = set; then :
18612 $as_echo_n "(cached) " >&6
18614 ac_check_lib_save_LIBS
=$LIBS
18616 if test x
$gcc_no_link = xyes
; then
18617 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18622 /* Override any GCC internal prototype to avoid an error.
18623 Use char because int might match the return type of a GCC
18624 builtin and then its argument prototype would still apply. */
18637 if ac_fn_c_try_link
"$LINENO"; then :
18638 ac_cv_lib_m_cexp
=yes
18640 ac_cv_lib_m_cexp
=no
18642 rm -f core conftest.err conftest.
$ac_objext \
18643 conftest
$ac_exeext conftest.
$ac_ext
18644 LIBS
=$ac_check_lib_save_LIBS
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18647 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18648 if test "x$ac_cv_lib_m_cexp" = x
""yes; then :
18650 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18655 $as_echo_n "checking for cexpl in -lm... " >&6; }
18656 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18657 $as_echo_n "(cached) " >&6
18659 ac_check_lib_save_LIBS
=$LIBS
18661 if test x
$gcc_no_link = xyes
; then
18662 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18667 /* Override any GCC internal prototype to avoid an error.
18668 Use char because int might match the return type of a GCC
18669 builtin and then its argument prototype would still apply. */
18682 if ac_fn_c_try_link
"$LINENO"; then :
18683 ac_cv_lib_m_cexpl
=yes
18685 ac_cv_lib_m_cexpl
=no
18687 rm -f core conftest.err conftest.
$ac_objext \
18688 conftest
$ac_exeext conftest.
$ac_ext
18689 LIBS
=$ac_check_lib_save_LIBS
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18692 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18693 if test "x$ac_cv_lib_m_cexpl" = x
""yes; then :
18695 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18700 $as_echo_n "checking for fabsf in -lm... " >&6; }
18701 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18702 $as_echo_n "(cached) " >&6
18704 ac_check_lib_save_LIBS
=$LIBS
18706 if test x
$gcc_no_link = xyes
; then
18707 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18712 /* Override any GCC internal prototype to avoid an error.
18713 Use char because int might match the return type of a GCC
18714 builtin and then its argument prototype would still apply. */
18727 if ac_fn_c_try_link
"$LINENO"; then :
18728 ac_cv_lib_m_fabsf
=yes
18730 ac_cv_lib_m_fabsf
=no
18732 rm -f core conftest.err conftest.
$ac_objext \
18733 conftest
$ac_exeext conftest.
$ac_ext
18734 LIBS
=$ac_check_lib_save_LIBS
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18737 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18738 if test "x$ac_cv_lib_m_fabsf" = x
""yes; then :
18740 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18745 $as_echo_n "checking for fabs in -lm... " >&6; }
18746 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18747 $as_echo_n "(cached) " >&6
18749 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
18758 Use char because int might match the return type of a GCC
18759 builtin and then its argument prototype would still apply. */
18772 if ac_fn_c_try_link
"$LINENO"; then :
18773 ac_cv_lib_m_fabs
=yes
18775 ac_cv_lib_m_fabs
=no
18777 rm -f core conftest.err conftest.
$ac_objext \
18778 conftest
$ac_exeext conftest.
$ac_ext
18779 LIBS
=$ac_check_lib_save_LIBS
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18782 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18783 if test "x$ac_cv_lib_m_fabs" = x
""yes; then :
18785 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18790 $as_echo_n "checking for fabsl in -lm... " >&6; }
18791 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18792 $as_echo_n "(cached) " >&6
18794 ac_check_lib_save_LIBS
=$LIBS
18796 if test x
$gcc_no_link = xyes
; then
18797 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18802 /* Override any GCC internal prototype to avoid an error.
18803 Use char because int might match the return type of a GCC
18804 builtin and then its argument prototype would still apply. */
18817 if ac_fn_c_try_link
"$LINENO"; then :
18818 ac_cv_lib_m_fabsl
=yes
18820 ac_cv_lib_m_fabsl
=no
18822 rm -f core conftest.err conftest.
$ac_objext \
18823 conftest
$ac_exeext conftest.
$ac_ext
18824 LIBS
=$ac_check_lib_save_LIBS
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18827 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18828 if test "x$ac_cv_lib_m_fabsl" = x
""yes; then :
18830 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18835 $as_echo_n "checking for cabsf in -lm... " >&6; }
18836 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18837 $as_echo_n "(cached) " >&6
18839 ac_check_lib_save_LIBS
=$LIBS
18841 if test x
$gcc_no_link = xyes
; then
18842 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h. */
18847 /* Override any GCC internal prototype to avoid an error.
18848 Use char because int might match the return type of a GCC
18849 builtin and then its argument prototype would still apply. */
18862 if ac_fn_c_try_link
"$LINENO"; then :
18863 ac_cv_lib_m_cabsf
=yes
18865 ac_cv_lib_m_cabsf
=no
18867 rm -f core conftest.err conftest.
$ac_objext \
18868 conftest
$ac_exeext conftest.
$ac_ext
18869 LIBS
=$ac_check_lib_save_LIBS
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18872 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18873 if test "x$ac_cv_lib_m_cabsf" = x
""yes; then :
18875 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18880 $as_echo_n "checking for cabs in -lm... " >&6; }
18881 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18882 $as_echo_n "(cached) " >&6
18884 ac_check_lib_save_LIBS
=$LIBS
18886 if test x
$gcc_no_link = xyes
; then
18887 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18892 /* Override any GCC internal prototype to avoid an error.
18893 Use char because int might match the return type of a GCC
18894 builtin and then its argument prototype would still apply. */
18907 if ac_fn_c_try_link
"$LINENO"; then :
18908 ac_cv_lib_m_cabs
=yes
18910 ac_cv_lib_m_cabs
=no
18912 rm -f core conftest.err conftest.
$ac_objext \
18913 conftest
$ac_exeext conftest.
$ac_ext
18914 LIBS
=$ac_check_lib_save_LIBS
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18917 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18918 if test "x$ac_cv_lib_m_cabs" = x
""yes; then :
18920 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18925 $as_echo_n "checking for cabsl in -lm... " >&6; }
18926 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18927 $as_echo_n "(cached) " >&6
18929 ac_check_lib_save_LIBS
=$LIBS
18931 if test x
$gcc_no_link = xyes
; then
18932 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18935 /* end confdefs.h. */
18937 /* Override any GCC internal prototype to avoid an error.
18938 Use char because int might match the return type of a GCC
18939 builtin and then its argument prototype would still apply. */
18952 if ac_fn_c_try_link
"$LINENO"; then :
18953 ac_cv_lib_m_cabsl
=yes
18955 ac_cv_lib_m_cabsl
=no
18957 rm -f core conftest.err conftest.
$ac_objext \
18958 conftest
$ac_exeext conftest.
$ac_ext
18959 LIBS
=$ac_check_lib_save_LIBS
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18962 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18963 if test "x$ac_cv_lib_m_cabsl" = x
""yes; then :
18965 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18970 $as_echo_n "checking for floorf in -lm... " >&6; }
18971 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18972 $as_echo_n "(cached) " >&6
18974 ac_check_lib_save_LIBS
=$LIBS
18976 if test x
$gcc_no_link = xyes
; then
18977 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18980 /* end confdefs.h. */
18982 /* Override any GCC internal prototype to avoid an error.
18983 Use char because int might match the return type of a GCC
18984 builtin and then its argument prototype would still apply. */
18997 if ac_fn_c_try_link
"$LINENO"; then :
18998 ac_cv_lib_m_floorf
=yes
19000 ac_cv_lib_m_floorf
=no
19002 rm -f core conftest.err conftest.
$ac_objext \
19003 conftest
$ac_exeext conftest.
$ac_ext
19004 LIBS
=$ac_check_lib_save_LIBS
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
19007 $as_echo "$ac_cv_lib_m_floorf" >&6; }
19008 if test "x$ac_cv_lib_m_floorf" = x
""yes; then :
19010 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
19015 $as_echo_n "checking for floor in -lm... " >&6; }
19016 if test "${ac_cv_lib_m_floor+set}" = set; then :
19017 $as_echo_n "(cached) " >&6
19019 ac_check_lib_save_LIBS
=$LIBS
19021 if test x
$gcc_no_link = xyes
; then
19022 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19027 /* Override any GCC internal prototype to avoid an error.
19028 Use char because int might match the return type of a GCC
19029 builtin and then its argument prototype would still apply. */
19042 if ac_fn_c_try_link
"$LINENO"; then :
19043 ac_cv_lib_m_floor
=yes
19045 ac_cv_lib_m_floor
=no
19047 rm -f core conftest.err conftest.
$ac_objext \
19048 conftest
$ac_exeext conftest.
$ac_ext
19049 LIBS
=$ac_check_lib_save_LIBS
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
19052 $as_echo "$ac_cv_lib_m_floor" >&6; }
19053 if test "x$ac_cv_lib_m_floor" = x
""yes; then :
19055 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
19060 $as_echo_n "checking for floorl in -lm... " >&6; }
19061 if test "${ac_cv_lib_m_floorl+set}" = set; then :
19062 $as_echo_n "(cached) " >&6
19064 ac_check_lib_save_LIBS
=$LIBS
19066 if test x
$gcc_no_link = xyes
; then
19067 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19072 /* Override any GCC internal prototype to avoid an error.
19073 Use char because int might match the return type of a GCC
19074 builtin and then its argument prototype would still apply. */
19087 if ac_fn_c_try_link
"$LINENO"; then :
19088 ac_cv_lib_m_floorl
=yes
19090 ac_cv_lib_m_floorl
=no
19092 rm -f core conftest.err conftest.
$ac_objext \
19093 conftest
$ac_exeext conftest.
$ac_ext
19094 LIBS
=$ac_check_lib_save_LIBS
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
19097 $as_echo "$ac_cv_lib_m_floorl" >&6; }
19098 if test "x$ac_cv_lib_m_floorl" = x
""yes; then :
19100 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
19105 $as_echo_n "checking for fmodf in -lm... " >&6; }
19106 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
19107 $as_echo_n "(cached) " >&6
19109 ac_check_lib_save_LIBS
=$LIBS
19111 if test x
$gcc_no_link = xyes
; then
19112 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19117 /* Override any GCC internal prototype to avoid an error.
19118 Use char because int might match the return type of a GCC
19119 builtin and then its argument prototype would still apply. */
19132 if ac_fn_c_try_link
"$LINENO"; then :
19133 ac_cv_lib_m_fmodf
=yes
19135 ac_cv_lib_m_fmodf
=no
19137 rm -f core conftest.err conftest.
$ac_objext \
19138 conftest
$ac_exeext conftest.
$ac_ext
19139 LIBS
=$ac_check_lib_save_LIBS
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
19142 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
19143 if test "x$ac_cv_lib_m_fmodf" = x
""yes; then :
19145 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
19150 $as_echo_n "checking for fmod in -lm... " >&6; }
19151 if test "${ac_cv_lib_m_fmod+set}" = set; then :
19152 $as_echo_n "(cached) " >&6
19154 ac_check_lib_save_LIBS
=$LIBS
19156 if test x
$gcc_no_link = xyes
; then
19157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19160 /* end confdefs.h. */
19162 /* Override any GCC internal prototype to avoid an error.
19163 Use char because int might match the return type of a GCC
19164 builtin and then its argument prototype would still apply. */
19177 if ac_fn_c_try_link
"$LINENO"; then :
19178 ac_cv_lib_m_fmod
=yes
19180 ac_cv_lib_m_fmod
=no
19182 rm -f core conftest.err conftest.
$ac_objext \
19183 conftest
$ac_exeext conftest.
$ac_ext
19184 LIBS
=$ac_check_lib_save_LIBS
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
19187 $as_echo "$ac_cv_lib_m_fmod" >&6; }
19188 if test "x$ac_cv_lib_m_fmod" = x
""yes; then :
19190 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
19195 $as_echo_n "checking for fmodl in -lm... " >&6; }
19196 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
19197 $as_echo_n "(cached) " >&6
19199 ac_check_lib_save_LIBS
=$LIBS
19201 if test x
$gcc_no_link = xyes
; then
19202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19205 /* end confdefs.h. */
19207 /* Override any GCC internal prototype to avoid an error.
19208 Use char because int might match the return type of a GCC
19209 builtin and then its argument prototype would still apply. */
19222 if ac_fn_c_try_link
"$LINENO"; then :
19223 ac_cv_lib_m_fmodl
=yes
19225 ac_cv_lib_m_fmodl
=no
19227 rm -f core conftest.err conftest.
$ac_objext \
19228 conftest
$ac_exeext conftest.
$ac_ext
19229 LIBS
=$ac_check_lib_save_LIBS
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
19232 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
19233 if test "x$ac_cv_lib_m_fmodl" = x
""yes; then :
19235 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
19240 $as_echo_n "checking for frexpf in -lm... " >&6; }
19241 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
19242 $as_echo_n "(cached) " >&6
19244 ac_check_lib_save_LIBS
=$LIBS
19246 if test x
$gcc_no_link = xyes
; then
19247 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19250 /* end confdefs.h. */
19252 /* Override any GCC internal prototype to avoid an error.
19253 Use char because int might match the return type of a GCC
19254 builtin and then its argument prototype would still apply. */
19267 if ac_fn_c_try_link
"$LINENO"; then :
19268 ac_cv_lib_m_frexpf
=yes
19270 ac_cv_lib_m_frexpf
=no
19272 rm -f core conftest.err conftest.
$ac_objext \
19273 conftest
$ac_exeext conftest.
$ac_ext
19274 LIBS
=$ac_check_lib_save_LIBS
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
19277 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
19278 if test "x$ac_cv_lib_m_frexpf" = x
""yes; then :
19280 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
19285 $as_echo_n "checking for frexp in -lm... " >&6; }
19286 if test "${ac_cv_lib_m_frexp+set}" = set; then :
19287 $as_echo_n "(cached) " >&6
19289 ac_check_lib_save_LIBS
=$LIBS
19291 if test x
$gcc_no_link = xyes
; then
19292 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19295 /* end confdefs.h. */
19297 /* Override any GCC internal prototype to avoid an error.
19298 Use char because int might match the return type of a GCC
19299 builtin and then its argument prototype would still apply. */
19312 if ac_fn_c_try_link
"$LINENO"; then :
19313 ac_cv_lib_m_frexp
=yes
19315 ac_cv_lib_m_frexp
=no
19317 rm -f core conftest.err conftest.
$ac_objext \
19318 conftest
$ac_exeext conftest.
$ac_ext
19319 LIBS
=$ac_check_lib_save_LIBS
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
19322 $as_echo "$ac_cv_lib_m_frexp" >&6; }
19323 if test "x$ac_cv_lib_m_frexp" = x
""yes; then :
19325 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
19330 $as_echo_n "checking for frexpl in -lm... " >&6; }
19331 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
19332 $as_echo_n "(cached) " >&6
19334 ac_check_lib_save_LIBS
=$LIBS
19336 if test x
$gcc_no_link = xyes
; then
19337 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19342 /* Override any GCC internal prototype to avoid an error.
19343 Use char because int might match the return type of a GCC
19344 builtin and then its argument prototype would still apply. */
19357 if ac_fn_c_try_link
"$LINENO"; then :
19358 ac_cv_lib_m_frexpl
=yes
19360 ac_cv_lib_m_frexpl
=no
19362 rm -f core conftest.err conftest.
$ac_objext \
19363 conftest
$ac_exeext conftest.
$ac_ext
19364 LIBS
=$ac_check_lib_save_LIBS
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
19367 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
19368 if test "x$ac_cv_lib_m_frexpl" = x
""yes; then :
19370 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
19375 $as_echo_n "checking for hypotf in -lm... " >&6; }
19376 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
19377 $as_echo_n "(cached) " >&6
19379 ac_check_lib_save_LIBS
=$LIBS
19381 if test x
$gcc_no_link = xyes
; then
19382 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19387 /* Override any GCC internal prototype to avoid an error.
19388 Use char because int might match the return type of a GCC
19389 builtin and then its argument prototype would still apply. */
19402 if ac_fn_c_try_link
"$LINENO"; then :
19403 ac_cv_lib_m_hypotf
=yes
19405 ac_cv_lib_m_hypotf
=no
19407 rm -f core conftest.err conftest.
$ac_objext \
19408 conftest
$ac_exeext conftest.
$ac_ext
19409 LIBS
=$ac_check_lib_save_LIBS
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
19412 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
19413 if test "x$ac_cv_lib_m_hypotf" = x
""yes; then :
19415 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
19420 $as_echo_n "checking for hypot in -lm... " >&6; }
19421 if test "${ac_cv_lib_m_hypot+set}" = set; then :
19422 $as_echo_n "(cached) " >&6
19424 ac_check_lib_save_LIBS
=$LIBS
19426 if test x
$gcc_no_link = xyes
; then
19427 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19432 /* Override any GCC internal prototype to avoid an error.
19433 Use char because int might match the return type of a GCC
19434 builtin and then its argument prototype would still apply. */
19447 if ac_fn_c_try_link
"$LINENO"; then :
19448 ac_cv_lib_m_hypot
=yes
19450 ac_cv_lib_m_hypot
=no
19452 rm -f core conftest.err conftest.
$ac_objext \
19453 conftest
$ac_exeext conftest.
$ac_ext
19454 LIBS
=$ac_check_lib_save_LIBS
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
19457 $as_echo "$ac_cv_lib_m_hypot" >&6; }
19458 if test "x$ac_cv_lib_m_hypot" = x
""yes; then :
19460 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
19465 $as_echo_n "checking for hypotl in -lm... " >&6; }
19466 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
19467 $as_echo_n "(cached) " >&6
19469 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
19478 Use char because int might match the return type of a GCC
19479 builtin and then its argument prototype would still apply. */
19492 if ac_fn_c_try_link
"$LINENO"; then :
19493 ac_cv_lib_m_hypotl
=yes
19495 ac_cv_lib_m_hypotl
=no
19497 rm -f core conftest.err conftest.
$ac_objext \
19498 conftest
$ac_exeext conftest.
$ac_ext
19499 LIBS
=$ac_check_lib_save_LIBS
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
19502 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
19503 if test "x$ac_cv_lib_m_hypotl" = x
""yes; then :
19505 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
19510 $as_echo_n "checking for ldexpf in -lm... " >&6; }
19511 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
19512 $as_echo_n "(cached) " >&6
19514 ac_check_lib_save_LIBS
=$LIBS
19516 if test x
$gcc_no_link = xyes
; then
19517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19522 /* Override any GCC internal prototype to avoid an error.
19523 Use char because int might match the return type of a GCC
19524 builtin and then its argument prototype would still apply. */
19537 if ac_fn_c_try_link
"$LINENO"; then :
19538 ac_cv_lib_m_ldexpf
=yes
19540 ac_cv_lib_m_ldexpf
=no
19542 rm -f core conftest.err conftest.
$ac_objext \
19543 conftest
$ac_exeext conftest.
$ac_ext
19544 LIBS
=$ac_check_lib_save_LIBS
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
19547 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
19548 if test "x$ac_cv_lib_m_ldexpf" = x
""yes; then :
19550 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
19555 $as_echo_n "checking for ldexp in -lm... " >&6; }
19556 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
19557 $as_echo_n "(cached) " >&6
19559 ac_check_lib_save_LIBS
=$LIBS
19561 if test x
$gcc_no_link = xyes
; then
19562 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19567 /* Override any GCC internal prototype to avoid an error.
19568 Use char because int might match the return type of a GCC
19569 builtin and then its argument prototype would still apply. */
19582 if ac_fn_c_try_link
"$LINENO"; then :
19583 ac_cv_lib_m_ldexp
=yes
19585 ac_cv_lib_m_ldexp
=no
19587 rm -f core conftest.err conftest.
$ac_objext \
19588 conftest
$ac_exeext conftest.
$ac_ext
19589 LIBS
=$ac_check_lib_save_LIBS
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
19592 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
19593 if test "x$ac_cv_lib_m_ldexp" = x
""yes; then :
19595 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
19600 $as_echo_n "checking for ldexpl in -lm... " >&6; }
19601 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
19602 $as_echo_n "(cached) " >&6
19604 ac_check_lib_save_LIBS
=$LIBS
19606 if test x
$gcc_no_link = xyes
; then
19607 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19612 /* Override any GCC internal prototype to avoid an error.
19613 Use char because int might match the return type of a GCC
19614 builtin and then its argument prototype would still apply. */
19627 if ac_fn_c_try_link
"$LINENO"; then :
19628 ac_cv_lib_m_ldexpl
=yes
19630 ac_cv_lib_m_ldexpl
=no
19632 rm -f core conftest.err conftest.
$ac_objext \
19633 conftest
$ac_exeext conftest.
$ac_ext
19634 LIBS
=$ac_check_lib_save_LIBS
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19637 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19638 if test "x$ac_cv_lib_m_ldexpl" = x
""yes; then :
19640 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19645 $as_echo_n "checking for logf in -lm... " >&6; }
19646 if test "${ac_cv_lib_m_logf+set}" = set; then :
19647 $as_echo_n "(cached) " >&6
19649 ac_check_lib_save_LIBS
=$LIBS
19651 if test x
$gcc_no_link = xyes
; then
19652 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19655 /* end confdefs.h. */
19657 /* Override any GCC internal prototype to avoid an error.
19658 Use char because int might match the return type of a GCC
19659 builtin and then its argument prototype would still apply. */
19672 if ac_fn_c_try_link
"$LINENO"; then :
19673 ac_cv_lib_m_logf
=yes
19675 ac_cv_lib_m_logf
=no
19677 rm -f core conftest.err conftest.
$ac_objext \
19678 conftest
$ac_exeext conftest.
$ac_ext
19679 LIBS
=$ac_check_lib_save_LIBS
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19682 $as_echo "$ac_cv_lib_m_logf" >&6; }
19683 if test "x$ac_cv_lib_m_logf" = x
""yes; then :
19685 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19690 $as_echo_n "checking for log in -lm... " >&6; }
19691 if test "${ac_cv_lib_m_log+set}" = set; then :
19692 $as_echo_n "(cached) " >&6
19694 ac_check_lib_save_LIBS
=$LIBS
19696 if test x
$gcc_no_link = xyes
; then
19697 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19702 /* Override any GCC internal prototype to avoid an error.
19703 Use char because int might match the return type of a GCC
19704 builtin and then its argument prototype would still apply. */
19717 if ac_fn_c_try_link
"$LINENO"; then :
19718 ac_cv_lib_m_log
=yes
19722 rm -f core conftest.err conftest.
$ac_objext \
19723 conftest
$ac_exeext conftest.
$ac_ext
19724 LIBS
=$ac_check_lib_save_LIBS
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19727 $as_echo "$ac_cv_lib_m_log" >&6; }
19728 if test "x$ac_cv_lib_m_log" = x
""yes; then :
19730 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19735 $as_echo_n "checking for logl in -lm... " >&6; }
19736 if test "${ac_cv_lib_m_logl+set}" = set; then :
19737 $as_echo_n "(cached) " >&6
19739 ac_check_lib_save_LIBS
=$LIBS
19741 if test x
$gcc_no_link = xyes
; then
19742 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19747 /* Override any GCC internal prototype to avoid an error.
19748 Use char because int might match the return type of a GCC
19749 builtin and then its argument prototype would still apply. */
19762 if ac_fn_c_try_link
"$LINENO"; then :
19763 ac_cv_lib_m_logl
=yes
19765 ac_cv_lib_m_logl
=no
19767 rm -f core conftest.err conftest.
$ac_objext \
19768 conftest
$ac_exeext conftest.
$ac_ext
19769 LIBS
=$ac_check_lib_save_LIBS
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19772 $as_echo "$ac_cv_lib_m_logl" >&6; }
19773 if test "x$ac_cv_lib_m_logl" = x
""yes; then :
19775 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19780 $as_echo_n "checking for clogf in -lm... " >&6; }
19781 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19782 $as_echo_n "(cached) " >&6
19784 ac_check_lib_save_LIBS
=$LIBS
19786 if test x
$gcc_no_link = xyes
; then
19787 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19792 /* Override any GCC internal prototype to avoid an error.
19793 Use char because int might match the return type of a GCC
19794 builtin and then its argument prototype would still apply. */
19807 if ac_fn_c_try_link
"$LINENO"; then :
19808 ac_cv_lib_m_clogf
=yes
19810 ac_cv_lib_m_clogf
=no
19812 rm -f core conftest.err conftest.
$ac_objext \
19813 conftest
$ac_exeext conftest.
$ac_ext
19814 LIBS
=$ac_check_lib_save_LIBS
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19817 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19818 if test "x$ac_cv_lib_m_clogf" = x
""yes; then :
19820 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19825 $as_echo_n "checking for clog in -lm... " >&6; }
19826 if test "${ac_cv_lib_m_clog+set}" = set; then :
19827 $as_echo_n "(cached) " >&6
19829 ac_check_lib_save_LIBS
=$LIBS
19831 if test x
$gcc_no_link = xyes
; then
19832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19837 /* Override any GCC internal prototype to avoid an error.
19838 Use char because int might match the return type of a GCC
19839 builtin and then its argument prototype would still apply. */
19852 if ac_fn_c_try_link
"$LINENO"; then :
19853 ac_cv_lib_m_clog
=yes
19855 ac_cv_lib_m_clog
=no
19857 rm -f core conftest.err conftest.
$ac_objext \
19858 conftest
$ac_exeext conftest.
$ac_ext
19859 LIBS
=$ac_check_lib_save_LIBS
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19862 $as_echo "$ac_cv_lib_m_clog" >&6; }
19863 if test "x$ac_cv_lib_m_clog" = x
""yes; then :
19865 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19870 $as_echo_n "checking for clogl in -lm... " >&6; }
19871 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19872 $as_echo_n "(cached) " >&6
19874 ac_check_lib_save_LIBS
=$LIBS
19876 if test x
$gcc_no_link = xyes
; then
19877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19882 /* Override any GCC internal prototype to avoid an error.
19883 Use char because int might match the return type of a GCC
19884 builtin and then its argument prototype would still apply. */
19897 if ac_fn_c_try_link
"$LINENO"; then :
19898 ac_cv_lib_m_clogl
=yes
19900 ac_cv_lib_m_clogl
=no
19902 rm -f core conftest.err conftest.
$ac_objext \
19903 conftest
$ac_exeext conftest.
$ac_ext
19904 LIBS
=$ac_check_lib_save_LIBS
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19907 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19908 if test "x$ac_cv_lib_m_clogl" = x
""yes; then :
19910 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19915 $as_echo_n "checking for log10f in -lm... " >&6; }
19916 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19917 $as_echo_n "(cached) " >&6
19919 ac_check_lib_save_LIBS
=$LIBS
19921 if test x
$gcc_no_link = xyes
; then
19922 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19927 /* Override any GCC internal prototype to avoid an error.
19928 Use char because int might match the return type of a GCC
19929 builtin and then its argument prototype would still apply. */
19942 if ac_fn_c_try_link
"$LINENO"; then :
19943 ac_cv_lib_m_log10f
=yes
19945 ac_cv_lib_m_log10f
=no
19947 rm -f core conftest.err conftest.
$ac_objext \
19948 conftest
$ac_exeext conftest.
$ac_ext
19949 LIBS
=$ac_check_lib_save_LIBS
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19952 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19953 if test "x$ac_cv_lib_m_log10f" = x
""yes; then :
19955 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19960 $as_echo_n "checking for log10 in -lm... " >&6; }
19961 if test "${ac_cv_lib_m_log10+set}" = set; then :
19962 $as_echo_n "(cached) " >&6
19964 ac_check_lib_save_LIBS
=$LIBS
19966 if test x
$gcc_no_link = xyes
; then
19967 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19970 /* end confdefs.h. */
19972 /* Override any GCC internal prototype to avoid an error.
19973 Use char because int might match the return type of a GCC
19974 builtin and then its argument prototype would still apply. */
19987 if ac_fn_c_try_link
"$LINENO"; then :
19988 ac_cv_lib_m_log10
=yes
19990 ac_cv_lib_m_log10
=no
19992 rm -f core conftest.err conftest.
$ac_objext \
19993 conftest
$ac_exeext conftest.
$ac_ext
19994 LIBS
=$ac_check_lib_save_LIBS
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19997 $as_echo "$ac_cv_lib_m_log10" >&6; }
19998 if test "x$ac_cv_lib_m_log10" = x
""yes; then :
20000 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
20004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
20005 $as_echo_n "checking for log10l in -lm... " >&6; }
20006 if test "${ac_cv_lib_m_log10l+set}" = set; then :
20007 $as_echo_n "(cached) " >&6
20009 ac_check_lib_save_LIBS
=$LIBS
20011 if test x
$gcc_no_link = xyes
; then
20012 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20017 /* Override any GCC internal prototype to avoid an error.
20018 Use char because int might match the return type of a GCC
20019 builtin and then its argument prototype would still apply. */
20032 if ac_fn_c_try_link
"$LINENO"; then :
20033 ac_cv_lib_m_log10l
=yes
20035 ac_cv_lib_m_log10l
=no
20037 rm -f core conftest.err conftest.
$ac_objext \
20038 conftest
$ac_exeext conftest.
$ac_ext
20039 LIBS
=$ac_check_lib_save_LIBS
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
20042 $as_echo "$ac_cv_lib_m_log10l" >&6; }
20043 if test "x$ac_cv_lib_m_log10l" = x
""yes; then :
20045 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
20050 $as_echo_n "checking for clog10f in -lm... " >&6; }
20051 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
20052 $as_echo_n "(cached) " >&6
20054 ac_check_lib_save_LIBS
=$LIBS
20056 if test x
$gcc_no_link = xyes
; then
20057 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20062 /* Override any GCC internal prototype to avoid an error.
20063 Use char because int might match the return type of a GCC
20064 builtin and then its argument prototype would still apply. */
20077 if ac_fn_c_try_link
"$LINENO"; then :
20078 ac_cv_lib_m_clog10f
=yes
20080 ac_cv_lib_m_clog10f
=no
20082 rm -f core conftest.err conftest.
$ac_objext \
20083 conftest
$ac_exeext conftest.
$ac_ext
20084 LIBS
=$ac_check_lib_save_LIBS
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
20087 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
20088 if test "x$ac_cv_lib_m_clog10f" = x
""yes; then :
20090 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
20095 $as_echo_n "checking for clog10 in -lm... " >&6; }
20096 if test "${ac_cv_lib_m_clog10+set}" = set; then :
20097 $as_echo_n "(cached) " >&6
20099 ac_check_lib_save_LIBS
=$LIBS
20101 if test x
$gcc_no_link = xyes
; then
20102 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20105 /* end confdefs.h. */
20107 /* Override any GCC internal prototype to avoid an error.
20108 Use char because int might match the return type of a GCC
20109 builtin and then its argument prototype would still apply. */
20122 if ac_fn_c_try_link
"$LINENO"; then :
20123 ac_cv_lib_m_clog10
=yes
20125 ac_cv_lib_m_clog10
=no
20127 rm -f core conftest.err conftest.
$ac_objext \
20128 conftest
$ac_exeext conftest.
$ac_ext
20129 LIBS
=$ac_check_lib_save_LIBS
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
20132 $as_echo "$ac_cv_lib_m_clog10" >&6; }
20133 if test "x$ac_cv_lib_m_clog10" = x
""yes; then :
20135 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
20140 $as_echo_n "checking for clog10l in -lm... " >&6; }
20141 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
20142 $as_echo_n "(cached) " >&6
20144 ac_check_lib_save_LIBS
=$LIBS
20146 if test x
$gcc_no_link = xyes
; then
20147 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20152 /* Override any GCC internal prototype to avoid an error.
20153 Use char because int might match the return type of a GCC
20154 builtin and then its argument prototype would still apply. */
20167 if ac_fn_c_try_link
"$LINENO"; then :
20168 ac_cv_lib_m_clog10l
=yes
20170 ac_cv_lib_m_clog10l
=no
20172 rm -f core conftest.err conftest.
$ac_objext \
20173 conftest
$ac_exeext conftest.
$ac_ext
20174 LIBS
=$ac_check_lib_save_LIBS
20176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
20177 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
20178 if test "x$ac_cv_lib_m_clog10l" = x
""yes; then :
20180 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
20185 $as_echo_n "checking for nextafterf in -lm... " >&6; }
20186 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
20187 $as_echo_n "(cached) " >&6
20189 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
20198 Use char because int might match the return type of a GCC
20199 builtin and then its argument prototype would still apply. */
20203 char nextafterf ();
20207 return nextafterf ();
20212 if ac_fn_c_try_link
"$LINENO"; then :
20213 ac_cv_lib_m_nextafterf
=yes
20215 ac_cv_lib_m_nextafterf
=no
20217 rm -f core conftest.err conftest.
$ac_objext \
20218 conftest
$ac_exeext conftest.
$ac_ext
20219 LIBS
=$ac_check_lib_save_LIBS
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
20222 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
20223 if test "x$ac_cv_lib_m_nextafterf" = x
""yes; then :
20225 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
20230 $as_echo_n "checking for nextafter in -lm... " >&6; }
20231 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
20232 $as_echo_n "(cached) " >&6
20234 ac_check_lib_save_LIBS
=$LIBS
20236 if test x
$gcc_no_link = xyes
; then
20237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20240 /* end confdefs.h. */
20242 /* Override any GCC internal prototype to avoid an error.
20243 Use char because int might match the return type of a GCC
20244 builtin and then its argument prototype would still apply. */
20252 return nextafter ();
20257 if ac_fn_c_try_link
"$LINENO"; then :
20258 ac_cv_lib_m_nextafter
=yes
20260 ac_cv_lib_m_nextafter
=no
20262 rm -f core conftest.err conftest.
$ac_objext \
20263 conftest
$ac_exeext conftest.
$ac_ext
20264 LIBS
=$ac_check_lib_save_LIBS
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
20267 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
20268 if test "x$ac_cv_lib_m_nextafter" = x
""yes; then :
20270 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
20275 $as_echo_n "checking for nextafterl in -lm... " >&6; }
20276 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
20277 $as_echo_n "(cached) " >&6
20279 ac_check_lib_save_LIBS
=$LIBS
20281 if test x
$gcc_no_link = xyes
; then
20282 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20285 /* end confdefs.h. */
20287 /* Override any GCC internal prototype to avoid an error.
20288 Use char because int might match the return type of a GCC
20289 builtin and then its argument prototype would still apply. */
20293 char nextafterl ();
20297 return nextafterl ();
20302 if ac_fn_c_try_link
"$LINENO"; then :
20303 ac_cv_lib_m_nextafterl
=yes
20305 ac_cv_lib_m_nextafterl
=no
20307 rm -f core conftest.err conftest.
$ac_objext \
20308 conftest
$ac_exeext conftest.
$ac_ext
20309 LIBS
=$ac_check_lib_save_LIBS
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
20312 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
20313 if test "x$ac_cv_lib_m_nextafterl" = x
""yes; then :
20315 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
20320 $as_echo_n "checking for powf in -lm... " >&6; }
20321 if test "${ac_cv_lib_m_powf+set}" = set; then :
20322 $as_echo_n "(cached) " >&6
20324 ac_check_lib_save_LIBS
=$LIBS
20326 if test x
$gcc_no_link = xyes
; then
20327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20330 /* end confdefs.h. */
20332 /* Override any GCC internal prototype to avoid an error.
20333 Use char because int might match the return type of a GCC
20334 builtin and then its argument prototype would still apply. */
20347 if ac_fn_c_try_link
"$LINENO"; then :
20348 ac_cv_lib_m_powf
=yes
20350 ac_cv_lib_m_powf
=no
20352 rm -f core conftest.err conftest.
$ac_objext \
20353 conftest
$ac_exeext conftest.
$ac_ext
20354 LIBS
=$ac_check_lib_save_LIBS
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
20357 $as_echo "$ac_cv_lib_m_powf" >&6; }
20358 if test "x$ac_cv_lib_m_powf" = x
""yes; then :
20360 $as_echo "#define HAVE_POWF 1" >>confdefs.h
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
20365 $as_echo_n "checking for pow in -lm... " >&6; }
20366 if test "${ac_cv_lib_m_pow+set}" = set; then :
20367 $as_echo_n "(cached) " >&6
20369 ac_check_lib_save_LIBS
=$LIBS
20371 if test x
$gcc_no_link = xyes
; then
20372 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20375 /* end confdefs.h. */
20377 /* Override any GCC internal prototype to avoid an error.
20378 Use char because int might match the return type of a GCC
20379 builtin and then its argument prototype would still apply. */
20392 if ac_fn_c_try_link
"$LINENO"; then :
20393 ac_cv_lib_m_pow
=yes
20397 rm -f core conftest.err conftest.
$ac_objext \
20398 conftest
$ac_exeext conftest.
$ac_ext
20399 LIBS
=$ac_check_lib_save_LIBS
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
20402 $as_echo "$ac_cv_lib_m_pow" >&6; }
20403 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
20405 $as_echo "#define HAVE_POW 1" >>confdefs.h
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
20410 $as_echo_n "checking for powl in -lm... " >&6; }
20411 if test "${ac_cv_lib_m_powl+set}" = set; then :
20412 $as_echo_n "(cached) " >&6
20414 ac_check_lib_save_LIBS
=$LIBS
20416 if test x
$gcc_no_link = xyes
; then
20417 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20420 /* end confdefs.h. */
20422 /* Override any GCC internal prototype to avoid an error.
20423 Use char because int might match the return type of a GCC
20424 builtin and then its argument prototype would still apply. */
20437 if ac_fn_c_try_link
"$LINENO"; then :
20438 ac_cv_lib_m_powl
=yes
20440 ac_cv_lib_m_powl
=no
20442 rm -f core conftest.err conftest.
$ac_objext \
20443 conftest
$ac_exeext conftest.
$ac_ext
20444 LIBS
=$ac_check_lib_save_LIBS
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
20447 $as_echo "$ac_cv_lib_m_powl" >&6; }
20448 if test "x$ac_cv_lib_m_powl" = x
""yes; then :
20450 $as_echo "#define HAVE_POWL 1" >>confdefs.h
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
20455 $as_echo_n "checking for cpowf in -lm... " >&6; }
20456 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
20457 $as_echo_n "(cached) " >&6
20459 ac_check_lib_save_LIBS
=$LIBS
20461 if test x
$gcc_no_link = xyes
; then
20462 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20465 /* end confdefs.h. */
20467 /* Override any GCC internal prototype to avoid an error.
20468 Use char because int might match the return type of a GCC
20469 builtin and then its argument prototype would still apply. */
20482 if ac_fn_c_try_link
"$LINENO"; then :
20483 ac_cv_lib_m_cpowf
=yes
20485 ac_cv_lib_m_cpowf
=no
20487 rm -f core conftest.err conftest.
$ac_objext \
20488 conftest
$ac_exeext conftest.
$ac_ext
20489 LIBS
=$ac_check_lib_save_LIBS
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
20492 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
20493 if test "x$ac_cv_lib_m_cpowf" = x
""yes; then :
20495 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
20500 $as_echo_n "checking for cpow in -lm... " >&6; }
20501 if test "${ac_cv_lib_m_cpow+set}" = set; then :
20502 $as_echo_n "(cached) " >&6
20504 ac_check_lib_save_LIBS
=$LIBS
20506 if test x
$gcc_no_link = xyes
; then
20507 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20510 /* end confdefs.h. */
20512 /* Override any GCC internal prototype to avoid an error.
20513 Use char because int might match the return type of a GCC
20514 builtin and then its argument prototype would still apply. */
20527 if ac_fn_c_try_link
"$LINENO"; then :
20528 ac_cv_lib_m_cpow
=yes
20530 ac_cv_lib_m_cpow
=no
20532 rm -f core conftest.err conftest.
$ac_objext \
20533 conftest
$ac_exeext conftest.
$ac_ext
20534 LIBS
=$ac_check_lib_save_LIBS
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
20537 $as_echo "$ac_cv_lib_m_cpow" >&6; }
20538 if test "x$ac_cv_lib_m_cpow" = x
""yes; then :
20540 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
20545 $as_echo_n "checking for cpowl in -lm... " >&6; }
20546 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
20547 $as_echo_n "(cached) " >&6
20549 ac_check_lib_save_LIBS
=$LIBS
20551 if test x
$gcc_no_link = xyes
; then
20552 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20555 /* end confdefs.h. */
20557 /* Override any GCC internal prototype to avoid an error.
20558 Use char because int might match the return type of a GCC
20559 builtin and then its argument prototype would still apply. */
20572 if ac_fn_c_try_link
"$LINENO"; then :
20573 ac_cv_lib_m_cpowl
=yes
20575 ac_cv_lib_m_cpowl
=no
20577 rm -f core conftest.err conftest.
$ac_objext \
20578 conftest
$ac_exeext conftest.
$ac_ext
20579 LIBS
=$ac_check_lib_save_LIBS
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
20582 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
20583 if test "x$ac_cv_lib_m_cpowl" = x
""yes; then :
20585 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
20590 $as_echo_n "checking for roundf in -lm... " >&6; }
20591 if test "${ac_cv_lib_m_roundf+set}" = set; then :
20592 $as_echo_n "(cached) " >&6
20594 ac_check_lib_save_LIBS
=$LIBS
20596 if test x
$gcc_no_link = xyes
; then
20597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20600 /* end confdefs.h. */
20602 /* Override any GCC internal prototype to avoid an error.
20603 Use char because int might match the return type of a GCC
20604 builtin and then its argument prototype would still apply. */
20617 if ac_fn_c_try_link
"$LINENO"; then :
20618 ac_cv_lib_m_roundf
=yes
20620 ac_cv_lib_m_roundf
=no
20622 rm -f core conftest.err conftest.
$ac_objext \
20623 conftest
$ac_exeext conftest.
$ac_ext
20624 LIBS
=$ac_check_lib_save_LIBS
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20627 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20628 if test "x$ac_cv_lib_m_roundf" = x
""yes; then :
20630 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20635 $as_echo_n "checking for round in -lm... " >&6; }
20636 if test "${ac_cv_lib_m_round+set}" = set; then :
20637 $as_echo_n "(cached) " >&6
20639 ac_check_lib_save_LIBS
=$LIBS
20641 if test x
$gcc_no_link = xyes
; then
20642 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20645 /* end confdefs.h. */
20647 /* Override any GCC internal prototype to avoid an error.
20648 Use char because int might match the return type of a GCC
20649 builtin and then its argument prototype would still apply. */
20662 if ac_fn_c_try_link
"$LINENO"; then :
20663 ac_cv_lib_m_round
=yes
20665 ac_cv_lib_m_round
=no
20667 rm -f core conftest.err conftest.
$ac_objext \
20668 conftest
$ac_exeext conftest.
$ac_ext
20669 LIBS
=$ac_check_lib_save_LIBS
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20672 $as_echo "$ac_cv_lib_m_round" >&6; }
20673 if test "x$ac_cv_lib_m_round" = x
""yes; then :
20675 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20680 $as_echo_n "checking for roundl in -lm... " >&6; }
20681 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20682 $as_echo_n "(cached) " >&6
20684 ac_check_lib_save_LIBS
=$LIBS
20686 if test x
$gcc_no_link = xyes
; then
20687 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h. */
20692 /* Override any GCC internal prototype to avoid an error.
20693 Use char because int might match the return type of a GCC
20694 builtin and then its argument prototype would still apply. */
20707 if ac_fn_c_try_link
"$LINENO"; then :
20708 ac_cv_lib_m_roundl
=yes
20710 ac_cv_lib_m_roundl
=no
20712 rm -f core conftest.err conftest.
$ac_objext \
20713 conftest
$ac_exeext conftest.
$ac_ext
20714 LIBS
=$ac_check_lib_save_LIBS
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20717 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20718 if test "x$ac_cv_lib_m_roundl" = x
""yes; then :
20720 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20725 $as_echo_n "checking for lroundf in -lm... " >&6; }
20726 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20727 $as_echo_n "(cached) " >&6
20729 ac_check_lib_save_LIBS
=$LIBS
20731 if test x
$gcc_no_link = xyes
; then
20732 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h. */
20737 /* Override any GCC internal prototype to avoid an error.
20738 Use char because int might match the return type of a GCC
20739 builtin and then its argument prototype would still apply. */
20752 if ac_fn_c_try_link
"$LINENO"; then :
20753 ac_cv_lib_m_lroundf
=yes
20755 ac_cv_lib_m_lroundf
=no
20757 rm -f core conftest.err conftest.
$ac_objext \
20758 conftest
$ac_exeext conftest.
$ac_ext
20759 LIBS
=$ac_check_lib_save_LIBS
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20762 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20763 if test "x$ac_cv_lib_m_lroundf" = x
""yes; then :
20765 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20770 $as_echo_n "checking for lround in -lm... " >&6; }
20771 if test "${ac_cv_lib_m_lround+set}" = set; then :
20772 $as_echo_n "(cached) " >&6
20774 ac_check_lib_save_LIBS
=$LIBS
20776 if test x
$gcc_no_link = xyes
; then
20777 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20780 /* end confdefs.h. */
20782 /* Override any GCC internal prototype to avoid an error.
20783 Use char because int might match the return type of a GCC
20784 builtin and then its argument prototype would still apply. */
20797 if ac_fn_c_try_link
"$LINENO"; then :
20798 ac_cv_lib_m_lround
=yes
20800 ac_cv_lib_m_lround
=no
20802 rm -f core conftest.err conftest.
$ac_objext \
20803 conftest
$ac_exeext conftest.
$ac_ext
20804 LIBS
=$ac_check_lib_save_LIBS
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20807 $as_echo "$ac_cv_lib_m_lround" >&6; }
20808 if test "x$ac_cv_lib_m_lround" = x
""yes; then :
20810 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20815 $as_echo_n "checking for lroundl in -lm... " >&6; }
20816 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20817 $as_echo_n "(cached) " >&6
20819 ac_check_lib_save_LIBS
=$LIBS
20821 if test x
$gcc_no_link = xyes
; then
20822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20825 /* end confdefs.h. */
20827 /* Override any GCC internal prototype to avoid an error.
20828 Use char because int might match the return type of a GCC
20829 builtin and then its argument prototype would still apply. */
20842 if ac_fn_c_try_link
"$LINENO"; then :
20843 ac_cv_lib_m_lroundl
=yes
20845 ac_cv_lib_m_lroundl
=no
20847 rm -f core conftest.err conftest.
$ac_objext \
20848 conftest
$ac_exeext conftest.
$ac_ext
20849 LIBS
=$ac_check_lib_save_LIBS
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20852 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20853 if test "x$ac_cv_lib_m_lroundl" = x
""yes; then :
20855 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20860 $as_echo_n "checking for llroundf in -lm... " >&6; }
20861 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20862 $as_echo_n "(cached) " >&6
20864 ac_check_lib_save_LIBS
=$LIBS
20866 if test x
$gcc_no_link = xyes
; then
20867 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20870 /* end confdefs.h. */
20872 /* Override any GCC internal prototype to avoid an error.
20873 Use char because int might match the return type of a GCC
20874 builtin and then its argument prototype would still apply. */
20882 return llroundf ();
20887 if ac_fn_c_try_link
"$LINENO"; then :
20888 ac_cv_lib_m_llroundf
=yes
20890 ac_cv_lib_m_llroundf
=no
20892 rm -f core conftest.err conftest.
$ac_objext \
20893 conftest
$ac_exeext conftest.
$ac_ext
20894 LIBS
=$ac_check_lib_save_LIBS
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20897 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20898 if test "x$ac_cv_lib_m_llroundf" = x
""yes; then :
20900 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20905 $as_echo_n "checking for llround in -lm... " >&6; }
20906 if test "${ac_cv_lib_m_llround+set}" = set; then :
20907 $as_echo_n "(cached) " >&6
20909 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
20918 Use char because int might match the return type of a GCC
20919 builtin and then its argument prototype would still apply. */
20932 if ac_fn_c_try_link
"$LINENO"; then :
20933 ac_cv_lib_m_llround
=yes
20935 ac_cv_lib_m_llround
=no
20937 rm -f core conftest.err conftest.
$ac_objext \
20938 conftest
$ac_exeext conftest.
$ac_ext
20939 LIBS
=$ac_check_lib_save_LIBS
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20942 $as_echo "$ac_cv_lib_m_llround" >&6; }
20943 if test "x$ac_cv_lib_m_llround" = x
""yes; then :
20945 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20950 $as_echo_n "checking for llroundl in -lm... " >&6; }
20951 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20952 $as_echo_n "(cached) " >&6
20954 ac_check_lib_save_LIBS
=$LIBS
20956 if test x
$gcc_no_link = xyes
; then
20957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20962 /* Override any GCC internal prototype to avoid an error.
20963 Use char because int might match the return type of a GCC
20964 builtin and then its argument prototype would still apply. */
20972 return llroundl ();
20977 if ac_fn_c_try_link
"$LINENO"; then :
20978 ac_cv_lib_m_llroundl
=yes
20980 ac_cv_lib_m_llroundl
=no
20982 rm -f core conftest.err conftest.
$ac_objext \
20983 conftest
$ac_exeext conftest.
$ac_ext
20984 LIBS
=$ac_check_lib_save_LIBS
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20987 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20988 if test "x$ac_cv_lib_m_llroundl" = x
""yes; then :
20990 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20995 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20996 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20997 $as_echo_n "(cached) " >&6
20999 ac_check_lib_save_LIBS
=$LIBS
21001 if test x
$gcc_no_link = xyes
; then
21002 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h. */
21007 /* Override any GCC internal prototype to avoid an error.
21008 Use char because int might match the return type of a GCC
21009 builtin and then its argument prototype would still apply. */
21022 if ac_fn_c_try_link
"$LINENO"; then :
21023 ac_cv_lib_m_scalbnf
=yes
21025 ac_cv_lib_m_scalbnf
=no
21027 rm -f core conftest.err conftest.
$ac_objext \
21028 conftest
$ac_exeext conftest.
$ac_ext
21029 LIBS
=$ac_check_lib_save_LIBS
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
21032 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
21033 if test "x$ac_cv_lib_m_scalbnf" = x
""yes; then :
21035 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
21040 $as_echo_n "checking for scalbn in -lm... " >&6; }
21041 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
21042 $as_echo_n "(cached) " >&6
21044 ac_check_lib_save_LIBS
=$LIBS
21046 if test x
$gcc_no_link = xyes
; then
21047 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21050 /* end confdefs.h. */
21052 /* Override any GCC internal prototype to avoid an error.
21053 Use char because int might match the return type of a GCC
21054 builtin and then its argument prototype would still apply. */
21067 if ac_fn_c_try_link
"$LINENO"; then :
21068 ac_cv_lib_m_scalbn
=yes
21070 ac_cv_lib_m_scalbn
=no
21072 rm -f core conftest.err conftest.
$ac_objext \
21073 conftest
$ac_exeext conftest.
$ac_ext
21074 LIBS
=$ac_check_lib_save_LIBS
21076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
21077 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
21078 if test "x$ac_cv_lib_m_scalbn" = x
""yes; then :
21080 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
21085 $as_echo_n "checking for scalbnl in -lm... " >&6; }
21086 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
21087 $as_echo_n "(cached) " >&6
21089 ac_check_lib_save_LIBS
=$LIBS
21091 if test x
$gcc_no_link = xyes
; then
21092 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21097 /* Override any GCC internal prototype to avoid an error.
21098 Use char because int might match the return type of a GCC
21099 builtin and then its argument prototype would still apply. */
21112 if ac_fn_c_try_link
"$LINENO"; then :
21113 ac_cv_lib_m_scalbnl
=yes
21115 ac_cv_lib_m_scalbnl
=no
21117 rm -f core conftest.err conftest.
$ac_objext \
21118 conftest
$ac_exeext conftest.
$ac_ext
21119 LIBS
=$ac_check_lib_save_LIBS
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
21122 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
21123 if test "x$ac_cv_lib_m_scalbnl" = x
""yes; then :
21125 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
21129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
21130 $as_echo_n "checking for sinf in -lm... " >&6; }
21131 if test "${ac_cv_lib_m_sinf+set}" = set; then :
21132 $as_echo_n "(cached) " >&6
21134 ac_check_lib_save_LIBS
=$LIBS
21136 if test x
$gcc_no_link = xyes
; then
21137 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21140 /* end confdefs.h. */
21142 /* Override any GCC internal prototype to avoid an error.
21143 Use char because int might match the return type of a GCC
21144 builtin and then its argument prototype would still apply. */
21157 if ac_fn_c_try_link
"$LINENO"; then :
21158 ac_cv_lib_m_sinf
=yes
21160 ac_cv_lib_m_sinf
=no
21162 rm -f core conftest.err conftest.
$ac_objext \
21163 conftest
$ac_exeext conftest.
$ac_ext
21164 LIBS
=$ac_check_lib_save_LIBS
21166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
21167 $as_echo "$ac_cv_lib_m_sinf" >&6; }
21168 if test "x$ac_cv_lib_m_sinf" = x
""yes; then :
21170 $as_echo "#define HAVE_SINF 1" >>confdefs.h
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21175 $as_echo_n "checking for sin in -lm... " >&6; }
21176 if test "${ac_cv_lib_m_sin+set}" = set; then :
21177 $as_echo_n "(cached) " >&6
21179 ac_check_lib_save_LIBS
=$LIBS
21181 if test x
$gcc_no_link = xyes
; then
21182 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21185 /* end confdefs.h. */
21187 /* Override any GCC internal prototype to avoid an error.
21188 Use char because int might match the return type of a GCC
21189 builtin and then its argument prototype would still apply. */
21202 if ac_fn_c_try_link
"$LINENO"; then :
21203 ac_cv_lib_m_sin
=yes
21207 rm -f core conftest.err conftest.
$ac_objext \
21208 conftest
$ac_exeext conftest.
$ac_ext
21209 LIBS
=$ac_check_lib_save_LIBS
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21212 $as_echo "$ac_cv_lib_m_sin" >&6; }
21213 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
21215 $as_echo "#define HAVE_SIN 1" >>confdefs.h
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
21220 $as_echo_n "checking for sinl in -lm... " >&6; }
21221 if test "${ac_cv_lib_m_sinl+set}" = set; then :
21222 $as_echo_n "(cached) " >&6
21224 ac_check_lib_save_LIBS
=$LIBS
21226 if test x
$gcc_no_link = xyes
; then
21227 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21230 /* end confdefs.h. */
21232 /* Override any GCC internal prototype to avoid an error.
21233 Use char because int might match the return type of a GCC
21234 builtin and then its argument prototype would still apply. */
21247 if ac_fn_c_try_link
"$LINENO"; then :
21248 ac_cv_lib_m_sinl
=yes
21250 ac_cv_lib_m_sinl
=no
21252 rm -f core conftest.err conftest.
$ac_objext \
21253 conftest
$ac_exeext conftest.
$ac_ext
21254 LIBS
=$ac_check_lib_save_LIBS
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
21257 $as_echo "$ac_cv_lib_m_sinl" >&6; }
21258 if test "x$ac_cv_lib_m_sinl" = x
""yes; then :
21260 $as_echo "#define HAVE_SINL 1" >>confdefs.h
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
21265 $as_echo_n "checking for csinf in -lm... " >&6; }
21266 if test "${ac_cv_lib_m_csinf+set}" = set; then :
21267 $as_echo_n "(cached) " >&6
21269 ac_check_lib_save_LIBS
=$LIBS
21271 if test x
$gcc_no_link = xyes
; then
21272 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21275 /* end confdefs.h. */
21277 /* Override any GCC internal prototype to avoid an error.
21278 Use char because int might match the return type of a GCC
21279 builtin and then its argument prototype would still apply. */
21292 if ac_fn_c_try_link
"$LINENO"; then :
21293 ac_cv_lib_m_csinf
=yes
21295 ac_cv_lib_m_csinf
=no
21297 rm -f core conftest.err conftest.
$ac_objext \
21298 conftest
$ac_exeext conftest.
$ac_ext
21299 LIBS
=$ac_check_lib_save_LIBS
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
21302 $as_echo "$ac_cv_lib_m_csinf" >&6; }
21303 if test "x$ac_cv_lib_m_csinf" = x
""yes; then :
21305 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
21309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
21310 $as_echo_n "checking for csin in -lm... " >&6; }
21311 if test "${ac_cv_lib_m_csin+set}" = set; then :
21312 $as_echo_n "(cached) " >&6
21314 ac_check_lib_save_LIBS
=$LIBS
21316 if test x
$gcc_no_link = xyes
; then
21317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21320 /* end confdefs.h. */
21322 /* Override any GCC internal prototype to avoid an error.
21323 Use char because int might match the return type of a GCC
21324 builtin and then its argument prototype would still apply. */
21337 if ac_fn_c_try_link
"$LINENO"; then :
21338 ac_cv_lib_m_csin
=yes
21340 ac_cv_lib_m_csin
=no
21342 rm -f core conftest.err conftest.
$ac_objext \
21343 conftest
$ac_exeext conftest.
$ac_ext
21344 LIBS
=$ac_check_lib_save_LIBS
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
21347 $as_echo "$ac_cv_lib_m_csin" >&6; }
21348 if test "x$ac_cv_lib_m_csin" = x
""yes; then :
21350 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
21355 $as_echo_n "checking for csinl in -lm... " >&6; }
21356 if test "${ac_cv_lib_m_csinl+set}" = set; then :
21357 $as_echo_n "(cached) " >&6
21359 ac_check_lib_save_LIBS
=$LIBS
21361 if test x
$gcc_no_link = xyes
; then
21362 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21365 /* end confdefs.h. */
21367 /* Override any GCC internal prototype to avoid an error.
21368 Use char because int might match the return type of a GCC
21369 builtin and then its argument prototype would still apply. */
21382 if ac_fn_c_try_link
"$LINENO"; then :
21383 ac_cv_lib_m_csinl
=yes
21385 ac_cv_lib_m_csinl
=no
21387 rm -f core conftest.err conftest.
$ac_objext \
21388 conftest
$ac_exeext conftest.
$ac_ext
21389 LIBS
=$ac_check_lib_save_LIBS
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
21392 $as_echo "$ac_cv_lib_m_csinl" >&6; }
21393 if test "x$ac_cv_lib_m_csinl" = x
""yes; then :
21395 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
21400 $as_echo_n "checking for sinhf in -lm... " >&6; }
21401 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
21402 $as_echo_n "(cached) " >&6
21404 ac_check_lib_save_LIBS
=$LIBS
21406 if test x
$gcc_no_link = xyes
; then
21407 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21410 /* end confdefs.h. */
21412 /* Override any GCC internal prototype to avoid an error.
21413 Use char because int might match the return type of a GCC
21414 builtin and then its argument prototype would still apply. */
21427 if ac_fn_c_try_link
"$LINENO"; then :
21428 ac_cv_lib_m_sinhf
=yes
21430 ac_cv_lib_m_sinhf
=no
21432 rm -f core conftest.err conftest.
$ac_objext \
21433 conftest
$ac_exeext conftest.
$ac_ext
21434 LIBS
=$ac_check_lib_save_LIBS
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
21437 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
21438 if test "x$ac_cv_lib_m_sinhf" = x
""yes; then :
21440 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
21445 $as_echo_n "checking for sinh in -lm... " >&6; }
21446 if test "${ac_cv_lib_m_sinh+set}" = set; then :
21447 $as_echo_n "(cached) " >&6
21449 ac_check_lib_save_LIBS
=$LIBS
21451 if test x
$gcc_no_link = xyes
; then
21452 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h. */
21457 /* Override any GCC internal prototype to avoid an error.
21458 Use char because int might match the return type of a GCC
21459 builtin and then its argument prototype would still apply. */
21472 if ac_fn_c_try_link
"$LINENO"; then :
21473 ac_cv_lib_m_sinh
=yes
21475 ac_cv_lib_m_sinh
=no
21477 rm -f core conftest.err conftest.
$ac_objext \
21478 conftest
$ac_exeext conftest.
$ac_ext
21479 LIBS
=$ac_check_lib_save_LIBS
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
21482 $as_echo "$ac_cv_lib_m_sinh" >&6; }
21483 if test "x$ac_cv_lib_m_sinh" = x
""yes; then :
21485 $as_echo "#define HAVE_SINH 1" >>confdefs.h
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
21490 $as_echo_n "checking for sinhl in -lm... " >&6; }
21491 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
21492 $as_echo_n "(cached) " >&6
21494 ac_check_lib_save_LIBS
=$LIBS
21496 if test x
$gcc_no_link = xyes
; then
21497 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21500 /* end confdefs.h. */
21502 /* Override any GCC internal prototype to avoid an error.
21503 Use char because int might match the return type of a GCC
21504 builtin and then its argument prototype would still apply. */
21517 if ac_fn_c_try_link
"$LINENO"; then :
21518 ac_cv_lib_m_sinhl
=yes
21520 ac_cv_lib_m_sinhl
=no
21522 rm -f core conftest.err conftest.
$ac_objext \
21523 conftest
$ac_exeext conftest.
$ac_ext
21524 LIBS
=$ac_check_lib_save_LIBS
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
21527 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
21528 if test "x$ac_cv_lib_m_sinhl" = x
""yes; then :
21530 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
21535 $as_echo_n "checking for csinhf in -lm... " >&6; }
21536 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
21537 $as_echo_n "(cached) " >&6
21539 ac_check_lib_save_LIBS
=$LIBS
21541 if test x
$gcc_no_link = xyes
; then
21542 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h. */
21547 /* Override any GCC internal prototype to avoid an error.
21548 Use char because int might match the return type of a GCC
21549 builtin and then its argument prototype would still apply. */
21562 if ac_fn_c_try_link
"$LINENO"; then :
21563 ac_cv_lib_m_csinhf
=yes
21565 ac_cv_lib_m_csinhf
=no
21567 rm -f core conftest.err conftest.
$ac_objext \
21568 conftest
$ac_exeext conftest.
$ac_ext
21569 LIBS
=$ac_check_lib_save_LIBS
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
21572 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
21573 if test "x$ac_cv_lib_m_csinhf" = x
""yes; then :
21575 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
21580 $as_echo_n "checking for csinh in -lm... " >&6; }
21581 if test "${ac_cv_lib_m_csinh+set}" = set; then :
21582 $as_echo_n "(cached) " >&6
21584 ac_check_lib_save_LIBS
=$LIBS
21586 if test x
$gcc_no_link = xyes
; then
21587 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21592 /* Override any GCC internal prototype to avoid an error.
21593 Use char because int might match the return type of a GCC
21594 builtin and then its argument prototype would still apply. */
21607 if ac_fn_c_try_link
"$LINENO"; then :
21608 ac_cv_lib_m_csinh
=yes
21610 ac_cv_lib_m_csinh
=no
21612 rm -f core conftest.err conftest.
$ac_objext \
21613 conftest
$ac_exeext conftest.
$ac_ext
21614 LIBS
=$ac_check_lib_save_LIBS
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
21617 $as_echo "$ac_cv_lib_m_csinh" >&6; }
21618 if test "x$ac_cv_lib_m_csinh" = x
""yes; then :
21620 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21625 $as_echo_n "checking for csinhl in -lm... " >&6; }
21626 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21627 $as_echo_n "(cached) " >&6
21629 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
21638 Use char because int might match the return type of a GCC
21639 builtin and then its argument prototype would still apply. */
21652 if ac_fn_c_try_link
"$LINENO"; then :
21653 ac_cv_lib_m_csinhl
=yes
21655 ac_cv_lib_m_csinhl
=no
21657 rm -f core conftest.err conftest.
$ac_objext \
21658 conftest
$ac_exeext conftest.
$ac_ext
21659 LIBS
=$ac_check_lib_save_LIBS
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21662 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21663 if test "x$ac_cv_lib_m_csinhl" = x
""yes; then :
21665 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21670 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21671 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21672 $as_echo_n "(cached) " >&6
21674 ac_check_lib_save_LIBS
=$LIBS
21676 if test x
$gcc_no_link = xyes
; then
21677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21680 /* end confdefs.h. */
21682 /* Override any GCC internal prototype to avoid an error.
21683 Use char because int might match the return type of a GCC
21684 builtin and then its argument prototype would still apply. */
21697 if ac_fn_c_try_link
"$LINENO"; then :
21698 ac_cv_lib_m_sqrtf
=yes
21700 ac_cv_lib_m_sqrtf
=no
21702 rm -f core conftest.err conftest.
$ac_objext \
21703 conftest
$ac_exeext conftest.
$ac_ext
21704 LIBS
=$ac_check_lib_save_LIBS
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21707 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21708 if test "x$ac_cv_lib_m_sqrtf" = x
""yes; then :
21710 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21715 $as_echo_n "checking for sqrt in -lm... " >&6; }
21716 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21717 $as_echo_n "(cached) " >&6
21719 ac_check_lib_save_LIBS
=$LIBS
21721 if test x
$gcc_no_link = xyes
; then
21722 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h. */
21727 /* Override any GCC internal prototype to avoid an error.
21728 Use char because int might match the return type of a GCC
21729 builtin and then its argument prototype would still apply. */
21742 if ac_fn_c_try_link
"$LINENO"; then :
21743 ac_cv_lib_m_sqrt
=yes
21745 ac_cv_lib_m_sqrt
=no
21747 rm -f core conftest.err conftest.
$ac_objext \
21748 conftest
$ac_exeext conftest.
$ac_ext
21749 LIBS
=$ac_check_lib_save_LIBS
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21752 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21753 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
21755 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21760 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21761 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21762 $as_echo_n "(cached) " >&6
21764 ac_check_lib_save_LIBS
=$LIBS
21766 if test x
$gcc_no_link = xyes
; then
21767 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21770 /* end confdefs.h. */
21772 /* Override any GCC internal prototype to avoid an error.
21773 Use char because int might match the return type of a GCC
21774 builtin and then its argument prototype would still apply. */
21787 if ac_fn_c_try_link
"$LINENO"; then :
21788 ac_cv_lib_m_sqrtl
=yes
21790 ac_cv_lib_m_sqrtl
=no
21792 rm -f core conftest.err conftest.
$ac_objext \
21793 conftest
$ac_exeext conftest.
$ac_ext
21794 LIBS
=$ac_check_lib_save_LIBS
21796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21797 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21798 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
21800 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21805 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21806 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21807 $as_echo_n "(cached) " >&6
21809 ac_check_lib_save_LIBS
=$LIBS
21811 if test x
$gcc_no_link = xyes
; then
21812 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21815 /* end confdefs.h. */
21817 /* Override any GCC internal prototype to avoid an error.
21818 Use char because int might match the return type of a GCC
21819 builtin and then its argument prototype would still apply. */
21832 if ac_fn_c_try_link
"$LINENO"; then :
21833 ac_cv_lib_m_csqrtf
=yes
21835 ac_cv_lib_m_csqrtf
=no
21837 rm -f core conftest.err conftest.
$ac_objext \
21838 conftest
$ac_exeext conftest.
$ac_ext
21839 LIBS
=$ac_check_lib_save_LIBS
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21842 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21843 if test "x$ac_cv_lib_m_csqrtf" = x
""yes; then :
21845 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21850 $as_echo_n "checking for csqrt in -lm... " >&6; }
21851 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21852 $as_echo_n "(cached) " >&6
21854 ac_check_lib_save_LIBS
=$LIBS
21856 if test x
$gcc_no_link = xyes
; then
21857 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21860 /* end confdefs.h. */
21862 /* Override any GCC internal prototype to avoid an error.
21863 Use char because int might match the return type of a GCC
21864 builtin and then its argument prototype would still apply. */
21877 if ac_fn_c_try_link
"$LINENO"; then :
21878 ac_cv_lib_m_csqrt
=yes
21880 ac_cv_lib_m_csqrt
=no
21882 rm -f core conftest.err conftest.
$ac_objext \
21883 conftest
$ac_exeext conftest.
$ac_ext
21884 LIBS
=$ac_check_lib_save_LIBS
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21887 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21888 if test "x$ac_cv_lib_m_csqrt" = x
""yes; then :
21890 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21895 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21896 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21897 $as_echo_n "(cached) " >&6
21899 ac_check_lib_save_LIBS
=$LIBS
21901 if test x
$gcc_no_link = xyes
; then
21902 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21905 /* end confdefs.h. */
21907 /* Override any GCC internal prototype to avoid an error.
21908 Use char because int might match the return type of a GCC
21909 builtin and then its argument prototype would still apply. */
21922 if ac_fn_c_try_link
"$LINENO"; then :
21923 ac_cv_lib_m_csqrtl
=yes
21925 ac_cv_lib_m_csqrtl
=no
21927 rm -f core conftest.err conftest.
$ac_objext \
21928 conftest
$ac_exeext conftest.
$ac_ext
21929 LIBS
=$ac_check_lib_save_LIBS
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21932 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21933 if test "x$ac_cv_lib_m_csqrtl" = x
""yes; then :
21935 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21940 $as_echo_n "checking for tanf in -lm... " >&6; }
21941 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21942 $as_echo_n "(cached) " >&6
21944 ac_check_lib_save_LIBS
=$LIBS
21946 if test x
$gcc_no_link = xyes
; then
21947 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21950 /* end confdefs.h. */
21952 /* Override any GCC internal prototype to avoid an error.
21953 Use char because int might match the return type of a GCC
21954 builtin and then its argument prototype would still apply. */
21967 if ac_fn_c_try_link
"$LINENO"; then :
21968 ac_cv_lib_m_tanf
=yes
21970 ac_cv_lib_m_tanf
=no
21972 rm -f core conftest.err conftest.
$ac_objext \
21973 conftest
$ac_exeext conftest.
$ac_ext
21974 LIBS
=$ac_check_lib_save_LIBS
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21977 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21978 if test "x$ac_cv_lib_m_tanf" = x
""yes; then :
21980 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21985 $as_echo_n "checking for tan in -lm... " >&6; }
21986 if test "${ac_cv_lib_m_tan+set}" = set; then :
21987 $as_echo_n "(cached) " >&6
21989 ac_check_lib_save_LIBS
=$LIBS
21991 if test x
$gcc_no_link = xyes
; then
21992 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21995 /* end confdefs.h. */
21997 /* Override any GCC internal prototype to avoid an error.
21998 Use char because int might match the return type of a GCC
21999 builtin and then its argument prototype would still apply. */
22012 if ac_fn_c_try_link
"$LINENO"; then :
22013 ac_cv_lib_m_tan
=yes
22017 rm -f core conftest.err conftest.
$ac_objext \
22018 conftest
$ac_exeext conftest.
$ac_ext
22019 LIBS
=$ac_check_lib_save_LIBS
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
22022 $as_echo "$ac_cv_lib_m_tan" >&6; }
22023 if test "x$ac_cv_lib_m_tan" = x
""yes; then :
22025 $as_echo "#define HAVE_TAN 1" >>confdefs.h
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
22030 $as_echo_n "checking for tanl in -lm... " >&6; }
22031 if test "${ac_cv_lib_m_tanl+set}" = set; then :
22032 $as_echo_n "(cached) " >&6
22034 ac_check_lib_save_LIBS
=$LIBS
22036 if test x
$gcc_no_link = xyes
; then
22037 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22040 /* end confdefs.h. */
22042 /* Override any GCC internal prototype to avoid an error.
22043 Use char because int might match the return type of a GCC
22044 builtin and then its argument prototype would still apply. */
22057 if ac_fn_c_try_link
"$LINENO"; then :
22058 ac_cv_lib_m_tanl
=yes
22060 ac_cv_lib_m_tanl
=no
22062 rm -f core conftest.err conftest.
$ac_objext \
22063 conftest
$ac_exeext conftest.
$ac_ext
22064 LIBS
=$ac_check_lib_save_LIBS
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
22067 $as_echo "$ac_cv_lib_m_tanl" >&6; }
22068 if test "x$ac_cv_lib_m_tanl" = x
""yes; then :
22070 $as_echo "#define HAVE_TANL 1" >>confdefs.h
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
22075 $as_echo_n "checking for ctanf in -lm... " >&6; }
22076 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
22077 $as_echo_n "(cached) " >&6
22079 ac_check_lib_save_LIBS
=$LIBS
22081 if test x
$gcc_no_link = xyes
; then
22082 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22085 /* end confdefs.h. */
22087 /* Override any GCC internal prototype to avoid an error.
22088 Use char because int might match the return type of a GCC
22089 builtin and then its argument prototype would still apply. */
22102 if ac_fn_c_try_link
"$LINENO"; then :
22103 ac_cv_lib_m_ctanf
=yes
22105 ac_cv_lib_m_ctanf
=no
22107 rm -f core conftest.err conftest.
$ac_objext \
22108 conftest
$ac_exeext conftest.
$ac_ext
22109 LIBS
=$ac_check_lib_save_LIBS
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
22112 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
22113 if test "x$ac_cv_lib_m_ctanf" = x
""yes; then :
22115 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
22119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
22120 $as_echo_n "checking for ctan in -lm... " >&6; }
22121 if test "${ac_cv_lib_m_ctan+set}" = set; then :
22122 $as_echo_n "(cached) " >&6
22124 ac_check_lib_save_LIBS
=$LIBS
22126 if test x
$gcc_no_link = xyes
; then
22127 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22130 /* end confdefs.h. */
22132 /* Override any GCC internal prototype to avoid an error.
22133 Use char because int might match the return type of a GCC
22134 builtin and then its argument prototype would still apply. */
22147 if ac_fn_c_try_link
"$LINENO"; then :
22148 ac_cv_lib_m_ctan
=yes
22150 ac_cv_lib_m_ctan
=no
22152 rm -f core conftest.err conftest.
$ac_objext \
22153 conftest
$ac_exeext conftest.
$ac_ext
22154 LIBS
=$ac_check_lib_save_LIBS
22156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
22157 $as_echo "$ac_cv_lib_m_ctan" >&6; }
22158 if test "x$ac_cv_lib_m_ctan" = x
""yes; then :
22160 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
22165 $as_echo_n "checking for ctanl in -lm... " >&6; }
22166 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
22167 $as_echo_n "(cached) " >&6
22169 ac_check_lib_save_LIBS
=$LIBS
22171 if test x
$gcc_no_link = xyes
; then
22172 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22175 /* end confdefs.h. */
22177 /* Override any GCC internal prototype to avoid an error.
22178 Use char because int might match the return type of a GCC
22179 builtin and then its argument prototype would still apply. */
22192 if ac_fn_c_try_link
"$LINENO"; then :
22193 ac_cv_lib_m_ctanl
=yes
22195 ac_cv_lib_m_ctanl
=no
22197 rm -f core conftest.err conftest.
$ac_objext \
22198 conftest
$ac_exeext conftest.
$ac_ext
22199 LIBS
=$ac_check_lib_save_LIBS
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
22202 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
22203 if test "x$ac_cv_lib_m_ctanl" = x
""yes; then :
22205 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
22210 $as_echo_n "checking for tanhf in -lm... " >&6; }
22211 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
22212 $as_echo_n "(cached) " >&6
22214 ac_check_lib_save_LIBS
=$LIBS
22216 if test x
$gcc_no_link = xyes
; then
22217 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22222 /* Override any GCC internal prototype to avoid an error.
22223 Use char because int might match the return type of a GCC
22224 builtin and then its argument prototype would still apply. */
22237 if ac_fn_c_try_link
"$LINENO"; then :
22238 ac_cv_lib_m_tanhf
=yes
22240 ac_cv_lib_m_tanhf
=no
22242 rm -f core conftest.err conftest.
$ac_objext \
22243 conftest
$ac_exeext conftest.
$ac_ext
22244 LIBS
=$ac_check_lib_save_LIBS
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
22247 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
22248 if test "x$ac_cv_lib_m_tanhf" = x
""yes; then :
22250 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
22254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
22255 $as_echo_n "checking for tanh in -lm... " >&6; }
22256 if test "${ac_cv_lib_m_tanh+set}" = set; then :
22257 $as_echo_n "(cached) " >&6
22259 ac_check_lib_save_LIBS
=$LIBS
22261 if test x
$gcc_no_link = xyes
; then
22262 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22267 /* Override any GCC internal prototype to avoid an error.
22268 Use char because int might match the return type of a GCC
22269 builtin and then its argument prototype would still apply. */
22282 if ac_fn_c_try_link
"$LINENO"; then :
22283 ac_cv_lib_m_tanh
=yes
22285 ac_cv_lib_m_tanh
=no
22287 rm -f core conftest.err conftest.
$ac_objext \
22288 conftest
$ac_exeext conftest.
$ac_ext
22289 LIBS
=$ac_check_lib_save_LIBS
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
22292 $as_echo "$ac_cv_lib_m_tanh" >&6; }
22293 if test "x$ac_cv_lib_m_tanh" = x
""yes; then :
22295 $as_echo "#define HAVE_TANH 1" >>confdefs.h
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
22300 $as_echo_n "checking for tanhl in -lm... " >&6; }
22301 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
22302 $as_echo_n "(cached) " >&6
22304 ac_check_lib_save_LIBS
=$LIBS
22306 if test x
$gcc_no_link = xyes
; then
22307 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h. */
22312 /* Override any GCC internal prototype to avoid an error.
22313 Use char because int might match the return type of a GCC
22314 builtin and then its argument prototype would still apply. */
22327 if ac_fn_c_try_link
"$LINENO"; then :
22328 ac_cv_lib_m_tanhl
=yes
22330 ac_cv_lib_m_tanhl
=no
22332 rm -f core conftest.err conftest.
$ac_objext \
22333 conftest
$ac_exeext conftest.
$ac_ext
22334 LIBS
=$ac_check_lib_save_LIBS
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
22337 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
22338 if test "x$ac_cv_lib_m_tanhl" = x
""yes; then :
22340 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
22345 $as_echo_n "checking for ctanhf in -lm... " >&6; }
22346 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
22347 $as_echo_n "(cached) " >&6
22349 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
22358 Use char because int might match the return type of a GCC
22359 builtin and then its argument prototype would still apply. */
22372 if ac_fn_c_try_link
"$LINENO"; then :
22373 ac_cv_lib_m_ctanhf
=yes
22375 ac_cv_lib_m_ctanhf
=no
22377 rm -f core conftest.err conftest.
$ac_objext \
22378 conftest
$ac_exeext conftest.
$ac_ext
22379 LIBS
=$ac_check_lib_save_LIBS
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
22382 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
22383 if test "x$ac_cv_lib_m_ctanhf" = x
""yes; then :
22385 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
22390 $as_echo_n "checking for ctanh in -lm... " >&6; }
22391 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
22392 $as_echo_n "(cached) " >&6
22394 ac_check_lib_save_LIBS
=$LIBS
22396 if test x
$gcc_no_link = xyes
; then
22397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22400 /* end confdefs.h. */
22402 /* Override any GCC internal prototype to avoid an error.
22403 Use char because int might match the return type of a GCC
22404 builtin and then its argument prototype would still apply. */
22417 if ac_fn_c_try_link
"$LINENO"; then :
22418 ac_cv_lib_m_ctanh
=yes
22420 ac_cv_lib_m_ctanh
=no
22422 rm -f core conftest.err conftest.
$ac_objext \
22423 conftest
$ac_exeext conftest.
$ac_ext
22424 LIBS
=$ac_check_lib_save_LIBS
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
22427 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
22428 if test "x$ac_cv_lib_m_ctanh" = x
""yes; then :
22430 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
22435 $as_echo_n "checking for ctanhl in -lm... " >&6; }
22436 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
22437 $as_echo_n "(cached) " >&6
22439 ac_check_lib_save_LIBS
=$LIBS
22441 if test x
$gcc_no_link = xyes
; then
22442 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22445 /* end confdefs.h. */
22447 /* Override any GCC internal prototype to avoid an error.
22448 Use char because int might match the return type of a GCC
22449 builtin and then its argument prototype would still apply. */
22462 if ac_fn_c_try_link
"$LINENO"; then :
22463 ac_cv_lib_m_ctanhl
=yes
22465 ac_cv_lib_m_ctanhl
=no
22467 rm -f core conftest.err conftest.
$ac_objext \
22468 conftest
$ac_exeext conftest.
$ac_ext
22469 LIBS
=$ac_check_lib_save_LIBS
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
22472 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
22473 if test "x$ac_cv_lib_m_ctanhl" = x
""yes; then :
22475 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
22480 $as_echo_n "checking for truncf in -lm... " >&6; }
22481 if test "${ac_cv_lib_m_truncf+set}" = set; then :
22482 $as_echo_n "(cached) " >&6
22484 ac_check_lib_save_LIBS
=$LIBS
22486 if test x
$gcc_no_link = xyes
; then
22487 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22490 /* end confdefs.h. */
22492 /* Override any GCC internal prototype to avoid an error.
22493 Use char because int might match the return type of a GCC
22494 builtin and then its argument prototype would still apply. */
22507 if ac_fn_c_try_link
"$LINENO"; then :
22508 ac_cv_lib_m_truncf
=yes
22510 ac_cv_lib_m_truncf
=no
22512 rm -f core conftest.err conftest.
$ac_objext \
22513 conftest
$ac_exeext conftest.
$ac_ext
22514 LIBS
=$ac_check_lib_save_LIBS
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
22517 $as_echo "$ac_cv_lib_m_truncf" >&6; }
22518 if test "x$ac_cv_lib_m_truncf" = x
""yes; then :
22520 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
22525 $as_echo_n "checking for trunc in -lm... " >&6; }
22526 if test "${ac_cv_lib_m_trunc+set}" = set; then :
22527 $as_echo_n "(cached) " >&6
22529 ac_check_lib_save_LIBS
=$LIBS
22531 if test x
$gcc_no_link = xyes
; then
22532 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22535 /* end confdefs.h. */
22537 /* Override any GCC internal prototype to avoid an error.
22538 Use char because int might match the return type of a GCC
22539 builtin and then its argument prototype would still apply. */
22552 if ac_fn_c_try_link
"$LINENO"; then :
22553 ac_cv_lib_m_trunc
=yes
22555 ac_cv_lib_m_trunc
=no
22557 rm -f core conftest.err conftest.
$ac_objext \
22558 conftest
$ac_exeext conftest.
$ac_ext
22559 LIBS
=$ac_check_lib_save_LIBS
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
22562 $as_echo "$ac_cv_lib_m_trunc" >&6; }
22563 if test "x$ac_cv_lib_m_trunc" = x
""yes; then :
22565 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
22570 $as_echo_n "checking for truncl in -lm... " >&6; }
22571 if test "${ac_cv_lib_m_truncl+set}" = set; then :
22572 $as_echo_n "(cached) " >&6
22574 ac_check_lib_save_LIBS
=$LIBS
22576 if test x
$gcc_no_link = xyes
; then
22577 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22580 /* end confdefs.h. */
22582 /* Override any GCC internal prototype to avoid an error.
22583 Use char because int might match the return type of a GCC
22584 builtin and then its argument prototype would still apply. */
22597 if ac_fn_c_try_link
"$LINENO"; then :
22598 ac_cv_lib_m_truncl
=yes
22600 ac_cv_lib_m_truncl
=no
22602 rm -f core conftest.err conftest.
$ac_objext \
22603 conftest
$ac_exeext conftest.
$ac_ext
22604 LIBS
=$ac_check_lib_save_LIBS
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
22607 $as_echo "$ac_cv_lib_m_truncl" >&6; }
22608 if test "x$ac_cv_lib_m_truncl" = x
""yes; then :
22610 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
22615 $as_echo_n "checking for erff in -lm... " >&6; }
22616 if test "${ac_cv_lib_m_erff+set}" = set; then :
22617 $as_echo_n "(cached) " >&6
22619 ac_check_lib_save_LIBS
=$LIBS
22621 if test x
$gcc_no_link = xyes
; then
22622 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22625 /* end confdefs.h. */
22627 /* Override any GCC internal prototype to avoid an error.
22628 Use char because int might match the return type of a GCC
22629 builtin and then its argument prototype would still apply. */
22642 if ac_fn_c_try_link
"$LINENO"; then :
22643 ac_cv_lib_m_erff
=yes
22645 ac_cv_lib_m_erff
=no
22647 rm -f core conftest.err conftest.
$ac_objext \
22648 conftest
$ac_exeext conftest.
$ac_ext
22649 LIBS
=$ac_check_lib_save_LIBS
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22652 $as_echo "$ac_cv_lib_m_erff" >&6; }
22653 if test "x$ac_cv_lib_m_erff" = x
""yes; then :
22655 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22660 $as_echo_n "checking for erf in -lm... " >&6; }
22661 if test "${ac_cv_lib_m_erf+set}" = set; then :
22662 $as_echo_n "(cached) " >&6
22664 ac_check_lib_save_LIBS
=$LIBS
22666 if test x
$gcc_no_link = xyes
; then
22667 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22670 /* end confdefs.h. */
22672 /* Override any GCC internal prototype to avoid an error.
22673 Use char because int might match the return type of a GCC
22674 builtin and then its argument prototype would still apply. */
22687 if ac_fn_c_try_link
"$LINENO"; then :
22688 ac_cv_lib_m_erf
=yes
22692 rm -f core conftest.err conftest.
$ac_objext \
22693 conftest
$ac_exeext conftest.
$ac_ext
22694 LIBS
=$ac_check_lib_save_LIBS
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22697 $as_echo "$ac_cv_lib_m_erf" >&6; }
22698 if test "x$ac_cv_lib_m_erf" = x
""yes; then :
22700 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22705 $as_echo_n "checking for erfl in -lm... " >&6; }
22706 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22707 $as_echo_n "(cached) " >&6
22709 ac_check_lib_save_LIBS
=$LIBS
22711 if test x
$gcc_no_link = xyes
; then
22712 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22715 /* end confdefs.h. */
22717 /* Override any GCC internal prototype to avoid an error.
22718 Use char because int might match the return type of a GCC
22719 builtin and then its argument prototype would still apply. */
22732 if ac_fn_c_try_link
"$LINENO"; then :
22733 ac_cv_lib_m_erfl
=yes
22735 ac_cv_lib_m_erfl
=no
22737 rm -f core conftest.err conftest.
$ac_objext \
22738 conftest
$ac_exeext conftest.
$ac_ext
22739 LIBS
=$ac_check_lib_save_LIBS
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22742 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22743 if test "x$ac_cv_lib_m_erfl" = x
""yes; then :
22745 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22750 $as_echo_n "checking for erfcf in -lm... " >&6; }
22751 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22752 $as_echo_n "(cached) " >&6
22754 ac_check_lib_save_LIBS
=$LIBS
22756 if test x
$gcc_no_link = xyes
; then
22757 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22760 /* end confdefs.h. */
22762 /* Override any GCC internal prototype to avoid an error.
22763 Use char because int might match the return type of a GCC
22764 builtin and then its argument prototype would still apply. */
22777 if ac_fn_c_try_link
"$LINENO"; then :
22778 ac_cv_lib_m_erfcf
=yes
22780 ac_cv_lib_m_erfcf
=no
22782 rm -f core conftest.err conftest.
$ac_objext \
22783 conftest
$ac_exeext conftest.
$ac_ext
22784 LIBS
=$ac_check_lib_save_LIBS
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22787 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22788 if test "x$ac_cv_lib_m_erfcf" = x
""yes; then :
22790 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22795 $as_echo_n "checking for erfc in -lm... " >&6; }
22796 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22797 $as_echo_n "(cached) " >&6
22799 ac_check_lib_save_LIBS
=$LIBS
22801 if test x
$gcc_no_link = xyes
; then
22802 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22805 /* end confdefs.h. */
22807 /* Override any GCC internal prototype to avoid an error.
22808 Use char because int might match the return type of a GCC
22809 builtin and then its argument prototype would still apply. */
22822 if ac_fn_c_try_link
"$LINENO"; then :
22823 ac_cv_lib_m_erfc
=yes
22825 ac_cv_lib_m_erfc
=no
22827 rm -f core conftest.err conftest.
$ac_objext \
22828 conftest
$ac_exeext conftest.
$ac_ext
22829 LIBS
=$ac_check_lib_save_LIBS
22831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22832 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22833 if test "x$ac_cv_lib_m_erfc" = x
""yes; then :
22835 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22840 $as_echo_n "checking for erfcl in -lm... " >&6; }
22841 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22842 $as_echo_n "(cached) " >&6
22844 ac_check_lib_save_LIBS
=$LIBS
22846 if test x
$gcc_no_link = xyes
; then
22847 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22850 /* end confdefs.h. */
22852 /* Override any GCC internal prototype to avoid an error.
22853 Use char because int might match the return type of a GCC
22854 builtin and then its argument prototype would still apply. */
22867 if ac_fn_c_try_link
"$LINENO"; then :
22868 ac_cv_lib_m_erfcl
=yes
22870 ac_cv_lib_m_erfcl
=no
22872 rm -f core conftest.err conftest.
$ac_objext \
22873 conftest
$ac_exeext conftest.
$ac_ext
22874 LIBS
=$ac_check_lib_save_LIBS
22876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22877 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22878 if test "x$ac_cv_lib_m_erfcl" = x
""yes; then :
22880 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22885 $as_echo_n "checking for j0f in -lm... " >&6; }
22886 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22887 $as_echo_n "(cached) " >&6
22889 ac_check_lib_save_LIBS
=$LIBS
22891 if test x
$gcc_no_link = xyes
; then
22892 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22895 /* end confdefs.h. */
22897 /* Override any GCC internal prototype to avoid an error.
22898 Use char because int might match the return type of a GCC
22899 builtin and then its argument prototype would still apply. */
22912 if ac_fn_c_try_link
"$LINENO"; then :
22913 ac_cv_lib_m_j0f
=yes
22917 rm -f core conftest.err conftest.
$ac_objext \
22918 conftest
$ac_exeext conftest.
$ac_ext
22919 LIBS
=$ac_check_lib_save_LIBS
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22922 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22923 if test "x$ac_cv_lib_m_j0f" = x
""yes; then :
22925 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22930 $as_echo_n "checking for j0 in -lm... " >&6; }
22931 if test "${ac_cv_lib_m_j0+set}" = set; then :
22932 $as_echo_n "(cached) " >&6
22934 ac_check_lib_save_LIBS
=$LIBS
22936 if test x
$gcc_no_link = xyes
; then
22937 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22940 /* end confdefs.h. */
22942 /* Override any GCC internal prototype to avoid an error.
22943 Use char because int might match the return type of a GCC
22944 builtin and then its argument prototype would still apply. */
22957 if ac_fn_c_try_link
"$LINENO"; then :
22962 rm -f core conftest.err conftest.
$ac_objext \
22963 conftest
$ac_exeext conftest.
$ac_ext
22964 LIBS
=$ac_check_lib_save_LIBS
22966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22967 $as_echo "$ac_cv_lib_m_j0" >&6; }
22968 if test "x$ac_cv_lib_m_j0" = x
""yes; then :
22970 $as_echo "#define HAVE_J0 1" >>confdefs.h
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22975 $as_echo_n "checking for j0l in -lm... " >&6; }
22976 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22977 $as_echo_n "(cached) " >&6
22979 ac_check_lib_save_LIBS
=$LIBS
22981 if test x
$gcc_no_link = xyes
; then
22982 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22985 /* end confdefs.h. */
22987 /* Override any GCC internal prototype to avoid an error.
22988 Use char because int might match the return type of a GCC
22989 builtin and then its argument prototype would still apply. */
23002 if ac_fn_c_try_link
"$LINENO"; then :
23003 ac_cv_lib_m_j0l
=yes
23007 rm -f core conftest.err conftest.
$ac_objext \
23008 conftest
$ac_exeext conftest.
$ac_ext
23009 LIBS
=$ac_check_lib_save_LIBS
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
23012 $as_echo "$ac_cv_lib_m_j0l" >&6; }
23013 if test "x$ac_cv_lib_m_j0l" = x
""yes; then :
23015 $as_echo "#define HAVE_J0L 1" >>confdefs.h
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
23020 $as_echo_n "checking for j1f in -lm... " >&6; }
23021 if test "${ac_cv_lib_m_j1f+set}" = set; then :
23022 $as_echo_n "(cached) " >&6
23024 ac_check_lib_save_LIBS
=$LIBS
23026 if test x
$gcc_no_link = xyes
; then
23027 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h. */
23032 /* Override any GCC internal prototype to avoid an error.
23033 Use char because int might match the return type of a GCC
23034 builtin and then its argument prototype would still apply. */
23047 if ac_fn_c_try_link
"$LINENO"; then :
23048 ac_cv_lib_m_j1f
=yes
23052 rm -f core conftest.err conftest.
$ac_objext \
23053 conftest
$ac_exeext conftest.
$ac_ext
23054 LIBS
=$ac_check_lib_save_LIBS
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
23057 $as_echo "$ac_cv_lib_m_j1f" >&6; }
23058 if test "x$ac_cv_lib_m_j1f" = x
""yes; then :
23060 $as_echo "#define HAVE_J1F 1" >>confdefs.h
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
23065 $as_echo_n "checking for j1 in -lm... " >&6; }
23066 if test "${ac_cv_lib_m_j1+set}" = set; then :
23067 $as_echo_n "(cached) " >&6
23069 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
23078 Use char because int might match the return type of a GCC
23079 builtin and then its argument prototype would still apply. */
23092 if ac_fn_c_try_link
"$LINENO"; then :
23097 rm -f core conftest.err conftest.
$ac_objext \
23098 conftest
$ac_exeext conftest.
$ac_ext
23099 LIBS
=$ac_check_lib_save_LIBS
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
23102 $as_echo "$ac_cv_lib_m_j1" >&6; }
23103 if test "x$ac_cv_lib_m_j1" = x
""yes; then :
23105 $as_echo "#define HAVE_J1 1" >>confdefs.h
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
23110 $as_echo_n "checking for j1l in -lm... " >&6; }
23111 if test "${ac_cv_lib_m_j1l+set}" = set; then :
23112 $as_echo_n "(cached) " >&6
23114 ac_check_lib_save_LIBS
=$LIBS
23116 if test x
$gcc_no_link = xyes
; then
23117 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23120 /* end confdefs.h. */
23122 /* Override any GCC internal prototype to avoid an error.
23123 Use char because int might match the return type of a GCC
23124 builtin and then its argument prototype would still apply. */
23137 if ac_fn_c_try_link
"$LINENO"; then :
23138 ac_cv_lib_m_j1l
=yes
23142 rm -f core conftest.err conftest.
$ac_objext \
23143 conftest
$ac_exeext conftest.
$ac_ext
23144 LIBS
=$ac_check_lib_save_LIBS
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
23147 $as_echo "$ac_cv_lib_m_j1l" >&6; }
23148 if test "x$ac_cv_lib_m_j1l" = x
""yes; then :
23150 $as_echo "#define HAVE_J1L 1" >>confdefs.h
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
23155 $as_echo_n "checking for jnf in -lm... " >&6; }
23156 if test "${ac_cv_lib_m_jnf+set}" = set; then :
23157 $as_echo_n "(cached) " >&6
23159 ac_check_lib_save_LIBS
=$LIBS
23161 if test x
$gcc_no_link = xyes
; then
23162 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23165 /* end confdefs.h. */
23167 /* Override any GCC internal prototype to avoid an error.
23168 Use char because int might match the return type of a GCC
23169 builtin and then its argument prototype would still apply. */
23182 if ac_fn_c_try_link
"$LINENO"; then :
23183 ac_cv_lib_m_jnf
=yes
23187 rm -f core conftest.err conftest.
$ac_objext \
23188 conftest
$ac_exeext conftest.
$ac_ext
23189 LIBS
=$ac_check_lib_save_LIBS
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
23192 $as_echo "$ac_cv_lib_m_jnf" >&6; }
23193 if test "x$ac_cv_lib_m_jnf" = x
""yes; then :
23195 $as_echo "#define HAVE_JNF 1" >>confdefs.h
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
23200 $as_echo_n "checking for jn in -lm... " >&6; }
23201 if test "${ac_cv_lib_m_jn+set}" = set; then :
23202 $as_echo_n "(cached) " >&6
23204 ac_check_lib_save_LIBS
=$LIBS
23206 if test x
$gcc_no_link = xyes
; then
23207 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23210 /* end confdefs.h. */
23212 /* Override any GCC internal prototype to avoid an error.
23213 Use char because int might match the return type of a GCC
23214 builtin and then its argument prototype would still apply. */
23227 if ac_fn_c_try_link
"$LINENO"; then :
23232 rm -f core conftest.err conftest.
$ac_objext \
23233 conftest
$ac_exeext conftest.
$ac_ext
23234 LIBS
=$ac_check_lib_save_LIBS
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
23237 $as_echo "$ac_cv_lib_m_jn" >&6; }
23238 if test "x$ac_cv_lib_m_jn" = x
""yes; then :
23240 $as_echo "#define HAVE_JN 1" >>confdefs.h
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
23245 $as_echo_n "checking for jnl in -lm... " >&6; }
23246 if test "${ac_cv_lib_m_jnl+set}" = set; then :
23247 $as_echo_n "(cached) " >&6
23249 ac_check_lib_save_LIBS
=$LIBS
23251 if test x
$gcc_no_link = xyes
; then
23252 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23255 /* end confdefs.h. */
23257 /* Override any GCC internal prototype to avoid an error.
23258 Use char because int might match the return type of a GCC
23259 builtin and then its argument prototype would still apply. */
23272 if ac_fn_c_try_link
"$LINENO"; then :
23273 ac_cv_lib_m_jnl
=yes
23277 rm -f core conftest.err conftest.
$ac_objext \
23278 conftest
$ac_exeext conftest.
$ac_ext
23279 LIBS
=$ac_check_lib_save_LIBS
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
23282 $as_echo "$ac_cv_lib_m_jnl" >&6; }
23283 if test "x$ac_cv_lib_m_jnl" = x
""yes; then :
23285 $as_echo "#define HAVE_JNL 1" >>confdefs.h
23289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
23290 $as_echo_n "checking for y0f in -lm... " >&6; }
23291 if test "${ac_cv_lib_m_y0f+set}" = set; then :
23292 $as_echo_n "(cached) " >&6
23294 ac_check_lib_save_LIBS
=$LIBS
23296 if test x
$gcc_no_link = xyes
; then
23297 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23300 /* end confdefs.h. */
23302 /* Override any GCC internal prototype to avoid an error.
23303 Use char because int might match the return type of a GCC
23304 builtin and then its argument prototype would still apply. */
23317 if ac_fn_c_try_link
"$LINENO"; then :
23318 ac_cv_lib_m_y0f
=yes
23322 rm -f core conftest.err conftest.
$ac_objext \
23323 conftest
$ac_exeext conftest.
$ac_ext
23324 LIBS
=$ac_check_lib_save_LIBS
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
23327 $as_echo "$ac_cv_lib_m_y0f" >&6; }
23328 if test "x$ac_cv_lib_m_y0f" = x
""yes; then :
23330 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
23335 $as_echo_n "checking for y0 in -lm... " >&6; }
23336 if test "${ac_cv_lib_m_y0+set}" = set; then :
23337 $as_echo_n "(cached) " >&6
23339 ac_check_lib_save_LIBS
=$LIBS
23341 if test x
$gcc_no_link = xyes
; then
23342 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23345 /* end confdefs.h. */
23347 /* Override any GCC internal prototype to avoid an error.
23348 Use char because int might match the return type of a GCC
23349 builtin and then its argument prototype would still apply. */
23362 if ac_fn_c_try_link
"$LINENO"; then :
23367 rm -f core conftest.err conftest.
$ac_objext \
23368 conftest
$ac_exeext conftest.
$ac_ext
23369 LIBS
=$ac_check_lib_save_LIBS
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
23372 $as_echo "$ac_cv_lib_m_y0" >&6; }
23373 if test "x$ac_cv_lib_m_y0" = x
""yes; then :
23375 $as_echo "#define HAVE_Y0 1" >>confdefs.h
23379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
23380 $as_echo_n "checking for y0l in -lm... " >&6; }
23381 if test "${ac_cv_lib_m_y0l+set}" = set; then :
23382 $as_echo_n "(cached) " >&6
23384 ac_check_lib_save_LIBS
=$LIBS
23386 if test x
$gcc_no_link = xyes
; then
23387 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23390 /* end confdefs.h. */
23392 /* Override any GCC internal prototype to avoid an error.
23393 Use char because int might match the return type of a GCC
23394 builtin and then its argument prototype would still apply. */
23407 if ac_fn_c_try_link
"$LINENO"; then :
23408 ac_cv_lib_m_y0l
=yes
23412 rm -f core conftest.err conftest.
$ac_objext \
23413 conftest
$ac_exeext conftest.
$ac_ext
23414 LIBS
=$ac_check_lib_save_LIBS
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
23417 $as_echo "$ac_cv_lib_m_y0l" >&6; }
23418 if test "x$ac_cv_lib_m_y0l" = x
""yes; then :
23420 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
23425 $as_echo_n "checking for y1f in -lm... " >&6; }
23426 if test "${ac_cv_lib_m_y1f+set}" = set; then :
23427 $as_echo_n "(cached) " >&6
23429 ac_check_lib_save_LIBS
=$LIBS
23431 if test x
$gcc_no_link = xyes
; then
23432 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23435 /* end confdefs.h. */
23437 /* Override any GCC internal prototype to avoid an error.
23438 Use char because int might match the return type of a GCC
23439 builtin and then its argument prototype would still apply. */
23452 if ac_fn_c_try_link
"$LINENO"; then :
23453 ac_cv_lib_m_y1f
=yes
23457 rm -f core conftest.err conftest.
$ac_objext \
23458 conftest
$ac_exeext conftest.
$ac_ext
23459 LIBS
=$ac_check_lib_save_LIBS
23461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
23462 $as_echo "$ac_cv_lib_m_y1f" >&6; }
23463 if test "x$ac_cv_lib_m_y1f" = x
""yes; then :
23465 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
23469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
23470 $as_echo_n "checking for y1 in -lm... " >&6; }
23471 if test "${ac_cv_lib_m_y1+set}" = set; then :
23472 $as_echo_n "(cached) " >&6
23474 ac_check_lib_save_LIBS
=$LIBS
23476 if test x
$gcc_no_link = xyes
; then
23477 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23480 /* end confdefs.h. */
23482 /* Override any GCC internal prototype to avoid an error.
23483 Use char because int might match the return type of a GCC
23484 builtin and then its argument prototype would still apply. */
23497 if ac_fn_c_try_link
"$LINENO"; then :
23502 rm -f core conftest.err conftest.
$ac_objext \
23503 conftest
$ac_exeext conftest.
$ac_ext
23504 LIBS
=$ac_check_lib_save_LIBS
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
23507 $as_echo "$ac_cv_lib_m_y1" >&6; }
23508 if test "x$ac_cv_lib_m_y1" = x
""yes; then :
23510 $as_echo "#define HAVE_Y1 1" >>confdefs.h
23514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
23515 $as_echo_n "checking for y1l in -lm... " >&6; }
23516 if test "${ac_cv_lib_m_y1l+set}" = set; then :
23517 $as_echo_n "(cached) " >&6
23519 ac_check_lib_save_LIBS
=$LIBS
23521 if test x
$gcc_no_link = xyes
; then
23522 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23525 /* end confdefs.h. */
23527 /* Override any GCC internal prototype to avoid an error.
23528 Use char because int might match the return type of a GCC
23529 builtin and then its argument prototype would still apply. */
23542 if ac_fn_c_try_link
"$LINENO"; then :
23543 ac_cv_lib_m_y1l
=yes
23547 rm -f core conftest.err conftest.
$ac_objext \
23548 conftest
$ac_exeext conftest.
$ac_ext
23549 LIBS
=$ac_check_lib_save_LIBS
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
23552 $as_echo "$ac_cv_lib_m_y1l" >&6; }
23553 if test "x$ac_cv_lib_m_y1l" = x
""yes; then :
23555 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
23559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
23560 $as_echo_n "checking for ynf in -lm... " >&6; }
23561 if test "${ac_cv_lib_m_ynf+set}" = set; then :
23562 $as_echo_n "(cached) " >&6
23564 ac_check_lib_save_LIBS
=$LIBS
23566 if test x
$gcc_no_link = xyes
; then
23567 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23570 /* end confdefs.h. */
23572 /* Override any GCC internal prototype to avoid an error.
23573 Use char because int might match the return type of a GCC
23574 builtin and then its argument prototype would still apply. */
23587 if ac_fn_c_try_link
"$LINENO"; then :
23588 ac_cv_lib_m_ynf
=yes
23592 rm -f core conftest.err conftest.
$ac_objext \
23593 conftest
$ac_exeext conftest.
$ac_ext
23594 LIBS
=$ac_check_lib_save_LIBS
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
23597 $as_echo "$ac_cv_lib_m_ynf" >&6; }
23598 if test "x$ac_cv_lib_m_ynf" = x
""yes; then :
23600 $as_echo "#define HAVE_YNF 1" >>confdefs.h
23604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
23605 $as_echo_n "checking for yn in -lm... " >&6; }
23606 if test "${ac_cv_lib_m_yn+set}" = set; then :
23607 $as_echo_n "(cached) " >&6
23609 ac_check_lib_save_LIBS
=$LIBS
23611 if test x
$gcc_no_link = xyes
; then
23612 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23615 /* end confdefs.h. */
23617 /* Override any GCC internal prototype to avoid an error.
23618 Use char because int might match the return type of a GCC
23619 builtin and then its argument prototype would still apply. */
23632 if ac_fn_c_try_link
"$LINENO"; then :
23637 rm -f core conftest.err conftest.
$ac_objext \
23638 conftest
$ac_exeext conftest.
$ac_ext
23639 LIBS
=$ac_check_lib_save_LIBS
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23642 $as_echo "$ac_cv_lib_m_yn" >&6; }
23643 if test "x$ac_cv_lib_m_yn" = x
""yes; then :
23645 $as_echo "#define HAVE_YN 1" >>confdefs.h
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23650 $as_echo_n "checking for ynl in -lm... " >&6; }
23651 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23652 $as_echo_n "(cached) " >&6
23654 ac_check_lib_save_LIBS
=$LIBS
23656 if test x
$gcc_no_link = xyes
; then
23657 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23660 /* end confdefs.h. */
23662 /* Override any GCC internal prototype to avoid an error.
23663 Use char because int might match the return type of a GCC
23664 builtin and then its argument prototype would still apply. */
23677 if ac_fn_c_try_link
"$LINENO"; then :
23678 ac_cv_lib_m_ynl
=yes
23682 rm -f core conftest.err conftest.
$ac_objext \
23683 conftest
$ac_exeext conftest.
$ac_ext
23684 LIBS
=$ac_check_lib_save_LIBS
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23687 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23688 if test "x$ac_cv_lib_m_ynl" = x
""yes; then :
23690 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23695 $as_echo_n "checking for tgamma in -lm... " >&6; }
23696 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23697 $as_echo_n "(cached) " >&6
23699 ac_check_lib_save_LIBS
=$LIBS
23701 if test x
$gcc_no_link = xyes
; then
23702 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23705 /* end confdefs.h. */
23707 /* Override any GCC internal prototype to avoid an error.
23708 Use char because int might match the return type of a GCC
23709 builtin and then its argument prototype would still apply. */
23722 if ac_fn_c_try_link
"$LINENO"; then :
23723 ac_cv_lib_m_tgamma
=yes
23725 ac_cv_lib_m_tgamma
=no
23727 rm -f core conftest.err conftest.
$ac_objext \
23728 conftest
$ac_exeext conftest.
$ac_ext
23729 LIBS
=$ac_check_lib_save_LIBS
23731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23732 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23733 if test "x$ac_cv_lib_m_tgamma" = x
""yes; then :
23735 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23740 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23741 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23742 $as_echo_n "(cached) " >&6
23744 ac_check_lib_save_LIBS
=$LIBS
23746 if test x
$gcc_no_link = xyes
; then
23747 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23752 /* Override any GCC internal prototype to avoid an error.
23753 Use char because int might match the return type of a GCC
23754 builtin and then its argument prototype would still apply. */
23767 if ac_fn_c_try_link
"$LINENO"; then :
23768 ac_cv_lib_m_tgammaf
=yes
23770 ac_cv_lib_m_tgammaf
=no
23772 rm -f core conftest.err conftest.
$ac_objext \
23773 conftest
$ac_exeext conftest.
$ac_ext
23774 LIBS
=$ac_check_lib_save_LIBS
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23777 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23778 if test "x$ac_cv_lib_m_tgammaf" = x
""yes; then :
23780 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23785 $as_echo_n "checking for tgammal in -lm... " >&6; }
23786 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23787 $as_echo_n "(cached) " >&6
23789 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
23798 Use char because int might match the return type of a GCC
23799 builtin and then its argument prototype would still apply. */
23812 if ac_fn_c_try_link
"$LINENO"; then :
23813 ac_cv_lib_m_tgammal
=yes
23815 ac_cv_lib_m_tgammal
=no
23817 rm -f core conftest.err conftest.
$ac_objext \
23818 conftest
$ac_exeext conftest.
$ac_ext
23819 LIBS
=$ac_check_lib_save_LIBS
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23822 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23823 if test "x$ac_cv_lib_m_tgammal" = x
""yes; then :
23825 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23830 $as_echo_n "checking for lgamma in -lm... " >&6; }
23831 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23832 $as_echo_n "(cached) " >&6
23834 ac_check_lib_save_LIBS
=$LIBS
23836 if test x
$gcc_no_link = xyes
; then
23837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23840 /* end confdefs.h. */
23842 /* Override any GCC internal prototype to avoid an error.
23843 Use char because int might match the return type of a GCC
23844 builtin and then its argument prototype would still apply. */
23857 if ac_fn_c_try_link
"$LINENO"; then :
23858 ac_cv_lib_m_lgamma
=yes
23860 ac_cv_lib_m_lgamma
=no
23862 rm -f core conftest.err conftest.
$ac_objext \
23863 conftest
$ac_exeext conftest.
$ac_ext
23864 LIBS
=$ac_check_lib_save_LIBS
23866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23867 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23868 if test "x$ac_cv_lib_m_lgamma" = x
""yes; then :
23870 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23875 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23876 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23877 $as_echo_n "(cached) " >&6
23879 ac_check_lib_save_LIBS
=$LIBS
23881 if test x
$gcc_no_link = xyes
; then
23882 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23885 /* end confdefs.h. */
23887 /* Override any GCC internal prototype to avoid an error.
23888 Use char because int might match the return type of a GCC
23889 builtin and then its argument prototype would still apply. */
23902 if ac_fn_c_try_link
"$LINENO"; then :
23903 ac_cv_lib_m_lgammaf
=yes
23905 ac_cv_lib_m_lgammaf
=no
23907 rm -f core conftest.err conftest.
$ac_objext \
23908 conftest
$ac_exeext conftest.
$ac_ext
23909 LIBS
=$ac_check_lib_save_LIBS
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23912 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23913 if test "x$ac_cv_lib_m_lgammaf" = x
""yes; then :
23915 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23920 $as_echo_n "checking for lgammal in -lm... " >&6; }
23921 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23922 $as_echo_n "(cached) " >&6
23924 ac_check_lib_save_LIBS
=$LIBS
23926 if test x
$gcc_no_link = xyes
; then
23927 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23930 /* end confdefs.h. */
23932 /* Override any GCC internal prototype to avoid an error.
23933 Use char because int might match the return type of a GCC
23934 builtin and then its argument prototype would still apply. */
23947 if ac_fn_c_try_link
"$LINENO"; then :
23948 ac_cv_lib_m_lgammal
=yes
23950 ac_cv_lib_m_lgammal
=no
23952 rm -f core conftest.err conftest.
$ac_objext \
23953 conftest
$ac_exeext conftest.
$ac_ext
23954 LIBS
=$ac_check_lib_save_LIBS
23956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23957 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23958 if test "x$ac_cv_lib_m_lgammal" = x
""yes; then :
23960 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23965 # Check for GFORTRAN_C99_1.1 funcs
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23967 $as_echo_n "checking for cacos in -lm... " >&6; }
23968 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23969 $as_echo_n "(cached) " >&6
23971 ac_check_lib_save_LIBS
=$LIBS
23973 if test x
$gcc_no_link = xyes
; then
23974 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23977 /* end confdefs.h. */
23979 /* Override any GCC internal prototype to avoid an error.
23980 Use char because int might match the return type of a GCC
23981 builtin and then its argument prototype would still apply. */
23994 if ac_fn_c_try_link
"$LINENO"; then :
23995 ac_cv_lib_m_cacos
=yes
23997 ac_cv_lib_m_cacos
=no
23999 rm -f core conftest.err conftest.
$ac_objext \
24000 conftest
$ac_exeext conftest.
$ac_ext
24001 LIBS
=$ac_check_lib_save_LIBS
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
24004 $as_echo "$ac_cv_lib_m_cacos" >&6; }
24005 if test "x$ac_cv_lib_m_cacos" = x
""yes; then :
24007 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
24011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
24012 $as_echo_n "checking for cacosf in -lm... " >&6; }
24013 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
24014 $as_echo_n "(cached) " >&6
24016 ac_check_lib_save_LIBS
=$LIBS
24018 if test x
$gcc_no_link = xyes
; then
24019 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h. */
24024 /* Override any GCC internal prototype to avoid an error.
24025 Use char because int might match the return type of a GCC
24026 builtin and then its argument prototype would still apply. */
24039 if ac_fn_c_try_link
"$LINENO"; then :
24040 ac_cv_lib_m_cacosf
=yes
24042 ac_cv_lib_m_cacosf
=no
24044 rm -f core conftest.err conftest.
$ac_objext \
24045 conftest
$ac_exeext conftest.
$ac_ext
24046 LIBS
=$ac_check_lib_save_LIBS
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
24049 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
24050 if test "x$ac_cv_lib_m_cacosf" = x
""yes; then :
24052 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
24057 $as_echo_n "checking for cacosh in -lm... " >&6; }
24058 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
24059 $as_echo_n "(cached) " >&6
24061 ac_check_lib_save_LIBS
=$LIBS
24063 if test x
$gcc_no_link = xyes
; then
24064 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24067 /* end confdefs.h. */
24069 /* Override any GCC internal prototype to avoid an error.
24070 Use char because int might match the return type of a GCC
24071 builtin and then its argument prototype would still apply. */
24084 if ac_fn_c_try_link
"$LINENO"; then :
24085 ac_cv_lib_m_cacosh
=yes
24087 ac_cv_lib_m_cacosh
=no
24089 rm -f core conftest.err conftest.
$ac_objext \
24090 conftest
$ac_exeext conftest.
$ac_ext
24091 LIBS
=$ac_check_lib_save_LIBS
24093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
24094 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
24095 if test "x$ac_cv_lib_m_cacosh" = x
""yes; then :
24097 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
24102 $as_echo_n "checking for cacoshf in -lm... " >&6; }
24103 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
24104 $as_echo_n "(cached) " >&6
24106 ac_check_lib_save_LIBS
=$LIBS
24108 if test x
$gcc_no_link = xyes
; then
24109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24114 /* Override any GCC internal prototype to avoid an error.
24115 Use char because int might match the return type of a GCC
24116 builtin and then its argument prototype would still apply. */
24129 if ac_fn_c_try_link
"$LINENO"; then :
24130 ac_cv_lib_m_cacoshf
=yes
24132 ac_cv_lib_m_cacoshf
=no
24134 rm -f core conftest.err conftest.
$ac_objext \
24135 conftest
$ac_exeext conftest.
$ac_ext
24136 LIBS
=$ac_check_lib_save_LIBS
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
24139 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
24140 if test "x$ac_cv_lib_m_cacoshf" = x
""yes; then :
24142 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
24146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
24147 $as_echo_n "checking for cacoshl in -lm... " >&6; }
24148 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
24149 $as_echo_n "(cached) " >&6
24151 ac_check_lib_save_LIBS
=$LIBS
24153 if test x
$gcc_no_link = xyes
; then
24154 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h. */
24159 /* Override any GCC internal prototype to avoid an error.
24160 Use char because int might match the return type of a GCC
24161 builtin and then its argument prototype would still apply. */
24174 if ac_fn_c_try_link
"$LINENO"; then :
24175 ac_cv_lib_m_cacoshl
=yes
24177 ac_cv_lib_m_cacoshl
=no
24179 rm -f core conftest.err conftest.
$ac_objext \
24180 conftest
$ac_exeext conftest.
$ac_ext
24181 LIBS
=$ac_check_lib_save_LIBS
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
24184 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
24185 if test "x$ac_cv_lib_m_cacoshl" = x
""yes; then :
24187 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
24192 $as_echo_n "checking for cacosl in -lm... " >&6; }
24193 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
24194 $as_echo_n "(cached) " >&6
24196 ac_check_lib_save_LIBS
=$LIBS
24198 if test x
$gcc_no_link = xyes
; then
24199 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24202 /* end confdefs.h. */
24204 /* Override any GCC internal prototype to avoid an error.
24205 Use char because int might match the return type of a GCC
24206 builtin and then its argument prototype would still apply. */
24219 if ac_fn_c_try_link
"$LINENO"; then :
24220 ac_cv_lib_m_cacosl
=yes
24222 ac_cv_lib_m_cacosl
=no
24224 rm -f core conftest.err conftest.
$ac_objext \
24225 conftest
$ac_exeext conftest.
$ac_ext
24226 LIBS
=$ac_check_lib_save_LIBS
24228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
24229 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
24230 if test "x$ac_cv_lib_m_cacosl" = x
""yes; then :
24232 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
24237 $as_echo_n "checking for casin in -lm... " >&6; }
24238 if test "${ac_cv_lib_m_casin+set}" = set; then :
24239 $as_echo_n "(cached) " >&6
24241 ac_check_lib_save_LIBS
=$LIBS
24243 if test x
$gcc_no_link = xyes
; then
24244 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24247 /* end confdefs.h. */
24249 /* Override any GCC internal prototype to avoid an error.
24250 Use char because int might match the return type of a GCC
24251 builtin and then its argument prototype would still apply. */
24264 if ac_fn_c_try_link
"$LINENO"; then :
24265 ac_cv_lib_m_casin
=yes
24267 ac_cv_lib_m_casin
=no
24269 rm -f core conftest.err conftest.
$ac_objext \
24270 conftest
$ac_exeext conftest.
$ac_ext
24271 LIBS
=$ac_check_lib_save_LIBS
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
24274 $as_echo "$ac_cv_lib_m_casin" >&6; }
24275 if test "x$ac_cv_lib_m_casin" = x
""yes; then :
24277 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
24281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
24282 $as_echo_n "checking for casinf in -lm... " >&6; }
24283 if test "${ac_cv_lib_m_casinf+set}" = set; then :
24284 $as_echo_n "(cached) " >&6
24286 ac_check_lib_save_LIBS
=$LIBS
24288 if test x
$gcc_no_link = xyes
; then
24289 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24292 /* end confdefs.h. */
24294 /* Override any GCC internal prototype to avoid an error.
24295 Use char because int might match the return type of a GCC
24296 builtin and then its argument prototype would still apply. */
24309 if ac_fn_c_try_link
"$LINENO"; then :
24310 ac_cv_lib_m_casinf
=yes
24312 ac_cv_lib_m_casinf
=no
24314 rm -f core conftest.err conftest.
$ac_objext \
24315 conftest
$ac_exeext conftest.
$ac_ext
24316 LIBS
=$ac_check_lib_save_LIBS
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
24319 $as_echo "$ac_cv_lib_m_casinf" >&6; }
24320 if test "x$ac_cv_lib_m_casinf" = x
""yes; then :
24322 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
24327 $as_echo_n "checking for casinh in -lm... " >&6; }
24328 if test "${ac_cv_lib_m_casinh+set}" = set; then :
24329 $as_echo_n "(cached) " >&6
24331 ac_check_lib_save_LIBS
=$LIBS
24333 if test x
$gcc_no_link = xyes
; then
24334 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24339 /* Override any GCC internal prototype to avoid an error.
24340 Use char because int might match the return type of a GCC
24341 builtin and then its argument prototype would still apply. */
24354 if ac_fn_c_try_link
"$LINENO"; then :
24355 ac_cv_lib_m_casinh
=yes
24357 ac_cv_lib_m_casinh
=no
24359 rm -f core conftest.err conftest.
$ac_objext \
24360 conftest
$ac_exeext conftest.
$ac_ext
24361 LIBS
=$ac_check_lib_save_LIBS
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
24364 $as_echo "$ac_cv_lib_m_casinh" >&6; }
24365 if test "x$ac_cv_lib_m_casinh" = x
""yes; then :
24367 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
24372 $as_echo_n "checking for casinhf in -lm... " >&6; }
24373 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
24374 $as_echo_n "(cached) " >&6
24376 ac_check_lib_save_LIBS
=$LIBS
24378 if test x
$gcc_no_link = xyes
; then
24379 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24382 /* end confdefs.h. */
24384 /* Override any GCC internal prototype to avoid an error.
24385 Use char because int might match the return type of a GCC
24386 builtin and then its argument prototype would still apply. */
24399 if ac_fn_c_try_link
"$LINENO"; then :
24400 ac_cv_lib_m_casinhf
=yes
24402 ac_cv_lib_m_casinhf
=no
24404 rm -f core conftest.err conftest.
$ac_objext \
24405 conftest
$ac_exeext conftest.
$ac_ext
24406 LIBS
=$ac_check_lib_save_LIBS
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
24409 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
24410 if test "x$ac_cv_lib_m_casinhf" = x
""yes; then :
24412 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
24417 $as_echo_n "checking for casinhl in -lm... " >&6; }
24418 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
24419 $as_echo_n "(cached) " >&6
24421 ac_check_lib_save_LIBS
=$LIBS
24423 if test x
$gcc_no_link = xyes
; then
24424 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24427 /* end confdefs.h. */
24429 /* Override any GCC internal prototype to avoid an error.
24430 Use char because int might match the return type of a GCC
24431 builtin and then its argument prototype would still apply. */
24444 if ac_fn_c_try_link
"$LINENO"; then :
24445 ac_cv_lib_m_casinhl
=yes
24447 ac_cv_lib_m_casinhl
=no
24449 rm -f core conftest.err conftest.
$ac_objext \
24450 conftest
$ac_exeext conftest.
$ac_ext
24451 LIBS
=$ac_check_lib_save_LIBS
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
24454 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
24455 if test "x$ac_cv_lib_m_casinhl" = x
""yes; then :
24457 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
24462 $as_echo_n "checking for casinl in -lm... " >&6; }
24463 if test "${ac_cv_lib_m_casinl+set}" = set; then :
24464 $as_echo_n "(cached) " >&6
24466 ac_check_lib_save_LIBS
=$LIBS
24468 if test x
$gcc_no_link = xyes
; then
24469 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24472 /* end confdefs.h. */
24474 /* Override any GCC internal prototype to avoid an error.
24475 Use char because int might match the return type of a GCC
24476 builtin and then its argument prototype would still apply. */
24489 if ac_fn_c_try_link
"$LINENO"; then :
24490 ac_cv_lib_m_casinl
=yes
24492 ac_cv_lib_m_casinl
=no
24494 rm -f core conftest.err conftest.
$ac_objext \
24495 conftest
$ac_exeext conftest.
$ac_ext
24496 LIBS
=$ac_check_lib_save_LIBS
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
24499 $as_echo "$ac_cv_lib_m_casinl" >&6; }
24500 if test "x$ac_cv_lib_m_casinl" = x
""yes; then :
24502 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
24507 $as_echo_n "checking for catan in -lm... " >&6; }
24508 if test "${ac_cv_lib_m_catan+set}" = set; then :
24509 $as_echo_n "(cached) " >&6
24511 ac_check_lib_save_LIBS
=$LIBS
24513 if test x
$gcc_no_link = xyes
; then
24514 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24517 /* end confdefs.h. */
24519 /* Override any GCC internal prototype to avoid an error.
24520 Use char because int might match the return type of a GCC
24521 builtin and then its argument prototype would still apply. */
24534 if ac_fn_c_try_link
"$LINENO"; then :
24535 ac_cv_lib_m_catan
=yes
24537 ac_cv_lib_m_catan
=no
24539 rm -f core conftest.err conftest.
$ac_objext \
24540 conftest
$ac_exeext conftest.
$ac_ext
24541 LIBS
=$ac_check_lib_save_LIBS
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
24544 $as_echo "$ac_cv_lib_m_catan" >&6; }
24545 if test "x$ac_cv_lib_m_catan" = x
""yes; then :
24547 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
24552 $as_echo_n "checking for catanf in -lm... " >&6; }
24553 if test "${ac_cv_lib_m_catanf+set}" = set; then :
24554 $as_echo_n "(cached) " >&6
24556 ac_check_lib_save_LIBS
=$LIBS
24558 if test x
$gcc_no_link = xyes
; then
24559 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24562 /* end confdefs.h. */
24564 /* Override any GCC internal prototype to avoid an error.
24565 Use char because int might match the return type of a GCC
24566 builtin and then its argument prototype would still apply. */
24579 if ac_fn_c_try_link
"$LINENO"; then :
24580 ac_cv_lib_m_catanf
=yes
24582 ac_cv_lib_m_catanf
=no
24584 rm -f core conftest.err conftest.
$ac_objext \
24585 conftest
$ac_exeext conftest.
$ac_ext
24586 LIBS
=$ac_check_lib_save_LIBS
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
24589 $as_echo "$ac_cv_lib_m_catanf" >&6; }
24590 if test "x$ac_cv_lib_m_catanf" = x
""yes; then :
24592 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
24597 $as_echo_n "checking for catanh in -lm... " >&6; }
24598 if test "${ac_cv_lib_m_catanh+set}" = set; then :
24599 $as_echo_n "(cached) " >&6
24601 ac_check_lib_save_LIBS
=$LIBS
24603 if test x
$gcc_no_link = xyes
; then
24604 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24607 /* end confdefs.h. */
24609 /* Override any GCC internal prototype to avoid an error.
24610 Use char because int might match the return type of a GCC
24611 builtin and then its argument prototype would still apply. */
24624 if ac_fn_c_try_link
"$LINENO"; then :
24625 ac_cv_lib_m_catanh
=yes
24627 ac_cv_lib_m_catanh
=no
24629 rm -f core conftest.err conftest.
$ac_objext \
24630 conftest
$ac_exeext conftest.
$ac_ext
24631 LIBS
=$ac_check_lib_save_LIBS
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24634 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24635 if test "x$ac_cv_lib_m_catanh" = x
""yes; then :
24637 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24642 $as_echo_n "checking for catanhf in -lm... " >&6; }
24643 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24644 $as_echo_n "(cached) " >&6
24646 ac_check_lib_save_LIBS
=$LIBS
24648 if test x
$gcc_no_link = xyes
; then
24649 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24652 /* end confdefs.h. */
24654 /* Override any GCC internal prototype to avoid an error.
24655 Use char because int might match the return type of a GCC
24656 builtin and then its argument prototype would still apply. */
24669 if ac_fn_c_try_link
"$LINENO"; then :
24670 ac_cv_lib_m_catanhf
=yes
24672 ac_cv_lib_m_catanhf
=no
24674 rm -f core conftest.err conftest.
$ac_objext \
24675 conftest
$ac_exeext conftest.
$ac_ext
24676 LIBS
=$ac_check_lib_save_LIBS
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24679 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24680 if test "x$ac_cv_lib_m_catanhf" = x
""yes; then :
24682 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24687 $as_echo_n "checking for catanhl in -lm... " >&6; }
24688 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24689 $as_echo_n "(cached) " >&6
24691 ac_check_lib_save_LIBS
=$LIBS
24693 if test x
$gcc_no_link = xyes
; then
24694 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24697 /* end confdefs.h. */
24699 /* Override any GCC internal prototype to avoid an error.
24700 Use char because int might match the return type of a GCC
24701 builtin and then its argument prototype would still apply. */
24714 if ac_fn_c_try_link
"$LINENO"; then :
24715 ac_cv_lib_m_catanhl
=yes
24717 ac_cv_lib_m_catanhl
=no
24719 rm -f core conftest.err conftest.
$ac_objext \
24720 conftest
$ac_exeext conftest.
$ac_ext
24721 LIBS
=$ac_check_lib_save_LIBS
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24724 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24725 if test "x$ac_cv_lib_m_catanhl" = x
""yes; then :
24727 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24732 $as_echo_n "checking for catanl in -lm... " >&6; }
24733 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24734 $as_echo_n "(cached) " >&6
24736 ac_check_lib_save_LIBS
=$LIBS
24738 if test x
$gcc_no_link = xyes
; then
24739 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24744 /* Override any GCC internal prototype to avoid an error.
24745 Use char because int might match the return type of a GCC
24746 builtin and then its argument prototype would still apply. */
24759 if ac_fn_c_try_link
"$LINENO"; then :
24760 ac_cv_lib_m_catanl
=yes
24762 ac_cv_lib_m_catanl
=no
24764 rm -f core conftest.err conftest.
$ac_objext \
24765 conftest
$ac_exeext conftest.
$ac_ext
24766 LIBS
=$ac_check_lib_save_LIBS
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24769 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24770 if test "x$ac_cv_lib_m_catanl" = x
""yes; then :
24772 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24777 # On AIX, clog is present in libm as __clog
24778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24779 $as_echo_n "checking for __clog in -lm... " >&6; }
24780 if test "${ac_cv_lib_m___clog+set}" = set; then :
24781 $as_echo_n "(cached) " >&6
24783 ac_check_lib_save_LIBS
=$LIBS
24785 if test x
$gcc_no_link = xyes
; then
24786 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24789 /* end confdefs.h. */
24791 /* Override any GCC internal prototype to avoid an error.
24792 Use char because int might match the return type of a GCC
24793 builtin and then its argument prototype would still apply. */
24806 if ac_fn_c_try_link
"$LINENO"; then :
24807 ac_cv_lib_m___clog
=yes
24809 ac_cv_lib_m___clog
=no
24811 rm -f core conftest.err conftest.
$ac_objext \
24812 conftest
$ac_exeext conftest.
$ac_ext
24813 LIBS
=$ac_check_lib_save_LIBS
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24816 $as_echo "$ac_cv_lib_m___clog" >&6; }
24817 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
24819 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24824 # Check whether the system has a working stat()
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24827 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24828 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24829 $as_echo_n "(cached) " >&6
24832 if test "$cross_compiling" = yes; then :
24834 case "${target}" in
24835 *mingw
*) libgfor_cv_have_working_stat
=no
;;
24836 *) libgfor_cv_have_working_stat
=yes;;
24839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24840 /* end confdefs.h. */
24843 #include <sys/types.h>
24844 #include <sys/stat.h>
24845 #include <unistd.h>
24850 struct stat st1, st2;
24852 f = fopen ("foo", "w");
24853 g = fopen ("bar", "w");
24854 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24856 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24863 if ac_fn_c_try_run
"$LINENO"; then :
24864 libgfor_cv_have_working_stat
=yes
24866 libgfor_cv_have_working_stat
=no
24868 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24869 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24874 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24875 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
24877 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24881 # Check whether __mingw_snprintf() is present
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24884 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24885 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24886 $as_echo_n "(cached) " >&6
24889 if test x
$gcc_no_link = xyes
; then
24890 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24893 /* end confdefs.h. */
24896 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24902 __mingw_snprintf (NULL, 0, "%d\n", 1);
24908 if ac_fn_c_try_link
"$LINENO"; then :
24909 eval "libgfor_cv_have_mingw_snprintf=yes"
24911 eval "libgfor_cv_have_mingw_snprintf=no"
24913 rm -f core conftest.err conftest.
$ac_objext \
24914 conftest
$ac_exeext conftest.
$ac_ext
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24918 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24919 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
24921 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24926 # Check for a broken powf implementation
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24929 $as_echo_n "checking whether powf is broken... " >&6; }
24930 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24931 $as_echo_n "(cached) " >&6
24934 case "${target}" in
24935 hppa
*64*-*-hpux*) libgfor_cv_have_broken_powf
=yes ;;
24936 *) libgfor_cv_have_broken_powf
=no
;;
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24940 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24941 if test x
"$libgfor_cv_have_broken_powf" = xyes
; then
24943 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24948 # Check whether libquadmath should be used
24949 # Check whether --enable-libquadmath-support was given.
24950 if test "${enable_libquadmath_support+set}" = set; then :
24951 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
24953 ENABLE_LIBQUADMATH_SUPPORT
=yes
24956 enable_libquadmath_support
=
24957 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
24958 enable_libquadmath_support
=no
24961 # Check whether we have a __float128 type, depends on enable_libquadmath_support
24965 if test "x$enable_libquadmath_support" != xno
; then
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24968 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24969 if test "${libgfor_cv_have_float128+set}" = set; then :
24970 $as_echo_n "(cached) " >&6
24973 if test x
$gcc_no_link = xyes
; then
24974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24975 /* end confdefs.h. */
24977 typedef _Complex float __attribute__((mode(TC))) __complex128;
24979 __float128 foo (__float128 x)
24982 __complex128 z1, z2;
24988 return (__float128) z2;
24991 __float128 bar (__float128 x)
24993 return x * __builtin_huge_valq ();
25007 if ac_fn_c_try_compile
"$LINENO"; then :
25009 libgfor_cv_have_float128
=yes
25013 libgfor_cv_have_float128
=no
25016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25018 if test x
$gcc_no_link = xyes
; then
25019 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25022 /* end confdefs.h. */
25024 typedef _Complex float __attribute__((mode(TC))) __complex128;
25026 __float128 foo (__float128 x)
25029 __complex128 z1, z2;
25035 return (__float128) z2;
25038 __float128 bar (__float128 x)
25040 return x * __builtin_huge_valq ();
25054 if ac_fn_c_try_link
"$LINENO"; then :
25056 libgfor_cv_have_float128
=yes
25060 libgfor_cv_have_float128
=no
25063 rm -f core conftest.err conftest.
$ac_objext \
25064 conftest
$ac_exeext conftest.
$ac_ext
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25068 $as_echo "$libgfor_cv_have_float128" >&6; }
25070 if test "x$libgfor_cv_have_float128" = xyes
; then
25072 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25075 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25077 $as_echo_n "checking whether --as-needed works... " >&6; }
25078 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25079 $as_echo_n "(cached) " >&6
25082 save_LDFLAGS
="$LDFLAGS"
25083 LDFLAGS
="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25084 libgfor_cv_have_as_needed
=no
25086 ac_c_werror_flag
=yes
25087 if test x
$gcc_no_link = xyes
; then
25088 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25091 /* end confdefs.h. */
25101 if ac_fn_c_try_link
"$LINENO"; then :
25102 libgfor_cv_have_as_needed
=yes
25104 libgfor_cv_have_as_needed
=no
25106 rm -f core conftest.err conftest.
$ac_objext \
25107 conftest
$ac_exeext conftest.
$ac_ext
25108 LDFLAGS
="$save_LDFLAGS"
25109 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25113 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25115 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25116 LIBQUADSPEC
="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25118 LIBQUADSPEC
="-lquadmath"
25120 if test -f ..
/libquadmath
/libquadmath.la
; then
25121 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25122 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25123 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25125 LIBQUADLIB
="-lquadmath"
25131 # for --disable-quadmath
25142 if test "x$libgfor_cv_have_float128" = xyes
; then
25143 LIBGFOR_BUILD_QUAD_TRUE
=
25144 LIBGFOR_BUILD_QUAD_FALSE
='#'
25146 LIBGFOR_BUILD_QUAD_TRUE
='#'
25147 LIBGFOR_BUILD_QUAD_FALSE
=
25152 # Check for GNU libc feenableexcept
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25154 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25155 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25156 $as_echo_n "(cached) " >&6
25158 ac_check_lib_save_LIBS
=$LIBS
25160 if test x
$gcc_no_link = xyes
; then
25161 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25164 /* end confdefs.h. */
25166 /* Override any GCC internal prototype to avoid an error.
25167 Use char because int might match the return type of a GCC
25168 builtin and then its argument prototype would still apply. */
25172 char feenableexcept ();
25176 return feenableexcept ();
25181 if ac_fn_c_try_link
"$LINENO"; then :
25182 ac_cv_lib_m_feenableexcept
=yes
25184 ac_cv_lib_m_feenableexcept
=no
25186 rm -f core conftest.err conftest.
$ac_objext \
25187 conftest
$ac_exeext conftest.
$ac_ext
25188 LIBS
=$ac_check_lib_save_LIBS
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25191 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25192 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25193 have_feenableexcept
=yes
25194 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25199 # At least for glibc and Tru64, clock_gettime is in librt. But don't
25200 # pull that in if it still doesn't give us the function we want. This
25201 # test is copied from libgomp, and modified to not link in -lrt as
25202 # libgfortran calls clock_gettime via a weak reference if it's found
25204 if test $ac_cv_func_clock_gettime = no
; then
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25206 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25207 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25208 $as_echo_n "(cached) " >&6
25210 ac_check_lib_save_LIBS
=$LIBS
25212 if test x
$gcc_no_link = xyes
; then
25213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25216 /* end confdefs.h. */
25218 /* Override any GCC internal prototype to avoid an error.
25219 Use char because int might match the return type of a GCC
25220 builtin and then its argument prototype would still apply. */
25224 char clock_gettime ();
25228 return clock_gettime ();
25233 if ac_fn_c_try_link
"$LINENO"; then :
25234 ac_cv_lib_rt_clock_gettime
=yes
25236 ac_cv_lib_rt_clock_gettime
=no
25238 rm -f core conftest.err conftest.
$ac_objext \
25239 conftest
$ac_exeext conftest.
$ac_ext
25240 LIBS
=$ac_check_lib_save_LIBS
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25243 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25244 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25246 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25252 # Check for SysV fpsetmask
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25255 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25256 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25257 $as_echo_n "(cached) " >&6
25260 if test x
$gcc_no_link = xyes
; then
25261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25264 /* end confdefs.h. */
25266 #if HAVE_FLOATINGPOINT_H
25267 # include <floatingpoint.h>
25268 #endif /* HAVE_FLOATINGPOINT_H */
25270 # include <ieeefp.h>
25271 #endif /* HAVE_IEEEFP_H */
25280 if ac_fn_c_try_link
"$LINENO"; then :
25281 eval "libgfor_cv_have_fpsetmask=yes"
25283 eval "libgfor_cv_have_fpsetmask=no"
25285 rm -f core conftest.err conftest.
$ac_objext \
25286 conftest
$ac_exeext conftest.
$ac_ext
25289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25290 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25291 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25294 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25299 # Check for AIX fp_trap and fp_enable
25300 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25301 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25303 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25307 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25308 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25310 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25315 # Runs configure.host to set up necessary host-dependent shell variables.
25316 # We then display a message about it, and propagate them through the
25318 .
${srcdir}/configure.
host
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25320 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25321 FPU_HOST_HEADER
=config
/${fpu_host}.h
25324 # Some targets require additional compiler options for IEEE compatibility.
25325 IEEE_FLAGS
="${ieee_flags}"
25329 # Check for POSIX getpwuid_r
25331 # There are two versions of getpwuid_r, the POSIX one with 5
25332 # arguments, and another one with 4 arguments used by at least HP-UX
25334 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25336 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25337 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25338 $as_echo_n "(cached) " >&6
25341 if test x
$gcc_no_link = xyes
; then
25342 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25345 /* end confdefs.h. */
25348 #include <sys/types.h>
25354 getpwuid_r(0, NULL, NULL, 0, NULL);
25360 if ac_fn_c_try_link
"$LINENO"; then :
25361 libgfor_cv_posix_getpwuid_r
="yes"
25363 libgfor_cv_posix_getpwuid_r
="no"
25365 rm -f core conftest.err conftest.
$ac_objext \
25366 conftest
$ac_exeext conftest.
$ac_ext
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25369 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25371 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25373 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25378 # Check out attribute support.
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25381 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25382 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25383 $as_echo_n "(cached) " >&6
25386 save_CFLAGS
="$CFLAGS"
25387 CFLAGS
="$CFLAGS -Werror"
25388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25390 void __attribute__((visibility("hidden"))) foo(void) { }
25399 if ac_fn_c_try_compile
"$LINENO"; then :
25400 libgfor_cv_have_attribute_visibility
=yes
25402 libgfor_cv_have_attribute_visibility
=no
25404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25405 CFLAGS
="$save_CFLAGS"
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25408 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25409 if test $libgfor_cv_have_attribute_visibility = yes; then
25411 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
25416 $as_echo_n "checking whether the target supports dllexport... " >&6; }
25417 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
25418 $as_echo_n "(cached) " >&6
25421 save_CFLAGS
="$CFLAGS"
25422 CFLAGS
="$CFLAGS -Werror"
25423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25425 void __attribute__((dllexport)) foo(void) { }
25434 if ac_fn_c_try_compile
"$LINENO"; then :
25435 libgfor_cv_have_attribute_dllexport
=yes
25437 libgfor_cv_have_attribute_dllexport
=no
25439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25440 CFLAGS
="$save_CFLAGS"
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
25443 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
25444 if test $libgfor_cv_have_attribute_dllexport = yes; then
25446 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25451 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25452 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25453 $as_echo_n "(cached) " >&6
25456 if test x
$gcc_no_link = xyes
; then
25457 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25460 /* end confdefs.h. */
25463 extern void bar(void) __attribute__((alias("foo")));
25472 if ac_fn_c_try_link
"$LINENO"; then :
25473 libgfor_cv_have_attribute_alias
=yes
25475 libgfor_cv_have_attribute_alias
=no
25477 rm -f core conftest.err conftest.
$ac_objext \
25478 conftest
$ac_exeext conftest.
$ac_ext
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
25481 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
25482 if test $libgfor_cv_have_attribute_alias = yes; then
25484 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
25488 # Check out sync builtins support.
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
25491 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
25492 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
25493 $as_echo_n "(cached) " >&6
25496 if test x
$gcc_no_link = xyes
; then
25497 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25500 /* end confdefs.h. */
25506 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
25507 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
25512 if ac_fn_c_try_link
"$LINENO"; then :
25513 libgfor_cv_have_sync_fetch_and_add
=yes
25515 libgfor_cv_have_sync_fetch_and_add
=no
25517 rm -f core conftest.err conftest.
$ac_objext \
25518 conftest
$ac_exeext conftest.
$ac_ext
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
25521 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
25522 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
25524 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
25528 # Check out #pragma weak.
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
25531 $as_echo_n "checking whether pragma weak works... " >&6; }
25532 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
25533 $as_echo_n "(cached) " >&6
25536 gfor_save_CFLAGS
="$CFLAGS"
25537 CFLAGS
="$CFLAGS -Wunknown-pragmas"
25538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25539 /* end confdefs.h. */
25552 if ac_fn_c_try_compile
"$LINENO"; then :
25553 libgfor_cv_have_pragma_weak
=yes
25555 libgfor_cv_have_pragma_weak
=no
25557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
25560 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
25561 if test $libgfor_cv_have_pragma_weak = yes; then
25563 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
25567 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* | alpha
*-dec-osf* )
25569 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
25574 # Various other checks on target
25576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
25577 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
25578 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
25579 $as_echo_n "(cached) " >&6
25582 if test "$cross_compiling" = yes; then :
25584 case "${target}" in
25585 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
25586 *) libgfor_cv_have_unlink_open_file
=yes;;
25589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25590 /* end confdefs.h. */
25594 #include <unistd.h>
25595 #include <sys/stat.h>
25601 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
25604 if (unlink ("testfile") == -1)
25606 write (fd, "This is a test\n", 15);
25609 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
25615 if ac_fn_c_try_run
"$LINENO"; then :
25616 libgfor_cv_have_unlink_open_file
=yes
25618 libgfor_cv_have_unlink_open_file
=no
25620 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25621 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
25626 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
25627 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
25629 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
25633 # Check whether line terminator is LF or CRLF
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
25636 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
25637 if test "${libgfor_cv_have_crlf+set}" = set; then :
25638 $as_echo_n "(cached) " >&6
25641 if test "$cross_compiling" = yes; then :
25643 case "${target}" in
25644 *mingw
*) libgfor_cv_have_crlf
=yes ;;
25645 *) libgfor_cv_have_crlf
=no
;;
25648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25649 /* end confdefs.h. */
25651 /* This test program should exit with status 0 if system uses a CRLF as
25652 line terminator, and status 1 otherwise.
25653 Since it is used to check for mingw systems, and should return 0 in any
25654 other case, in case of a failure we will not use CRLF. */
25655 #include <sys/stat.h>
25656 #include <stdlib.h>
25668 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
25671 if (write (fd, "\n", 1) < 0)
25676 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
25678 bytes = read (fd, buff, 5);
25679 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
25686 if ac_fn_c_try_run
"$LINENO"; then :
25687 libgfor_cv_have_crlf
=yes
25689 libgfor_cv_have_crlf
=no
25691 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25692 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
25697 $as_echo "$libgfor_cv_have_crlf" >&6; }
25698 if test x
"$libgfor_cv_have_crlf" = xyes
; then
25700 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
25704 # Check whether we have _Unwind_GetIPInfo for backtrace
25707 # Check whether --with-system-libunwind was given.
25708 if test "${with_system_libunwind+set}" = set; then :
25709 withval
=$with_system_libunwind;
25712 # If system-libunwind was not specifically set, pick a default setting.
25713 if test x
$with_system_libunwind = x
; then
25715 ia64-
*-hpux*) with_system_libunwind
=yes ;;
25716 *) with_system_libunwind
=no
;;
25719 # Based on system-libunwind and target, do we have ipinfo?
25720 if test x
$with_system_libunwind = xyes
; then
25722 ia64-
*-*) have_unwind_getipinfo
=no
;;
25723 *) have_unwind_getipinfo
=yes ;;
25726 # Darwin before version 9 does not have _Unwind_GetIPInfo.
25729 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
25730 *) have_unwind_getipinfo
=yes ;;
25735 if test x
$have_unwind_getipinfo = xyes
; then
25737 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
25742 cat >confcache
<<\_ACEOF
25743 # This file is a shell script that caches the results of configure
25744 # tests run on this system so they can be shared between configure
25745 # scripts and configure runs, see configure's option --config-cache.
25746 # It is not useful on other systems. If it contains results you don't
25747 # want to keep, you may remove or edit it.
25749 # config.status only pays attention to the cache file if you give it
25750 # the --recheck option to rerun configure.
25752 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25753 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25754 # following values.
25758 # The following way of writing the cache mishandles newlines in values,
25759 # but we know of no workaround that is simple, portable, and efficient.
25760 # So, we kill variables containing newlines.
25761 # Ultrix sh set writes to stderr and can't be redirected directly,
25762 # and sets the high bit in the cache file unless we assign to the vars.
25764 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25765 eval ac_val
=\$
$ac_var
25769 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25770 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25773 _ | IFS | as_nl
) ;; #(
25774 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25775 *) { eval $ac_var=; unset $ac_var;} ;;
25781 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25782 *${as_nl}ac_space
=\
*)
25783 # `set' does not quote correctly, so add quotes: double-quote
25784 # substitution turns \\\\ into \\, and sed turns \\ into \.
25787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25790 # `set' quotes correctly as required by POSIX, so do not add quotes.
25791 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25800 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25802 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25804 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25805 if test -w "$cache_file"; then
25806 test "x$cache_file" != "x/dev/null" &&
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25808 $as_echo "$as_me: updating cache $cache_file" >&6;}
25809 cat confcache
>$cache_file
25811 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25812 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25817 if test ${multilib} = yes; then
25818 multilib_arg
="--enable-multilib"
25823 # Write our Makefile and spec file.
25824 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
25826 cat >confcache
<<\_ACEOF
25827 # This file is a shell script that caches the results of configure
25828 # tests run on this system so they can be shared between configure
25829 # scripts and configure runs, see configure's option --config-cache.
25830 # It is not useful on other systems. If it contains results you don't
25831 # want to keep, you may remove or edit it.
25833 # config.status only pays attention to the cache file if you give it
25834 # the --recheck option to rerun configure.
25836 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25837 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25838 # following values.
25842 # The following way of writing the cache mishandles newlines in values,
25843 # but we know of no workaround that is simple, portable, and efficient.
25844 # So, we kill variables containing newlines.
25845 # Ultrix sh set writes to stderr and can't be redirected directly,
25846 # and sets the high bit in the cache file unless we assign to the vars.
25848 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25849 eval ac_val
=\$
$ac_var
25853 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25857 _ | IFS | as_nl
) ;; #(
25858 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25859 *) { eval $ac_var=; unset $ac_var;} ;;
25865 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25866 *${as_nl}ac_space
=\
*)
25867 # `set' does not quote correctly, so add quotes: double-quote
25868 # substitution turns \\\\ into \\, and sed turns \\ into \.
25871 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25874 # `set' quotes correctly as required by POSIX, so do not add quotes.
25875 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25884 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25886 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25888 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25889 if test -w "$cache_file"; then
25890 test "x$cache_file" != "x/dev/null" &&
25891 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25892 $as_echo "$as_me: updating cache $cache_file" >&6;}
25893 cat confcache
>$cache_file
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25896 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25901 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25902 # Let make expand exec_prefix.
25903 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25905 DEFS
=-DHAVE_CONFIG_H
25909 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25910 # 1. Remove the extension, and $U if already installed.
25911 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25912 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25913 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25914 # will be set to the directory where LIBOBJS objects are built.
25915 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25916 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25918 LIBOBJS
=$ac_libobjs
25920 LTLIBOBJS
=$ac_ltlibobjs
25923 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25924 as_fn_error
"conditional \"onestep\" was never defined.
25925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25927 if test -n "$EXEEXT"; then
25929 am__EXEEXT_FALSE
='#'
25931 am__EXEEXT_TRUE
='#'
25935 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25936 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
25937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25939 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25940 as_fn_error
"conditional \"AMDEP\" was never defined.
25941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25943 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25944 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25947 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25948 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25951 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25952 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25955 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25956 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25959 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25960 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25963 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25964 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25968 : ${CONFIG_STATUS=./config.status}
25970 ac_clean_files_save
=$ac_clean_files
25971 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25973 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25975 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25977 # Generated by $as_me.
25978 # Run this file to recreate the current configuration.
25979 # Compiler output produced by configure, useful for debugging
25980 # configure, is in config.log if it exists.
25983 ac_cs_recheck=false
25986 SHELL=\${CONFIG_SHELL-$SHELL}
25989 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25990 ## -------------------- ##
25991 ## M4sh Initialization. ##
25992 ## -------------------- ##
25994 # Be more Bourne compatible
25995 DUALCASE
=1; export DUALCASE
# for MKS sh
25996 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25999 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26000 # is contrary to our usage. Disable this feature.
26001 alias -g '${1+"$@"}'='"$@"'
26002 setopt NO_GLOB_SUBST
26004 case `(set -o) 2>/dev/null` in #(
26016 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26017 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26018 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26020 # Prefer a ksh shell builtin over an external printf program on Solaris,
26021 # but without wasting forks for bash or zsh.
26022 if test -z "$BASH_VERSION$ZSH_VERSION" \
26023 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26024 as_echo='print
-r --'
26025 as_echo_n='print
-rn --'
26026 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26027 as_echo='printf %s
\n'
26028 as_echo_n='printf %s
'
26030 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26031 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26032 as_echo_n='/usr
/ucb
/echo -n'
26034 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26035 as_echo_n_body='eval
26039 expr "X$arg" : "X\\(.*\\)$as_nl";
26040 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26042 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26044 export as_echo_n_body
26045 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26047 export as_echo_body
26048 as_echo='sh
-c $as_echo_body as_echo
'
26051 # The user is always right.
26052 if test "${PATH_SEPARATOR+set}" != set; then
26054 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26055 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26062 # We need space, tab and new line, in precisely that order. Quoting is
26063 # there to prevent editors from complaining about space-tab.
26064 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26065 # splitting by setting IFS to empty value.)
26068 # Find who we are. Look in the path if we contain no directory separator.
26070 *[\\/]* ) as_myself=$0 ;;
26071 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26072 for as_dir in $PATH
26075 test -z "$as_dir" && as_dir=.
26076 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26082 # We did not find ourselves, most probably we were run as `sh COMMAND'
26083 # in which case we are not to be found in the path.
26084 if test "x$as_myself" = x
; then
26087 if test ! -f "$as_myself"; then
26088 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26092 # Unset variables that we do not need and which cause bugs (e.g. in
26093 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26094 # suppresses any "Segmentation fault" message there. '((' could
26095 # trigger a bug in pdksh 5.2.14.
26096 for as_var
in BASH_ENV ENV MAIL MAILPATH
26097 do eval test x\
${$as_var+set} = xset \
26098 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26111 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26114 # as_fn_error ERROR [LINENO LOG_FD]
26115 # ---------------------------------
26116 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26117 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26118 # script with status $?, using 1 if that was 0.
26121 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26123 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26124 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26126 $as_echo "$as_me: error: $1" >&2
26127 as_fn_exit
$as_status
26131 # as_fn_set_status STATUS
26132 # -----------------------
26133 # Set $? to STATUS, without forking.
26134 as_fn_set_status
()
26137 } # as_fn_set_status
26139 # as_fn_exit STATUS
26140 # -----------------
26141 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26145 as_fn_set_status
$1
26151 # Portably unset VAR.
26154 { eval $1=; unset $1;}
26156 as_unset
=as_fn_unset
26157 # as_fn_append VAR VALUE
26158 # ----------------------
26159 # Append the text in VALUE to the end of the definition contained in VAR. Take
26160 # advantage of any shell optimizations that allow amortized linear growth over
26161 # repeated appends, instead of the typical quadratic growth present in naive
26163 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26164 eval 'as_fn_append ()
26175 # as_fn_arith ARG...
26176 # ------------------
26177 # Perform arithmetic evaluation on the ARGs, and store the result in the
26178 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26179 # must be portable across $(()) and expr.
26180 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26181 eval 'as_fn_arith ()
26188 as_val
=`expr "$@" || test $? -eq 1`
26193 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26194 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26200 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26201 as_basename
=basename
26206 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26212 as_me
=`$as_basename -- "$0" ||
26213 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26214 X"$0" : 'X\(//\)$' \| \
26215 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26217 sed '/^.*\/\([^/][^/]*\)\/*$/{
26231 # Avoid depending upon Character Ranges.
26232 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26233 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26234 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26235 as_cr_digits
='0123456789'
26236 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26238 ECHO_C
= ECHO_N
= ECHO_T
=
26239 case `echo -n x` in #(((((
26241 case `echo 'xy\c'` in
26242 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26244 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26251 rm -f conf$$ conf$$.exe conf$$.
file
26252 if test -d conf$$.dir
; then
26253 rm -f conf$$.dir
/conf$$.
file
26256 mkdir conf$$.dir
2>/dev
/null
26258 if (echo >conf$$.
file) 2>/dev
/null
; then
26259 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26261 # ... but there are two gotchas:
26262 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26263 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26264 # In both cases, we have to default to `cp -p'.
26265 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26267 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26275 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26276 rmdir conf$$.dir
2>/dev
/null
26281 # Create "$as_dir" as a directory, including parents if necessary.
26286 -*) as_dir
=.
/$as_dir;;
26288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26293 *) as_qdir
=$as_dir;;
26295 as_dirs
="'$as_qdir' $as_dirs"
26296 as_dir
=`$as_dirname -- "$as_dir" ||
26297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26298 X"$as_dir" : 'X\(//\)[^/]' \| \
26299 X"$as_dir" : 'X\(//\)$' \| \
26300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26301 $as_echo X"$as_dir" |
26302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26306 /^X\(\/\/\)[^/].*/{
26319 test -d "$as_dir" && break
26321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
26326 if mkdir
-p .
2>/dev
/null
; then
26327 as_mkdir_p
='mkdir -p "$as_dir"'
26329 test -d .
/-p && rmdir .
/-p
26333 if test -x / >/dev
/null
2>&1; then
26334 as_test_x
='test -x'
26336 if ls -dL / >/dev
/null
2>&1; then
26343 if test -d "$1"; then
26349 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26350 ???[sx]*):;;*)false;;esac;fi
26354 as_executable_p
=$as_test_x
26356 # Sed expression to map a string onto a valid CPP name.
26357 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26359 # Sed expression to map a string onto a valid variable name.
26360 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26364 ## ----------------------------------- ##
26365 ## Main body of $CONFIG_STATUS script. ##
26366 ## ----------------------------------- ##
26368 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
26370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26371 # Save the log message, to keep $0 and so on meaningful, and to
26372 # report actual input values of CONFIG_FILES etc. instead of their
26373 # values after options handling.
26375 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26376 generated by GNU Autoconf 2.64. Invocation command line was
26378 CONFIG_FILES = $CONFIG_FILES
26379 CONFIG_HEADERS = $CONFIG_HEADERS
26380 CONFIG_LINKS = $CONFIG_LINKS
26381 CONFIG_COMMANDS = $CONFIG_COMMANDS
26384 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26389 case $ac_config_files in *"
26390 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
26393 case $ac_config_headers in *"
26394 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
26398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26399 # Files that config.status was made for.
26400 config_files="$ac_config_files"
26401 config_headers="$ac_config_headers"
26402 config_commands="$ac_config_commands"
26406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26408 \`$as_me' instantiates files and other configuration actions
26409 from templates according to the current configuration. Unless the files
26410 and actions are specified as TAGs, all are instantiated by default.
26412 Usage: $0 [OPTION]... [TAG]...
26414 -h, --help print this help, then exit
26415 -V, --version print version number and configuration settings, then exit
26416 -q, --quiet, --silent
26417 do not print progress messages
26418 -d, --debug don't remove temporary files
26419 --recheck update $as_me by reconfiguring in the same conditions
26420 --file=FILE[:TEMPLATE]
26421 instantiate the configuration file FILE
26422 --header=FILE[:TEMPLATE]
26423 instantiate the configuration header FILE
26425 Configuration files:
26428 Configuration headers:
26431 Configuration commands:
26434 Report bugs to the package provider.
26435 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
26436 General help using GNU software: <http://www.gnu.org/gethelp/>."
26439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26441 GNU Fortran Runtime Library config.status 0.3
26442 configured by $0, generated by GNU Autoconf 2.64,
26443 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26445 Copyright (C) 2009 Free Software Foundation, Inc.
26446 This config.status script is free software; the Free Software Foundation
26447 gives unlimited permission to copy, distribute and modify it."
26454 test -n "\$AWK" || AWK=awk
26457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26458 # The default lists apply if the user does not specify any file.
26464 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26465 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26476 # Handling of the options.
26477 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26479 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
26480 $as_echo "$ac_cs_version"; exit ;;
26481 --debug |
--debu |
--deb |
--de |
--d |
-d )
26483 --file |
--fil |
--fi |
--f )
26486 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26488 as_fn_append CONFIG_FILES
" '$ac_optarg'"
26489 ac_need_defaults
=false
;;
26490 --header |
--heade |
--head |
--hea )
26493 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26495 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
26496 ac_need_defaults
=false
;;
26498 # Conflict between --help and --header
26499 as_fn_error
"ambiguous option: \`$1'
26500 Try \`$0 --help' for more information.";;
26501 --help |
--hel |
-h )
26502 $as_echo "$ac_cs_usage"; exit ;;
26503 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26504 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26507 # This is an error.
26508 -*) as_fn_error
"unrecognized option: \`$1'
26509 Try \`$0 --help' for more information." ;;
26511 *) as_fn_append ac_config_targets
" $1"
26512 ac_need_defaults
=false
;;
26518 ac_configure_extra_args
=
26520 if $ac_cs_silent; then
26522 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26527 if \$ac_cs_recheck; then
26528 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26530 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26531 CONFIG_SHELL='$SHELL'
26532 export CONFIG_SHELL
26537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26541 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26542 ## Running $as_me. ##
26548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26556 with_multisubdir="$with_multisubdir"
26557 with_multisrctop="$with_multisrctop"
26558 with_target_subdir="$with_target_subdir"
26559 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26560 multi_basedir="$multi_basedir"
26561 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26564 GFORTRAN="$GFORTRAN"
26566 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26569 # The HP-UX ksh and POSIX shell print the target directory to stdout
26570 # if CDPATH is set.
26571 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26573 sed_quote_subst='$sed_quote_subst'
26574 double_quote_subst='$double_quote_subst'
26575 delay_variable_subst='$delay_variable_subst'
26576 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26577 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26578 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26579 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26580 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26581 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26582 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26583 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26584 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26585 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26586 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26587 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26588 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26589 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26590 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26591 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26592 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26593 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26594 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26595 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26596 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26597 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26598 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26599 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26600 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26601 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26602 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26603 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26604 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26605 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26606 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26607 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26608 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26609 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26610 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26611 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26612 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26613 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26614 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26615 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26616 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26617 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26618 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26619 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26620 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26621 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26622 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26623 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26624 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"`'
26625 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26626 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26627 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26628 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26629 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26630 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26631 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26632 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26633 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26634 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26635 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26636 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26637 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26638 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26639 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26640 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26641 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26642 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26643 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26644 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26645 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26646 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26647 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26648 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26649 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26650 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26651 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26652 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26653 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26654 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26655 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26656 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26657 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26658 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26659 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26660 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26661 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26662 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26663 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26664 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26665 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26666 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26667 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26668 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26669 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26670 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26671 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26672 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26673 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26674 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26675 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26676 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26677 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26678 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26679 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26680 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26681 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26682 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26683 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26684 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26685 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26686 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26687 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26688 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26689 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26690 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26691 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26692 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26693 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26694 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26695 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26696 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26697 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26698 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26699 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26700 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26701 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26702 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
26703 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
26704 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
26705 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26706 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
26707 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
26708 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
26709 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
26710 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
26711 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
26712 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
26713 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
26714 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
26715 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26716 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26717 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
26718 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
26719 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
26720 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26721 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26722 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
26723 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26724 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
26725 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26726 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26727 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26728 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
26729 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
26730 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
26731 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
26732 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
26733 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
26734 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
26735 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
26736 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
26737 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
26738 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
26739 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
26740 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26741 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26742 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
26743 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
26744 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
26745 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
26746 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
26747 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
26748 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
26749 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
26750 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
26753 LTCFLAGS='$LTCFLAGS'
26754 compiler='$compiler_DEFAULT'
26756 # A function that is used when there is no print builtin or printf.
26757 func_fallback_echo ()
26759 eval 'cat <<_LTECHO_EOF
26764 # Quote evaled strings.
26778 deplibs_check_method \
26787 lt_cv_sys_global_symbol_pipe \
26788 lt_cv_sys_global_symbol_to_cdecl \
26789 lt_cv_sys_global_symbol_to_c_name_address \
26790 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26791 lt_prog_compiler_no_builtin_flag \
26792 lt_prog_compiler_wl \
26793 lt_prog_compiler_pic \
26794 lt_prog_compiler_static \
26795 lt_cv_prog_compiler_c_o \
26803 export_dynamic_flag_spec \
26804 whole_archive_flag_spec \
26805 compiler_needs_object \
26807 allow_undefined_flag \
26808 no_undefined_flag \
26809 hardcode_libdir_flag_spec \
26810 hardcode_libdir_flag_spec_ld \
26811 hardcode_libdir_separator \
26816 variables_saved_for_relink \
26818 library_names_spec \
26820 install_override_mode \
26824 compiler_lib_search_dirs \
26829 compiler_lib_search_path \
26833 lt_prog_compiler_no_builtin_flag_FC \
26834 lt_prog_compiler_wl_FC \
26835 lt_prog_compiler_pic_FC \
26836 lt_prog_compiler_static_FC \
26837 lt_cv_prog_compiler_c_o_FC \
26838 export_dynamic_flag_spec_FC \
26839 whole_archive_flag_spec_FC \
26840 compiler_needs_object_FC \
26842 allow_undefined_flag_FC \
26843 no_undefined_flag_FC \
26844 hardcode_libdir_flag_spec_FC \
26845 hardcode_libdir_flag_spec_ld_FC \
26846 hardcode_libdir_separator_FC \
26847 fix_srcfile_path_FC \
26848 exclude_expsyms_FC \
26849 include_expsyms_FC \
26850 file_list_spec_FC \
26851 compiler_lib_search_dirs_FC \
26852 predep_objects_FC \
26853 postdep_objects_FC \
26856 compiler_lib_search_path_FC; do
26857 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26858 *[\\\\\\\`\\"\\\$]*)
26859 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26862 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26867 # Double-quote double-evaled strings.
26868 for var in reload_cmds \
26869 old_postinstall_cmds \
26870 old_postuninstall_cmds \
26872 extract_expsyms_cmds \
26873 old_archive_from_new_cmds \
26874 old_archive_from_expsyms_cmds \
26876 archive_expsym_cmds \
26878 module_expsym_cmds \
26879 export_symbols_cmds \
26882 postuninstall_cmds \
26884 sys_lib_search_path_spec \
26885 sys_lib_dlsearch_path_spec \
26887 old_archive_cmds_FC \
26888 old_archive_from_new_cmds_FC \
26889 old_archive_from_expsyms_cmds_FC \
26891 archive_expsym_cmds_FC \
26893 module_expsym_cmds_FC \
26894 export_symbols_cmds_FC \
26895 prelink_cmds_FC; do
26896 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26897 *[\\\\\\\`\\"\\\$]*)
26898 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26901 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26906 ac_aux_dir='$ac_aux_dir'
26907 xsi_shell='$xsi_shell'
26908 lt_shell_append='$lt_shell_append'
26910 # See if we are running on zsh, and set the options which allow our
26911 # commands through without removal of \ escapes INIT.
26912 if test -n "\${ZSH_VERSION+set}" ; then
26913 setopt NO_GLOB_SUBST
26919 TIMESTAMP='$TIMESTAMP'
26930 acx_cv_header_stdint="$acx_cv_header_stdint"
26931 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26932 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26933 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26934 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26935 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26936 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26937 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26938 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26939 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26940 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26941 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26942 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26943 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26950 # Handling of arguments.
26951 for ac_config_target
in $ac_config_targets
26953 case $ac_config_target in
26954 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
26955 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26956 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26957 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26958 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
26959 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26960 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
26962 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26967 # If the user did not use the arguments to specify the items to instantiate,
26968 # then the envvar interface is used. Set only those that are not.
26969 # We use the long form for the default assignment because of an extremely
26970 # bizarre bug on SunOS 4.1.3.
26971 if $ac_need_defaults; then
26972 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26973 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26974 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26977 # Have a temporary directory for convenience. Make it in the build tree
26978 # simply because there is no reason against having it here, and in addition,
26979 # creating and moving files from /tmp can sometimes cause problems.
26980 # Hook for its removal unless debugging.
26981 # Note that there is a small window in which the directory will not be cleaned:
26982 # after its creation but before its name has been assigned to `$tmp'.
26986 trap 'exit_status=$?
26987 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26989 trap 'as_fn_exit 1' 1 2 13 15
26991 # Create a (secure) tmp directory for tmp files.
26994 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26995 test -n "$tmp" && test -d "$tmp"
26998 tmp
=.
/conf$$
-$RANDOM
26999 (umask 077 && mkdir
"$tmp")
27000 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27002 # Set up the scripts for CONFIG_FILES section.
27003 # No need to generate them if there are no CONFIG_FILES.
27004 # This happens for instance with `./config.status config.h'.
27005 if test -n "$CONFIG_FILES"; then
27008 ac_cr
=`echo X | tr X '\015'`
27009 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27010 # But we know of no other shell where ac_cr would be empty at this
27011 # point, so we can use a bashism as a fallback.
27012 if test "x$ac_cr" = x
; then
27013 eval ac_cr
=\$
\'\\r
\'
27015 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27016 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27019 ac_cs_awk_cr
=$ac_cr
27022 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27027 echo "cat >conf$$subs.awk <<_ACEOF" &&
27028 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27030 } >conf$$subs.sh ||
27031 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27032 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27034 for ac_last_try in false false false false false :; do
27035 . ./conf$$subs.sh ||
27036 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27038 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27039 if test $ac_delim_n = $ac_delim_num; then
27041 elif $ac_last_try; then
27042 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27044 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27047 rm -f conf$$subs.sh
27049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27050 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27054 s/^/S["/; s
/!.
*/"]=/
27064 s/\(.\{148\}\).*/\1/
27066 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27071 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27078 s/\(.\{148\}\).*/\1/
27080 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27084 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27089 ' <conf$$subs.awk | sed '
27094 ' >>$CONFIG_STATUS || ac_write_fail=1
27095 rm -f conf$$subs.awk
27096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27098 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27099 for (key in S) S_is_set[key] = 1
27105 nfields = split(line, field, "@
")
27107 len = length(field[1])
27108 for (i = 2; i < nfields; i++) {
27110 keylen = length(key)
27111 if (S_is_set[key]) {
27113 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27114 len += length(value) + length(field[++i])
27125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27126 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27127 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27130 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27131 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27134 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27135 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27136 # trailing colons and then remove the whole line if VPATH becomes empty
27137 # (actually we leave an empty line to preserve line numbers).
27138 if test "x
$srcdir" = x.; then
27139 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27140 s/:*\$(srcdir):*/:/
27141 s/:*\${srcdir}:*/:/
27143 s/^\([^=]*=[ ]*\):*/\1/
27149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27150 fi # test -n "$CONFIG_FILES"
27152 # Set up the scripts for CONFIG_HEADERS section.
27153 # No need to generate them if there are no CONFIG_HEADERS.
27154 # This happens for instance with `./config.status Makefile'.
27155 if test -n "$CONFIG_HEADERS"; then
27156 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27160 # Transform confdefs.h into an awk script `defines.awk', embedded as
27161 # here-document in config.status, that substitutes the proper values into
27162 # config.h.in to produce config.h.
27164 # Create a delimiter string that does not exist in confdefs.h, to ease
27165 # handling of long lines.
27167 for ac_last_try in false false :; do
27168 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27169 if test -z "$ac_t"; then
27171 elif $ac_last_try; then
27172 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27174 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27178 # For the awk script, D is an array of macro values keyed by name,
27179 # likewise P contains macro parameters if any. Preserve backslash
27180 # newline sequences.
27182 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27184 s/.\{148\}/&'"$ac_delim"'/g
27187 s/^[ ]*#[ ]*define[ ][ ]*/ /
27194 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27196 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27200 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27201 D["\
1"]=" \
3\\\\\\n
"\\/p
27203 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27208 s/.\{148\}/&'"$ac_delim"'/g
27213 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27216 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27218 ' <confdefs.h | sed '
27219 s/'"$ac_delim"'/"\\\
27220 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27223 for (key in D) D_is_set[key] = 1
27226 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27228 split(line, arg, " ")
27229 if (arg[1] == "#") {
27233 defundef
= substr
(arg
[1], 2)
27236 split(mac1
, mac2
, "(") #)
27238 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27239 if (D_is_set
[macro
]) {
27240 # Preserve the white space surrounding the "#".
27241 print prefix
"define", macro P
[macro
] D
[macro
]
27244 # Replace #undef with comments. This is necessary, for example,
27245 # in the case of _POSIX_SOURCE, which is predefined and required
27246 # on some systems where configure will not decide to define it.
27247 if (defundef
== "undef") {
27248 print
"/*", prefix defundef
, macro
, "*/"
27256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27257 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27258 fi # test -n "$CONFIG_HEADERS"
27261 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27266 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27268 case $ac_mode$ac_tag in
27270 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27271 :[FH
]-) ac_tag
=-:-;;
27272 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27289 -) ac_f
="$tmp/stdin";;
27290 *) # Look for the file first in the build tree, then in the source tree
27291 # (if the path is not absolute). The absolute path cannot be DOS-style,
27292 # because $ac_f cannot contain `:'.
27296 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27298 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27300 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27301 as_fn_append ac_file_inputs
" '$ac_f'"
27304 # Let's still pretend it is `configure' which instantiates (i.e., don't
27305 # use $as_me), people would be surprised to read:
27306 # /* config.h. Generated by config.status. */
27307 configure_input
='Generated from '`
27308 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27310 if test x
"$ac_file" != x-
; then
27311 configure_input
="$ac_file. $configure_input"
27312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27313 $as_echo "$as_me: creating $ac_file" >&6;}
27315 # Neutralize special characters interpreted by sed in replacement strings.
27316 case $configure_input in #(
27317 *\
&* |
*\|
* |
*\\* )
27318 ac_sed_conf_input
=`$as_echo "$configure_input" |
27319 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27320 *) ac_sed_conf_input
=$configure_input;;
27324 *:-:* |
*:-) cat >"$tmp/stdin" \
27325 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
27330 ac_dir
=`$as_dirname -- "$ac_file" ||
27331 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27332 X"$ac_file" : 'X\(//\)[^/]' \| \
27333 X"$ac_file" : 'X\(//\)$' \| \
27334 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27335 $as_echo X"$ac_file" |
27336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27340 /^X\(\/\/\)[^/].*/{
27353 as_dir
="$ac_dir"; as_fn_mkdir_p
27357 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27359 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27360 # A ".." for each directory in $ac_dir_suffix.
27361 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27362 case $ac_top_builddir_sub in
27363 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27364 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27367 ac_abs_top_builddir
=$ac_pwd
27368 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27369 # for backward compatibility:
27370 ac_top_builddir
=$ac_top_build_prefix
27373 .
) # We are building in place.
27375 ac_top_srcdir
=$ac_top_builddir_sub
27376 ac_abs_top_srcdir
=$ac_pwd ;;
27377 [\\/]* | ?
:[\\/]* ) # Absolute name.
27378 ac_srcdir
=$srcdir$ac_dir_suffix;
27379 ac_top_srcdir
=$srcdir
27380 ac_abs_top_srcdir
=$srcdir ;;
27381 *) # Relative name.
27382 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27383 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27384 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27386 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27396 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27397 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27399 ac_MKDIR_P
=$MKDIR_P
27401 [\\/$
]* | ?
:[\\/]* ) ;;
27402 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27407 # If the template does not know about datarootdir, expand it.
27408 # FIXME: This hack should be removed a few years after 2.60.
27409 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27420 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27421 *datarootdir
*) ac_datarootdir_seen
=yes;;
27422 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
27423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27424 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27427 ac_datarootdir_hack='
27428 s&@datadir@&$datadir&g
27429 s&@docdir@&$docdir&g
27430 s&@infodir@&$infodir&g
27431 s&@localedir@&$localedir&g
27432 s&@mandir@&$mandir&g
27433 s&\\\${datarootdir}&$datarootdir&g' ;;
27437 # Neutralize VPATH when `$srcdir' = `.'.
27438 # Shell code in configure.ac might set extrasub.
27439 # FIXME: do we really want to maintain this feature?
27440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27441 ac_sed_extra="$ac_vpsub
27444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27446 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27447 s|@configure_input@|
$ac_sed_conf_input|
;t t
27448 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27449 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
27450 s
&@srcdir@
&$ac_srcdir&;t t
27451 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27452 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27453 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27454 s
&@builddir@
&$ac_builddir&;t t
27455 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27456 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27457 s
&@INSTALL@
&$ac_INSTALL&;t t
27458 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27459 $ac_datarootdir_hack
27461 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
27462 || as_fn_error "could not create
$ac_file" "$LINENO" 5
27464 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27465 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
27466 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27468 which seems to be undefined. Please make sure it is defined." >&5
27469 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27470 which seems to be undefined. Please make sure it is defined." >&2;}
27474 -) cat "$tmp/out" && rm -f "$tmp/out";;
27475 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27477 || as_fn_error "could not create $ac_file" "$LINENO" 5
27483 if test x"$ac_file" != x-; then
27485 $as_echo "/* $configure_input */" \
27486 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27487 } >"$tmp/config.h" \
27488 || as_fn_error "could not create $ac_file" "$LINENO" 5
27489 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27490 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27491 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27494 mv "$tmp/config.h" "$ac_file" \
27495 || as_fn_error "could not create $ac_file" "$LINENO" 5
27498 $as_echo "/* $configure_input */" \
27499 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27500 || as_fn_error "could not create -" "$LINENO" 5
27502 # Compute "$ac_file"'s index
in $config_headers.
27505 for _am_header
in $config_headers :; do
27506 case $_am_header in
27507 $_am_arg |
$_am_arg:* )
27510 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27513 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27514 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27515 X"$_am_arg" : 'X\(//\)[^/]' \| \
27516 X"$_am_arg" : 'X\(//\)$' \| \
27517 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27518 $as_echo X"$_am_arg" |
27519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27523 /^X\(\/\/\)[^/].*/{
27535 s/.*/./; q'`/stamp-h
$_am_stamp_count
27538 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27539 $as_echo "$as_me: executing $ac_file commands" >&6;}
27544 case $ac_file$ac_mode in
27546 # Only add multilib support code if we just rebuilt the top-level
27548 case " $CONFIG_FILES " in
27550 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
27553 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
27554 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27555 # are listed without --file. Let's play safe and only enable the eval
27556 # if we detect the quoting.
27557 case $CONFIG_FILES in
27558 *\'*) eval set x
"$CONFIG_FILES" ;;
27559 *) set x
$CONFIG_FILES ;;
27564 # Strip MF so we end up with the name of the file.
27565 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27566 # Check whether this is an Automake generated Makefile or not.
27567 # We used to match only the files named `Makefile.in', but
27568 # some people rename them; so instead we look at the file content.
27569 # Grep'ing the first line is not enough: some people post-process
27570 # each Makefile.in and add a new line on top of each file to say so.
27571 # Grep'ing the whole file is not good either: AIX grep has a line
27572 # limit of 2048, but all sed's we know have understand at least 4000.
27573 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
27574 dirpart
=`$as_dirname -- "$mf" ||
27575 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27576 X"$mf" : 'X\(//\)[^/]' \| \
27577 X"$mf" : 'X\(//\)$' \| \
27578 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27584 /^X\(\/\/\)[^/].*/{
27600 # Extract the definition of DEPDIR, am__include, and am__quote
27601 # from the Makefile without running `make'.
27602 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27603 test -z "$DEPDIR" && continue
27604 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27605 test -z "am__include" && continue
27606 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27607 # When using ansi2knr, U may be empty or an underscore; expand it
27608 U
=`sed -n 's/^U = //p' < "$mf"`
27609 # Find all dependency output files, they are included files with
27610 # $(DEPDIR) in their names. We invoke sed twice because it is the
27611 # simplest approach to changing $(DEPDIR) to its actual value in the
27613 for file in `sed -n "
27614 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27615 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27616 # Make sure the directory exists.
27617 test -f "$dirpart/$file" && continue
27618 fdir
=`$as_dirname -- "$file" ||
27619 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27620 X"$file" : 'X\(//\)[^/]' \| \
27621 X"$file" : 'X\(//\)$' \| \
27622 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27623 $as_echo X"$file" |
27624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27628 /^X\(\/\/\)[^/].*/{
27641 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
27642 # echo "creating $dirpart/$file"
27643 echo '# dummy' > "$dirpart/$file"
27650 # See if we are running on zsh, and set the options which allow our
27651 # commands through without removal of \ escapes.
27652 if test -n "${ZSH_VERSION+set}" ; then
27653 setopt NO_GLOB_SUBST
27656 cfgfile
="${ofile}T"
27657 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27660 cat <<_LT_EOF >> "$cfgfile"
27663 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27664 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27665 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27666 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27668 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27669 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27670 # Written by Gordon Matzigkeit, 1996
27672 # This file is part of GNU Libtool.
27674 # GNU Libtool is free software; you can redistribute it and/or
27675 # modify it under the terms of the GNU General Public License as
27676 # published by the Free Software Foundation; either version 2 of
27677 # the License, or (at your option) any later version.
27679 # As a special exception to the GNU General Public License,
27680 # if you distribute this file as part of a program or library that
27681 # is built using GNU Libtool, you may include this file under the
27682 # same distribution terms that you use for the rest of that program.
27684 # GNU Libtool is distributed in the hope that it will be useful,
27685 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27686 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27687 # GNU General Public License for more details.
27689 # You should have received a copy of the GNU General Public License
27690 # along with GNU Libtool; see the file COPYING. If not, a copy
27691 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27692 # obtained by writing to the Free Software Foundation, Inc.,
27693 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27696 # The names of the tagged configurations supported by this script.
27697 available_tags="FC "
27699 # ### BEGIN LIBTOOL CONFIG
27701 # Which release of libtool.m4 was used?
27702 macro_version=$macro_version
27703 macro_revision=$macro_revision
27705 # Whether or not to build shared libraries.
27706 build_libtool_libs=$enable_shared
27708 # Whether or not to build static libraries.
27709 build_old_libs=$enable_static
27711 # What type of objects to build.
27714 # Whether or not to optimize for fast installation.
27715 fast_install=$enable_fast_install
27717 # Shell to use when invoking shell scripts.
27720 # An echo program that protects backslashes.
27724 host_alias=$host_alias
27728 # The build system.
27729 build_alias=$build_alias
27733 # A sed program that does not truncate output.
27736 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27737 Xsed="\$SED -e 1s/^X//"
27739 # A grep program that handles long lines.
27745 # A literal string matcher.
27748 # A BSD- or MS-compatible name lister.
27751 # Whether we need soft or hard links.
27754 # What is the maximum length of a command?
27755 max_cmd_len=$max_cmd_len
27757 # Object file suffix (normally "o").
27760 # Executable file suffix (normally "").
27763 # whether the shell understands "unset".
27766 # turn spaces into newlines.
27769 # turn newlines into spaces.
27772 # An object symbol dumper.
27773 OBJDUMP=$lt_OBJDUMP
27775 # Method to check whether dependent libraries are shared objects.
27776 deplibs_check_method=$lt_deplibs_check_method
27778 # Command to use when deplibs_check_method == "file_magic".
27779 file_magic_cmd=$lt_file_magic_cmd
27783 AR_FLAGS=$lt_AR_FLAGS
27785 # A symbol stripping program.
27788 # Commands used to install an old-style archive.
27790 old_postinstall_cmds=$lt_old_postinstall_cmds
27791 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27793 # Whether to use a lock for old archive extraction.
27794 lock_old_archive_extraction=$lock_old_archive_extraction
27799 # LTCC compiler flags.
27800 LTCFLAGS=$lt_CFLAGS
27802 # Take the output of nm and produce a listing of raw symbols and C names.
27803 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27805 # Transform the output of nm in a proper C declaration.
27806 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27808 # Transform the output of nm in a C name address pair.
27809 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27811 # Transform the output of nm in a C name address pair when lib prefix is needed.
27812 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27814 # The name of the directory that contains temporary libtool files.
27817 # Used to examine libraries when file_magic_cmd begins with "file".
27818 MAGIC_CMD=$MAGIC_CMD
27820 # Must we lock files when doing compilation?
27821 need_locks=$lt_need_locks
27823 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27824 DSYMUTIL=$lt_DSYMUTIL
27826 # Tool to change global to local symbols on Mac OS X.
27829 # Tool to manipulate fat objects and archives on Mac OS X.
27832 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27835 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27836 OTOOL64=$lt_OTOOL64
27838 # Old archive suffix (normally "a").
27841 # Shared library suffix (normally ".so").
27842 shrext_cmds=$lt_shrext_cmds
27844 # The commands to extract the exported symbol list from a shared archive.
27845 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27847 # Variables whose values should be saved in libtool wrapper scripts and
27848 # restored at link time.
27849 variables_saved_for_relink=$lt_variables_saved_for_relink
27851 # Do we need the "lib" prefix for modules?
27852 need_lib_prefix=$need_lib_prefix
27854 # Do we need a version for libraries?
27855 need_version=$need_version
27857 # Library versioning type.
27858 version_type=$version_type
27860 # Shared library runtime path variable.
27861 runpath_var=$runpath_var
27863 # Shared library path variable.
27864 shlibpath_var=$shlibpath_var
27866 # Is shlibpath searched before the hard-coded library search path?
27867 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27869 # Format of library name prefix.
27870 libname_spec=$lt_libname_spec
27872 # List of archive names. First name is the real one, the rest are links.
27873 # The last name is the one that the linker finds with -lNAME
27874 library_names_spec=$lt_library_names_spec
27876 # The coded name of the library, if different from the real name.
27877 soname_spec=$lt_soname_spec
27879 # Permission mode override for installation of shared libraries.
27880 install_override_mode=$lt_install_override_mode
27882 # Command to use after installation of a shared archive.
27883 postinstall_cmds=$lt_postinstall_cmds
27885 # Command to use after uninstallation of a shared archive.
27886 postuninstall_cmds=$lt_postuninstall_cmds
27888 # Commands used to finish a libtool library installation in a directory.
27889 finish_cmds=$lt_finish_cmds
27891 # As "finish_cmds", except a single script fragment to be evaled but
27893 finish_eval=$lt_finish_eval
27895 # Whether we should hardcode library paths into libraries.
27896 hardcode_into_libs=$hardcode_into_libs
27898 # Compile-time system search path for libraries.
27899 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27901 # Run-time system search path for libraries.
27902 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27904 # Whether dlopen is supported.
27905 dlopen_support=$enable_dlopen
27907 # Whether dlopen of programs is supported.
27908 dlopen_self=$enable_dlopen_self
27910 # Whether dlopen of statically linked programs is supported.
27911 dlopen_self_static=$enable_dlopen_self_static
27913 # Commands to strip libraries.
27914 old_striplib=$lt_old_striplib
27915 striplib=$lt_striplib
27918 # The linker used to build libraries.
27921 # How to create reloadable object files.
27922 reload_flag=$lt_reload_flag
27923 reload_cmds=$lt_reload_cmds
27925 # Commands used to build an old-style archive.
27926 old_archive_cmds=$lt_old_archive_cmds
27928 # A language specific compiler.
27931 # Is the compiler the GNU compiler?
27934 # Compiler flag to turn off builtin functions.
27935 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27937 # How to pass a linker flag through the compiler.
27938 wl=$lt_lt_prog_compiler_wl
27940 # Additional compiler flags for building library objects.
27941 pic_flag=$lt_lt_prog_compiler_pic
27943 # Compiler flag to prevent dynamic linking.
27944 link_static_flag=$lt_lt_prog_compiler_static
27946 # Does compiler simultaneously support -c and -o options?
27947 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27949 # Whether or not to add -lc for building shared libraries.
27950 build_libtool_need_lc=$archive_cmds_need_lc
27952 # Whether or not to disallow shared libs when runtime libs are static.
27953 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27955 # Compiler flag to allow reflexive dlopens.
27956 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27958 # Compiler flag to generate shared objects directly from archives.
27959 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27961 # Whether the compiler copes with passing no objects directly.
27962 compiler_needs_object=$lt_compiler_needs_object
27964 # Create an old-style archive from a shared archive.
27965 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27967 # Create a temporary old-style archive to link instead of a shared archive.
27968 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27970 # Commands used to build a shared archive.
27971 archive_cmds=$lt_archive_cmds
27972 archive_expsym_cmds=$lt_archive_expsym_cmds
27974 # Commands used to build a loadable module if different from building
27975 # a shared archive.
27976 module_cmds=$lt_module_cmds
27977 module_expsym_cmds=$lt_module_expsym_cmds
27979 # Whether we are building with GNU ld or not.
27980 with_gnu_ld=$lt_with_gnu_ld
27982 # Flag that allows shared libraries with undefined symbols to be built.
27983 allow_undefined_flag=$lt_allow_undefined_flag
27985 # Flag that enforces no undefined symbols.
27986 no_undefined_flag=$lt_no_undefined_flag
27988 # Flag to hardcode \$libdir into a binary during linking.
27989 # This must work even if \$libdir does not exist
27990 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27992 # If ld is used when linking, flag to hardcode \$libdir into a binary
27993 # during linking. This must work even if \$libdir does not exist.
27994 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27996 # Whether we need a single "-rpath" flag with a separated argument.
27997 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27999 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28000 # DIR into the resulting binary.
28001 hardcode_direct=$hardcode_direct
28003 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28004 # DIR into the resulting binary and the resulting library dependency is
28005 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28006 # library is relocated.
28007 hardcode_direct_absolute=$hardcode_direct_absolute
28009 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28010 # into the resulting binary.
28011 hardcode_minus_L=$hardcode_minus_L
28013 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28014 # into the resulting binary.
28015 hardcode_shlibpath_var=$hardcode_shlibpath_var
28017 # Set to "yes" if building a shared library automatically hardcodes DIR
28018 # into the library and all subsequent libraries and executables linked
28020 hardcode_automatic=$hardcode_automatic
28022 # Set to yes if linker adds runtime paths of dependent libraries
28023 # to runtime path list.
28024 inherit_rpath=$inherit_rpath
28026 # Whether libtool must link a program against all its dependency libraries.
28027 link_all_deplibs=$link_all_deplibs
28029 # Fix the shell variable \$srcfile for the compiler.
28030 fix_srcfile_path=$lt_fix_srcfile_path
28032 # Set to "yes" if exported symbols are required.
28033 always_export_symbols=$always_export_symbols
28035 # The commands to list exported symbols.
28036 export_symbols_cmds=$lt_export_symbols_cmds
28038 # Symbols that should not be listed in the preloaded symbols.
28039 exclude_expsyms=$lt_exclude_expsyms
28041 # Symbols that must always be exported.
28042 include_expsyms=$lt_include_expsyms
28044 # Commands necessary for linking programs (against libraries) with templates.
28045 prelink_cmds=$lt_prelink_cmds
28047 # Specify filename containing input files.
28048 file_list_spec=$lt_file_list_spec
28050 # How to hardcode a shared library path into an executable.
28051 hardcode_action=$hardcode_action
28053 # The directories searched by this compiler when creating a shared library.
28054 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28056 # Dependencies to place before and after the objects being linked to
28057 # create a shared library.
28058 predep_objects=$lt_predep_objects
28059 postdep_objects=$lt_postdep_objects
28060 predeps=$lt_predeps
28061 postdeps=$lt_postdeps
28063 # The library search path used internally by the compiler when linking
28064 # a shared library.
28065 compiler_lib_search_path=$lt_compiler_lib_search_path
28067 # ### END LIBTOOL CONFIG
28073 cat <<\_LT_EOF
>> "$cfgfile"
28074 # AIX sometimes has problems with the GCC collect2 program. For some
28075 # reason, if we set the COLLECT_NAMES environment variable, the problems
28076 # vanish in a puff of smoke.
28077 if test "X${COLLECT_NAMES+set}" != Xset
; then
28079 export COLLECT_NAMES
28086 ltmain
="$ac_aux_dir/ltmain.sh"
28089 # We use sed instead of cat because bash on DJGPP gets confused if
28090 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28091 # text mode, it properly converts lines to CR/LF. This bash problem
28092 # is reportedly fixed, but why not run on old versions too?
28093 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28094 ||
(rm -f "$cfgfile"; exit 1)
28098 cat << \_LT_EOF
>> "$cfgfile"
28100 # func_dirname file append nondir_replacement
28101 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28102 # otherwise set result to NONDIR_REPLACEMENT.
28106 */*) func_dirname_result
="${1%/*}${2}" ;;
28107 * ) func_dirname_result
="${3}" ;;
28111 # func_basename file
28114 func_basename_result
="${1##*/}"
28117 # func_dirname_and_basename file append nondir_replacement
28118 # perform func_basename and func_dirname in a single function
28120 # dirname: Compute the dirname of FILE. If nonempty,
28121 # add APPEND to the result, otherwise set result
28122 # to NONDIR_REPLACEMENT.
28123 # value returned in "$func_dirname_result"
28124 # basename: Compute filename of FILE.
28125 # value retuned in "$func_basename_result"
28126 # Implementation must be kept synchronized with func_dirname
28127 # and func_basename. For efficiency, we do not delegate to
28128 # those functions but instead duplicate the functionality here.
28129 func_dirname_and_basename
()
28132 */*) func_dirname_result
="${1%/*}${2}" ;;
28133 * ) func_dirname_result
="${3}" ;;
28135 func_basename_result
="${1##*/}"
28138 # func_stripname prefix suffix name
28139 # strip PREFIX and SUFFIX off of NAME.
28140 # PREFIX and SUFFIX must not contain globbing or regex special
28141 # characters, hashes, percent signs, but SUFFIX may contain a leading
28142 # dot (in which case that matches only a dot).
28145 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28146 # positional parameters, so assign one to ordinary parameter first.
28147 func_stripname_result
=${3}
28148 func_stripname_result
=${func_stripname_result#"${1}"}
28149 func_stripname_result
=${func_stripname_result%"${2}"}
28155 func_opt_split_opt
=${1%%=*}
28156 func_opt_split_arg
=${1#*=}
28163 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28164 *) func_lo2o_result
=${1} ;;
28168 # func_xform libobj-or-source
28171 func_xform_result
=${1%.*}.lo
28174 # func_arith arithmetic-term...
28177 func_arith_result
=$
(( $
* ))
28181 # STRING may not start with a hyphen.
28184 func_len_result
=${#1}
28189 *) # Bourne compatible functions.
28190 cat << \_LT_EOF
>> "$cfgfile"
28192 # func_dirname file append nondir_replacement
28193 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28194 # otherwise set result to NONDIR_REPLACEMENT.
28197 # Extract subdirectory from the argument.
28198 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28199 if test "X$func_dirname_result" = "X${1}"; then
28200 func_dirname_result
="${3}"
28202 func_dirname_result
="$func_dirname_result${2}"
28206 # func_basename file
28209 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28213 # func_stripname prefix suffix name
28214 # strip PREFIX and SUFFIX off of NAME.
28215 # PREFIX and SUFFIX must not contain globbing or regex special
28216 # characters, hashes, percent signs, but SUFFIX may contain a leading
28217 # dot (in which case that matches only a dot).
28218 # func_strip_suffix prefix name
28222 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28223 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28228 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28229 my_sed_long_arg
='1s/^-[^=]*=//'
28234 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28235 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28241 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28244 # func_xform libobj-or-source
28247 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28250 # func_arith arithmetic-term...
28253 func_arith_result
=`expr "$@"`
28257 # STRING may not start with a hyphen.
28260 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28266 case $lt_shell_append in
28268 cat << \_LT_EOF
>> "$cfgfile"
28270 # func_append var value
28271 # Append VALUE to the end of shell variable VAR.
28279 cat << \_LT_EOF
>> "$cfgfile"
28281 # func_append var value
28282 # Append VALUE to the end of shell variable VAR.
28293 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28294 ||
(rm -f "$cfgfile"; exit 1)
28296 mv -f "$cfgfile" "$ofile" ||
28297 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28301 cat <<_LT_EOF >> "$ofile"
28303 # ### BEGIN LIBTOOL TAG CONFIG: FC
28305 # The linker used to build libraries.
28308 # How to create reloadable object files.
28309 reload_flag=$lt_reload_flag_FC
28310 reload_cmds=$lt_reload_cmds_FC
28312 # Commands used to build an old-style archive.
28313 old_archive_cmds=$lt_old_archive_cmds_FC
28315 # A language specific compiler.
28318 # Is the compiler the GNU compiler?
28321 # Compiler flag to turn off builtin functions.
28322 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28324 # How to pass a linker flag through the compiler.
28325 wl=$lt_lt_prog_compiler_wl_FC
28327 # Additional compiler flags for building library objects.
28328 pic_flag=$lt_lt_prog_compiler_pic_FC
28330 # Compiler flag to prevent dynamic linking.
28331 link_static_flag=$lt_lt_prog_compiler_static_FC
28333 # Does compiler simultaneously support -c and -o options?
28334 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28336 # Whether or not to add -lc for building shared libraries.
28337 build_libtool_need_lc=$archive_cmds_need_lc_FC
28339 # Whether or not to disallow shared libs when runtime libs are static.
28340 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28342 # Compiler flag to allow reflexive dlopens.
28343 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28345 # Compiler flag to generate shared objects directly from archives.
28346 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28348 # Whether the compiler copes with passing no objects directly.
28349 compiler_needs_object=$lt_compiler_needs_object_FC
28351 # Create an old-style archive from a shared archive.
28352 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28354 # Create a temporary old-style archive to link instead of a shared archive.
28355 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28357 # Commands used to build a shared archive.
28358 archive_cmds=$lt_archive_cmds_FC
28359 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28361 # Commands used to build a loadable module if different from building
28362 # a shared archive.
28363 module_cmds=$lt_module_cmds_FC
28364 module_expsym_cmds=$lt_module_expsym_cmds_FC
28366 # Whether we are building with GNU ld or not.
28367 with_gnu_ld=$lt_with_gnu_ld_FC
28369 # Flag that allows shared libraries with undefined symbols to be built.
28370 allow_undefined_flag=$lt_allow_undefined_flag_FC
28372 # Flag that enforces no undefined symbols.
28373 no_undefined_flag=$lt_no_undefined_flag_FC
28375 # Flag to hardcode \$libdir into a binary during linking.
28376 # This must work even if \$libdir does not exist
28377 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28379 # If ld is used when linking, flag to hardcode \$libdir into a binary
28380 # during linking. This must work even if \$libdir does not exist.
28381 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28383 # Whether we need a single "-rpath" flag with a separated argument.
28384 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28386 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28387 # DIR into the resulting binary.
28388 hardcode_direct=$hardcode_direct_FC
28390 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28391 # DIR into the resulting binary and the resulting library dependency is
28392 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28393 # library is relocated.
28394 hardcode_direct_absolute=$hardcode_direct_absolute_FC
28396 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28397 # into the resulting binary.
28398 hardcode_minus_L=$hardcode_minus_L_FC
28400 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28401 # into the resulting binary.
28402 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
28404 # Set to "yes" if building a shared library automatically hardcodes DIR
28405 # into the library and all subsequent libraries and executables linked
28407 hardcode_automatic=$hardcode_automatic_FC
28409 # Set to yes if linker adds runtime paths of dependent libraries
28410 # to runtime path list.
28411 inherit_rpath=$inherit_rpath_FC
28413 # Whether libtool must link a program against all its dependency libraries.
28414 link_all_deplibs=$link_all_deplibs_FC
28416 # Fix the shell variable \$srcfile for the compiler.
28417 fix_srcfile_path=$lt_fix_srcfile_path_FC
28419 # Set to "yes" if exported symbols are required.
28420 always_export_symbols=$always_export_symbols_FC
28422 # The commands to list exported symbols.
28423 export_symbols_cmds=$lt_export_symbols_cmds_FC
28425 # Symbols that should not be listed in the preloaded symbols.
28426 exclude_expsyms=$lt_exclude_expsyms_FC
28428 # Symbols that must always be exported.
28429 include_expsyms=$lt_include_expsyms_FC
28431 # Commands necessary for linking programs (against libraries) with templates.
28432 prelink_cmds=$lt_prelink_cmds_FC
28434 # Specify filename containing input files.
28435 file_list_spec=$lt_file_list_spec_FC
28437 # How to hardcode a shared library path into an executable.
28438 hardcode_action=$hardcode_action_FC
28440 # The directories searched by this compiler when creating a shared library.
28441 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
28443 # Dependencies to place before and after the objects being linked to
28444 # create a shared library.
28445 predep_objects=$lt_predep_objects_FC
28446 postdep_objects=$lt_postdep_objects_FC
28447 predeps=$lt_predeps_FC
28448 postdeps=$lt_postdeps_FC
28450 # The library search path used internally by the compiler when linking
28451 # a shared library.
28452 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
28454 # ### END LIBTOOL TAG CONFIG: FC
28459 if test "$GCC" = yes; then
28460 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
28462 echo "/* generated for $CC */" > tmp-stdint.h
28465 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28467 #ifndef GCC_GENERATED_STDINT_H
28468 #define GCC_GENERATED_STDINT_H 1
28470 #include <sys/types.h>
28473 if test "$acx_cv_header_stdint" != stdint.h
; then
28474 echo "#include <stddef.h>" >> tmp-stdint.h
28476 if test "$acx_cv_header_stdint" != stddef.h
; then
28477 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
28480 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28481 /* glibc uses these symbols as guards to prevent redefinitions. */
28482 #ifdef __int8_t_defined
28487 #ifdef __uint32_t_defined
28493 # ----------------- done header, emit basic int types -------------
28494 if test "$acx_cv_header_stdint" = stddef.h
; then
28495 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28499 #ifndef __uint8_t_defined
28500 #define __uint8_t_defined
28502 typedef unsigned $acx_cv_type_int8_t uint8_t;
28509 #ifndef __uint16_t_defined
28510 #define __uint16_t_defined
28512 typedef unsigned $acx_cv_type_int16_t uint16_t;
28519 #ifndef __uint32_t_defined
28520 #define __uint32_t_defined
28522 typedef unsigned $acx_cv_type_int32_t uint32_t;
28529 #ifndef __int8_t_defined
28530 #define __int8_t_defined
28532 typedef $acx_cv_type_int8_t int8_t;
28539 #ifndef __int16_t_defined
28540 #define __int16_t_defined
28542 typedef $acx_cv_type_int16_t int16_t;
28549 #ifndef __int32_t_defined
28550 #define __int32_t_defined
28552 typedef $acx_cv_type_int32_t int32_t;
28557 elif test "$ac_cv_type_u_int32_t" = yes; then
28558 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28560 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
28573 #ifndef __uint8_t_defined
28574 #define __uint8_t_defined
28576 typedef u_int8_t uint8_t;
28583 #ifndef __uint16_t_defined
28584 #define __uint16_t_defined
28586 typedef u_int16_t uint16_t;
28593 #ifndef __uint32_t_defined
28594 #define __uint32_t_defined
28596 typedef u_int32_t uint32_t;
28602 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28604 /* Some systems have guard macros to prevent redefinitions, define them. */
28626 # ------------- done basic int types, emit int64_t types ------------
28627 if test "$ac_cv_type_uint64_t" = yes; then
28628 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28630 /* system headers have good uint64_t and int64_t */
28638 elif test "$ac_cv_type_u_int64_t" = yes; then
28639 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28641 /* system headers have an u_int64_t (and int64_t) */
28647 #ifndef __uint64_t_defined
28648 #define __uint64_t_defined
28650 typedef u_int64_t uint64_t;
28655 elif test -n "$acx_cv_type_int64_t"; then
28656 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28658 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
28662 typedef $acx_cv_type_int64_t int64_t;
28667 #ifndef __uint64_t_defined
28668 #define __uint64_t_defined
28670 typedef unsigned $acx_cv_type_int64_t uint64_t;
28676 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28678 /* some common heuristics for int64_t, using compiler-specific tests */
28679 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
28682 #ifndef __int64_t_defined
28684 typedef long long int64_t;
28691 typedef unsigned long long uint64_t;
28695 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
28696 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
28697 does not implement __extension__. But that compiler doesn't define
28699 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
28700 # define __extension__
28706 __extension__ typedef long long int64_t;
28712 __extension__ typedef unsigned long long uint64_t;
28716 #elif !defined __STRICT_ANSI__
28717 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28722 typedef __int64 int64_t;
28728 typedef unsigned __int64 uint64_t;
28731 # endif /* compiler */
28733 #endif /* ANSI version */
28737 # ------------- done int64_t types, emit intptr types ------------
28738 if test "$ac_cv_type_uintptr_t" != yes; then
28739 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28741 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
28742 #ifndef __uintptr_t_defined
28744 typedef u$acx_cv_type_intptr_t uintptr_t;
28747 #ifndef __intptr_t_defined
28749 typedef $acx_cv_type_intptr_t intptr_t;
28755 # ------------- done intptr types, emit int_least types ------------
28756 if test "$ac_cv_type_int_least32_t" != yes; then
28757 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28759 /* Define int_least types */
28760 typedef int8_t int_least8_t;
28761 typedef int16_t int_least16_t;
28762 typedef int32_t int_least32_t;
28764 typedef int64_t int_least64_t;
28767 typedef uint8_t uint_least8_t;
28768 typedef uint16_t uint_least16_t;
28769 typedef uint32_t uint_least32_t;
28771 typedef uint64_t uint_least64_t;
28776 # ------------- done intptr types, emit int_fast types ------------
28777 if test "$ac_cv_type_int_fast32_t" != yes; then
28778 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28780 /* Define int_fast types. short is often slow */
28781 typedef int8_t int_fast8_t;
28782 typedef int int_fast16_t;
28783 typedef int32_t int_fast32_t;
28785 typedef int64_t int_fast64_t;
28788 typedef uint8_t uint_fast8_t;
28789 typedef unsigned int uint_fast16_t;
28790 typedef uint32_t uint_fast32_t;
28792 typedef uint64_t uint_fast64_t;
28797 if test "$ac_cv_type_uintmax_t" != yes; then
28798 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28800 /* Define intmax based on what we found */
28803 typedef int64_t intmax_t;
28805 typedef long intmax_t;
28810 typedef uint64_t uintmax_t;
28812 typedef unsigned long uintmax_t;
28818 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28820 #endif /* GCC_GENERATED_STDINT_H */
28823 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
28826 mv -f tmp-stdint.h gstdint.h
28837 ac_clean_files
=$ac_clean_files_save
28839 test $ac_write_fail = 0 ||
28840 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
28843 # configure is writing to config.log, and then calls config.status.
28844 # config.status does its own redirection, appending to config.log.
28845 # Unfortunately, on DOS this fails, as config.log is still kept open
28846 # by configure, so config.status won't be able to write to it; its
28847 # output is simply discarded. So we exec the FD to /dev/null,
28848 # effectively closing config.log, so it can be properly (re)opened and
28849 # appended to by config.status. When coming back to configure, we
28850 # need to make the FD available again.
28851 if test "$no_create" != yes; then
28853 ac_config_status_args
=
28854 test "$silent" = yes &&
28855 ac_config_status_args
="$ac_config_status_args --quiet"
28857 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
28859 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28860 # would make configure fail if this is the last instruction.
28861 $ac_cs_success || as_fn_exit $?
28863 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28865 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}