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
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || 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>
601 ac_subst_vars
='am__EXEEXT_FALSE
607 LIBGFOR_BUILD_QUAD_FALSE
608 LIBGFOR_BUILD_QUAD_TRUE
613 extra_ldflags_libgfortran
641 LIBGFOR_USE_SYMVER_SUN_FALSE
642 LIBGFOR_USE_SYMVER_SUN_TRUE
643 LIBGFOR_USE_SYMVER_GNU_FALSE
644 LIBGFOR_USE_SYMVER_GNU_TRUE
645 LIBGFOR_USE_SYMVER_FALSE
646 LIBGFOR_USE_SYMVER_TRUE
669 MAINTAINER_MODE_FALSE
679 INSTALL_STRIP_PROGRAM
740 program_transform_name
753 enable_option_checking
755 enable_version_specific_runtime_libs
757 enable_maintainer_mode
759 enable_dependency_tracking
767 enable_libquadmath_support
769 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 ac_unrecognized_opts
=
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name
=s
,x
,x
,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir
='${exec_prefix}/bin'
809 sbindir
='${exec_prefix}/sbin'
810 libexecdir
='${exec_prefix}/libexec'
811 datarootdir
='${prefix}/share'
812 datadir
='${datarootdir}'
813 sysconfdir
='${prefix}/etc'
814 sharedstatedir
='${prefix}/com'
815 localstatedir
='${prefix}/var'
816 includedir
='${prefix}/include'
817 oldincludedir
='/usr/include'
818 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir
='${datarootdir}/info'
824 libdir
='${exec_prefix}/lib'
825 localedir
='${datarootdir}/locale'
826 mandir
='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\
$ac_option
840 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=no
;;
898 -docdir |
--docdir |
--docdi |
--doc |
--do)
900 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
903 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
905 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
908 -enable-* |
--enable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=\
$ac_optarg ;;
1128 -without-* |
--without-*)
1129 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error
"invalid package name: $ac_useropt"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval with_
$ac_useropt=no
;;
1145 # Obsolete; use --with-x.
1148 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1149 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1150 ac_prev
=x_includes
;;
1151 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1152 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1153 x_includes
=$ac_optarg ;;
1155 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1156 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1157 ac_prev
=x_libraries
;;
1158 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1159 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1160 x_libraries
=$ac_optarg ;;
1162 -*) as_fn_error
"unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information."
1167 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1171 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1173 eval $ac_envvar=\
$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1187 if test -n "$ac_prev"; then
1188 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error
"missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val
=\$
$ac_var
1207 # Remove trailing slashes.
1210 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\
$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target
=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x
; then
1230 if test "x$build_alias" = x
; then
1231 cross_compiling
=maybe
1232 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1233 If a cross compiler is detected then cross compile mode will be used." >&2
1234 elif test "x$build_alias" != "x$host_alias"; then
1240 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1242 test "$silent" = yes && exec 6>/dev
/null
1245 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di
=`ls -di .` &&
1247 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error
"working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error
"pwd does not report name of working directory"
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted
=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir
=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1285 ac_srcdir_defaulted
=no
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1289 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1291 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1303 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305 for ac_var
in $ac_precious_vars; do
1306 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1308 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1313 # Report the --help message.
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1319 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 Defaults for the options are specified in brackets.
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1350 For better control, use the options below.
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1382 --build=BUILD configure
for building on BUILD
[guessed
]
1383 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1384 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1395 --disable-option-checking ignore unrecognized
--enable/--with options
1396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1398 --enable-version-specific-runtime-libs
1399 specify that runtime libraries should be installed
1400 in a compiler-specific directory
1401 --enable-intermodule build the library
in one step
1402 --enable-maintainer-mode enable make rules and dependencies not useful
1403 (and sometimes confusing
) to the casual installer
1404 --enable-multilib build many library versions
(default
)
1405 --disable-dependency-tracking speeds up one-time build
1406 --enable-dependency-tracking do not reject slow dependency extractors
1407 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1408 --enable-static[=PKGS
] build static libraries
[default
=yes]
1409 --enable-fast-install[=PKGS
]
1410 optimize
for fast installation
[default
=yes]
1411 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1412 --disable-largefile omit support
for large files
1413 --disable-libquadmath-support
1414 disable libquadmath support
for Fortran
1417 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1418 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1419 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1420 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1422 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1424 Some influential environment variables
:
1425 CC C compiler
command
1426 CFLAGS C compiler flags
1427 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1428 nonstandard directory
<lib dir
>
1429 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1430 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1431 you have headers
in a nonstandard directory
<include dir
>
1433 FC Fortran compiler
command
1434 FCFLAGS Fortran compiler flags
1436 Use these variables to override the choices made by
`configure' or to help
1437 it to find libraries and programs with nonstandard names/locations.
1439 Report bugs to the package provider.
1440 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1441 General help using GNU software: <http://www.gnu.org/gethelp/>.
1446 if test "$ac_init_help" = "recursive"; then
1447 # If there are subdirs, report their specific --help.
1448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1449 test -d "$ac_dir" ||
1450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1458 # A ".." for each directory in $ac_dir_suffix.
1459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1460 case $ac_top_builddir_sub in
1461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1465 ac_abs_top_builddir=$ac_pwd
1466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1467 # for backward compatibility:
1468 ac_top_builddir=$ac_top_build_prefix
1471 .) # We are building in place.
1473 ac_top_srcdir=$ac_top_builddir_sub
1474 ac_abs_top_srcdir=$ac_pwd ;;
1475 [\\/]* | ?:[\\/]* ) # Absolute name.
1476 ac_srcdir=$srcdir$ac_dir_suffix;
1477 ac_top_srcdir=$srcdir
1478 ac_abs_top_srcdir=$srcdir ;;
1480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1481 ac_top_srcdir=$ac_top_build_prefix$srcdir
1482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1486 cd "$ac_dir" || { ac_status=$?; continue; }
1487 # Check for guested configure.
1488 if test -f "$ac_srcdir/configure.gnu"; then
1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1491 elif test -f "$ac_srcdir/configure"; then
1493 $SHELL "$ac_srcdir/configure" --help=recursive
1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1497 cd "$ac_pwd" || { ac_status=$?; break; }
1501 test -n "$ac_init_help" && exit $ac_status
1502 if $ac_init_version; then
1504 GNU Fortran Runtime Library configure 0.3
1505 generated by GNU Autoconf 2.64
1507 Copyright (C) 2009 Free Software Foundation, Inc.
1508 This configure script is free software; the Free Software Foundation
1509 gives unlimited permission to copy, distribute and modify it.
1514 ## ------------------------ ##
1515 ## Autoconf initialization. ##
1516 ## ------------------------ ##
1518 # ac_fn_c_try_compile LINENO
1519 # --------------------------
1520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_compile ()
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524 rm -f conftest.$ac_objext
1525 if { { ac_try="$ac_compile"
1527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1528 *) ac_try_echo
=$ac_try;;
1530 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532 (eval "$ac_compile") 2>conftest.err
1534 if test -s conftest.err
; then
1535 grep -v '^ *+' conftest.err
>conftest.er1
1536 cat conftest.er1
>&5
1537 mv -f conftest.er1 conftest.err
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; } && {
1541 test -z "$ac_c_werror_flag" ||
1542 test ! -s conftest.err
1543 } && test -s conftest.
$ac_objext; then :
1546 $as_echo "$as_me: failed program was:" >&5
1547 sed 's/^/| /' conftest.
$ac_ext >&5
1551 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1554 } # ac_fn_c_try_compile
1556 # ac_fn_c_try_link LINENO
1557 # -----------------------
1558 # Try to link conftest.$ac_ext, and return whether this succeeded.
1561 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1562 rm -f conftest.
$ac_objext conftest
$ac_exeext
1563 if { { ac_try
="$ac_link"
1565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1566 *) ac_try_echo=$ac_try;;
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_link") 2>conftest.err
1572 if test -s conftest.err; then
1573 grep -v '^ *+' conftest.err >conftest.er1
1574 cat conftest.er1 >&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest$ac_exeext && {
1582 test "$cross_compiling" = yes ||
1583 $as_test_x conftest$ac_exeext
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.$ac_ext >&5
1592 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1593 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1594 # interfere with the next link command; also delete a directory that is
1595 # left behind by Apple's compiler. We do this before executing the actions.
1596 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1600 } # ac_fn_c_try_link
1602 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1603 # -------------------------------------------------------
1604 # Tests whether HEADER exists and can be compiled using the include files in
1605 # INCLUDES, setting the cache variable VAR accordingly.
1606 ac_fn_c_check_header_compile ()
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1610 $as_echo_n "checking for $2... " >&6; }
1611 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1612 $as_echo_n "(cached) " >&6
1614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1615 /* end confdefs.h. */
1619 if ac_fn_c_try_compile "$LINENO"; then :
1624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1628 $as_echo "$ac_res" >&6; }
1629 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1631 } # ac_fn_c_check_header_compile
1633 # ac_fn_c_try_cpp LINENO
1634 # ----------------------
1635 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 if { { ac_try="$ac_cpp conftest.$ac_ext"
1641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1642 *) ac_try_echo
=$ac_try;;
1644 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1648 if test -s conftest.err
; then
1649 grep -v '^ *+' conftest.err
>conftest.er1
1650 cat conftest.er1
>&5
1651 mv -f conftest.er1 conftest.err
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } >/dev
/null
&& {
1655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1656 test ! -s conftest.err
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.
$ac_ext >&5
1665 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1670 # ac_fn_c_try_run LINENO
1671 # ----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1673 # that executables *can* be run.
1676 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1677 if { { ac_try
="$ac_link"
1679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>&5
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1688 { { case "(($ac_try" in
1689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1690 *) ac_try_echo
=$ac_try;;
1692 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_try") 2>&5
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; }; }; then :
1700 $as_echo "$as_me: program exited with status $ac_status" >&5
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.
$ac_ext >&5
1704 ac_retval
=$ac_status
1706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1712 # ac_fn_c_check_func LINENO FUNC VAR
1713 # ----------------------------------
1714 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1715 ac_fn_c_check_func
()
1717 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1719 $as_echo_n "checking for $2... " >&6; }
1720 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1721 $as_echo_n "(cached) " >&6
1723 if test x
$gcc_no_link = xyes
; then
1724 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1730 #define $2 innocuous_$2
1732 /* System header to define __stub macros and hopefully few prototypes,
1733 which can conflict with char $2 (); below.
1734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1735 <limits.h> exists even on freestanding compilers. */
1738 # include <limits.h>
1740 # include <assert.h>
1745 /* Override any GCC internal prototype to avoid an error.
1746 Use char because int might match the return type of a GCC
1747 builtin and then its argument prototype would still apply. */
1752 /* The GNU C library defines this for functions which it implements
1753 to always fail with ENOSYS. Some functions are actually named
1754 something starting with __ and the normal name is an alias. */
1755 #if defined __stub_$2 || defined __stub___$2
1767 if ac_fn_c_try_link
"$LINENO"; then :
1772 rm -f core conftest.err conftest.
$ac_objext \
1773 conftest
$ac_exeext conftest.
$ac_ext
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1780 } # ac_fn_c_check_func
1782 # ac_fn_fc_try_compile LINENO
1783 # ---------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_fc_try_compile
()
1787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1788 rm -f conftest.
$ac_objext
1789 if { { ac_try
="$ac_compile"
1791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_compile") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_fc_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest.$ac_objext; then :
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 } # ac_fn_fc_try_compile
1820 # ac_fn_fc_try_link LINENO
1821 # ------------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_fc_try_link ()
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 rm -f conftest.$ac_objext conftest$ac_exeext
1827 if { { ac_try="$ac_link"
1829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1830 *) ac_try_echo
=$ac_try;;
1832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>conftest.err
1836 if test -s conftest.err
; then
1837 grep -v '^ *+' conftest.err
>conftest.er1
1838 cat conftest.er1
>&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && {
1843 test -z "$ac_fc_werror_flag" ||
1844 test ! -s conftest.err
1845 } && test -s conftest
$ac_exeext && {
1846 test "$cross_compiling" = yes ||
1847 $as_test_x conftest
$ac_exeext
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.
$ac_ext >&5
1856 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1857 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1858 # interfere with the next link command; also delete a directory that is
1859 # left behind by Apple's compiler. We do this before executing the actions.
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1864 } # ac_fn_fc_try_link
1866 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1867 # -------------------------------------------
1868 # Tests whether TYPE exists after having included INCLUDES, setting cache
1869 # variable VAR accordingly.
1870 ac_fn_c_check_type
()
1872 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1876 $as_echo_n "(cached) " >&6
1879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1891 if ac_fn_c_try_compile
"$LINENO"; then :
1892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1904 if ac_fn_c_try_compile
"$LINENO"; then :
1909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915 $as_echo "$ac_res" >&6; }
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1918 } # ac_fn_c_check_type
1920 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1921 # -------------------------------------------------------
1922 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1923 # the include files in INCLUDES and setting the cache variable VAR
1925 ac_fn_c_check_header_mongrel
()
1927 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1928 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1938 # Is the header compilable?
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1940 $as_echo_n "checking $2 usability... " >&6; }
1941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1946 if ac_fn_c_try_compile
"$LINENO"; then :
1947 ac_header_compiler
=yes
1949 ac_header_compiler
=no
1951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1953 $as_echo "$ac_header_compiler" >&6; }
1955 # Is the header present?
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1957 $as_echo_n "checking $2 presence... " >&6; }
1958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1962 if ac_fn_c_try_cpp
"$LINENO"; then :
1963 ac_header_preproc
=yes
1965 ac_header_preproc
=no
1967 rm -f conftest.err conftest.
$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1969 $as_echo "$ac_header_preproc" >&6; }
1971 # So? What about this header?
1972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1975 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1977 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1981 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1983 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1985 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1987 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1989 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1995 $as_echo_n "(cached) " >&6
1997 eval "$3=\$ac_header_compiler"
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2005 } # ac_fn_c_check_header_mongrel
2007 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2008 # --------------------------------------------
2009 # Tries to find the compile-time value of EXPR in a program that includes
2010 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2012 ac_fn_c_compute_int
()
2014 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2015 if test "$cross_compiling" = yes; then
2016 # Depending upon the size, compute the lo and hi bounds.
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2023 static int test_array [1 - 2 * !(($2) >= 0)];
2030 if ac_fn_c_try_compile
"$LINENO"; then :
2033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2039 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2046 if ac_fn_c_try_compile
"$LINENO"; then :
2047 ac_hi
=$ac_mid; break
2049 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2050 if test $ac_lo -le $ac_mid; then
2054 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) < 0)];
2072 if ac_fn_c_try_compile
"$LINENO"; then :
2075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2081 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2088 if ac_fn_c_try_compile
"$LINENO"; then :
2089 ac_lo
=$ac_mid; break
2091 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2092 if test $ac_mid -le $ac_hi; then
2096 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 # Binary search between lo and hi bounds.
2107 while test "x$ac_lo" != "x$ac_hi"; do
2108 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2122 if ac_fn_c_try_compile
"$LINENO"; then :
2125 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2137 static long int longval () { return $2; }
2138 static unsigned long int ulongval () { return $2; }
2145 FILE *f = fopen ("conftest.val", "w");
2150 long int i = longval ();
2153 fprintf (f, "%ld", i);
2157 unsigned long int i = ulongval ();
2160 fprintf (f, "%lu", i);
2162 /* Do not output a trailing newline, as this causes \r\n confusion
2163 on some platforms. */
2164 return ferror (f) || fclose (f) != 0;
2170 if ac_fn_c_try_run
"$LINENO"; then :
2171 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2175 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2176 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2183 } # ac_fn_c_compute_int
2185 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2186 # ----------------------------------------------------
2187 # Tries to find if the field MEMBER exists in type AGGR, after including
2188 # INCLUDES, setting cache variable VAR accordingly.
2189 ac_fn_c_check_member
()
2191 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2193 $as_echo_n "checking for $2.$3... " >&6; }
2194 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 $as_echo_n "(cached) " >&6
2197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2210 if ac_fn_c_try_compile
"$LINENO"; then :
2213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2220 if (sizeof ac_aggr.$3)
2226 if ac_fn_c_try_compile
"$LINENO"; then :
2231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2238 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2240 } # ac_fn_c_check_member
2241 cat >config.log
<<_ACEOF
2242 This file contains any messages produced by compilers while
2243 running configure, to aid debugging if configure makes a mistake.
2245 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2246 generated by GNU Autoconf 2.64. Invocation command line was
2258 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2259 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2260 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2261 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2262 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2264 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2265 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2267 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2268 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2269 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2270 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2271 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2272 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2273 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir
=.
2282 $as_echo "PATH: $as_dir"
2298 # Keep a trace of the command line.
2299 # Strip out --no-create and --no-recursion so they do not pile up.
2300 # Strip out --silent because we don't want to record it for future runs.
2301 # Also quote any args containing shell meta-characters.
2302 # Make two passes to allow for proper duplicate-argument suppression.
2306 ac_must_keep_next
=false
2312 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2313 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2314 |
-silent |
--silent |
--silen |
--sile |
--sil)
2317 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2320 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2322 as_fn_append ac_configure_args1
" '$ac_arg'"
2323 if test $ac_must_keep_next = true
; then
2324 ac_must_keep_next
=false
# Got value, back to normal.
2327 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2328 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2329 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2330 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2331 case "$ac_configure_args0 " in
2332 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2335 -* ) ac_must_keep_next
=true
;;
2338 as_fn_append ac_configure_args
" '$ac_arg'"
2343 { ac_configure_args0
=; unset ac_configure_args0
;}
2344 { ac_configure_args1
=; unset ac_configure_args1
;}
2346 # When interrupted or exit'd, cleanup temporary files, and complete
2347 # config.log. We remove comments because anyway the quotes in there
2348 # would cause problems or look ugly.
2349 # WARNING: Use '\'' to represent an apostrophe within the trap.
2350 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2351 trap 'exit_status=$?
2352 # Save into config.log some information that might help in debugging.
2357 ## ---------------- ##
2358 ## Cache variables. ##
2359 ## ---------------- ##
2362 # The following way of writing the cache mishandles newlines in values,
2364 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2365 eval ac_val=\$$ac_var
2369 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2370 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2373 _ | IFS | as_nl) ;; #(
2374 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2375 *) { eval $ac_var=; unset $ac_var;} ;;
2380 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2381 *${as_nl}ac_space=\ *)
2383 "s/'\''/'\''\\\\'\'''\''/g;
2384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2387 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2395 ## ----------------- ##
2396 ## Output variables. ##
2397 ## ----------------- ##
2400 for ac_var in $ac_subst_vars
2402 eval ac_val=\$$ac_var
2404 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2406 $as_echo "$ac_var='\''$ac_val'\''"
2410 if test -n "$ac_subst_files"; then
2412 ## ------------------- ##
2413 ## File substitutions. ##
2414 ## ------------------- ##
2417 for ac_var
in $ac_subst_files
2419 eval ac_val
=\$
$ac_var
2421 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2423 $as_echo "$ac_var='\''$ac_val'\''"
2428 if test -s confdefs.h; then
2438 test "$ac_signal" != 0 &&
2439 $as_echo "$as_me: caught signal $ac_signal"
2440 $as_echo "$as_me: exit $exit_status"
2442 rm -f core *.core core.conftest.* &&
2443 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2446 for ac_signal
in 1 2 13 15; do
2447 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2451 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2452 rm -f -r conftest
* confdefs.h
2454 $as_echo "/* confdefs.h */" > confdefs.h
2456 # Predefined preprocessor variables.
2458 cat >>confdefs.h
<<_ACEOF
2459 #define PACKAGE_NAME "$PACKAGE_NAME"
2462 cat >>confdefs.h
<<_ACEOF
2463 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2466 cat >>confdefs.h
<<_ACEOF
2467 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2470 cat >>confdefs.h
<<_ACEOF
2471 #define PACKAGE_STRING "$PACKAGE_STRING"
2474 cat >>confdefs.h
<<_ACEOF
2475 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2478 cat >>confdefs.h
<<_ACEOF
2479 #define PACKAGE_URL "$PACKAGE_URL"
2483 # Let the site file select an alternate cache file if it wants to.
2484 # Prefer an explicitly selected file to automatically selected ones.
2487 if test -n "$CONFIG_SITE"; then
2488 ac_site_file1
=$CONFIG_SITE
2489 elif test "x$prefix" != xNONE
; then
2490 ac_site_file1
=$prefix/share
/config.site
2491 ac_site_file2
=$prefix/etc
/config.site
2493 ac_site_file1
=$ac_default_prefix/share
/config.site
2494 ac_site_file2
=$ac_default_prefix/etc
/config.site
2496 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2498 test "x$ac_site_file" = xNONE
&& continue
2499 if test -r "$ac_site_file"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2501 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2502 sed 's/^/| /' "$ac_site_file" >&5
2507 if test -r "$cache_file"; then
2508 # Some versions of bash will fail to source /dev/null (special
2509 # files actually), so we avoid doing that.
2510 if test -f "$cache_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2512 $as_echo "$as_me: loading cache $cache_file" >&6;}
2514 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2515 *) .
"./$cache_file";;
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2520 $as_echo "$as_me: creating cache $cache_file" >&6;}
2524 # Check that the precious variables saved in the cache have kept the same
2526 ac_cache_corrupted
=false
2527 for ac_var
in $ac_precious_vars; do
2528 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2529 eval ac_new_set
=\
$ac_env_${ac_var}_set
2530 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2531 eval ac_new_val
=\
$ac_env_${ac_var}_value
2532 case $ac_old_set,$ac_new_set in
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2535 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2536 ac_cache_corrupted
=: ;;
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2539 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2540 ac_cache_corrupted
=: ;;
2543 if test "x$ac_old_val" != "x$ac_new_val"; then
2544 # differences in whitespace do not lead to failure.
2545 ac_old_val_w
=`echo x $ac_old_val`
2546 ac_new_val_w
=`echo x $ac_new_val`
2547 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2549 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2550 ac_cache_corrupted
=:
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2553 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2554 eval $ac_var=\
$ac_old_val
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2557 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2559 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2562 # Pass precious variables to config.status.
2563 if test "$ac_new_set" = set; then
2565 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2566 *) ac_arg
=$ac_var=$ac_new_val ;;
2568 case " $ac_configure_args " in
2569 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2570 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2574 if $ac_cache_corrupted; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2578 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2579 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2581 ## -------------------- ##
2582 ## Main body of script. ##
2583 ## -------------------- ##
2586 ac_cpp
='$CPP $CPPFLAGS'
2587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2595 ac_config_headers
="$ac_config_headers config.h"
2598 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2599 for ac_t
in install-sh
install.sh shtool
; do
2600 if test -f "$ac_dir/$ac_t"; then
2602 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2607 if test -z "$ac_aux_dir"; then
2608 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2611 # These three variables are undocumented and unsupported,
2612 # and are intended to be withdrawn in a future Autoconf release.
2613 # They can cause serious problems if a builder's source tree is in a directory
2614 # whose full name contains unusual characters.
2615 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2616 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2617 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2620 # Make sure we can run config.sub.
2621 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2622 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2625 $as_echo_n "checking build system type... " >&6; }
2626 if test "${ac_cv_build+set}" = set; then :
2627 $as_echo_n "(cached) " >&6
2629 ac_build_alias
=$build_alias
2630 test "x$ac_build_alias" = x
&&
2631 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2632 test "x$ac_build_alias" = x
&&
2633 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2634 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2635 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2639 $as_echo "$ac_cv_build" >&6; }
2640 case $ac_cv_build in
2642 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2645 ac_save_IFS
=$IFS; IFS
='-'
2651 # Remember, the first character of IFS is used to create $*,
2652 # except with old shells:
2655 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2658 case ${build_alias} in
2659 "") build_noncanonical
=${build} ;;
2660 *) build_noncanonical
=${build_alias} ;;
2663 case ${host_alias} in
2664 "") host_noncanonical
=${build_noncanonical} ;;
2665 *) host_noncanonical
=${host_alias} ;;
2668 case ${target_alias} in
2669 "") target_noncanonical
=${host_noncanonical} ;;
2670 *) target_noncanonical
=${target_alias} ;;
2674 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2675 # have matching libraries, they should use host libraries: Makefile.tpl
2676 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2677 # However, they still use the build modules, because the corresponding
2678 # host modules (e.g. bison) are only built for the host when bootstrap
2680 # - build_subdir is where we find build modules, and never changes.
2681 # - build_libsubdir is where we find build libraries, and can be overridden.
2683 # Prefix 'build-' so this never conflicts with target_subdir.
2684 build_subdir
="build-${build_noncanonical}"
2686 # Check whether --with-build-libsubdir was given.
2687 if test "${with_build_libsubdir+set}" = set; then :
2688 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2690 build_libsubdir
="$build_subdir"
2693 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2694 if ( test $srcdir = .
&& test -d gcc
) \
2695 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2696 host_subdir
="host-${host_noncanonical}"
2701 target_subdir
=${target_noncanonical}
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2709 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2710 # Check whether --enable-version-specific-runtime-libs was given.
2711 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2712 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2713 yes) version_specific_libs
=yes ;;
2714 no
) version_specific_libs
=no
;;
2715 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2718 version_specific_libs
=no
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2722 $as_echo "$version_specific_libs" >&6; }
2724 # Build with intermodule optimisations
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2726 $as_echo_n "checking for --enable-intermodule... " >&6; }
2727 # Check whether --enable-intermodule was given.
2728 if test "${enable_intermodule+set}" = set; then :
2729 enableval
=$enable_intermodule; case "$enable_intermodule" in
2730 yes) onestep
="-onestep";;
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2738 $as_echo "$enable_intermodule" >&6; }
2739 if test x
$onestep = x-onestep
; then
2749 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2751 # You will slowly go insane if you do not grok the following fact: when
2752 # building this library, the top-level /target/ becomes the library's /host/.
2754 # configure then causes --target to default to --host, exactly like any
2755 # other package using autoconf. Therefore, 'target' and 'host' will
2756 # always be the same. This makes sense both for native and cross compilers
2757 # just think about it for a little while. :-)
2759 # Also, if this library is being configured as part of a cross compiler, the
2760 # top-level configure script will pass the "real" host as $with_cross_host.
2762 # Do not delete or change the following two lines. For why, see
2763 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2765 $as_echo_n "checking host system type... " >&6; }
2766 if test "${ac_cv_host+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 if test "x$host_alias" = x
; then
2770 ac_cv_host
=$ac_cv_build
2772 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2773 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2778 $as_echo "$ac_cv_host" >&6; }
2781 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2784 ac_save_IFS
=$IFS; IFS
='-'
2790 # Remember, the first character of IFS is used to create $*,
2791 # except with old shells:
2794 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2798 $as_echo_n "checking target system type... " >&6; }
2799 if test "${ac_cv_target+set}" = set; then :
2800 $as_echo_n "(cached) " >&6
2802 if test "x$target_alias" = x
; then
2803 ac_cv_target
=$ac_cv_host
2805 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2806 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2811 $as_echo "$ac_cv_target" >&6; }
2812 case $ac_cv_target in
2814 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2816 target
=$ac_cv_target
2817 ac_save_IFS
=$IFS; IFS
='-'
2823 # Remember, the first character of IFS is used to create $*,
2824 # except with old shells:
2827 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2830 # The aliases save the names the user supplied, while $host etc.
2831 # will get canonicalized.
2832 test -n "$target_alias" &&
2833 test "$program_prefix$program_suffix$program_transform_name" = \
2835 program_prefix
=${target_alias}-
2837 target_alias
=${target_alias-$host_alias}
2839 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2840 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2841 # 1.9.6: minimum required version
2842 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2843 # of other PACKAGE_* variables will, however, and there's nothing
2844 # we can do about that; they come from AC_INIT).
2845 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2846 # file in the top srcdir, etc, etc), so stop complaining.
2847 # no-dist: we don't want 'dist' and related rules.
2848 # -Wall: turns on all automake warnings...
2849 # -Wno-portability: ...except this one, since GNU make is required.
2850 am__api_version
='1.11'
2852 # Find a good install program. We prefer a C program (faster),
2853 # so one script is as good as another. But avoid the broken or
2854 # incompatible versions:
2855 # SysV /etc/install, /usr/sbin/install
2856 # SunOS /usr/etc/install
2857 # IRIX /sbin/install
2859 # AmigaOS /C/install, which installs bootblocks on floppy discs
2860 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2861 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2862 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2863 # OS/2's system install, which has a completely different semantic
2864 # ./install, which can be erroneously created by make from ./install.sh.
2865 # Reject install programs that cannot install multiple files.
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2867 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2868 if test -z "$INSTALL"; then
2869 if test "${ac_cv_path_install+set}" = set; then :
2870 $as_echo_n "(cached) " >&6
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 # Account for people who put trailing slashes in PATH elements.
2878 case $as_dir/ in #((
2879 .
/ | .
// |
/[cC
]/* | \
2880 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2881 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2884 # OSF1 and SCO ODT 3.0 have their own names for install.
2885 # Don't use installbsd from OSF since it installs stuff as root
2887 for ac_prog
in ginstall scoinst
install; do
2888 for ac_exec_ext
in '' $ac_executable_extensions; do
2889 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2890 if test $ac_prog = install &&
2891 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2892 # AIX install. It has an incompatible calling convention.
2894 elif test $ac_prog = install &&
2895 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2896 # program-specific install script used by HP pwplus--don't use.
2899 rm -rf conftest.one conftest.two conftest.dir
2900 echo one
> conftest.one
2901 echo two
> conftest.two
2903 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2904 test -s conftest.one
&& test -s conftest.two
&&
2905 test -s conftest.dir
/conftest.one
&&
2906 test -s conftest.dir
/conftest.two
2908 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2921 rm -rf conftest.one conftest.two conftest.dir
2924 if test "${ac_cv_path_install+set}" = set; then
2925 INSTALL
=$ac_cv_path_install
2927 # As a last resort, use the slow shell script. Don't cache a
2928 # value for INSTALL within a source directory, because that will
2929 # break other packages using the cache if that directory is
2930 # removed, or if the value is a relative name.
2931 INSTALL
=$ac_install_sh
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2935 $as_echo "$INSTALL" >&6; }
2937 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2938 # It thinks the first close brace ends the variable substitution.
2939 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2941 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2943 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2946 $as_echo_n "checking whether build environment is sane... " >&6; }
2949 echo timestamp
> conftest.
file
2950 # Reject unsafe characters in $srcdir or the absolute working directory
2951 # name. Accept space and tab only in the latter.
2955 *[\\\"\
#\$\&\'\`$am_lf]*)
2956 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2959 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2960 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2963 # Do `set' in a subshell so we don't clobber the current shell's
2964 # arguments. Must try -L first in case configure is actually a
2965 # symlink; some systems play weird games with the mod time of symlinks
2966 # (eg FreeBSD returns the mod time of the symlink's containing
2969 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2970 if test "$*" = "X"; then
2972 set X
`ls -t "$srcdir/configure" conftest.file`
2975 if test "$*" != "X $srcdir/configure conftest.file" \
2976 && test "$*" != "X conftest.file $srcdir/configure"; then
2978 # If neither matched, then we have a broken ls. This can happen
2979 # if, for instance, CONFIG_SHELL is bash and it inherits a
2980 # broken ls alias from the environment. This has actually
2981 # happened. Such a system could not be considered "sane".
2982 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2983 alias in your environment" "$LINENO" 5
2986 test "$2" = conftest.
file
2992 as_fn_error
"newly created file is older than distributed files!
2993 Check your system clock" "$LINENO" 5
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2996 $as_echo "yes" >&6; }
2997 test "$program_prefix" != NONE
&&
2998 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2999 # Use a double $ so make ignores it.
3000 test "$program_suffix" != NONE
&&
3001 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3002 # Double any \ or $.
3003 # By default was `s,x,x', remove it if useless.
3004 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3005 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3007 # expand $ac_aux_dir to an absolute path
3008 am_aux_dir
=`cd $ac_aux_dir && pwd`
3010 if test x
"${MISSING+set}" != xset
; then
3013 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3015 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3018 # Use eval to expand $SHELL
3019 if eval "$MISSING --run true"; then
3020 am_missing_run
="$MISSING --run "
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3024 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3027 if test x
"${install_sh}" != xset
; then
3030 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3032 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3036 # Installed binaries are usually stripped using `strip' when the user
3037 # run `make install-strip'. However `strip' might not be the right
3038 # tool to use in cross-compilation environments, therefore Automake
3039 # will honor the `STRIP' environment variable to overrule this program.
3040 if test "$cross_compiling" != no
; then
3041 if test -n "$ac_tool_prefix"; then
3042 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3043 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if test "${ac_cv_prog_STRIP+set}" = set; then :
3047 $as_echo_n "(cached) " >&6
3049 if test -n "$STRIP"; then
3050 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir
=.
3057 for ac_exec_ext
in '' $ac_executable_extensions; do
3058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 STRIP
=$ac_cv_prog_STRIP
3070 if test -n "$STRIP"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3072 $as_echo "$STRIP" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3080 if test -z "$ac_cv_prog_STRIP"; then
3082 # Extract the first word of "strip", so it can be a program name with args.
3083 set dummy strip
; ac_word
=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$ac_ct_STRIP"; then
3090 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir
=.
3097 for ac_exec_ext
in '' $ac_executable_extensions; do
3098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099 ac_cv_prog_ac_ct_STRIP
="strip"
3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3110 if test -n "$ac_ct_STRIP"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3112 $as_echo "$ac_ct_STRIP" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3118 if test "x$ac_ct_STRIP" = x
; then
3121 case $cross_compiling:$ac_tool_warned in
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3125 ac_tool_warned
=yes ;;
3130 STRIP
="$ac_cv_prog_STRIP"
3134 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3137 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3138 if test -z "$MKDIR_P"; then
3139 if test "${ac_cv_path_mkdir+set}" = set; then :
3140 $as_echo_n "(cached) " >&6
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3143 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_prog
in mkdir gmkdir
; do
3148 for ac_exec_ext
in '' $ac_executable_extensions; do
3149 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3150 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3151 'mkdir (GNU coreutils) '* | \
3152 'mkdir (coreutils) '* | \
3153 'mkdir (fileutils) '4.1*)
3154 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3164 if test "${ac_cv_path_mkdir+set}" = set; then
3165 MKDIR_P
="$ac_cv_path_mkdir -p"
3167 # As a last resort, use the slow shell script. Don't cache a
3168 # value for MKDIR_P within a source directory, because that will
3169 # break other packages using the cache if that directory is
3170 # removed, or if the value is a relative name.
3171 test -d .
/--version && rmdir .
/--version
3172 MKDIR_P
="$ac_install_sh -d"
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3176 $as_echo "$MKDIR_P" >&6; }
3180 [\\/$
]* | ?
:[\\/]*) ;;
3181 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3184 for ac_prog
in gawk mawk nawk
awk
3186 # Extract the first word of "$ac_prog", so it can be a program name with args.
3187 set dummy
$ac_prog; ac_word
=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if test "${ac_cv_prog_AWK+set}" = set; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$AWK"; then
3194 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir
=.
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203 ac_cv_prog_AWK
="$ac_prog"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 if test -n "$AWK"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3216 $as_echo "$AWK" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3223 test -n "$AWK" && break
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3227 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3229 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3230 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3231 $as_echo_n "(cached) " >&6
3233 cat >conftest.
make <<\_ACEOF
3236 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3238 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3239 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3241 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3243 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3247 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3249 $as_echo "yes" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 SET_MAKE
="MAKE=${MAKE-make}"
3257 rm -rf .tst
2>/dev
/null
3258 mkdir .tst
2>/dev
/null
3259 if test -d .tst
; then
3264 rmdir .tst
2>/dev
/null
3266 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3267 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3268 # is not polluted with repeated "-I."
3269 am__isrc
=' -I$(srcdir)'
3270 # test to see if srcdir already configured
3271 if test -f $srcdir/config.status
; then
3272 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3276 # test whether we have cygpath
3277 if test -z "$CYGPATH_W"; then
3278 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3279 CYGPATH_W
='cygpath -w'
3286 # Define the identity of the package.
3287 PACKAGE
='libgfortran'
3291 # Some tools Automake needs.
3293 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3296 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3299 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3302 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3305 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3307 # We need awk for the "check" target. The system "awk" is bad on
3309 # Always define AMTAR for backward compatibility.
3311 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3313 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3322 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3323 # Check whether --enable-maintainer-mode was given.
3324 if test "${enable_maintainer_mode+set}" = set; then :
3325 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3327 USE_MAINTAINER_MODE
=no
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3331 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3332 if test $USE_MAINTAINER_MODE = yes; then
3333 MAINTAINER_MODE_TRUE
=
3334 MAINTAINER_MODE_FALSE
='#'
3336 MAINTAINER_MODE_TRUE
='#'
3337 MAINTAINER_MODE_FALSE
=
3340 MAINT
=$MAINTAINER_MODE_TRUE
3343 # Default to --enable-multilib
3344 # Check whether --enable-multilib was given.
3345 if test "${enable_multilib+set}" = set; then :
3346 enableval
=$enable_multilib; case "$enableval" in
3347 yes) multilib
=yes ;;
3349 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3356 # We may get other options which we leave undocumented:
3357 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3358 # See config-ml.in if you want the gory details.
3360 if test "$srcdir" = "."; then
3361 if test "$with_target_subdir" != "."; then
3362 multi_basedir
="$srcdir/$with_multisrctop../.."
3364 multi_basedir
="$srcdir/$with_multisrctop.."
3367 multi_basedir
="$srcdir/.."
3371 # Even if the default multilib is not a cross compilation,
3372 # it may be that some of the other multilibs are.
3373 if test $cross_compiling = no
&& test $multilib = yes \
3374 && test "x${with_multisubdir}" != x
; then
3375 cross_compiling
=maybe
3378 ac_config_commands
="$ac_config_commands default-1"
3381 # Handy for debugging:
3382 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3384 # Are we being configured with some form of cross compiler?
3385 # NB: We don't actually need to know this just now, but when, say, a test
3386 # suite is included, we'll have to know.
3387 if test "$build" != "$host"; then
3388 LIBGFOR_IS_NATIVE
=false
3391 LIBGFOR_IS_NATIVE
=true
3394 # Calculate toolexeclibdir
3395 # Also toolexecdir, though it's only used in toolexeclibdir
3396 case ${version_specific_libs} in
3398 # Need the gcc compiler version to know where to install libraries
3399 # and header files if --enable-version-specific-runtime-libs option
3401 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3402 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3405 if test -n "$with_cross_host" &&
3406 test x
"$with_cross_host" != x
"no"; then
3407 # Install a library built with a cross compiler in tooldir, not libdir.
3408 toolexecdir
='$(exec_prefix)/$(target_alias)'
3409 toolexeclibdir
='$(toolexecdir)/lib'
3411 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3412 toolexeclibdir
='$(libdir)'
3414 multi_os_directory
=`$CC -print-multi-os-directory`
3415 case $multi_os_directory in
3416 .
) ;; # Avoid trailing /.
3417 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3424 # Create a spec file, so that compile/link tests don't fail
3425 test -f libgfortran.spec ||
touch libgfortran.spec
3427 # Check the compiler.
3428 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3429 # We must force CC to /not/ be precious variables; otherwise
3430 # the wrong, non-multilib-adjusted value will be used in multilibs.
3431 # As a side effect, we have to subst CFLAGS ourselves.
3436 ac_cpp
='$CPP $CPPFLAGS'
3437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3440 if test -n "$ac_tool_prefix"; then
3441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3442 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444 $as_echo_n "checking for $ac_word... " >&6; }
3445 if test "${ac_cv_prog_CC+set}" = set; then :
3446 $as_echo_n "(cached) " >&6
3448 if test -n "$CC"; then
3449 ac_cv_prog_CC
="$CC" # Let the user override the test.
3451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3455 test -z "$as_dir" && as_dir
=.
3456 for ac_exec_ext
in '' $ac_executable_extensions; do
3457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3458 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 if test -n "$CC"; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3471 $as_echo "$CC" >&6; }
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474 $as_echo "no" >&6; }
3479 if test -z "$ac_cv_prog_CC"; then
3481 # Extract the first word of "gcc", so it can be a program name with args.
3482 set dummy gcc
; ac_word
=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3486 $as_echo_n "(cached) " >&6
3488 if test -n "$ac_ct_CC"; then
3489 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3495 test -z "$as_dir" && as_dir
=.
3496 for ac_exec_ext
in '' $ac_executable_extensions; do
3497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3498 ac_cv_prog_ac_ct_CC
="gcc"
3499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3509 if test -n "$ac_ct_CC"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3511 $as_echo "$ac_ct_CC" >&6; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3517 if test "x$ac_ct_CC" = x
; then
3520 case $cross_compiling:$ac_tool_warned in
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3524 ac_tool_warned
=yes ;;
3532 if test -z "$CC"; then
3533 if test -n "$ac_tool_prefix"; then
3534 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3535 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3537 $as_echo_n "checking for $ac_word... " >&6; }
3538 if test "${ac_cv_prog_CC+set}" = set; then :
3539 $as_echo_n "(cached) " >&6
3541 if test -n "$CC"; then
3542 ac_cv_prog_CC
="$CC" # Let the user override the test.
3544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3548 test -z "$as_dir" && as_dir
=.
3549 for ac_exec_ext
in '' $ac_executable_extensions; do
3550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3551 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 if test -n "$CC"; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3564 $as_echo "$CC" >&6; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3573 if test -z "$CC"; then
3574 # Extract the first word of "cc", so it can be a program name with args.
3575 set dummy cc
; ac_word
=$2
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577 $as_echo_n "checking for $ac_word... " >&6; }
3578 if test "${ac_cv_prog_CC+set}" = set; then :
3579 $as_echo_n "(cached) " >&6
3581 if test -n "$CC"; then
3582 ac_cv_prog_CC
="$CC" # Let the user override the test.
3585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3589 test -z "$as_dir" && as_dir
=.
3590 for ac_exec_ext
in '' $ac_executable_extensions; do
3591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3593 ac_prog_rejected
=yes
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 if test $ac_prog_rejected = yes; then
3605 # We found a bogon in the path, so make sure we never use it.
3606 set dummy
$ac_cv_prog_CC
3608 if test $# != 0; then
3609 # We chose a different compiler from the bogus one.
3610 # However, it has the same basename, so the bogon will be chosen
3611 # first if we set CC to just the basename; use the full file name.
3613 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3619 if test -n "$CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3621 $as_echo "$CC" >&6; }
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3629 if test -z "$CC"; then
3630 if test -n "$ac_tool_prefix"; then
3631 for ac_prog
in cl.exe
3633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3634 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_CC+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC
="$CC" # Let the user override the test.
3643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir
=.
3648 for ac_exec_ext
in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3670 test -n "$CC" && break
3673 if test -z "$CC"; then
3675 for ac_prog
in cl.exe
3677 # Extract the first word of "$ac_prog", so it can be a program name with args.
3678 set dummy
$ac_prog; ac_word
=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3682 $as_echo_n "(cached) " >&6
3684 if test -n "$ac_ct_CC"; then
3685 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir
=.
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 ac_cv_prog_ac_ct_CC
="$ac_prog"
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3705 if test -n "$ac_ct_CC"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3707 $as_echo "$ac_ct_CC" >&6; }
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3714 test -n "$ac_ct_CC" && break
3717 if test "x$ac_ct_CC" = x
; then
3720 case $cross_compiling:$ac_tool_warned in
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3724 ac_tool_warned
=yes ;;
3733 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735 as_fn_error
"no acceptable C compiler found in \$PATH
3736 See \`config.log' for more details." "$LINENO" 5; }
3738 # Provide some information about the compiler.
3739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3742 for ac_option
in --version -v -V -qversion; do
3743 { { ac_try
="$ac_compiler $ac_option >&5"
3745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3746 *) ac_try_echo=$ac_try;;
3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749 $as_echo "$ac_try_echo"; } >&5
3750 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3752 if test -s conftest.err; then
3754 ... rest of stderr output deleted ...
3755 10q' conftest.err >conftest.er1
3756 cat conftest.er1 >&5
3757 rm -f conftest.er1 conftest.err
3759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760 test $ac_status = 0; }
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3776 (eval $ac_link) 2>&5
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }; then :
3784 if test x$gcc_no_link = xyes; then
3785 # Setting cross_compile will disable run tests; it will
3786 # also disable AC_CHECK_FILE but that's generally
3787 # correct if we can't link.
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3802 ac_clean_files_save=$ac_clean_files
3803 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3804 # Try to create an executable without -o first, disregard a.out.
3805 # It will help us diagnose broken compilers, and finding out an intuition
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3808 $as_echo_n "checking for C compiler default output file name... " >&6; }
3809 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3811 # The possible output files:
3812 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3815 for ac_file in $ac_files
3818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3819 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3824 if { { ac_try="$ac_link_default"
3826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3827 *) ac_try_echo
=$ac_try;;
3829 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3830 $as_echo "$ac_try_echo"; } >&5
3831 (eval "$ac_link_default") 2>&5
3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834 test $ac_status = 0; }; then :
3835 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3836 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3837 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3838 # so that the user can short-circuit this test for compilers unknown to
3840 for ac_file
in $ac_files ''
3842 test -f "$ac_file" ||
continue
3844 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3847 # We found the default executable, but exeext='' is most
3851 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3853 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3855 # We set ac_cv_exeext here because the later test for it is not
3856 # safe: cross compilers may not add the suffix if given an `-o'
3857 # argument, so we may need to know it at that point already.
3858 # Even if this section looks crufty: it has the advantage of
3865 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3871 $as_echo "$ac_file" >&6; }
3872 if test -z "$ac_file"; then :
3873 $as_echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.
$ac_ext >&5
3876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3878 { as_fn_set_status
77
3879 as_fn_error
"C compiler cannot create executables
3880 See \`config.log' for more details." "$LINENO" 5; }; }
3882 ac_exeext
=$ac_cv_exeext
3884 # Check that the compiler produces executables we can run. If not, either
3885 # the compiler is broken, or we cross compile.
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3887 $as_echo_n "checking whether the C compiler works... " >&6; }
3888 # If not cross compiling, check that we can run a simple program.
3889 if test "$cross_compiling" != yes; then
3890 if { ac_try
='./$ac_file'
3891 { { case "(($ac_try" in
3892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_try") 2>&5
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; }; }; then
3903 if test "$cross_compiling" = maybe; then
3906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3908 as_fn_error "cannot run C compiled programs.
3909 If you meant to cross compile
, use \
`--host'.
3910 See \`config.log
' for more details." "$LINENO" 5; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3915 $as_echo "yes" >&6; }
3917 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3918 ac_clean_files=$ac_clean_files_save
3919 # Check that the compiler produces executables we can run. If not, either
3920 # the compiler is broken, or we cross compile.
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3922 $as_echo_n "checking whether we are cross compiling... " >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3924 $as_echo "$cross_compiling" >&6; }
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3927 $as_echo_n "checking for suffix of executables... " >&6; }
3928 if { { ac_try="$ac_link"
3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931 *) ac_try_echo=$ac_try;;
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_link") 2>&5
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; then :
3939 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3940 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3941 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3943 for ac_file
in conftest.exe conftest conftest.
*; do
3944 test -f "$ac_file" ||
continue
3946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3947 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3956 See \`config.log' for more details." "$LINENO" 5; }
3958 rm -f conftest
$ac_cv_exeext
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3960 $as_echo "$ac_cv_exeext" >&6; }
3962 rm -f conftest.
$ac_ext
3963 EXEEXT
=$ac_cv_exeext
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3967 $as_echo_n "checking for suffix of object files... " >&6; }
3968 if test "${ac_cv_objext+set}" = set; then :
3969 $as_echo_n "(cached) " >&6
3971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3982 rm -f conftest.o conftest.obj
3983 if { { ac_try
="$ac_compile"
3985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990 (eval "$ac_compile") 2>&5
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }; then :
3994 for ac_file in conftest.o conftest.obj conftest.*; do
3995 test -f "$ac_file" || continue;
3997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3998 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4003 $as_echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.$ac_ext >&5
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error "cannot compute suffix of object files
: cannot compile
4009 See \
`config.log' for more details." "$LINENO" 5; }
4011 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4014 $as_echo "$ac_cv_objext" >&6; }
4015 OBJEXT=$ac_cv_objext
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4018 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4019 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4020 $as_echo_n "(cached) " >&6
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4036 if ac_fn_c_try_compile "$LINENO"; then :
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4046 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4047 if test $ac_compiler_gnu = yes; then
4052 ac_test_CFLAGS=${CFLAGS+set}
4053 ac_save_CFLAGS=$CFLAGS
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4055 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4056 if test "${ac_cv_prog_cc_g+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 ac_save_c_werror_flag=$ac_c_werror_flag
4060 ac_c_werror_flag=yes
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4074 if ac_fn_c_try_compile "$LINENO"; then :
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4089 if ac_fn_c_try_compile "$LINENO"; then :
4092 ac_c_werror_flag=$ac_save_c_werror_flag
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4105 if ac_fn_c_try_compile "$LINENO"; then :
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113 ac_c_werror_flag=$ac_save_c_werror_flag
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4116 $as_echo "$ac_cv_prog_cc_g" >&6; }
4117 if test "$ac_test_CFLAGS" = set; then
4118 CFLAGS=$ac_save_CFLAGS
4119 elif test $ac_cv_prog_cc_g = yes; then
4120 if test "$GCC" = yes; then
4126 if test "$GCC" = yes; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4133 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4134 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4135 $as_echo_n "(cached) " >&6
4137 ac_cv_prog_cc_c89=no
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4143 #include <sys/types.h>
4144 #include <sys/stat.h>
4145 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4146 struct buf { int x; };
4147 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4148 static char *e (p, i)
4154 static char *f (char * (*g) (char **, int), char **p, ...)
4159 s = g (p, va_arg (v,int));
4164 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4165 function prototypes and stuff, but not '\xHH' hex character constants.
4166 These don't provoke an error unfortunately, instead are silently treated
4167 as 'x'. The following induces an error, until -std is added to get
4168 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4169 array size at least. It's necessary to write '\x00'==0 to get something
4170 that's true only with -std. */
4171 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4173 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4174 inside strings and character constants. */
4176 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4178 int test (int i, double x);
4179 struct s1 {int (*f) (int a);};
4180 struct s2 {int (*f) (double a);};
4181 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4187 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4192 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4193 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4195 CC="$ac_save_CC $ac_arg"
4196 if ac_fn_c_try_compile "$LINENO"; then :
4197 ac_cv_prog_cc_c89=$ac_arg
4199 rm -f core conftest.err conftest.$ac_objext
4200 test "x$ac_cv_prog_cc_c89" != "xno" && break
4202 rm -f conftest.$ac_ext
4207 case "x$ac_cv_prog_cc_c89" in
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4210 $as_echo "none needed" >&6; } ;;
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4213 $as_echo "unsupported" >&6; } ;;
4215 CC="$CC $ac_cv_prog_cc_c89"
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4217 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4219 if test "x$ac_cv_prog_cc_c89" != xno; then :
4224 ac_cpp='$CPP $CPPFLAGS'
4225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4228 DEPDIR="${am__leading_dot}deps"
4230 ac_config_commands="$ac_config_commands depfiles"
4233 am_make=${MAKE-make}
4234 cat > confinc << 'END'
4236 @echo this is the am__doit target
4239 # If we don't find an include directive, just comment out the code.
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4241 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4245 # First try GNU make style include.
4246 echo "include confinc" > confmf
4247 # Ignore all kinds of additional output from `make'.
4248 case `$am_make -s -f confmf 2> /dev/null` in #(
4249 *the\ am__doit\ target*)
4255 # Now try BSD make style include.
4256 if test "$am__include" = "#"; then
4257 echo '.include
"confinc"' > confmf
4258 case `$am_make -s -f confmf 2> /dev/null` in #(
4259 *the\ am__doit\ target*)
4260 am__include=.include
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4269 $as_echo "$_am_result" >&6; }
4270 rm -f confinc confmf
4272 # Check whether --enable-dependency-tracking was given.
4273 if test "${enable_dependency_tracking+set}" = set; then :
4274 enableval=$enable_dependency_tracking;
4277 if test "x$enable_dependency_tracking" != xno; then
4278 am_depcomp="$ac_aux_dir/depcomp"
4281 if test "x$enable_dependency_tracking" != xno
; then
4291 depcc
="$CC" am_compiler_list
=
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4294 $as_echo_n "checking dependency style of $depcc... " >&6; }
4295 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4296 $as_echo_n "(cached) " >&6
4298 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4299 # We make a subdir and do the tests there. Otherwise we can end up
4300 # making bogus files that we don't know about and never remove. For
4301 # instance it was reported that on HP-UX the gcc test will end up
4302 # making a dummy file named `D' -- because `-MD' means `put the output
4305 # Copy depcomp to subdir because otherwise we won't find it if we're
4306 # using a relative directory.
4307 cp "$am_depcomp" conftest.dir
4309 # We will build objects and dependencies in a subdirectory because
4310 # it helps to detect inapplicable dependency modes. For instance
4311 # both Tru64's cc and ICC support -MD to output dependencies as a
4312 # side effect of compilation, but ICC will put the dependencies in
4313 # the current directory while Tru64 will put them in the object
4317 am_cv_CC_dependencies_compiler_type
=none
4318 if test "$am_compiler_list" = ""; then
4319 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4322 case " $depcc " in #(
4323 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4326 for depmode
in $am_compiler_list; do
4327 # Setup a source with many dependencies, because some compilers
4328 # like to wrap large dependency lists on column 80 (with \), and
4329 # we should not choose a depcomp mode which is confused by this.
4331 # We need to recreate these files for each test, as the compiler may
4332 # overwrite some of them when testing with obscure command lines.
4333 # This happens at least with the AIX C compiler.
4335 for i
in 1 2 3 4 5 6; do
4336 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4337 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4338 # Solaris 8's {/usr,}/bin/sh.
4339 touch sub
/conftst
$i.h
4341 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4343 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4344 # mode. It turns out that the SunPro C++ compiler does not properly
4345 # handle `-M -o', and we need to detect this. Also, some Intel
4346 # versions had trouble with output in subdirs
4347 am__obj
=sub
/conftest.
${OBJEXT-o}
4348 am__minus_obj
="-o $am__obj"
4351 # This depmode causes a compiler race in universal mode.
4352 test "$am__universal" = false ||
continue
4355 # after this tag, mechanisms are not by side-effect, so they'll
4356 # only be used when explicitly requested
4357 if test "x$enable_dependency_tracking" = xyes
; then
4363 msvisualcpp | msvcmsys
)
4364 # This compiler won't grok `-c -o', but also, the minuso test has
4365 # not run yet. These depmodes are late enough in the game, and
4366 # so weak that their functioning should not be impacted.
4367 am__obj
=conftest.
${OBJEXT-o}
4372 if depmode
=$depmode \
4373 source=sub
/conftest.c object
=$am__obj \
4374 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4375 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4376 >/dev
/null
2>conftest.err
&&
4377 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4378 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4379 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4380 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4381 # icc doesn't choke on unknown options, it will just issue warnings
4382 # or remarks (even with -Werror). So we grep stderr for any message
4383 # that says an option was ignored or not supported.
4384 # When given -MP, icc 7.0 and 7.1 complain thusly:
4385 # icc: Command line warning: ignoring option '-M'; no argument required
4386 # The diagnosis changed in icc 8.0:
4387 # icc: Command line remark: option '-MP' not supported
4388 if (grep 'ignoring option' conftest.err ||
4389 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4390 am_cv_CC_dependencies_compiler_type
=$depmode
4399 am_cv_CC_dependencies_compiler_type
=none
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4404 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4405 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4408 test "x$enable_dependency_tracking" != xno \
4409 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4411 am__fastdepCC_FALSE
='#'
4413 am__fastdepCC_TRUE
='#'
4414 am__fastdepCC_FALSE
=
4420 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4421 if test "x$GCC" = "xyes"; then
4422 AM_FCFLAGS
="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4423 ## We like to use C99 routines when available. This makes sure that
4424 ## __STDC_VERSION__ is set such that libc includes make them available.
4425 AM_CFLAGS
="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4426 ## Compile the following tests with the same system header contents
4427 ## that we'll encounter when compiling our own source files.
4428 CFLAGS
="-std=gnu99 $CFLAGS"
4434 # Check for symbol versioning (copied from libssp).
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4436 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4437 save_LDFLAGS
="$LDFLAGS"
4438 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4439 cat > conftest.map
<<EOF
4441 global: *foo*; bar; local: *;
4445 if test x
$gcc_no_link = xyes
; then
4446 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4459 if ac_fn_c_try_link
"$LINENO"; then :
4460 gfortran_use_symver
=gnu
4462 gfortran_use_symver
=no
4464 rm -f core conftest.err conftest.
$ac_objext \
4465 conftest
$ac_exeext conftest.
$ac_ext
4466 if test x
$gfortran_use_symver = xno
; then
4467 case "$target_os" in
4469 LDFLAGS
="$save_LDFLAGS"
4470 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4471 # Sun ld cannot handle wildcards and treats all entries as undefined.
4472 cat > conftest.map
<<EOF
4474 global: foo; local: *;
4477 if test x
$gcc_no_link = xyes
; then
4478 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4491 if ac_fn_c_try_link
"$LINENO"; then :
4492 gfortran_use_symver
=sun
4494 gfortran_use_symver
=no
4496 rm -f core conftest.err conftest.
$ac_objext \
4497 conftest
$ac_exeext conftest.
$ac_ext
4501 LDFLAGS
="$save_LDFLAGS"
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4503 $as_echo "$gfortran_use_symver" >&6; }
4504 if test "x$gfortran_use_symver" != xno
; then
4505 LIBGFOR_USE_SYMVER_TRUE
=
4506 LIBGFOR_USE_SYMVER_FALSE
='#'
4508 LIBGFOR_USE_SYMVER_TRUE
='#'
4509 LIBGFOR_USE_SYMVER_FALSE
=
4512 if test "x$gfortran_use_symver" = xgnu
; then
4513 LIBGFOR_USE_SYMVER_GNU_TRUE
=
4514 LIBGFOR_USE_SYMVER_GNU_FALSE
='#'
4516 LIBGFOR_USE_SYMVER_GNU_TRUE
='#'
4517 LIBGFOR_USE_SYMVER_GNU_FALSE
=
4520 if test "x$gfortran_use_symver" = xsun
; then
4521 LIBGFOR_USE_SYMVER_SUN_TRUE
=
4522 LIBGFOR_USE_SYMVER_SUN_FALSE
='#'
4524 LIBGFOR_USE_SYMVER_SUN_TRUE
='#'
4525 LIBGFOR_USE_SYMVER_SUN_FALSE
=
4529 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4530 # similarly to how libstdc++ does it
4531 ac_test_CFLAGS
="${CFLAGS+set}"
4532 ac_save_CFLAGS
="$CFLAGS"
4534 # Check for -ffunction-sections -fdata-sections
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4536 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4537 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
4538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4549 if ac_fn_c_try_compile
"$LINENO"; then :
4554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4555 if test "$ac_test_CFLAGS" = set; then
4556 CFLAGS
="$ac_save_CFLAGS"
4558 # this is the suspicious part
4561 if test x
"$ac_fdsections" = x
"yes"; then
4562 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4565 $as_echo "$ac_fdsections" >&6; }
4568 # Find other programs we need.
4569 if test -n "$ac_tool_prefix"; then
4570 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4571 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if test "${ac_cv_prog_AS+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -n "$AS"; then
4578 ac_cv_prog_AS
="$AS" # Let the user override the test.
4580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir
=.
4585 for ac_exec_ext
in '' $ac_executable_extensions; do
4586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4587 ac_cv_prog_AS
="${ac_tool_prefix}as"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 if test -n "$AS"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4600 $as_echo "$AS" >&6; }
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4608 if test -z "$ac_cv_prog_AS"; then
4610 # Extract the first word of "as", so it can be a program name with args.
4611 set dummy as
; ac_word
=$2
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4615 $as_echo_n "(cached) " >&6
4617 if test -n "$ac_ct_AS"; then
4618 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_ac_ct_AS
="as"
4628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4638 if test -n "$ac_ct_AS"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4640 $as_echo "$ac_ct_AS" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4646 if test "x$ac_ct_AS" = x
; then
4649 case $cross_compiling:$ac_tool_warned in
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4653 ac_tool_warned
=yes ;;
4661 if test -n "$ac_tool_prefix"; then
4662 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4663 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if test "${ac_cv_prog_AR+set}" = set; then :
4667 $as_echo_n "(cached) " >&6
4669 if test -n "$AR"; then
4670 ac_cv_prog_AR
="$AR" # Let the user override the test.
4672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir
=.
4677 for ac_exec_ext
in '' $ac_executable_extensions; do
4678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4679 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 if test -n "$AR"; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4692 $as_echo "$AR" >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4700 if test -z "$ac_cv_prog_AR"; then
4702 # Extract the first word of "ar", so it can be a program name with args.
4703 set dummy
ar; ac_word
=$2
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4707 $as_echo_n "(cached) " >&6
4709 if test -n "$ac_ct_AR"; then
4710 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir
=.
4717 for ac_exec_ext
in '' $ac_executable_extensions; do
4718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4719 ac_cv_prog_ac_ct_AR
="ar"
4720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4730 if test -n "$ac_ct_AR"; then
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4732 $as_echo "$ac_ct_AR" >&6; }
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4738 if test "x$ac_ct_AR" = x
; then
4741 case $cross_compiling:$ac_tool_warned in
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4745 ac_tool_warned
=yes ;;
4753 if test -n "$ac_tool_prefix"; then
4754 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4755 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4759 $as_echo_n "(cached) " >&6
4761 if test -n "$RANLIB"; then
4762 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir
=.
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4771 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 RANLIB
=$ac_cv_prog_RANLIB
4782 if test -n "$RANLIB"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4784 $as_echo "$RANLIB" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4792 if test -z "$ac_cv_prog_RANLIB"; then
4793 ac_ct_RANLIB
=$RANLIB
4794 # Extract the first word of "ranlib", so it can be a program name with args.
4795 set dummy ranlib
; ac_word
=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$ac_ct_RANLIB"; then
4802 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4822 if test -n "$ac_ct_RANLIB"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4824 $as_echo "$ac_ct_RANLIB" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4830 if test "x$ac_ct_RANLIB" = x
; then
4831 RANLIB
="ranlib-not-found-in-path-error"
4833 case $cross_compiling:$ac_tool_warned in
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4837 ac_tool_warned
=yes ;;
4839 RANLIB
=$ac_ct_RANLIB
4842 RANLIB
="$ac_cv_prog_RANLIB"
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4848 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4849 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4850 $as_echo_n "(cached) " >&6
4852 cat >conftest.
make <<\_ACEOF
4855 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4860 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4862 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4866 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4868 $as_echo "yes" >&6; }
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4872 $as_echo "no" >&6; }
4873 SET_MAKE
="MAKE=${MAKE-make}"
4879 #AC_MSG_NOTICE([====== Starting libtool configuration])
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4887 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4892 macro_version
='2.2.7a'
4893 macro_revision
='1.3134'
4907 ltmain
="$ac_aux_dir/ltmain.sh"
4909 # Backslashify metacharacters that are still active within
4910 # double-quoted strings.
4911 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4913 # Same as above, but do not quote variable references.
4914 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4916 # Sed substitution to delay expansion of an escaped shell variable in a
4917 # double_quote_subst'ed string.
4918 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4920 # Sed substitution to delay expansion of an escaped single quote.
4921 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4923 # Sed substitution to avoid accidental globbing in evaled expressions
4924 no_glob_subst
='s/\*/\\\*/g'
4926 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4927 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4928 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4931 $as_echo_n "checking how to print strings... " >&6; }
4932 # Test print first, because it will be a builtin if present.
4933 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4934 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4936 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4939 # Use this function as a fallback that always works.
4940 func_fallback_echo ()
4942 eval 'cat <<_LTECHO_EOF
4946 ECHO='func_fallback_echo
'
4949 # func_echo_all arg...
4950 # Invoke $ECHO with all args, space-separated.
4957 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4958 $as_echo "printf" >&6; } ;;
4959 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4960 $as_echo "print -r" >&6; } ;;
4961 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4962 $as_echo "cat" >&6; } ;;
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4979 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4980 if test "${ac_cv_path_SED+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4983 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4984 for ac_i in 1 2 3 4 5 6 7; do
4985 ac_script="$ac_script$as_nl$ac_script"
4987 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4988 { ac_script=; unset ac_script;}
4989 if test -z "$SED"; then
4990 ac_path_SED_found=false
4991 # Loop through the user's path and
test for each of PROGNAME-LIST
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_prog
in sed gsed
; do
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5000 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5001 # Check for GNU ac_path_SED and select it if it is found.
5002 # Check for GNU $ac_path_SED
5003 case `"$ac_path_SED" --version 2>&1` in
5005 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5008 $as_echo_n 0123456789 >"conftest.in"
5011 cat "conftest.in" "conftest.in" >"conftest.tmp"
5012 mv "conftest.tmp" "conftest.in"
5013 cp "conftest.in" "conftest.nl"
5014 $as_echo '' >> "conftest.nl"
5015 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5016 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5017 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5018 if test $ac_count -gt ${ac_path_SED_max-0}; then
5019 # Best one so far, save it but keep looking for a better one
5020 ac_cv_path_SED
="$ac_path_SED"
5021 ac_path_SED_max
=$ac_count
5023 # 10*(2^10) chars as input seems more than enough
5024 test $ac_count -gt 10 && break
5026 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5029 $ac_path_SED_found && break 3
5034 if test -z "$ac_cv_path_SED"; then
5035 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5043 $as_echo "$ac_cv_path_SED" >&6; }
5044 SED
="$ac_cv_path_SED"
5047 test -z "$SED" && SED
=sed
5048 Xsed
="$SED -e 1s/^X//"
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5061 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5062 if test "${ac_cv_path_GREP+set}" = set; then :
5063 $as_echo_n "(cached) " >&6
5065 if test -z "$GREP"; then
5066 ac_path_GREP_found
=false
5067 # Loop through the user's path and test for each of PROGNAME-LIST
5068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5069 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5072 test -z "$as_dir" && as_dir
=.
5073 for ac_prog
in grep ggrep
; do
5074 for ac_exec_ext
in '' $ac_executable_extensions; do
5075 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5076 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5077 # Check for GNU ac_path_GREP and select it if it is found.
5078 # Check for GNU $ac_path_GREP
5079 case `"$ac_path_GREP" --version 2>&1` in
5081 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5084 $as_echo_n 0123456789 >"conftest.in"
5087 cat "conftest.in" "conftest.in" >"conftest.tmp"
5088 mv "conftest.tmp" "conftest.in"
5089 cp "conftest.in" "conftest.nl"
5090 $as_echo 'GREP' >> "conftest.nl"
5091 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5092 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5093 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5094 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5095 # Best one so far, save it but keep looking for a better one
5096 ac_cv_path_GREP
="$ac_path_GREP"
5097 ac_path_GREP_max
=$ac_count
5099 # 10*(2^10) chars as input seems more than enough
5100 test $ac_count -gt 10 && break
5102 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5105 $ac_path_GREP_found && break 3
5110 if test -z "$ac_cv_path_GREP"; then
5111 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5114 ac_cv_path_GREP
=$GREP
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5119 $as_echo "$ac_cv_path_GREP" >&6; }
5120 GREP
="$ac_cv_path_GREP"
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5124 $as_echo_n "checking for egrep... " >&6; }
5125 if test "${ac_cv_path_EGREP+set}" = set; then :
5126 $as_echo_n "(cached) " >&6
5128 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5129 then ac_cv_path_EGREP
="$GREP -E"
5131 if test -z "$EGREP"; then
5132 ac_path_EGREP_found
=false
5133 # Loop through the user's path and test for each of PROGNAME-LIST
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5135 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_prog
in egrep; do
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5142 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5143 # Check for GNU ac_path_EGREP and select it if it is found.
5144 # Check for GNU $ac_path_EGREP
5145 case `"$ac_path_EGREP" --version 2>&1` in
5147 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5150 $as_echo_n 0123456789 >"conftest.in"
5153 cat "conftest.in" "conftest.in" >"conftest.tmp"
5154 mv "conftest.tmp" "conftest.in"
5155 cp "conftest.in" "conftest.nl"
5156 $as_echo 'EGREP' >> "conftest.nl"
5157 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5158 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5159 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5160 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5161 # Best one so far, save it but keep looking for a better one
5162 ac_cv_path_EGREP
="$ac_path_EGREP"
5163 ac_path_EGREP_max
=$ac_count
5165 # 10*(2^10) chars as input seems more than enough
5166 test $ac_count -gt 10 && break
5168 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5171 $ac_path_EGREP_found && break 3
5176 if test -z "$ac_cv_path_EGREP"; then
5177 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5180 ac_cv_path_EGREP
=$EGREP
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5186 $as_echo "$ac_cv_path_EGREP" >&6; }
5187 EGREP
="$ac_cv_path_EGREP"
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5191 $as_echo_n "checking for fgrep... " >&6; }
5192 if test "${ac_cv_path_FGREP+set}" = set; then :
5193 $as_echo_n "(cached) " >&6
5195 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5196 then ac_cv_path_FGREP
="$GREP -F"
5198 if test -z "$FGREP"; then
5199 ac_path_FGREP_found
=false
5200 # Loop through the user's path and test for each of PROGNAME-LIST
5201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5205 test -z "$as_dir" && as_dir
=.
5206 for ac_prog
in fgrep
; do
5207 for ac_exec_ext
in '' $ac_executable_extensions; do
5208 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5209 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5210 # Check for GNU ac_path_FGREP and select it if it is found.
5211 # Check for GNU $ac_path_FGREP
5212 case `"$ac_path_FGREP" --version 2>&1` in
5214 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5217 $as_echo_n 0123456789 >"conftest.in"
5220 cat "conftest.in" "conftest.in" >"conftest.tmp"
5221 mv "conftest.tmp" "conftest.in"
5222 cp "conftest.in" "conftest.nl"
5223 $as_echo 'FGREP' >> "conftest.nl"
5224 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5225 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5226 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5227 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5228 # Best one so far, save it but keep looking for a better one
5229 ac_cv_path_FGREP
="$ac_path_FGREP"
5230 ac_path_FGREP_max
=$ac_count
5232 # 10*(2^10) chars as input seems more than enough
5233 test $ac_count -gt 10 && break
5235 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5238 $ac_path_FGREP_found && break 3
5243 if test -z "$ac_cv_path_FGREP"; then
5244 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5247 ac_cv_path_FGREP
=$FGREP
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5253 $as_echo "$ac_cv_path_FGREP" >&6; }
5254 FGREP
="$ac_cv_path_FGREP"
5257 test -z "$GREP" && GREP
=grep
5277 # Check whether --with-gnu-ld was given.
5278 if test "${with_gnu_ld+set}" = set; then :
5279 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5285 if test "$GCC" = yes; then
5286 # Check if gcc -print-prog-name=ld gives a path.
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5288 $as_echo_n "checking for ld used by $CC... " >&6; }
5291 # gcc leaves a trailing carriage return which upsets mingw
5292 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5294 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5297 # Accept absolute paths.
5299 re_direlt
='/[^/][^/]*/\.\./'
5300 # Canonicalize the pathname of ld
5301 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5302 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5303 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5305 test -z "$LD" && LD
="$ac_prog"
5308 # If it fails, then pretend we aren't using GCC.
5312 # If it is relative, then search for the first ld in PATH.
5316 elif test "$with_gnu_ld" = yes; then
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5318 $as_echo_n "checking for GNU ld... " >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5321 $as_echo_n "checking for non-GNU ld... " >&6; }
5323 if test "${lt_cv_path_LD+set}" = set; then :
5324 $as_echo_n "(cached) " >&6
5326 if test -z "$LD"; then
5327 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5328 for ac_dir
in $PATH; do
5330 test -z "$ac_dir" && ac_dir
=.
5331 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5332 lt_cv_path_LD
="$ac_dir/$ac_prog"
5333 # Check to see if the program is GNU ld. I'd rather use --version,
5334 # but apparently some variants of GNU ld only accept -v.
5335 # Break only if it was the GNU/non-GNU ld that we prefer.
5336 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5337 *GNU
* |
*'with BFD'*)
5338 test "$with_gnu_ld" != no
&& break
5341 test "$with_gnu_ld" != yes && break
5348 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5353 if test -n "$LD"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5355 $as_echo "$LD" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5360 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5362 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5363 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5364 $as_echo_n "(cached) " >&6
5366 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5367 case `$LD -v 2>&1 </dev/null` in
5368 *GNU
* |
*'with BFD'*)
5369 lt_cv_prog_gnu_ld
=yes
5372 lt_cv_prog_gnu_ld
=no
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5377 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5378 with_gnu_ld
=$lt_cv_prog_gnu_ld
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5389 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5390 if test "${lt_cv_path_NM+set}" = set; then :
5391 $as_echo_n "(cached) " >&6
5393 if test -n "$NM"; then
5394 # Let the user override the test.
5397 lt_nm_to_check
="${ac_tool_prefix}nm"
5398 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5399 lt_nm_to_check
="$lt_nm_to_check nm"
5401 for lt_tmp_nm
in $lt_nm_to_check; do
5402 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5403 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5405 test -z "$ac_dir" && ac_dir
=.
5406 tmp_nm
="$ac_dir/$lt_tmp_nm"
5407 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5408 # Check to see if the nm accepts a BSD-compat flag.
5409 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5410 # nm: unknown option "B" ignored
5411 # Tru64's nm complains that /dev/null is an invalid object file
5412 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5413 */dev
/null
* |
*'Invalid file or object type'*)
5414 lt_cv_path_NM
="$tmp_nm -B"
5418 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5420 lt_cv_path_NM
="$tmp_nm -p"
5424 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5425 continue # so that we can try to find one that supports BSD flags
5434 : ${lt_cv_path_NM=no}
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5438 $as_echo "$lt_cv_path_NM" >&6; }
5439 if test "$lt_cv_path_NM" != "no"; then
5442 # Didn't find any BSD compatible name lister, look for dumpbin.
5443 if test -n "$DUMPBIN"; then :
5444 # Let the user override the test.
5446 if test -n "$ac_tool_prefix"; then
5447 for ac_prog
in dumpbin
"link -dump"
5449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5450 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5454 $as_echo_n "(cached) " >&6
5456 if test -n "$DUMPBIN"; then
5457 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir
=.
5464 for ac_exec_ext
in '' $ac_executable_extensions; do
5465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5466 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 DUMPBIN
=$ac_cv_prog_DUMPBIN
5477 if test -n "$DUMPBIN"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5479 $as_echo "$DUMPBIN" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5486 test -n "$DUMPBIN" && break
5489 if test -z "$DUMPBIN"; then
5490 ac_ct_DUMPBIN
=$DUMPBIN
5491 for ac_prog
in dumpbin
"link -dump"
5493 # Extract the first word of "$ac_prog", so it can be a program name with args.
5494 set dummy
$ac_prog; ac_word
=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5498 $as_echo_n "(cached) " >&6
5500 if test -n "$ac_ct_DUMPBIN"; then
5501 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir
=.
5508 for ac_exec_ext
in '' $ac_executable_extensions; do
5509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5521 if test -n "$ac_ct_DUMPBIN"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5523 $as_echo "$ac_ct_DUMPBIN" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5530 test -n "$ac_ct_DUMPBIN" && break
5533 if test "x$ac_ct_DUMPBIN" = x
; then
5536 case $cross_compiling:$ac_tool_warned in
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5540 ac_tool_warned
=yes ;;
5542 DUMPBIN
=$ac_ct_DUMPBIN
5546 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5548 DUMPBIN
="$DUMPBIN -symbols"
5556 if test "$DUMPBIN" != ":"; then
5560 test -z "$NM" && NM
=nm
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5568 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5569 if test "${lt_cv_nm_interface+set}" = set; then :
5570 $as_echo_n "(cached) " >&6
5572 lt_cv_nm_interface
="BSD nm"
5573 echo "int some_variable = 0;" > conftest.
$ac_ext
5574 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5575 (eval "$ac_compile" 2>conftest.err
)
5576 cat conftest.err
>&5
5577 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5578 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5579 cat conftest.err
>&5
5580 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5581 cat conftest.out
>&5
5582 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5583 lt_cv_nm_interface
="MS dumpbin"
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5588 $as_echo "$lt_cv_nm_interface" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5591 $as_echo_n "checking whether ln -s works... " >&6; }
5593 if test "$LN_S" = "ln -s"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5595 $as_echo "yes" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5598 $as_echo "no, using $LN_S" >&6; }
5601 # find the maximum length of command line arguments
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5603 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5604 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5605 $as_echo_n "(cached) " >&6
5612 # On DJGPP, this test can blow up pretty badly due to problems in libc
5613 # (any single argument exceeding 2000 bytes causes a buffer overrun
5614 # during glob expansion). Even if it were fixed, the result of this
5615 # check would be larger than it should be.
5616 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5620 # Under GNU Hurd, this test is not required because there is
5621 # no limit to the length of command line arguments.
5622 # Libtool will interpret -1 as no limit whatsoever
5623 lt_cv_sys_max_cmd_len
=-1;
5626 cygwin
* | mingw
* | cegcc
*)
5627 # On Win9x/ME, this test blows up -- it succeeds, but takes
5628 # about 5 minutes as the teststring grows exponentially.
5629 # Worse, since 9x/ME are not pre-emptively multitasking,
5630 # you end up with a "frozen" computer, even though with patience
5631 # the test eventually succeeds (with a max line length of 256k).
5632 # Instead, let's just punt: use the minimum linelength reported by
5633 # all of the supported platforms: 8192 (on NT/2K/XP).
5634 lt_cv_sys_max_cmd_len
=8192;
5638 # On MiNT this can take a long time and run out of memory.
5639 lt_cv_sys_max_cmd_len
=8192;
5643 # On AmigaOS with pdksh, this test takes hours, literally.
5644 # So we just punt and use a minimum line length of 8192.
5645 lt_cv_sys_max_cmd_len
=8192;
5648 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5649 # This has been around since 386BSD, at least. Likely further.
5650 if test -x /sbin
/sysctl
; then
5651 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5652 elif test -x /usr
/sbin
/sysctl
; then
5653 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5655 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5657 # And add a safety zone
5658 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5659 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5663 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5664 lt_cv_sys_max_cmd_len
=196608
5668 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5669 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5670 # nice to cause kernel panics so lets avoid the loop below.
5671 # First set a reasonable default.
5672 lt_cv_sys_max_cmd_len
=16384
5674 if test -x /sbin
/sysconfig
; then
5675 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5676 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5681 lt_cv_sys_max_cmd_len
=102400
5683 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5684 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5685 if test -n "$kargmax"; then
5686 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5688 lt_cv_sys_max_cmd_len
=32768
5692 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5693 if test -n "$lt_cv_sys_max_cmd_len"; then
5694 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5695 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5697 # Make teststring a little bigger before we do anything with it.
5698 # a 1K string should be a reasonable start.
5699 for i
in 1 2 3 4 5 6 7 8 ; do
5700 teststring
=$teststring$teststring
5702 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5703 # If test is not a shell built-in, we'll probably end up computing a
5704 # maximum length that is only half of the actual maximum length, but
5706 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5707 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5708 test $i != 17 # 1/2 MB should be enough
5711 teststring
=$teststring$teststring
5713 # Only check the string length outside the loop.
5714 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5716 # Add a significant safety factor because C++ compilers can tack on
5717 # massive amounts of additional arguments before passing them to the
5718 # linker. It appears as though 1/2 is a usable value.
5719 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5726 if test -n $lt_cv_sys_max_cmd_len ; then
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5728 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5731 $as_echo "none" >&6; }
5733 max_cmd_len
=$lt_cv_sys_max_cmd_len
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5745 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5746 # Try some XSI features
5749 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5751 && eval 'test $(( 1 + 1 )) -eq 2 \
5752 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5755 $as_echo "$xsi_shell" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5759 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5761 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5763 && lt_shell_append=yes
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5765 $as_echo "$lt_shell_append" >&6; }
5768 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5778 # test EBCDIC or ASCII
5779 case `echo X|tr X '\101'` in
5780 A) # ASCII based system
5781 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5782 lt_SP2NL='tr \040 \012'
5783 lt_NL2SP='tr \015\012 \040\040'
5785 *) # EBCDIC based system
5786 lt_SP2NL='tr \100 \n'
5787 lt_NL2SP='tr \r\n \100\100'
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5800 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5801 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5802 $as_echo_n "(cached
) " >&6
5804 lt_cv_ld_reload_flag='-r'
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5807 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5808 reload_flag=$lt_cv_ld_reload_flag
5809 case $reload_flag in
5811 *) reload_flag=" $reload_flag" ;;
5813 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5816 if test "$GCC" = yes; then
5817 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5819 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5836 $as_echo_n "checking
for $ac_word...
" >&6; }
5837 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5838 $as_echo_n "(cached
) " >&6
5840 if test -n "$OBJDUMP"; then
5841 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5860 OBJDUMP=$ac_cv_prog_OBJDUMP
5861 if test -n "$OBJDUMP"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5863 $as_echo "$OBJDUMP" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5866 $as_echo "no
" >&6; }
5871 if test -z "$ac_cv_prog_OBJDUMP"; then
5872 ac_ct_OBJDUMP=$OBJDUMP
5873 # Extract the first word of "objdump
", so it can be a program name with args.
5874 set dummy objdump; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5876 $as_echo_n "checking
for $ac_word...
" >&6; }
5877 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5878 $as_echo_n "(cached
) " >&6
5880 if test -n "$ac_ct_OBJDUMP"; then
5881 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5900 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5901 if test -n "$ac_ct_OBJDUMP"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5903 $as_echo "$ac_ct_OBJDUMP" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5906 $as_echo "no
" >&6; }
5909 if test "x
$ac_ct_OBJDUMP" = x; then
5912 case $cross_compiling:$ac_tool_warned in
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5915 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5916 ac_tool_warned=yes ;;
5918 OBJDUMP=$ac_ct_OBJDUMP
5921 OBJDUMP="$ac_cv_prog_OBJDUMP"
5924 test -z "$OBJDUMP" && OBJDUMP=objdump
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5935 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5936 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5937 $as_echo_n "(cached
) " >&6
5939 lt_cv_file_magic_cmd='$MAGIC_CMD'
5940 lt_cv_file_magic_test_file=
5941 lt_cv_deplibs_check_method='unknown'
5942 # Need to set the preceding variable on all platforms that support
5943 # interlibrary dependencies.
5944 # 'none' -- dependencies not supported.
5945 # `unknown' -- same as none, but documents that we really don't know.
5946 # 'pass_all' -- all dependencies passed with no checks.
5947 # 'test_compile' -- check by making test program.
5948 # 'file_magic [[regex]]' -- check by looking for files in library path
5949 # which responds to the $file_magic_cmd with a given extended regex.
5950 # If you have `file' or equivalent on your system and you're not sure
5951 # whether `pass_all' will *always* work, you probably want this one.
5955 lt_cv_deplibs_check_method=pass_all
5959 lt_cv_deplibs_check_method=pass_all
5963 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5964 lt_cv_file_magic_cmd='/usr/bin/file -L'
5965 lt_cv_file_magic_test_file=/shlib/libc.so
5969 # func_win32_libid is a shell function defined in ltmain.sh
5970 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5971 lt_cv_file_magic_cmd='func_win32_libid'
5975 # Base MSYS/MinGW do not provide the 'file' command needed by
5976 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5977 # unless we find 'file', for example because we are cross-compiling.
5978 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5979 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5980 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5981 lt_cv_file_magic_cmd='func_win32_libid'
5983 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5984 lt_cv_file_magic_cmd='$OBJDUMP -f'
5989 # use the weaker test based on 'objdump'. See mingw*.
5990 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5991 lt_cv_file_magic_cmd='$OBJDUMP -f'
5994 darwin* | rhapsody*)
5995 lt_cv_deplibs_check_method=pass_all
5998 freebsd* | dragonfly*)
5999 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6002 # Not sure whether the presence of OpenBSD here was a mistake.
6003 # Let's accept both of them until this is cleared up.
6004 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6005 lt_cv_file_magic_cmd=/usr/bin/file
6006 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6010 lt_cv_deplibs_check_method=pass_all
6015 lt_cv_deplibs_check_method=pass_all
6019 lt_cv_deplibs_check_method=pass_all
6022 hpux10.20* | hpux11*)
6023 lt_cv_file_magic_cmd=/usr/bin/file
6026 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6027 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6030 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]'
6031 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6034 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6035 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6041 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6042 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6045 irix5* | irix6* | nonstopux*)
6047 *-32|*"-32 ") libmagic=32-bit;;
6048 *-n32|*"-n32 ") libmagic=N32;;
6049 *-64|*"-64 ") libmagic=64-bit;;
6050 *) libmagic=never-match;;
6052 lt_cv_deplibs_check_method=pass_all
6055 # This must be Linux ELF.
6056 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6057 lt_cv_deplibs_check_method=pass_all
6061 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6070 lt_cv_file_magic_cmd=/usr/bin/file
6071 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6075 lt_cv_deplibs_check_method=pass_all
6079 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6080 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6086 osf3* | osf4* | osf5*)
6087 lt_cv_deplibs_check_method=pass_all
6091 lt_cv_deplibs_check_method=pass_all
6095 lt_cv_deplibs_check_method=pass_all
6098 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6099 lt_cv_deplibs_check_method=pass_all
6103 case $host_vendor in
6105 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]'
6106 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6109 lt_cv_deplibs_check_method=pass_all
6112 lt_cv_file_magic_cmd='/bin/file'
6113 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6116 lt_cv_file_magic_cmd='/bin/file'
6117 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6118 lt_cv_file_magic_test_file=/lib/libc.so
6121 lt_cv_deplibs_check_method=pass_all
6124 lt_cv_deplibs_check_method=pass_all
6130 lt_cv_deplibs_check_method=pass_all
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6136 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6137 file_magic_cmd=$lt_cv_file_magic_cmd
6138 deplibs_check_method=$lt_cv_deplibs_check_method
6139 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6152 if test -n "$ac_tool_prefix"; then
6153 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6154 set dummy ${ac_tool_prefix}ar; ac_word=$2
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6156 $as_echo_n "checking
for $ac_word...
" >&6; }
6157 if test "${ac_cv_prog_AR+set}" = set; then :
6158 $as_echo_n "(cached
) " >&6
6160 if test -n "$AR"; then
6161 ac_cv_prog_AR="$AR" # Let the user override the test.
6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 test -z "$as_dir" && as_dir=.
6168 for ac_exec_ext in '' $ac_executable_extensions; do
6169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6170 ac_cv_prog_AR="${ac_tool_prefix}ar"
6171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6181 if test -n "$AR"; then
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6183 $as_echo "$AR" >&6; }
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6186 $as_echo "no
" >&6; }
6191 if test -z "$ac_cv_prog_AR"; then
6193 # Extract the first word of "ar", so it can be a program name with args.
6194 set dummy ar; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6196 $as_echo_n "checking
for $ac_word...
" >&6; }
6197 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6198 $as_echo_n "(cached
) " >&6
6200 if test -n "$ac_ct_AR"; then
6201 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 ac_cv_prog_ac_ct_AR="ar"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6220 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6221 if test -n "$ac_ct_AR"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6223 $as_echo "$ac_ct_AR" >&6; }
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6226 $as_echo "no
" >&6; }
6229 if test "x
$ac_ct_AR" = x; then
6232 case $cross_compiling:$ac_tool_warned in
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6235 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6236 ac_tool_warned=yes ;;
6244 test -z "$AR" && AR=ar
6245 test -z "$AR_FLAGS" && AR_FLAGS=cru
6257 if test -n "$ac_tool_prefix"; then
6258 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}strip; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6261 $as_echo_n "checking
for $ac_word...
" >&6; }
6262 if test "${ac_cv_prog_STRIP+set}" = set; then :
6263 $as_echo_n "(cached
) " >&6
6265 if test -n "$STRIP"; then
6266 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6285 STRIP=$ac_cv_prog_STRIP
6286 if test -n "$STRIP"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6288 $as_echo "$STRIP" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6291 $as_echo "no
" >&6; }
6296 if test -z "$ac_cv_prog_STRIP"; then
6298 # Extract the first word of "strip
", so it can be a program name with args.
6299 set dummy strip; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6301 $as_echo_n "checking
for $ac_word...
" >&6; }
6302 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6303 $as_echo_n "(cached
) " >&6
6305 if test -n "$ac_ct_STRIP"; then
6306 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir=.
6313 for ac_exec_ext in '' $ac_executable_extensions; do
6314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315 ac_cv_prog_ac_ct_STRIP="strip
"
6316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6325 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6326 if test -n "$ac_ct_STRIP"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6328 $as_echo "$ac_ct_STRIP" >&6; }
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6331 $as_echo "no
" >&6; }
6334 if test "x
$ac_ct_STRIP" = x; then
6337 case $cross_compiling:$ac_tool_warned in
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6340 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6341 ac_tool_warned=yes ;;
6346 STRIP="$ac_cv_prog_STRIP"
6349 test -z "$STRIP" && STRIP=:
6356 if test -n "$ac_tool_prefix"; then
6357 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6358 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6360 $as_echo_n "checking
for $ac_word...
" >&6; }
6361 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6362 $as_echo_n "(cached
) " >&6
6364 if test -n "$RANLIB"; then
6365 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371 test -z "$as_dir" && as_dir=.
6372 for ac_exec_ext in '' $ac_executable_extensions; do
6373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6374 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6384 RANLIB=$ac_cv_prog_RANLIB
6385 if test -n "$RANLIB"; then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6387 $as_echo "$RANLIB" >&6; }
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6390 $as_echo "no
" >&6; }
6395 if test -z "$ac_cv_prog_RANLIB"; then
6396 ac_ct_RANLIB=$RANLIB
6397 # Extract the first word of "ranlib
", so it can be a program name with args.
6398 set dummy ranlib; ac_word=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6400 $as_echo_n "checking
for $ac_word...
" >&6; }
6401 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6402 $as_echo_n "(cached
) " >&6
6404 if test -n "$ac_ct_RANLIB"; then
6405 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6414 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6424 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6425 if test -n "$ac_ct_RANLIB"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6427 $as_echo "$ac_ct_RANLIB" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6430 $as_echo "no
" >&6; }
6433 if test "x
$ac_ct_RANLIB" = x; then
6436 case $cross_compiling:$ac_tool_warned in
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6439 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6440 ac_tool_warned=yes ;;
6442 RANLIB=$ac_ct_RANLIB
6445 RANLIB="$ac_cv_prog_RANLIB"
6448 test -z "$RANLIB" && RANLIB=:
6455 # Determine commands to create old-style static archives.
6456 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6457 old_postinstall_cmds='chmod 644 $oldlib'
6458 old_postuninstall_cmds=
6460 if test -n "$RANLIB"; then
6463 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6466 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6469 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6474 lock_old_archive_extraction=yes ;;
6476 lock_old_archive_extraction=no ;;
6517 # If no C compiler was specified, use CC.
6520 # If no C compiler flags were specified, use CFLAGS.
6521 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6523 # Allow CC to be a program name with arguments.
6527 # Check for command to grab the raw symbol name followed by C symbol from nm.
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6529 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6530 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6531 $as_echo_n "(cached
) " >&6
6534 # These are sane defaults that work on at least a few old systems.
6535 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6537 # Character class describing NM global symbol codes.
6538 symcode='[BCDEGRST]'
6540 # Regexp to match symbols that can be accessed directly from C.
6541 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6543 # Define system-specific variables.
6548 cygwin* | mingw* | pw32* | cegcc*)
6549 symcode='[ABCDGISTW]'
6552 if test "$host_cpu" = ia64; then
6553 symcode='[ABCDEGRST]'
6557 symcode='[BCDEGRST]'
6560 symcode='[BCDEGQRST]'
6571 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6579 # If we're using GNU nm, then use its standard symbol codes.
6580 case `$NM -V 2>&1` in
6581 *GNU* | *'with BFD'*)
6582 symcode='[ABCDGIRSTW]' ;;
6585 # Transform an extracted symbol line into a proper C declaration.
6586 # Some systems (esp. on ia64) link data and code symbols differently,
6587 # so use this general approach.
6588 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6590 # Transform an extracted symbol line into symbol name and symbol address
6591 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6592 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'"
6594 # Handle CRLF in mingw tool chain
6598 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6602 # Try without a prefix underscore, then with it.
6603 for ac_symprfx in "" "_
"; do
6605 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6606 symxfrm="\\1 $ac_symprfx\\2 \\2"
6608 # Write the raw and C identifiers.
6609 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6610 # Fake it for dumpbin and say T for any non-static function
6611 # and D for any global variable.
6612 # Also find C++ and __fastcall symbols from MSVC++,
6613 # which start with @ or ?.
6614 lt_cv_sys_global_symbol_pipe="$AWK '"\
6615 " {last_section=section; section=\$ 3};"\
6616 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6617 " \$ 0!~/External *\|/{next};"\
6618 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6619 " {if(hide[section]) next};"\
6620 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6621 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6622 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6623 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6624 " ' prfx
=^
$ac_symprfx"
6626 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6629 # Check to see that the pipe works correctly.
6633 cat > conftest.$ac_ext <<_LT_EOF
6638 void nm_test_func(void);
6639 void nm_test_func(void){}
6643 int main(){nm_test_var='a';nm_test_func();return(0);}
6646 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6647 (eval $ac_compile) 2>&5
6649 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6650 test $ac_status = 0; }; then
6651 # Now try to grab the symbols.
6653 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6654 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6656 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6657 test $ac_status = 0; } && test -s "$nlist"; then
6658 # Try sorting and uniquifying the output.
6659 if sort "$nlist" | uniq > "$nlist"T; then
6660 mv -f "$nlist"T "$nlist"
6665 # Make sure that we snagged all the symbols we need.
6666 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6667 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6668 cat <<_LT_EOF > conftest.$ac_ext
6674 # Now generate the symbol file.
6675 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6677 cat <<_LT_EOF >> conftest.$ac_ext
6679 /* The mapping between symbol names and symbols. */
6684 lt__PROGRAM__LTX_preloaded_symbols[] =
6686 { "@PROGRAM@
", (void *) 0 },
6688 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6689 cat <<\_LT_EOF >> conftest.$ac_ext
6693 /* This works around a problem in FreeBSD linker */
6694 #ifdef FREEBSD_WORKAROUND
6695 static const void *lt_preloaded_setup() {
6696 return lt__PROGRAM__LTX_preloaded_symbols;
6704 # Now try linking the two files.
6705 mv conftest.$ac_objext conftstm.$ac_objext
6706 lt_save_LIBS="$LIBS"
6707 lt_save_CFLAGS="$CFLAGS"
6708 LIBS="conftstm.
$ac_objext"
6709 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6710 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6711 (eval $ac_link) 2>&5
6713 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6714 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6717 LIBS="$lt_save_LIBS"
6718 CFLAGS="$lt_save_CFLAGS"
6720 echo "cannot
find nm_test_func
in $nlist" >&5
6723 echo "cannot
find nm_test_var
in $nlist" >&5
6726 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6729 echo "$progname: failed program was
:" >&5
6730 cat conftest.$ac_ext >&5
6732 rm -rf conftest* conftst*
6734 # Do not use the global_symbol_pipe unless it works.
6735 if test "$pipe_works" = yes; then
6738 lt_cv_sys_global_symbol_pipe=
6744 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6745 lt_cv_sys_global_symbol_to_cdecl=
6747 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6749 $as_echo "failed
" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6752 $as_echo "ok
" >&6; }
6776 # Check whether --enable-libtool-lock was given.
6777 if test "${enable_libtool_lock+set}" = set; then :
6778 enableval=$enable_libtool_lock;
6781 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6783 # Some flags need to be propagated to the compiler or linker for good
6787 # Find out which ABI we are using.
6788 echo 'int i;' > conftest.$ac_ext
6789 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6790 (eval $ac_compile) 2>&5
6792 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6793 test $ac_status = 0; }; then
6794 case `/usr/bin/file conftest.$ac_objext` in
6806 # Find out which ABI we are using.
6807 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6808 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6809 (eval $ac_compile) 2>&5
6811 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6812 test $ac_status = 0; }; then
6813 if test "$lt_cv_prog_gnu_ld" = yes; then
6814 case `/usr/bin/file conftest.$ac_objext` in
6816 LD="${LD-ld} -melf32bsmip"
6819 LD="${LD-ld} -melf32bmipn32"
6822 LD="${LD-ld} -melf64bmip"
6826 case `/usr/bin/file conftest.$ac_objext` in
6842 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6843 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6844 # Find out which ABI we are using.
6845 echo 'int i;' > conftest.$ac_ext
6846 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6847 (eval $ac_compile) 2>&5
6849 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6850 test $ac_status = 0; }; then
6851 case `/usr/bin/file conftest.o` in
6854 x86_64-*kfreebsd*-gnu)
6855 LD="${LD-ld} -m elf_i386_fbsd
"
6858 LD="${LD-ld} -m elf_i386
"
6860 ppc64-*linux*|powerpc64-*linux*)
6861 LD="${LD-ld} -m elf32ppclinux
"
6864 LD="${LD-ld} -m elf_s390
"
6867 LD="${LD-ld} -m elf32_sparc
"
6873 x86_64-*kfreebsd*-gnu)
6874 LD="${LD-ld} -m elf_x86_64_fbsd
"
6877 LD="${LD-ld} -m elf_x86_64
"
6879 ppc*-*linux*|powerpc*-*linux*)
6880 LD="${LD-ld} -m elf64ppc
"
6882 s390*-*linux*|s390*-*tpf*)
6883 LD="${LD-ld} -m elf64_s390
"
6886 LD="${LD-ld} -m elf64_sparc
"
6896 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6897 SAVE_CFLAGS="$CFLAGS"
6898 CFLAGS="$CFLAGS -belf"
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6900 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6901 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6902 $as_echo_n "(cached
) " >&6
6905 ac_cpp='$CPP $CPPFLAGS'
6906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6910 if test x$gcc_no_link = xyes; then
6911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6924 if ac_fn_c_try_link "$LINENO"; then :
6925 lt_cv_cc_needs_belf=yes
6927 lt_cv_cc_needs_belf=no
6929 rm -f core conftest.err conftest.$ac_objext \
6930 conftest$ac_exeext conftest.$ac_ext
6932 ac_cpp='$CPP $CPPFLAGS'
6933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6939 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6940 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6941 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6942 CFLAGS="$SAVE_CFLAGS"
6946 # Find out which ABI we are using.
6947 echo 'int i;' > conftest.$ac_ext
6948 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6949 (eval $ac_compile) 2>&5
6951 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6952 test $ac_status = 0; }; then
6953 case `/usr/bin/file conftest.o` in
6955 case $lt_cv_prog_gnu_ld in
6956 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6958 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6970 need_locks="$enable_libtool_lock"
6974 rhapsody* | darwin*)
6975 if test -n "$ac_tool_prefix"; then
6976 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6977 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6979 $as_echo_n "checking
for $ac_word...
" >&6; }
6980 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6981 $as_echo_n "(cached
) " >&6
6983 if test -n "$DSYMUTIL"; then
6984 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7003 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7004 if test -n "$DSYMUTIL"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7006 $as_echo "$DSYMUTIL" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7009 $as_echo "no
" >&6; }
7014 if test -z "$ac_cv_prog_DSYMUTIL"; then
7015 ac_ct_DSYMUTIL=$DSYMUTIL
7016 # Extract the first word of "dsymutil
", so it can be a program name with args.
7017 set dummy dsymutil; ac_word=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7019 $as_echo_n "checking
for $ac_word...
" >&6; }
7020 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7021 $as_echo_n "(cached
) " >&6
7023 if test -n "$ac_ct_DSYMUTIL"; then
7024 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir=.
7031 for ac_exec_ext in '' $ac_executable_extensions; do
7032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7033 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7043 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7044 if test -n "$ac_ct_DSYMUTIL"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7046 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7049 $as_echo "no
" >&6; }
7052 if test "x
$ac_ct_DSYMUTIL" = x; then
7055 case $cross_compiling:$ac_tool_warned in
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7058 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7059 ac_tool_warned=yes ;;
7061 DSYMUTIL=$ac_ct_DSYMUTIL
7064 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7067 if test -n "$ac_tool_prefix"; then
7068 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7069 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7071 $as_echo_n "checking
for $ac_word...
" >&6; }
7072 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7073 $as_echo_n "(cached
) " >&6
7075 if test -n "$NMEDIT"; then
7076 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082 test -z "$as_dir" && as_dir=.
7083 for ac_exec_ext in '' $ac_executable_extensions; do
7084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7085 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7095 NMEDIT=$ac_cv_prog_NMEDIT
7096 if test -n "$NMEDIT"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7098 $as_echo "$NMEDIT" >&6; }
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7101 $as_echo "no
" >&6; }
7106 if test -z "$ac_cv_prog_NMEDIT"; then
7107 ac_ct_NMEDIT=$NMEDIT
7108 # Extract the first word of "nmedit
", so it can be a program name with args.
7109 set dummy nmedit; ac_word=$2
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7111 $as_echo_n "checking
for $ac_word...
" >&6; }
7112 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7113 $as_echo_n "(cached
) " >&6
7115 if test -n "$ac_ct_NMEDIT"; then
7116 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 test -z "$as_dir" && as_dir=.
7123 for ac_exec_ext in '' $ac_executable_extensions; do
7124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7125 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7135 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7136 if test -n "$ac_ct_NMEDIT"; then
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7138 $as_echo "$ac_ct_NMEDIT" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7141 $as_echo "no
" >&6; }
7144 if test "x
$ac_ct_NMEDIT" = x; then
7147 case $cross_compiling:$ac_tool_warned in
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7150 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7151 ac_tool_warned=yes ;;
7153 NMEDIT=$ac_ct_NMEDIT
7156 NMEDIT="$ac_cv_prog_NMEDIT"
7159 if test -n "$ac_tool_prefix"; then
7160 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7161 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7163 $as_echo_n "checking
for $ac_word...
" >&6; }
7164 if test "${ac_cv_prog_LIPO+set}" = set; then :
7165 $as_echo_n "(cached
) " >&6
7167 if test -n "$LIPO"; then
7168 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 test -z "$as_dir" && as_dir=.
7175 for ac_exec_ext in '' $ac_executable_extensions; do
7176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7187 LIPO=$ac_cv_prog_LIPO
7188 if test -n "$LIPO"; then
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7190 $as_echo "$LIPO" >&6; }
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7193 $as_echo "no
" >&6; }
7198 if test -z "$ac_cv_prog_LIPO"; then
7200 # Extract the first word of "lipo
", so it can be a program name with args.
7201 set dummy lipo; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7203 $as_echo_n "checking
for $ac_word...
" >&6; }
7204 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7205 $as_echo_n "(cached
) " >&6
7207 if test -n "$ac_ct_LIPO"; then
7208 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir=.
7215 for ac_exec_ext in '' $ac_executable_extensions; do
7216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7217 ac_cv_prog_ac_ct_LIPO="lipo
"
7218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7227 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7228 if test -n "$ac_ct_LIPO"; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7230 $as_echo "$ac_ct_LIPO" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7233 $as_echo "no
" >&6; }
7236 if test "x
$ac_ct_LIPO" = x; then
7239 case $cross_compiling:$ac_tool_warned in
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7242 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7243 ac_tool_warned=yes ;;
7248 LIPO="$ac_cv_prog_LIPO"
7251 if test -n "$ac_tool_prefix"; then
7252 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7253 set dummy ${ac_tool_prefix}otool; ac_word=$2
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7255 $as_echo_n "checking
for $ac_word...
" >&6; }
7256 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7257 $as_echo_n "(cached
) " >&6
7259 if test -n "$OTOOL"; then
7260 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 test -z "$as_dir" && as_dir=.
7267 for ac_exec_ext in '' $ac_executable_extensions; do
7268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7269 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7279 OTOOL=$ac_cv_prog_OTOOL
7280 if test -n "$OTOOL"; then
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7282 $as_echo "$OTOOL" >&6; }
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7285 $as_echo "no
" >&6; }
7290 if test -z "$ac_cv_prog_OTOOL"; then
7292 # Extract the first word of "otool
", so it can be a program name with args.
7293 set dummy otool; ac_word=$2
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7295 $as_echo_n "checking
for $ac_word...
" >&6; }
7296 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7297 $as_echo_n "(cached
) " >&6
7299 if test -n "$ac_ct_OTOOL"; then
7300 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 test -z "$as_dir" && as_dir=.
7307 for ac_exec_ext in '' $ac_executable_extensions; do
7308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7309 ac_cv_prog_ac_ct_OTOOL="otool
"
7310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7319 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7320 if test -n "$ac_ct_OTOOL"; then
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7322 $as_echo "$ac_ct_OTOOL" >&6; }
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7325 $as_echo "no
" >&6; }
7328 if test "x
$ac_ct_OTOOL" = x; then
7331 case $cross_compiling:$ac_tool_warned in
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7334 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7335 ac_tool_warned=yes ;;
7340 OTOOL="$ac_cv_prog_OTOOL"
7343 if test -n "$ac_tool_prefix"; then
7344 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7345 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7347 $as_echo_n "checking
for $ac_word...
" >&6; }
7348 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7349 $as_echo_n "(cached
) " >&6
7351 if test -n "$OTOOL64"; then
7352 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 test -z "$as_dir" && as_dir=.
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7361 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7371 OTOOL64=$ac_cv_prog_OTOOL64
7372 if test -n "$OTOOL64"; then
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7374 $as_echo "$OTOOL64" >&6; }
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7377 $as_echo "no
" >&6; }
7382 if test -z "$ac_cv_prog_OTOOL64"; then
7383 ac_ct_OTOOL64=$OTOOL64
7384 # Extract the first word of "otool64
", so it can be a program name with args.
7385 set dummy otool64; ac_word=$2
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7387 $as_echo_n "checking
for $ac_word...
" >&6; }
7388 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7389 $as_echo_n "(cached
) " >&6
7391 if test -n "$ac_ct_OTOOL64"; then
7392 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 test -z "$as_dir" && as_dir=.
7399 for ac_exec_ext in '' $ac_executable_extensions; do
7400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7401 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7411 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7412 if test -n "$ac_ct_OTOOL64"; then
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7414 $as_echo "$ac_ct_OTOOL64" >&6; }
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7417 $as_echo "no
" >&6; }
7420 if test "x
$ac_ct_OTOOL64" = x; then
7423 case $cross_compiling:$ac_tool_warned in
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7426 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7427 ac_tool_warned=yes ;;
7429 OTOOL64=$ac_ct_OTOOL64
7432 OTOOL64="$ac_cv_prog_OTOOL64"
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7462 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7463 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7464 $as_echo_n "(cached
) " >&6
7466 lt_cv_apple_cc_single_mod=no
7467 if test -z "${LT_MULTI_MODULE}"; then
7468 # By default we will add the -single_module flag. You can override
7469 # by either setting the environment variable LT_MULTI_MODULE
7470 # non-empty at configure time, or by adding -multi_module to the
7472 rm -rf libconftest.dylib*
7473 echo "int foo
(void
){return 1;}" > conftest.c
7474 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7475 -dynamiclib -Wl,-single_module conftest.c
" >&5
7476 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7477 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7479 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7480 lt_cv_apple_cc_single_mod=yes
7482 cat conftest.err >&5
7484 rm -rf libconftest.dylib*
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7489 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7491 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7492 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7493 $as_echo_n "(cached
) " >&6
7495 lt_cv_ld_exported_symbols_list=no
7496 save_LDFLAGS=$LDFLAGS
7497 echo "_main
" > conftest.sym
7498 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7499 if test x$gcc_no_link = xyes; then
7500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7513 if ac_fn_c_try_link "$LINENO"; then :
7514 lt_cv_ld_exported_symbols_list=yes
7516 lt_cv_ld_exported_symbols_list=no
7518 rm -f core conftest.err conftest.$ac_objext \
7519 conftest$ac_exeext conftest.$ac_ext
7520 LDFLAGS="$save_LDFLAGS"
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7526 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7527 if test "${lt_cv_ld_force_load+set}" = set; then :
7528 $as_echo_n "(cached
) " >&6
7530 lt_cv_ld_force_load=no
7531 cat > conftest.c << _LT_EOF
7532 int forced_loaded() { return 2;}
7534 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7535 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7536 echo "$AR cru libconftest.a conftest.o
" >&5
7537 $AR cru libconftest.a conftest.o 2>&5
7538 cat > conftest.c << _LT_EOF
7539 int main() { return 0;}
7541 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7542 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7544 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7545 lt_cv_ld_force_load=yes
7547 cat conftest.err >&5
7549 rm -f conftest.err libconftest.a conftest conftest.c
7550 rm -rf conftest.dSYM
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7554 $as_echo "$lt_cv_ld_force_load" >&6; }
7556 rhapsody* | darwin1.[012])
7557 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7559 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7560 darwin*) # darwin 5.x on
7561 # if running on 10.5 or later, the deployment target defaults
7562 # to the OS version, if on x86, and 10.4, the deployment
7563 # target defaults to 10.4. Don't you love it?
7564 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7565 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7566 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7568 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7570 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7574 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7575 _lt_dar_single_mod='$single_module'
7577 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7578 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7580 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7582 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7583 _lt_dsymutil='~$DSYMUTIL $lib || :'
7591 ac_cpp='$CPP $CPPFLAGS'
7592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7596 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7597 # On Suns, sometimes $CPP names a directory.
7598 if test -n "$CPP" && test -d "$CPP"; then
7601 if test -z "$CPP"; then
7602 if test "${ac_cv_prog_CPP+set}" = set; then :
7603 $as_echo_n "(cached
) " >&6
7605 # Double quotes because CPP needs to be expanded
7606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7609 for ac_c_preproc_warn_flag in '' yes
7611 # Use a header file that comes with gcc, so configuring glibc
7612 # with a fresh cross-compiler works.
7613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7614 # <limits.h> exists even on freestanding compilers.
7615 # On the NeXT, cc -E runs the code through the compiler's parser,
7616 # not just through cpp. "Syntax error
" is here to catch this case.
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7620 # include <limits.h>
7622 # include <assert.h>
7626 if ac_fn_c_try_cpp "$LINENO"; then :
7629 # Broken: fails on valid input.
7632 rm -f conftest.err conftest.$ac_ext
7634 # OK, works on sane cases. Now check whether nonexistent headers
7635 # can be detected and how.
7636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h. */
7638 #include <ac_nonexistent.h>
7640 if ac_fn_c_try_cpp "$LINENO"; then :
7641 # Broken: success on invalid input.
7644 # Passes both tests.
7648 rm -f conftest.err conftest.$ac_ext
7651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7652 rm -f conftest.err conftest.$ac_ext
7653 if $ac_preproc_ok; then :
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7666 $as_echo "$CPP" >&6; }
7668 for ac_c_preproc_warn_flag in '' yes
7670 # Use a header file that comes with gcc, so configuring glibc
7671 # with a fresh cross-compiler works.
7672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7673 # <limits.h> exists even on freestanding compilers.
7674 # On the NeXT, cc -E runs the code through the compiler's parser,
7675 # not just through cpp. "Syntax error
" is here to catch this case.
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7679 # include <limits.h>
7681 # include <assert.h>
7685 if ac_fn_c_try_cpp "$LINENO"; then :
7688 # Broken: fails on valid input.
7691 rm -f conftest.err conftest.$ac_ext
7693 # OK, works on sane cases. Now check whether nonexistent headers
7694 # can be detected and how.
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7697 #include <ac_nonexistent.h>
7699 if ac_fn_c_try_cpp "$LINENO"; then :
7700 # Broken: success on invalid input.
7703 # Passes both tests.
7707 rm -f conftest.err conftest.$ac_ext
7710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7711 rm -f conftest.err conftest.$ac_ext
7712 if $ac_preproc_ok; then :
7715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7717 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7718 See \`config.log' for more details.
" "$LINENO" 5; }
7722 ac_cpp='$CPP $CPPFLAGS'
7723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7729 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7730 if test "${ac_cv_header_stdc+set}" = set; then :
7731 $as_echo_n "(cached
) " >&6
7733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h. */
7748 if ac_fn_c_try_compile "$LINENO"; then :
7749 ac_cv_header_stdc=yes
7751 ac_cv_header_stdc=no
7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7755 if test $ac_cv_header_stdc = yes; then
7756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7762 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7763 $EGREP "memchr
" >/dev/null 2>&1; then :
7766 ac_cv_header_stdc=no
7772 if test $ac_cv_header_stdc = yes; then
7773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h. */
7779 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7780 $EGREP "free
" >/dev/null 2>&1; then :
7783 ac_cv_header_stdc=no
7789 if test $ac_cv_header_stdc = yes; then
7790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7791 if test "$cross_compiling" = yes; then :
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 #if ((' ' & 0x0FF) == 0x020)
7799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7802 # define ISLOWER(c) \
7803 (('a' <= (c) && (c) <= 'i') \
7804 || ('j' <= (c) && (c) <= 'r') \
7805 || ('s' <= (c) && (c) <= 'z'))
7806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7814 for (i = 0; i < 256; i++)
7815 if (XOR (islower (i), ISLOWER (i))
7816 || toupper (i) != TOUPPER (i))
7821 if ac_fn_c_try_run "$LINENO"; then :
7824 ac_cv_header_stdc=no
7826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7827 conftest.$ac_objext conftest.beam conftest.$ac_ext
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7833 $as_echo "$ac_cv_header_stdc" >&6; }
7834 if test $ac_cv_header_stdc = yes; then
7836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7840 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7841 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7842 inttypes.h stdint.h unistd.h
7844 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7845 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7847 eval as_val
=\$
$as_ac_Header
7848 if test "x$as_val" = x
""yes; then :
7849 cat >>confdefs.h
<<_ACEOF
7850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7858 for ac_header
in dlfcn.h
7860 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7862 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7863 cat >>confdefs.h
<<_ACEOF
7864 #define HAVE_DLFCN_H 1
7883 # Check whether --enable-shared was given.
7884 if test "${enable_shared+set}" = set; then :
7885 enableval
=$enable_shared; p
=${PACKAGE-default}
7887 yes) enable_shared
=yes ;;
7888 no
) enable_shared
=no
;;
7891 # Look at the argument we got. We use all the common list separators.
7892 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7893 for pkg
in $enableval; do
7895 if test "X$pkg" = "X$p"; then
7914 # Check whether --enable-static was given.
7915 if test "${enable_static+set}" = set; then :
7916 enableval
=$enable_static; p
=${PACKAGE-default}
7918 yes) enable_static
=yes ;;
7919 no
) enable_static
=no
;;
7922 # Look at the argument we got. We use all the common list separators.
7923 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7924 for pkg
in $enableval; do
7926 if test "X$pkg" = "X$p"; then
7946 # Check whether --with-pic was given.
7947 if test "${with_pic+set}" = set; then :
7948 withval
=$with_pic; pic_mode
="$withval"
7954 test -z "$pic_mode" && pic_mode
=default
7962 # Check whether --enable-fast-install was given.
7963 if test "${enable_fast_install+set}" = set; then :
7964 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7966 yes) enable_fast_install
=yes ;;
7967 no
) enable_fast_install
=no
;;
7969 enable_fast_install
=no
7970 # Look at the argument we got. We use all the common list separators.
7971 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7972 for pkg
in $enableval; do
7974 if test "X$pkg" = "X$p"; then
7975 enable_fast_install
=yes
7982 enable_fast_install
=yes
7995 # This can be used to rebuild libtool when needed
7996 LIBTOOL_DEPS
="$ltmain"
7998 # Always use our own libtool.
7999 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8026 test -z "$LN_S" && LN_S
="ln -s"
8041 if test -n "${ZSH_VERSION+set}" ; then
8042 setopt NO_GLOB_SUBST
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8046 $as_echo_n "checking for objdir... " >&6; }
8047 if test "${lt_cv_objdir+set}" = set; then :
8048 $as_echo_n "(cached) " >&6
8050 rm -f .libs
2>/dev
/null
8051 mkdir .libs
2>/dev
/null
8052 if test -d .libs
; then
8055 # MS-DOS does not allow filenames that begin with a dot.
8058 rmdir .libs
2>/dev
/null
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8061 $as_echo "$lt_cv_objdir" >&6; }
8062 objdir
=$lt_cv_objdir
8068 cat >>confdefs.h
<<_ACEOF
8069 #define LT_OBJDIR "$lt_cv_objdir/"
8077 # AIX sometimes has problems with the GCC collect2 program. For some
8078 # reason, if we set the COLLECT_NAMES environment variable, the problems
8079 # vanish in a puff of smoke.
8080 if test "X${COLLECT_NAMES+set}" != Xset
; then
8082 export COLLECT_NAMES
8089 can_build_shared
=yes
8091 # All known linkers require a `.a' archive for static linking (except MSVC,
8092 # which needs '.lib').
8095 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8098 old_CFLAGS
="$CFLAGS"
8100 # Set sane defaults for various variables
8101 test -z "$CC" && CC
=cc
8102 test -z "$LTCC" && LTCC
=$CC
8103 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8104 test -z "$LD" && LD
=ld
8105 test -z "$ac_objext" && ac_objext
=o
8107 for cc_temp
in $compiler""; do
8109 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8110 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8115 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8118 # Only perform the check for file, if the check method requires it
8119 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8120 case $deplibs_check_method in
8122 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8124 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8125 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8126 $as_echo_n "(cached) " >&6
8130 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8133 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8134 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8135 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8136 for ac_dir
in $ac_dummy; do
8138 test -z "$ac_dir" && ac_dir
=.
8139 if test -f $ac_dir/${ac_tool_prefix}file; then
8140 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8141 if test -n "$file_magic_test_file"; then
8142 case $deplibs_check_method in
8144 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8145 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8146 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8147 $EGREP "$file_magic_regex" > /dev
/null
; then
8152 *** Warning: the command libtool uses to detect shared libraries,
8153 *** $file_magic_cmd, produces output that libtool cannot recognize.
8154 *** The result is that libtool may fail to recognize shared libraries
8155 *** as such. This will affect the creation of libtool libraries that
8156 *** depend on shared libraries, but programs linked with such libtool
8157 *** libraries will work regardless of this problem. Nevertheless, you
8158 *** may want to report the problem to your system manager and/or to
8159 *** bug-libtool@gnu.org
8169 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8174 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8175 if test -n "$MAGIC_CMD"; then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8177 $as_echo "$MAGIC_CMD" >&6; }
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8187 if test -z "$lt_cv_path_MAGIC_CMD"; then
8188 if test -n "$ac_tool_prefix"; then
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8190 $as_echo_n "checking for file... " >&6; }
8191 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8192 $as_echo_n "(cached) " >&6
8196 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8199 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8200 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8201 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8202 for ac_dir
in $ac_dummy; do
8204 test -z "$ac_dir" && ac_dir
=.
8205 if test -f $ac_dir/file; then
8206 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8207 if test -n "$file_magic_test_file"; then
8208 case $deplibs_check_method in
8210 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8211 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8212 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8213 $EGREP "$file_magic_regex" > /dev
/null
; then
8218 *** Warning: the command libtool uses to detect shared libraries,
8219 *** $file_magic_cmd, produces output that libtool cannot recognize.
8220 *** The result is that libtool may fail to recognize shared libraries
8221 *** as such. This will affect the creation of libtool libraries that
8222 *** depend on shared libraries, but programs linked with such libtool
8223 *** libraries will work regardless of this problem. Nevertheless, you
8224 *** may want to report the problem to your system manager and/or to
8225 *** bug-libtool@gnu.org
8235 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8240 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8241 if test -n "$MAGIC_CMD"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8243 $as_echo "$MAGIC_CMD" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8259 # Use C for the default configuration in the libtool script
8263 ac_cpp
='$CPP $CPPFLAGS'
8264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8269 # Source file extension for C test sources.
8272 # Object file extension for compiled C test sources.
8276 # Code to be used in simple compile tests
8277 lt_simple_compile_test_code
="int some_variable = 0;"
8279 # Code to be used in simple link tests
8280 lt_simple_link_test_code
='int main(){return(0);}'
8288 # If no C compiler was specified, use CC.
8291 # If no C compiler flags were specified, use CFLAGS.
8292 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8294 # Allow CC to be a program name with arguments.
8297 # Save the default compiler, since it gets overwritten when the other
8298 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8299 compiler_DEFAULT
=$CC
8301 # save warnings/boilerplate of simple test code
8302 ac_outfile
=conftest.
$ac_objext
8303 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8304 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8305 _lt_compiler_boilerplate
=`cat conftest.err`
8308 ac_outfile
=conftest.
$ac_objext
8309 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8310 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8311 _lt_linker_boilerplate
=`cat conftest.err`
8316 ## There is no encapsulation within the following macros, do not change
8317 ## the running order or otherwise move them around unless you know exactly
8318 ## what you are doing...
8319 if test -n "$compiler"; then
8321 lt_prog_compiler_no_builtin_flag
=
8323 if test "$GCC" = yes; then
8324 case $cc_basename in
8326 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8328 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8332 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8333 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8336 lt_cv_prog_compiler_rtti_exceptions
=no
8337 ac_outfile
=conftest.
$ac_objext
8338 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8339 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8340 # Insert the option either (1) after the last *FLAGS variable, or
8341 # (2) before a word containing "conftest.", or (3) at the end.
8342 # Note that $ac_compile itself does not contain backslashes and begins
8343 # with a dollar sign (not a hyphen), so the echo should work correctly.
8344 # The option is referenced via a variable to avoid confusing sed.
8345 lt_compile
=`echo "$ac_compile" | $SED \
8346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8348 -e 's:$: $lt_compiler_flag:'`
8349 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8350 (eval "$lt_compile" 2>conftest.err
)
8352 cat conftest.err
>&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 if (exit $ac_status) && test -s "$ac_outfile"; then
8355 # The compiler can only warn and ignore the option if not recognized
8356 # So say no if there are warnings other than the usual output.
8357 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8358 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8359 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8360 lt_cv_prog_compiler_rtti_exceptions
=yes
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8367 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8369 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8370 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8382 lt_prog_compiler_wl
=
8383 lt_prog_compiler_pic
=
8384 lt_prog_compiler_static
=
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8387 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8389 if test "$GCC" = yes; then
8390 lt_prog_compiler_wl
='-Wl,'
8391 lt_prog_compiler_static
='-static'
8395 # All AIX code is PIC.
8396 if test "$host_cpu" = ia64
; then
8397 # AIX 5 now supports IA64 processor
8398 lt_prog_compiler_static
='-Bstatic'
8405 # see comment about AmigaOS4 .so support
8406 lt_prog_compiler_pic
='-fPIC'
8409 # FIXME: we need at least 68020 code to build shared libraries, but
8410 # adding the `-m68020' flag to GCC prevents building anything better,
8412 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8417 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8418 # PIC is the default for these OSes.
8421 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8422 # This hack is so that the source file can tell whether it is being
8423 # built for inclusion in a dll (and should export symbols for example).
8424 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8425 # (--disable-auto-import) libraries
8426 lt_prog_compiler_pic
='-DDLL_EXPORT'
8429 darwin
* | rhapsody
*)
8430 # PIC is the default on this platform
8431 # Common symbols not allowed in MH_DYLIB files
8432 lt_prog_compiler_pic
='-fno-common'
8436 # PIC is the default for Haiku.
8437 # The "-static" flag exists, but is broken.
8438 lt_prog_compiler_static
=
8442 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8443 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8444 # sets the default TLS model and affects inlining.
8450 lt_prog_compiler_pic
='-fPIC'
8456 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8457 # Instead, we relocate shared libraries at runtime.
8461 # Just because we use GCC doesn't mean we suddenly get shared libraries
8462 # on systems that don't support them.
8463 lt_prog_compiler_can_build_shared
=no
8468 # QNX uses GNU C++, but need to define -shared option too, otherwise
8470 lt_prog_compiler_pic
='-fPIC -shared'
8474 if test -d /usr
/nec
; then
8475 lt_prog_compiler_pic
=-Kconform_pic
8480 lt_prog_compiler_pic
='-fPIC'
8484 case $cc_basename in
8485 nvcc
*) # Cuda Compiler Driver 2.2
8486 lt_prog_compiler_wl
='-Xlinker '
8487 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8491 # PORTME Check for flag to pass linker flags through the system compiler.
8494 lt_prog_compiler_wl
='-Wl,'
8495 if test "$host_cpu" = ia64
; then
8496 # AIX 5 now supports IA64 processor
8497 lt_prog_compiler_static
='-Bstatic'
8499 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8503 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8504 # This hack is so that the source file can tell whether it is being
8505 # built for inclusion in a dll (and should export symbols for example).
8506 lt_prog_compiler_pic
='-DDLL_EXPORT'
8509 hpux9
* | hpux10
* | hpux11
*)
8510 lt_prog_compiler_wl
='-Wl,'
8511 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8518 lt_prog_compiler_pic
='+Z'
8521 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8522 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8525 irix5
* | irix6
* | nonstopux
*)
8526 lt_prog_compiler_wl
='-Wl,'
8527 # PIC (with -KPIC) is the default.
8528 lt_prog_compiler_static
='-non_shared'
8531 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8532 case $cc_basename in
8533 # old Intel for x86_64 which still supported -KPIC.
8535 lt_prog_compiler_wl
='-Wl,'
8536 lt_prog_compiler_pic
='-KPIC'
8537 lt_prog_compiler_static
='-static'
8539 # icc used to be incompatible with GCC.
8540 # ICC 10 doesn't accept -KPIC any more.
8542 lt_prog_compiler_wl
='-Wl,'
8543 lt_prog_compiler_pic
='-fPIC'
8544 lt_prog_compiler_static
='-static'
8546 # Lahey Fortran 8.1.
8548 lt_prog_compiler_wl
='-Wl,'
8549 lt_prog_compiler_pic
='--shared'
8550 lt_prog_compiler_static
='--static'
8552 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8553 # Portland Group compilers (*not* the Pentium gcc compiler,
8554 # which looks to be a dead project)
8555 lt_prog_compiler_wl
='-Wl,'
8556 lt_prog_compiler_pic
='-fpic'
8557 lt_prog_compiler_static
='-Bstatic'
8560 lt_prog_compiler_wl
='-Wl,'
8561 # All Alpha code is PIC.
8562 lt_prog_compiler_static
='-non_shared'
8564 xl
* | bgxl
* | bgf
* | mpixl
*)
8565 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8566 lt_prog_compiler_wl
='-Wl,'
8567 lt_prog_compiler_pic
='-qpic'
8568 lt_prog_compiler_static
='-qstaticlink'
8571 case `$CC -V 2>&1 | sed 5q` in
8572 *Sun\ F
* |
*Sun
*Fortran
*)
8573 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8574 lt_prog_compiler_pic
='-KPIC'
8575 lt_prog_compiler_static
='-Bstatic'
8576 lt_prog_compiler_wl
=''
8580 lt_prog_compiler_pic
='-KPIC'
8581 lt_prog_compiler_static
='-Bstatic'
8582 lt_prog_compiler_wl
='-Wl,'
8590 lt_prog_compiler_pic
='-KPIC'
8591 lt_prog_compiler_static
='-Bstatic'
8595 # QNX uses GNU C++, but need to define -shared option too, otherwise
8597 lt_prog_compiler_pic
='-fPIC -shared'
8600 osf3
* | osf4
* | osf5
*)
8601 lt_prog_compiler_wl
='-Wl,'
8602 # All OSF/1 code is PIC.
8603 lt_prog_compiler_static
='-non_shared'
8607 lt_prog_compiler_static
='-non_shared'
8611 lt_prog_compiler_pic
='-KPIC'
8612 lt_prog_compiler_static
='-Bstatic'
8613 case $cc_basename in
8615 lt_prog_compiler_wl
='-Qoption ld ';;
8617 lt_prog_compiler_wl
='-Wl,';;
8622 lt_prog_compiler_wl
='-Qoption ld '
8623 lt_prog_compiler_pic
='-PIC'
8624 lt_prog_compiler_static
='-Bstatic'
8627 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8628 lt_prog_compiler_wl
='-Wl,'
8629 lt_prog_compiler_pic
='-KPIC'
8630 lt_prog_compiler_static
='-Bstatic'
8634 if test -d /usr
/nec
;then
8635 lt_prog_compiler_pic
='-Kconform_pic'
8636 lt_prog_compiler_static
='-Bstatic'
8640 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8641 lt_prog_compiler_wl
='-Wl,'
8642 lt_prog_compiler_pic
='-KPIC'
8643 lt_prog_compiler_static
='-Bstatic'
8647 lt_prog_compiler_wl
='-Wl,'
8648 lt_prog_compiler_can_build_shared
=no
8652 lt_prog_compiler_pic
='-pic'
8653 lt_prog_compiler_static
='-Bstatic'
8657 lt_prog_compiler_can_build_shared
=no
8663 # For platforms which do not support PIC, -DPIC is meaningless:
8665 lt_prog_compiler_pic
=
8668 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8672 $as_echo "$lt_prog_compiler_pic" >&6; }
8680 # Check to make sure the PIC flag actually works.
8682 if test -n "$lt_prog_compiler_pic"; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8684 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8685 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8686 $as_echo_n "(cached) " >&6
8688 lt_cv_prog_compiler_pic_works
=no
8689 ac_outfile
=conftest.
$ac_objext
8690 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8691 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8692 # Insert the option either (1) after the last *FLAGS variable, or
8693 # (2) before a word containing "conftest.", or (3) at the end.
8694 # Note that $ac_compile itself does not contain backslashes and begins
8695 # with a dollar sign (not a hyphen), so the echo should work correctly.
8696 # The option is referenced via a variable to avoid confusing sed.
8697 lt_compile
=`echo "$ac_compile" | $SED \
8698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8700 -e 's:$: $lt_compiler_flag:'`
8701 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8702 (eval "$lt_compile" 2>conftest.err
)
8704 cat conftest.err
>&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 if (exit $ac_status) && test -s "$ac_outfile"; then
8707 # The compiler can only warn and ignore the option if not recognized
8708 # So say no if there are warnings other than the usual output.
8709 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8710 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8711 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8712 lt_cv_prog_compiler_pic_works
=yes
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8719 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8721 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8722 case $lt_prog_compiler_pic in
8724 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8727 lt_prog_compiler_pic
=
8728 lt_prog_compiler_can_build_shared
=no
8739 # Check to make sure the static flag actually works.
8741 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8743 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8744 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8745 $as_echo_n "(cached) " >&6
8747 lt_cv_prog_compiler_static_works
=no
8748 save_LDFLAGS
="$LDFLAGS"
8749 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8750 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8751 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8752 # The linker can only warn and ignore the option if not recognized
8753 # So say no if there are warnings
8754 if test -s conftest.err
; then
8755 # Append any errors to the config.log.
8756 cat conftest.err
1>&5
8757 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8758 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8759 if diff conftest.exp conftest.er2
>/dev
/null
; then
8760 lt_cv_prog_compiler_static_works
=yes
8763 lt_cv_prog_compiler_static_works
=yes
8767 LDFLAGS
="$save_LDFLAGS"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8771 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8773 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8776 lt_prog_compiler_static
=
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8786 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8787 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8788 $as_echo_n "(cached) " >&6
8790 lt_cv_prog_compiler_c_o
=no
8791 $RM -r conftest
2>/dev
/null
8795 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8797 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8798 # Insert the option either (1) after the last *FLAGS variable, or
8799 # (2) before a word containing "conftest.", or (3) at the end.
8800 # Note that $ac_compile itself does not contain backslashes and begins
8801 # with a dollar sign (not a hyphen), so the echo should work correctly.
8802 lt_compile
=`echo "$ac_compile" | $SED \
8803 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8805 -e 's:$: $lt_compiler_flag:'`
8806 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8807 (eval "$lt_compile" 2>out
/conftest.err
)
8809 cat out
/conftest.err
>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8813 # The compiler can only warn and ignore the option if not recognized
8814 # So say no if there are warnings
8815 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8816 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8817 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8818 lt_cv_prog_compiler_c_o
=yes
8823 # SGI C++ compiler will create directory out/ii_files/ for
8824 # template instantiation
8825 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8826 $RM out
/* && rmdir out
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8833 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8841 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8842 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8843 $as_echo_n "(cached) " >&6
8845 lt_cv_prog_compiler_c_o
=no
8846 $RM -r conftest
2>/dev
/null
8850 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8852 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 lt_compile
=`echo "$ac_compile" | $SED \
8858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8860 -e 's:$: $lt_compiler_flag:'`
8861 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8862 (eval "$lt_compile" 2>out
/conftest.err
)
8864 cat out
/conftest.err
>&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings
8870 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8871 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8872 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8873 lt_cv_prog_compiler_c_o
=yes
8878 # SGI C++ compiler will create directory out/ii_files/ for
8879 # template instantiation
8880 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8881 $RM out
/* && rmdir out
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8888 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8893 hard_links
="nottested"
8894 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8895 # do not overwrite the value of need_locks provided by the user
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8897 $as_echo_n "checking if we can lock with hard links... " >&6; }
8900 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8902 ln conftest.a conftest.b
2>&5 || hard_links
=no
8903 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8905 $as_echo "$hard_links" >&6; }
8906 if test "$hard_links" = no
; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8908 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8921 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8924 allow_undefined_flag
=
8925 always_export_symbols
=no
8927 archive_expsym_cmds
=
8928 compiler_needs_object
=no
8929 enable_shared_with_static_runtimes
=no
8930 export_dynamic_flag_spec
=
8931 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8932 hardcode_automatic
=no
8934 hardcode_direct_absolute
=no
8935 hardcode_libdir_flag_spec
=
8936 hardcode_libdir_flag_spec_ld
=
8937 hardcode_libdir_separator
=
8939 hardcode_shlibpath_var
=unsupported
8941 link_all_deplibs
=unknown
8944 old_archive_from_new_cmds
=
8945 old_archive_from_expsyms_cmds
=
8946 thread_safe_flag_spec
=
8947 whole_archive_flag_spec
=
8948 # include_expsyms should be a list of space-separated symbols to be *always*
8949 # included in the symbol list
8951 # exclude_expsyms can be an extended regexp of symbols to exclude
8952 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8953 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8954 # as well as any symbol that contains `d'.
8955 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8956 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8957 # platforms (ab)use it in PIC code, but their linkers get confused if
8958 # the symbol is explicitly referenced. Since portable code cannot
8959 # rely on this symbol name, it's probably fine to never include it in
8960 # preloaded symbol tables.
8961 # Exclude shared library initialization/finalization symbols.
8962 extract_expsyms_cmds
=
8965 cygwin
* | mingw
* | pw32
* | cegcc
*)
8966 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8967 # When not using gcc, we currently assume that we are using
8968 # Microsoft Visual C++.
8969 if test "$GCC" != yes; then
8974 # we just hope/assume this is gcc and not c89 (= MSVC++)
8984 # On some targets, GNU ld is compatible enough with the native linker
8985 # that we're better off using the native interface for both.
8986 lt_use_gnu_ld_interface
=no
8987 if test "$with_gnu_ld" = yes; then
8990 # The AIX port of GNU ld has always aspired to compatibility
8991 # with the native linker. However, as the warning in the GNU ld
8992 # block says, versions before 2.19.5* couldn't really create working
8993 # shared libraries, regardless of the interface used.
8994 case `$LD -v 2>&1` in
8995 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8996 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8997 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8999 lt_use_gnu_ld_interface
=yes
9004 lt_use_gnu_ld_interface
=yes
9009 if test "$lt_use_gnu_ld_interface" = yes; then
9010 # If archive_cmds runs LD, not CC, wlarc should be empty
9013 # Set some defaults for GNU ld with shared library support. These
9014 # are reset later if shared libraries are not supported. Putting them
9015 # here allows them to be overridden if necessary.
9016 runpath_var
=LD_RUN_PATH
9017 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9018 export_dynamic_flag_spec
='${wl}--export-dynamic'
9019 # ancient GNU ld didn't support --whole-archive et. al.
9020 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9021 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9023 whole_archive_flag_spec
=
9025 supports_anon_versioning
=no
9026 case `$LD -v 2>&1` in
9027 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9028 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9029 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9030 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9031 *\
2.11.
*) ;; # other 2.11 versions
9032 *) supports_anon_versioning
=yes ;;
9035 # See if GNU ld supports shared libraries.
9038 # On AIX/PPC, the GNU linker is very broken
9039 if test "$host_cpu" != ia64
; then
9043 *** Warning: the GNU linker, at least up to release 2.19, is reported
9044 *** to be unable to reliably create shared libraries on AIX.
9045 *** Therefore, libtool is disabling shared libraries support. If you
9046 *** really care for shared libraries, you may want to install binutils
9047 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9048 *** You will then need to restart the configuration process.
9057 # see comment about AmigaOS4 .so support
9058 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9059 archive_expsym_cmds
=''
9062 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)'
9063 hardcode_libdir_flag_spec
='-L$libdir'
9064 hardcode_minus_L
=yes
9070 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9071 allow_undefined_flag
=unsupported
9072 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9073 # support --undefined. This deserves some investigation. FIXME
9074 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9080 cygwin
* | mingw
* | pw32
* | cegcc
*)
9081 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9082 # as there is no search path for DLLs.
9083 hardcode_libdir_flag_spec
='-L$libdir'
9084 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9085 allow_undefined_flag
=unsupported
9086 always_export_symbols
=no
9087 enable_shared_with_static_runtimes
=yes
9088 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9090 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9091 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9092 # If the export-symbols file already is a .def file (1st line
9093 # is EXPORTS), use it as is; otherwise, prepend...
9094 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9095 cp $export_symbols $output_objdir/$soname.def;
9097 echo EXPORTS > $output_objdir/$soname.def;
9098 cat $export_symbols >> $output_objdir/$soname.def;
9100 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9107 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108 link_all_deplibs
=yes
9113 hardcode_shlibpath_var
=no
9114 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9115 export_dynamic_flag_spec
='${wl}-E'
9116 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9117 # Instead, shared libraries are loaded at an image base (0x10000000 by
9118 # default) and relocated if they conflict, which is a slow very memory
9119 # consuming and fragmenting process. To avoid this, we pick a random,
9120 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9121 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9122 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9123 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'
9126 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9128 if test "$host_os" = linux-dietlibc
; then
9129 case $cc_basename in
9130 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9133 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9134 && test "$tmp_diet" = no
9137 tmp_sharedflag
='-shared'
9138 case $cc_basename,$host_cpu in
9139 pgcc
*) # Portland Group C compiler
9140 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'
9141 tmp_addflag
=' $pic_flag'
9143 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9144 # Portland Group f77 and f90 compilers
9145 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'
9146 tmp_addflag
=' $pic_flag -Mnomain' ;;
9147 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9148 tmp_addflag
=' -i_dynamic' ;;
9149 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9150 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9151 ifc
* | ifort
*) # Intel Fortran compiler
9152 tmp_addflag
=' -nofor_main' ;;
9153 lf95
*) # Lahey Fortran 8.1
9154 whole_archive_flag_spec
=
9155 tmp_sharedflag
='--shared' ;;
9156 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9157 tmp_sharedflag
='-qmkshrobj'
9159 nvcc
*) # Cuda Compiler Driver 2.2
9160 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'
9161 compiler_needs_object
=yes
9164 case `$CC -V 2>&1 | sed 5q` in
9165 *Sun\ C
*) # Sun C 5.9
9166 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'
9167 compiler_needs_object
=yes
9168 tmp_sharedflag
='-G' ;;
9169 *Sun\ F
*) # Sun Fortran 8.3
9170 tmp_sharedflag
='-G' ;;
9172 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9174 if test "x$supports_anon_versioning" = xyes
; then
9175 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9176 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9177 echo "local: *; };" >> $output_objdir/$libname.ver~
9178 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9181 case $cc_basename in
9182 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9183 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9184 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9185 hardcode_libdir_flag_spec
=
9186 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9187 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9188 if test "x$supports_anon_versioning" = xyes
; then
9189 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9190 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9191 echo "local: *; };" >> $output_objdir/$libname.ver~
9192 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9202 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9203 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9206 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9207 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9212 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9216 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9217 *** create shared libraries on Solaris systems. Therefore, libtool
9218 *** is disabling shared libraries support. We urge you to upgrade GNU
9219 *** binutils to release 2.9.1 or newer. Another option is to modify
9220 *** your PATH or compiler configuration so that the native linker is
9221 *** used, and then restart.
9224 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9225 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9232 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9233 case `$LD -v 2>&1` in
9234 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9238 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9239 *** reliably create shared libraries on SCO systems. Therefore, libtool
9240 *** is disabling shared libraries support. We urge you to upgrade GNU
9241 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9242 *** your PATH or compiler configuration so that the native linker is
9243 *** used, and then restart.
9248 # For security reasons, it is highly recommended that you always
9249 # use absolute paths for naming shared libraries, and exclude the
9250 # DT_RUNPATH tag from executables and libraries. But doing so
9251 # requires that you compile everything twice, which is a pain.
9252 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9253 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9254 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9264 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9267 hardcode_shlibpath_var
=no
9271 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9272 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9280 if test "$ld_shlibs" = no
; then
9282 hardcode_libdir_flag_spec
=
9283 export_dynamic_flag_spec
=
9284 whole_archive_flag_spec
=
9287 # PORTME fill in a description of your system's linker (not GNU ld)
9290 allow_undefined_flag
=unsupported
9291 always_export_symbols
=yes
9292 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'
9293 # Note: this linker hardcodes the directories in LIBPATH if there
9294 # are no directories specified by -L.
9295 hardcode_minus_L
=yes
9296 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9297 # Neither direct hardcoding nor static linking is supported with a
9299 hardcode_direct
=unsupported
9304 if test "$host_cpu" = ia64
; then
9305 # On IA64, the linker does run time linking by default, so we don't
9306 # have to do anything special.
9307 aix_use_runtimelinking
=no
9308 exp_sym_flag
='-Bexport'
9311 # If we're using GNU nm, then we don't want the "-C" option.
9312 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9313 # Also, AIX nm treats weak defined symbols like other global
9314 # defined symbols, whereas GNU nm marks them as "W".
9315 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9316 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'
9318 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'
9320 aix_use_runtimelinking
=no
9322 # Test if we are trying to use run time linking or normal
9323 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9324 # need to do runtime linking.
9325 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9326 for ld_flag
in $LDFLAGS; do
9327 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9328 aix_use_runtimelinking
=yes
9335 exp_sym_flag
='-bexport'
9336 no_entry_flag
='-bnoentry'
9339 # When large executables or shared objects are built, AIX ld can
9340 # have problems creating the table of contents. If linking a library
9341 # or program results in "error TOC overflow" add -mminimal-toc to
9342 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9343 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9347 hardcode_direct_absolute
=yes
9348 hardcode_libdir_separator
=':'
9349 link_all_deplibs
=yes
9350 file_list_spec
='${wl}-f,'
9352 if test "$GCC" = yes; then
9353 case $host_os in aix4.
[012]|aix4.
[012].
*)
9354 # We only want to do this on AIX 4.2 and lower, the check
9355 # below for broken collect2 doesn't work under 4.3+
9356 collect2name
=`${CC} -print-prog-name=collect2`
9357 if test -f "$collect2name" &&
9358 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9360 # We have reworked collect2
9363 # We have old collect2
9364 hardcode_direct
=unsupported
9365 # It fails to find uninstalled libraries when the uninstalled
9366 # path is not listed in the libpath. Setting hardcode_minus_L
9367 # to unsupported forces relinking
9368 hardcode_minus_L
=yes
9369 hardcode_libdir_flag_spec
='-L$libdir'
9370 hardcode_libdir_separator
=
9374 shared_flag
='-shared'
9375 if test "$aix_use_runtimelinking" = yes; then
9376 shared_flag
="$shared_flag "'${wl}-G'
9380 if test "$host_cpu" = ia64
; then
9381 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9382 # chokes on -Wl,-G. The following line is correct:
9385 if test "$aix_use_runtimelinking" = yes; then
9386 shared_flag
='${wl}-G'
9388 shared_flag
='${wl}-bM:SRE'
9393 export_dynamic_flag_spec
='${wl}-bexpall'
9394 # It seems that -bexpall does not export symbols beginning with
9395 # underscore (_), so it is better to generate a list of symbols to export.
9396 always_export_symbols
=yes
9397 if test "$aix_use_runtimelinking" = yes; then
9398 # Warning - without using the other runtime loading flags (-brtl),
9399 # -berok will link without error, but may produce a broken library.
9400 allow_undefined_flag
='-berok'
9401 # Determine the default libpath from the value encoded in an
9403 if test x
$gcc_no_link = xyes
; then
9404 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9417 if ac_fn_c_try_link
"$LINENO"; then :
9419 lt_aix_libpath_sed
='
9420 /Import File Strings/,/^$/ {
9426 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9427 # Check for a 64-bit object if we didn't find anything.
9428 if test -z "$aix_libpath"; then
9429 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9432 rm -f core conftest.err conftest.
$ac_objext \
9433 conftest
$ac_exeext conftest.
$ac_ext
9434 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9436 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9437 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"
9439 if test "$host_cpu" = ia64
; then
9440 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9441 allow_undefined_flag
="-z nodefs"
9442 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"
9444 # Determine the default libpath from the value encoded in an
9446 if test x
$gcc_no_link = xyes
; then
9447 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9460 if ac_fn_c_try_link
"$LINENO"; then :
9462 lt_aix_libpath_sed
='
9463 /Import File Strings/,/^$/ {
9469 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9470 # Check for a 64-bit object if we didn't find anything.
9471 if test -z "$aix_libpath"; then
9472 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9475 rm -f core conftest.err conftest.
$ac_objext \
9476 conftest
$ac_exeext conftest.
$ac_ext
9477 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9479 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9480 # Warning - without using the other run time loading flags,
9481 # -berok will link without error, but may produce a broken library.
9482 no_undefined_flag
=' ${wl}-bernotok'
9483 allow_undefined_flag
=' ${wl}-berok'
9484 if test "$with_gnu_ld" = yes; then
9485 # We only use this code for GNU lds that support --whole-archive.
9486 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9488 # Exported symbols can be pulled into shared objects from archives
9489 whole_archive_flag_spec
='$convenience'
9491 archive_cmds_need_lc
=yes
9492 # This is similar to how AIX traditionally builds its shared libraries.
9493 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'
9501 # see comment about AmigaOS4 .so support
9502 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9503 archive_expsym_cmds
=''
9506 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)'
9507 hardcode_libdir_flag_spec
='-L$libdir'
9508 hardcode_minus_L
=yes
9514 export_dynamic_flag_spec
=-rdynamic
9517 cygwin
* | mingw
* | pw32
* | cegcc
*)
9518 # When not using gcc, we currently assume that we are using
9519 # Microsoft Visual C++.
9520 # hardcode_libdir_flag_spec is actually meaningless, as there is
9521 # no search path for DLLs.
9522 hardcode_libdir_flag_spec
=' '
9523 allow_undefined_flag
=unsupported
9524 # Tell ltmain to make .lib files, not .a files.
9526 # Tell ltmain to make .dll files, not .so files.
9528 # FIXME: Setting linknames here is a bad hack.
9529 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9530 # The linker will automatically build a .lib file if we build a DLL.
9531 old_archive_from_new_cmds
='true'
9532 # FIXME: Should let the user specify the lib program.
9533 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9534 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9535 enable_shared_with_static_runtimes
=yes
9538 darwin
* | rhapsody
*)
9541 archive_cmds_need_lc
=no
9543 hardcode_automatic
=yes
9544 hardcode_shlibpath_var
=unsupported
9545 if test "$lt_cv_ld_force_load" = "yes"; then
9546 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\"`'
9548 whole_archive_flag_spec
=''
9550 link_all_deplibs
=yes
9551 allow_undefined_flag
="$_lt_dar_allow_undefined"
9552 case $cc_basename in
9553 ifort
*) _lt_dar_can_shared
=yes ;;
9554 *) _lt_dar_can_shared
=$GCC ;;
9556 if test "$_lt_dar_can_shared" = "yes"; then
9557 output_verbose_link_cmd
=func_echo_all
9558 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9559 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9560 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}"
9561 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}"
9570 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9571 hardcode_libdir_flag_spec
='-L$libdir'
9572 hardcode_shlibpath_var
=no
9579 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9580 # support. Future versions do this automatically, but an explicit c++rt0.o
9581 # does not break anything, and helps significantly (at the cost of a little
9584 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9585 hardcode_libdir_flag_spec
='-R$libdir'
9587 hardcode_shlibpath_var
=no
9590 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9592 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9594 hardcode_minus_L
=yes
9595 hardcode_shlibpath_var
=no
9598 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9599 freebsd
* | dragonfly
*)
9600 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9601 hardcode_libdir_flag_spec
='-R$libdir'
9603 hardcode_shlibpath_var
=no
9607 if test "$GCC" = yes; then
9608 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'
9610 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'
9612 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9613 hardcode_libdir_separator
=:
9616 # hardcode_minus_L: Not really in the search PATH,
9617 # but as the default location of the library.
9618 hardcode_minus_L
=yes
9619 export_dynamic_flag_spec
='${wl}-E'
9623 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9624 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9626 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9628 if test "$with_gnu_ld" = no
; then
9629 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9630 hardcode_libdir_flag_spec_ld
='+b $libdir'
9631 hardcode_libdir_separator
=:
9633 hardcode_direct_absolute
=yes
9634 export_dynamic_flag_spec
='${wl}-E'
9635 # hardcode_minus_L: Not really in the search PATH,
9636 # but as the default location of the library.
9637 hardcode_minus_L
=yes
9642 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9645 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9651 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9660 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9664 # Older versions of the 11.00 compiler do not understand -b yet
9665 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9667 $as_echo_n "checking if $CC understands -b... " >&6; }
9668 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9669 $as_echo_n "(cached) " >&6
9671 lt_cv_prog_compiler__b
=no
9672 save_LDFLAGS
="$LDFLAGS"
9673 LDFLAGS
="$LDFLAGS -b"
9674 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9675 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9676 # The linker can only warn and ignore the option if not recognized
9677 # So say no if there are warnings
9678 if test -s conftest.err
; then
9679 # Append any errors to the config.log.
9680 cat conftest.err
1>&5
9681 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9682 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9683 if diff conftest.exp conftest.er2
>/dev
/null
; then
9684 lt_cv_prog_compiler__b
=yes
9687 lt_cv_prog_compiler__b
=yes
9691 LDFLAGS
="$save_LDFLAGS"
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9695 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9697 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9698 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9700 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9706 if test "$with_gnu_ld" = no
; then
9707 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9708 hardcode_libdir_separator
=:
9713 hardcode_shlibpath_var
=no
9717 hardcode_direct_absolute
=yes
9718 export_dynamic_flag_spec
='${wl}-E'
9720 # hardcode_minus_L: Not really in the search PATH,
9721 # but as the default location of the library.
9722 hardcode_minus_L
=yes
9728 irix5
* | irix6
* | nonstopux
*)
9729 if test "$GCC" = yes; then
9730 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'
9731 # Try to use the -exported_symbol ld option, if it does not
9732 # work, assume that -exports_file does not work either and
9733 # implicitly export all symbols.
9734 save_LDFLAGS
="$LDFLAGS"
9735 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9736 if test x
$gcc_no_link = xyes
; then
9737 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9743 if ac_fn_c_try_link
"$LINENO"; then :
9744 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'
9747 rm -f core conftest.err conftest.
$ac_objext \
9748 conftest
$ac_exeext conftest.
$ac_ext
9749 LDFLAGS
="$save_LDFLAGS"
9751 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'
9752 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'
9754 archive_cmds_need_lc
='no'
9755 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9756 hardcode_libdir_separator
=:
9758 link_all_deplibs
=yes
9762 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9763 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9765 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9767 hardcode_libdir_flag_spec
='-R$libdir'
9769 hardcode_shlibpath_var
=no
9773 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9776 hardcode_libdir_separator
=:
9777 hardcode_shlibpath_var
=no
9784 if test -f /usr
/libexec
/ld.so
; then
9786 hardcode_shlibpath_var
=no
9787 hardcode_direct_absolute
=yes
9788 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9789 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9791 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9792 export_dynamic_flag_spec
='${wl}-E'
9795 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9796 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec
='-R$libdir'
9800 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9801 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9811 hardcode_libdir_flag_spec
='-L$libdir'
9812 hardcode_minus_L
=yes
9813 allow_undefined_flag
=unsupported
9814 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'
9815 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9819 if test "$GCC" = yes; then
9820 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9821 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'
9823 allow_undefined_flag
=' -expect_unresolved \*'
9824 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'
9826 archive_cmds_need_lc
='no'
9827 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9828 hardcode_libdir_separator
=:
9831 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9832 if test "$GCC" = yes; then
9833 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9834 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'
9835 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9837 allow_undefined_flag
=' -expect_unresolved \*'
9838 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'
9839 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~
9840 $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'
9842 # Both c and cxx compiler support -rpath directly
9843 hardcode_libdir_flag_spec
='-rpath $libdir'
9845 archive_cmds_need_lc
='no'
9846 hardcode_libdir_separator
=:
9850 no_undefined_flag
=' -z defs'
9851 if test "$GCC" = yes; then
9853 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9855 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9857 case `$CC -V 2>&1` in
9860 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9861 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9862 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9866 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9867 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9868 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9872 hardcode_libdir_flag_spec
='-R$libdir'
9873 hardcode_shlibpath_var
=no
9875 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9877 # The compiler driver will combine and reorder linker options,
9878 # but understands `-z linker_flag'. GCC discards it without `$wl',
9879 # but is careful enough not to reorder.
9880 # Supported since Solaris 2.6 (maybe 2.5.1?)
9881 if test "$GCC" = yes; then
9882 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9884 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9888 link_all_deplibs
=yes
9892 if test "x$host_vendor" = xsequent
; then
9893 # Use $CC to link under sequent, because it throws in some extra .o
9894 # files that make .init and .fini sections work.
9895 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9897 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9899 hardcode_libdir_flag_spec
='-L$libdir'
9901 hardcode_minus_L
=yes
9902 hardcode_shlibpath_var
=no
9906 case $host_vendor in
9908 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9909 hardcode_direct
=yes # is this really true???
9912 ## LD is ld it makes a PLAMLIB
9913 ## CC just makes a GrossModule.
9914 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9915 reload_cmds
='$CC -r -o $output$reload_objs'
9919 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9923 runpath_var
='LD_RUN_PATH'
9924 hardcode_shlibpath_var
=no
9928 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9929 hardcode_shlibpath_var
=no
9930 export_dynamic_flag_spec
='-Bexport'
9934 if test -d /usr
/nec
; then
9935 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_shlibpath_var
=no
9937 runpath_var
=LD_RUN_PATH
9938 hardcode_runpath_var
=yes
9943 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9944 no_undefined_flag
='${wl}-z,text'
9945 archive_cmds_need_lc
=no
9946 hardcode_shlibpath_var
=no
9947 runpath_var
='LD_RUN_PATH'
9949 if test "$GCC" = yes; then
9950 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9951 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9954 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958 sysv5
* | sco3.2v5
* | sco5v6
*)
9959 # Note: We can NOT use -z defs as we might desire, because we do not
9960 # link with -lc, and that would cause any symbols used from libc to
9961 # always be unresolved, which means just about no library would
9962 # ever link correctly. If we're not using GNU ld we use -z text
9963 # though, which does catch some bad symbols but isn't as heavy-handed
9965 no_undefined_flag
='${wl}-z,text'
9966 allow_undefined_flag
='${wl}-z,nodefs'
9967 archive_cmds_need_lc
=no
9968 hardcode_shlibpath_var
=no
9969 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9970 hardcode_libdir_separator
=':'
9971 link_all_deplibs
=yes
9972 export_dynamic_flag_spec
='${wl}-Bexport'
9973 runpath_var
='LD_RUN_PATH'
9975 if test "$GCC" = yes; then
9976 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9977 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9980 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9985 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9986 hardcode_libdir_flag_spec
='-L$libdir'
9987 hardcode_shlibpath_var
=no
9995 if test x
$host_vendor = xsni
; then
9997 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9998 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10005 $as_echo "$ld_shlibs" >&6; }
10006 test "$ld_shlibs" = no
&& can_build_shared
=no
10008 with_gnu_ld
=$with_gnu_ld
10025 # Do we need to explicitly link libc?
10027 case "x$archive_cmds_need_lc" in
10029 # Assume -lc should be added
10030 archive_cmds_need_lc
=yes
10032 if test "$enable_shared" = yes && test "$GCC" = yes; then
10033 case $archive_cmds in
10035 # FIXME: we may have to deal with multi-command sequences.
10038 # Test whether the compiler implicitly links with -lc since on some
10039 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10040 # to ld, don't add -lc before -lgcc.
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10042 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10043 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10044 $as_echo_n "(cached) " >&6
10047 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10050 (eval $ac_compile) 2>&5
10052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10053 test $ac_status = 0; } 2>conftest.err
; then
10056 libobjs
=conftest.
$ac_objext
10058 wl
=$lt_prog_compiler_wl
10059 pic_flag
=$lt_prog_compiler_pic
10065 lt_save_allow_undefined_flag
=$allow_undefined_flag
10066 allow_undefined_flag
=
10067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10068 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10071 test $ac_status = 0; }
10073 lt_cv_archive_cmds_need_lc
=no
10075 lt_cv_archive_cmds_need_lc
=yes
10077 allow_undefined_flag
=$lt_save_allow_undefined_flag
10079 cat conftest.err
1>&5
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10085 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10086 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10250 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10252 if test "$GCC" = yes; then
10254 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10255 *) lt_awk_arg
="/^libraries:/" ;;
10258 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10259 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10261 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10262 case $lt_search_path_spec in
10264 # if the path contains ";" then we assume it to be the separator
10265 # otherwise default to the standard path separator (i.e. ":") - it is
10266 # assumed that no part of a normal pathname contains ";" but that should
10267 # okay in the real world where ";" in dirpaths is itself problematic.
10268 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10271 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10274 # Ok, now we have the path, separated by spaces, we can step through it
10275 # and add multilib dir if necessary.
10276 lt_tmp_lt_search_path_spec
=
10277 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10278 for lt_sys_path
in $lt_search_path_spec; do
10279 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10280 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10282 test -d "$lt_sys_path" && \
10283 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10286 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10287 BEGIN {RS=" "; FS="/|\n";} {
10290 for (lt_i = NF; lt_i > 0; lt_i--) {
10291 if ($lt_i != "" && $lt_i != ".") {
10292 if ($lt_i == "..") {
10295 if (lt_count == 0) {
10296 lt_foo="/" $lt_i lt_foo;
10303 if (lt_foo != "") { lt_freq[lt_foo]++; }
10304 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10306 # AWK program above erroneously prepends '/' to C:/dos/paths
10309 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10310 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10312 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10314 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10316 library_names_spec
=
10317 libname_spec
='lib$name'
10321 postuninstall_cmds
=
10325 shlibpath_overrides_runpath
=unknown
10327 dynamic_linker
="$host_os ld.so"
10328 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10329 need_lib_prefix
=unknown
10330 hardcode_into_libs
=no
10332 # when you set need_version to no, make sure it does not cause -set_version
10333 # flags to be left without arguments
10334 need_version
=unknown
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10340 shlibpath_var
=LIBPATH
10342 # AIX 3 has no versioning support, so we append a major version to the name.
10343 soname_spec
='${libname}${release}${shared_ext}$major'
10350 hardcode_into_libs
=yes
10351 if test "$host_cpu" = ia64
; then
10352 # AIX 5 supports IA64
10353 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10354 shlibpath_var
=LD_LIBRARY_PATH
10356 # With GCC up to 2.95.x, collect2 would create an import file
10357 # for dependence libraries. The import file would start with
10358 # the line `#! .'. This would cause the generated library to
10359 # depend on `.', always an invalid library. This was fixed in
10360 # development snapshots of GCC prior to 3.0.
10362 aix4 | aix4.
[01] | aix4.
[01].
*)
10363 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10365 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10368 can_build_shared
=no
10372 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10373 # soname into executable. Probably we can add versioning support to
10374 # collect2, so additional links can be useful in future.
10375 if test "$aix_use_runtimelinking" = yes; then
10376 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10377 # instead of lib<name>.a to let people know that these are not
10378 # typical AIX shared libraries.
10379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10381 # We preserve .a as extension for shared libraries through AIX4.2
10382 # and later when we are not doing run time linking.
10383 library_names_spec
='${libname}${release}.a $libname.a'
10384 soname_spec
='${libname}${release}${shared_ext}$major'
10386 shlibpath_var
=LIBPATH
10393 # Since July 2007 AmigaOS4 officially supports .so libraries.
10394 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10398 library_names_spec
='$libname.ixlibrary $libname.a'
10399 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10400 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'
10406 library_names_spec
='${libname}${shared_ext}'
10407 dynamic_linker
="$host_os ld.so"
10408 shlibpath_var
=LIBRARY_PATH
10414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10415 soname_spec
='${libname}${release}${shared_ext}$major'
10416 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10417 shlibpath_var
=LD_LIBRARY_PATH
10418 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10419 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10420 # the default ld.so.conf also contains /usr/contrib/lib and
10421 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10422 # libtool to hard-code these into programs
10425 cygwin
* | mingw
* | pw32
* | cegcc
*)
10426 version_type
=windows
10431 case $GCC,$host_os in
10432 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10433 library_names_spec
='$libname.dll.a'
10434 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10435 postinstall_cmds
='base_file=`basename \${file}`~
10436 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10437 dldir=$destdir/`dirname \$dlpath`~
10438 test -d \$dldir || mkdir -p \$dldir~
10439 $install_prog $dir/$dlname \$dldir/$dlname~
10440 chmod a+x \$dldir/$dlname~
10441 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10442 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10444 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10445 dlpath=$dir/\$dldll~
10447 shlibpath_overrides_runpath
=yes
10451 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10452 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10454 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10457 # MinGW DLLs use traditional 'lib' prefix
10458 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10461 # pw32 DLLs use 'pw' prefix rather than 'lib'
10462 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10468 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10471 dynamic_linker
='Win32 ld.exe'
10472 # FIXME: first we should search . and the directory the executable is in
10476 darwin
* | rhapsody
*)
10477 dynamic_linker
="$host_os dyld"
10478 version_type
=darwin
10481 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10482 soname_spec
='${libname}${release}${major}$shared_ext'
10483 shlibpath_overrides_runpath
=yes
10484 shlibpath_var
=DYLD_LIBRARY_PATH
10485 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10487 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10488 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10496 soname_spec
='${libname}${release}${shared_ext}$major'
10497 shlibpath_var
=LD_LIBRARY_PATH
10504 freebsd
* | dragonfly
*)
10505 # DragonFly does not have aout. When/if they implement a new
10506 # versioning mechanism, adjust this.
10507 if test -x /usr
/bin
/objformat
; then
10508 objformat
=`/usr/bin/objformat`
10511 freebsd
[123]*) objformat
=aout
;;
10512 *) objformat
=elf
;;
10515 version_type
=freebsd-
$objformat
10516 case $version_type in
10518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10523 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10527 shlibpath_var
=LD_LIBRARY_PATH
10530 shlibpath_overrides_runpath
=yes
10532 freebsd3.
[01]* | freebsdelf3.
[01]*)
10533 shlibpath_overrides_runpath
=yes
10534 hardcode_into_libs
=yes
10536 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10537 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10538 shlibpath_overrides_runpath
=no
10539 hardcode_into_libs
=yes
10541 *) # from 4.6 on, and DragonFly
10542 shlibpath_overrides_runpath
=yes
10543 hardcode_into_libs
=yes
10552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10553 soname_spec
='${libname}${release}${shared_ext}$major'
10554 shlibpath_var
=LD_LIBRARY_PATH
10555 hardcode_into_libs
=yes
10562 dynamic_linker
="$host_os runtime_loader"
10563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10564 soname_spec
='${libname}${release}${shared_ext}$major'
10565 shlibpath_var
=LIBRARY_PATH
10566 shlibpath_overrides_runpath
=yes
10567 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10568 hardcode_into_libs
=yes
10571 hpux9
* | hpux10
* | hpux11
*)
10572 # Give a soname corresponding to the major version so that dld.sl refuses to
10573 # link against other versions.
10580 hardcode_into_libs
=yes
10581 dynamic_linker
="$host_os dld.so"
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10585 soname_spec
='${libname}${release}${shared_ext}$major'
10586 if test "X$HPUX_IA64_MODE" = X32
; then
10587 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10589 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10591 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10595 hardcode_into_libs
=yes
10596 dynamic_linker
="$host_os dld.sl"
10597 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10598 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 soname_spec
='${libname}${release}${shared_ext}$major'
10601 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10602 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10606 dynamic_linker
="$host_os dld.sl"
10607 shlibpath_var
=SHLIB_PATH
10608 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 soname_spec
='${libname}${release}${shared_ext}$major'
10613 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10614 postinstall_cmds
='chmod 555 $lib'
10615 # or fails outright, so override atomically:
10616 install_override_mode
=555
10623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10624 soname_spec
='${libname}${release}${shared_ext}$major'
10625 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10626 shlibpath_var
=LD_LIBRARY_PATH
10627 shlibpath_overrides_runpath
=no
10628 hardcode_into_libs
=yes
10631 irix5
* | irix6
* | nonstopux
*)
10633 nonstopux
*) version_type
=nonstopux
;;
10635 if test "$lt_cv_prog_gnu_ld" = yes; then
10643 soname_spec
='${libname}${release}${shared_ext}$major'
10644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10646 irix5
* | nonstopux
*)
10647 libsuff
= shlibsuff
=
10650 case $LD in # libtool.m4 will add one of these switches to LD
10651 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10652 libsuff
= shlibsuff
= libmagic
=32-bit;;
10653 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10654 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10655 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10656 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10657 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10661 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10662 shlibpath_overrides_runpath
=no
10663 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10664 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10665 hardcode_into_libs
=yes
10668 # No shared lib support for Linux oldld, aout, or coff.
10669 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10673 # This must be Linux ELF.
10674 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10679 soname_spec
='${libname}${release}${shared_ext}$major'
10680 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10681 shlibpath_var
=LD_LIBRARY_PATH
10682 shlibpath_overrides_runpath
=no
10684 # Some binutils ld are patched to set DT_RUNPATH
10685 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10686 $as_echo_n "(cached) " >&6
10688 lt_cv_shlibpath_overrides_runpath
=no
10689 save_LDFLAGS
=$LDFLAGS
10690 save_libdir
=$libdir
10691 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10692 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10693 if test x
$gcc_no_link = xyes
; then
10694 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10707 if ac_fn_c_try_link
"$LINENO"; then :
10708 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10709 lt_cv_shlibpath_overrides_runpath
=yes
10712 rm -f core conftest.err conftest.
$ac_objext \
10713 conftest
$ac_exeext conftest.
$ac_ext
10714 LDFLAGS
=$save_LDFLAGS
10715 libdir
=$save_libdir
10719 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10721 # This implies no fast_install, which is unacceptable.
10722 # Some rework will be needed to allow for fast_install
10723 # before this can be enabled.
10724 hardcode_into_libs
=yes
10726 # Append ld.so.conf contents to the search path
10727 if test -f /etc
/ld.so.conf
; then
10728 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' ' '`
10729 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10732 # We used to test for /lib/ld.so.1 and disable shared libraries on
10733 # powerpc, because MkLinux only supported shared libraries with the
10734 # GNU dynamic linker. Since this was broken with cross compilers,
10735 # most powerpc-linux boxes support dynamic linking these days and
10736 # people can always --disable-shared, the test was removed, and we
10737 # assume the GNU/Linux dynamic linker is in use.
10738 dynamic_linker
='GNU/Linux ld.so'
10745 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10747 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10748 dynamic_linker
='NetBSD (a.out) ld.so'
10750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10751 soname_spec
='${libname}${release}${shared_ext}$major'
10752 dynamic_linker
='NetBSD ld.elf_so'
10754 shlibpath_var
=LD_LIBRARY_PATH
10755 shlibpath_overrides_runpath
=yes
10756 hardcode_into_libs
=yes
10761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 shlibpath_var
=LD_LIBRARY_PATH
10763 shlibpath_overrides_runpath
=yes
10770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10771 soname_spec
='${libname}${release}${shared_ext}$major'
10772 shlibpath_var
=LD_LIBRARY_PATH
10773 shlibpath_overrides_runpath
=no
10774 hardcode_into_libs
=yes
10775 dynamic_linker
='ldqnx.so'
10780 sys_lib_dlsearch_path_spec
="/usr/lib"
10782 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10784 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10785 *) need_version
=no
;;
10787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10788 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10789 shlibpath_var
=LD_LIBRARY_PATH
10790 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10792 openbsd2.
[89] | openbsd2.
[89].
*)
10793 shlibpath_overrides_runpath
=no
10796 shlibpath_overrides_runpath
=yes
10800 shlibpath_overrides_runpath
=yes
10805 libname_spec
='$name'
10808 library_names_spec
='$libname${shared_ext} $libname.a'
10809 dynamic_linker
='OS/2 ld.exe'
10810 shlibpath_var
=LIBPATH
10813 osf3
* | osf4
* | osf5
*)
10817 soname_spec
='${libname}${release}${shared_ext}$major'
10818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 shlibpath_var
=LD_LIBRARY_PATH
10820 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10821 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 soname_spec
='${libname}${release}${shared_ext}$major'
10834 shlibpath_var
=LD_LIBRARY_PATH
10835 shlibpath_overrides_runpath
=yes
10836 hardcode_into_libs
=yes
10837 # ldd complains unless libraries are executable
10838 postinstall_cmds
='chmod +x $lib'
10843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10844 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10845 shlibpath_var
=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath
=yes
10847 if test "$with_gnu_ld" = yes; then
10855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856 soname_spec
='${libname}${release}${shared_ext}$major'
10857 shlibpath_var
=LD_LIBRARY_PATH
10858 case $host_vendor in
10860 shlibpath_overrides_runpath
=no
10862 runpath_var
=LD_RUN_PATH
10870 shlibpath_overrides_runpath
=no
10871 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10877 if test -d /usr
/nec
;then
10879 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10880 soname_spec
='$libname${shared_ext}.$major'
10881 shlibpath_var
=LD_LIBRARY_PATH
10885 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10886 version_type
=freebsd-elf
10889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10890 soname_spec
='${libname}${release}${shared_ext}$major'
10891 shlibpath_var
=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath
=yes
10893 hardcode_into_libs
=yes
10894 if test "$with_gnu_ld" = yes; then
10895 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10897 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10900 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10904 sys_lib_dlsearch_path_spec
='/usr/lib'
10908 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913 shlibpath_var
=LD_LIBRARY_PATH
10914 shlibpath_overrides_runpath
=no
10915 hardcode_into_libs
=yes
10920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921 soname_spec
='${libname}${release}${shared_ext}$major'
10922 shlibpath_var
=LD_LIBRARY_PATH
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10930 $as_echo "$dynamic_linker" >&6; }
10931 test "$dynamic_linker" = no
&& can_build_shared
=no
10933 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10934 if test "$GCC" = yes; then
10935 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10938 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10939 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10941 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10942 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11037 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11039 if test -n "$hardcode_libdir_flag_spec" ||
11040 test -n "$runpath_var" ||
11041 test "X$hardcode_automatic" = "Xyes" ; then
11043 # We can hardcode non-existent directories.
11044 if test "$hardcode_direct" != no
&&
11045 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11046 # have to relink, otherwise we might link with an installed library
11047 # when we should be linking with a yet-to-be-installed one
11048 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11049 test "$hardcode_minus_L" != no
; then
11050 # Linking always hardcodes the temporary library directory.
11051 hardcode_action
=relink
11053 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11054 hardcode_action
=immediate
11057 # We cannot hardcode anything, or else we can only hardcode existing
11059 hardcode_action
=unsupported
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11062 $as_echo "$hardcode_action" >&6; }
11064 if test "$hardcode_action" = relink ||
11065 test "$inherit_rpath" = yes; then
11066 # Fast installation is not supported
11067 enable_fast_install
=no
11068 elif test "$shlibpath_overrides_runpath" = yes ||
11069 test "$enable_shared" = no
; then
11070 # Fast installation is not necessary
11071 enable_fast_install
=needless
11079 if test "x$enable_dlopen" != xyes
; then
11080 enable_dlopen
=unknown
11081 enable_dlopen_self
=unknown
11082 enable_dlopen_self_static
=unknown
11089 lt_cv_dlopen
="load_add_on"
11091 lt_cv_dlopen_self
=yes
11094 mingw
* | pw32
* | cegcc
*)
11095 lt_cv_dlopen
="LoadLibrary"
11100 lt_cv_dlopen
="dlopen"
11105 # if libdl is installed we need to link against it
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11107 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11108 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11109 $as_echo_n "(cached) " >&6
11111 ac_check_lib_save_LIBS
=$LIBS
11113 if test x
$gcc_no_link = xyes
; then
11114 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11134 if ac_fn_c_try_link
"$LINENO"; then :
11135 ac_cv_lib_dl_dlopen
=yes
11137 ac_cv_lib_dl_dlopen
=no
11139 rm -f core conftest.err conftest.
$ac_objext \
11140 conftest
$ac_exeext conftest.
$ac_ext
11141 LIBS
=$ac_check_lib_save_LIBS
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11144 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11145 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11146 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11149 lt_cv_dlopen
="dyld"
11151 lt_cv_dlopen_self
=yes
11158 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11159 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11160 lt_cv_dlopen
="shl_load"
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11163 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11164 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11165 $as_echo_n "(cached) " >&6
11167 ac_check_lib_save_LIBS
=$LIBS
11169 if test x
$gcc_no_link = xyes
; then
11170 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11185 return shl_load ();
11190 if ac_fn_c_try_link
"$LINENO"; then :
11191 ac_cv_lib_dld_shl_load
=yes
11193 ac_cv_lib_dld_shl_load
=no
11195 rm -f core conftest.err conftest.
$ac_objext \
11196 conftest
$ac_exeext conftest.
$ac_ext
11197 LIBS
=$ac_check_lib_save_LIBS
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11200 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11201 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11202 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11204 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11205 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11206 lt_cv_dlopen
="dlopen"
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11209 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11210 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11211 $as_echo_n "(cached) " >&6
11213 ac_check_lib_save_LIBS
=$LIBS
11215 if test x
$gcc_no_link = xyes
; then
11216 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11236 if ac_fn_c_try_link
"$LINENO"; then :
11237 ac_cv_lib_dl_dlopen
=yes
11239 ac_cv_lib_dl_dlopen
=no
11241 rm -f core conftest.err conftest.
$ac_objext \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 LIBS
=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11246 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11247 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11248 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11251 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11252 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11253 $as_echo_n "(cached) " >&6
11255 ac_check_lib_save_LIBS
=$LIBS
11256 LIBS
="-lsvld $LIBS"
11257 if test x
$gcc_no_link = xyes
; then
11258 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11278 if ac_fn_c_try_link
"$LINENO"; then :
11279 ac_cv_lib_svld_dlopen
=yes
11281 ac_cv_lib_svld_dlopen
=no
11283 rm -f core conftest.err conftest.
$ac_objext \
11284 conftest
$ac_exeext conftest.
$ac_ext
11285 LIBS
=$ac_check_lib_save_LIBS
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11288 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11289 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11290 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11293 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11294 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11295 $as_echo_n "(cached) " >&6
11297 ac_check_lib_save_LIBS
=$LIBS
11299 if test x
$gcc_no_link = xyes
; then
11300 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11315 return dld_link ();
11320 if ac_fn_c_try_link
"$LINENO"; then :
11321 ac_cv_lib_dld_dld_link
=yes
11323 ac_cv_lib_dld_dld_link
=no
11325 rm -f core conftest.err conftest.
$ac_objext \
11326 conftest
$ac_exeext conftest.
$ac_ext
11327 LIBS
=$ac_check_lib_save_LIBS
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11330 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11331 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11332 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11353 if test "x$lt_cv_dlopen" != xno
; then
11359 case $lt_cv_dlopen in
11361 save_CPPFLAGS
="$CPPFLAGS"
11362 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11364 save_LDFLAGS
="$LDFLAGS"
11365 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11368 LIBS
="$lt_cv_dlopen_libs $LIBS"
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11371 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11372 if test "${lt_cv_dlopen_self+set}" = set; then :
11373 $as_echo_n "(cached) " >&6
11375 if test "$cross_compiling" = yes; then :
11376 lt_cv_dlopen_self
=cross
11378 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11379 lt_status
=$lt_dlunknown
11380 cat > conftest.
$ac_ext <<_LT_EOF
11381 #line 11381 "configure"
11382 #include "confdefs.h"
11391 # define LT_DLGLOBAL RTLD_GLOBAL
11394 # define LT_DLGLOBAL DL_GLOBAL
11396 # define LT_DLGLOBAL 0
11400 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11401 find out it does not work in some platform. */
11402 #ifndef LT_DLLAZY_OR_NOW
11404 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11407 # define LT_DLLAZY_OR_NOW DL_LAZY
11410 # define LT_DLLAZY_OR_NOW RTLD_NOW
11413 # define LT_DLLAZY_OR_NOW DL_NOW
11415 # define LT_DLLAZY_OR_NOW 0
11422 /* When -fvisbility=hidden is used, assume the code has been annotated
11423 correspondingly for the symbols needed. */
11424 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11425 void fnord () __attribute__((visibility("default")));
11428 void fnord () { int i=42; }
11431 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11432 int status = $lt_dlunknown;
11436 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11439 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11440 else puts (dlerror ());
11442 /* dlclose (self); */
11450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11451 (eval $ac_link) 2>&5
11453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11454 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11455 (.
/conftest
; exit; ) >&5 2>/dev
/null
11457 case x
$lt_status in
11458 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11459 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11460 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11463 # compilation failed
11464 lt_cv_dlopen_self
=no
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11472 $as_echo "$lt_cv_dlopen_self" >&6; }
11474 if test "x$lt_cv_dlopen_self" = xyes
; then
11475 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11477 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11478 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11479 $as_echo_n "(cached) " >&6
11481 if test "$cross_compiling" = yes; then :
11482 lt_cv_dlopen_self_static
=cross
11484 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11485 lt_status
=$lt_dlunknown
11486 cat > conftest.
$ac_ext <<_LT_EOF
11487 #line 11487 "configure"
11488 #include "confdefs.h"
11497 # define LT_DLGLOBAL RTLD_GLOBAL
11500 # define LT_DLGLOBAL DL_GLOBAL
11502 # define LT_DLGLOBAL 0
11506 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11507 find out it does not work in some platform. */
11508 #ifndef LT_DLLAZY_OR_NOW
11510 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11513 # define LT_DLLAZY_OR_NOW DL_LAZY
11516 # define LT_DLLAZY_OR_NOW RTLD_NOW
11519 # define LT_DLLAZY_OR_NOW DL_NOW
11521 # define LT_DLLAZY_OR_NOW 0
11528 /* When -fvisbility=hidden is used, assume the code has been annotated
11529 correspondingly for the symbols needed. */
11530 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11531 void fnord () __attribute__((visibility("default")));
11534 void fnord () { int i=42; }
11537 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11538 int status = $lt_dlunknown;
11542 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11545 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11546 else puts (dlerror ());
11548 /* dlclose (self); */
11556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11557 (eval $ac_link) 2>&5
11559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11560 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11561 (.
/conftest
; exit; ) >&5 2>/dev
/null
11563 case x
$lt_status in
11564 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11565 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11566 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11569 # compilation failed
11570 lt_cv_dlopen_self_static
=no
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11578 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11581 CPPFLAGS
="$save_CPPFLAGS"
11582 LDFLAGS
="$save_LDFLAGS"
11587 case $lt_cv_dlopen_self in
11588 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11589 *) enable_dlopen_self
=unknown
;;
11592 case $lt_cv_dlopen_self_static in
11593 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11594 *) enable_dlopen_self_static
=unknown
;;
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11617 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11618 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11619 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11620 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11622 $as_echo "yes" >&6; }
11624 # FIXME - insert some real tests, host_os isn't really good enough
11627 if test -n "$STRIP" ; then
11628 striplib
="$STRIP -x"
11629 old_striplib
="$STRIP -S"
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11631 $as_echo "yes" >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11634 $as_echo "no" >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11639 $as_echo "no" >&6; }
11655 # Report which library types will actually be built
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11657 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11659 $as_echo "$can_build_shared" >&6; }
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11662 $as_echo_n "checking whether to build shared libraries... " >&6; }
11663 test "$can_build_shared" = "no" && enable_shared
=no
11665 # On AIX, shared libraries and static libraries use the same namespace, and
11666 # are all built from PIC.
11669 test "$enable_shared" = yes && enable_static
=no
11670 if test -n "$RANLIB"; then
11671 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11672 postinstall_cmds
='$RANLIB $lib'
11677 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11678 test "$enable_shared" = yes && enable_static
=no
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11683 $as_echo "$enable_shared" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11686 $as_echo_n "checking whether to build static libraries... " >&6; }
11687 # Make sure either enable_shared or enable_static is yes.
11688 test "$enable_shared" = yes || enable_static
=yes
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11690 $as_echo "$enable_static" >&6; }
11697 ac_cpp
='$CPP $CPPFLAGS'
11698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11716 ac_config_commands
="$ac_config_commands libtool"
11721 # Only expand once:
11728 *-cygwin* |
*-mingw*)
11729 # 'host' will be top-level target in the case of a target lib,
11730 # we must compare to with_cross_host to decide if this is a native
11731 # or cross-compiler and select where to install dlls appropriately.
11732 if test -n "$with_cross_host" &&
11733 test x
"$with_cross_host" != x
"no"; then
11734 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
11736 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
11748 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11750 # We need gfortran to compile parts of the library
11751 #AC_PROG_FC(gfortran)
11753 ac_ext
=${ac_fc_srcext-f}
11754 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11755 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11756 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11757 if test -n "$ac_tool_prefix"; then
11758 for ac_prog
in gfortran
11760 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11761 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11763 $as_echo_n "checking for $ac_word... " >&6; }
11764 if test "${ac_cv_prog_FC+set}" = set; then :
11765 $as_echo_n "(cached) " >&6
11767 if test -n "$FC"; then
11768 ac_cv_prog_FC
="$FC" # Let the user override the test.
11770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11771 for as_dir
in $PATH
11774 test -z "$as_dir" && as_dir
=.
11775 for ac_exec_ext
in '' $ac_executable_extensions; do
11776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11777 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11788 if test -n "$FC"; then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11790 $as_echo "$FC" >&6; }
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11793 $as_echo "no" >&6; }
11797 test -n "$FC" && break
11800 if test -z "$FC"; then
11802 for ac_prog
in gfortran
11804 # Extract the first word of "$ac_prog", so it can be a program name with args.
11805 set dummy
$ac_prog; ac_word
=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11807 $as_echo_n "checking for $ac_word... " >&6; }
11808 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11809 $as_echo_n "(cached) " >&6
11811 if test -n "$ac_ct_FC"; then
11812 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11815 for as_dir
in $PATH
11818 test -z "$as_dir" && as_dir
=.
11819 for ac_exec_ext
in '' $ac_executable_extensions; do
11820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11821 ac_cv_prog_ac_ct_FC
="$ac_prog"
11822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11831 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11832 if test -n "$ac_ct_FC"; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11834 $as_echo "$ac_ct_FC" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837 $as_echo "no" >&6; }
11841 test -n "$ac_ct_FC" && break
11844 if test "x$ac_ct_FC" = x
; then
11847 case $cross_compiling:$ac_tool_warned in
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11851 ac_tool_warned
=yes ;;
11858 # Provide some information about the compiler.
11859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11862 for ac_option
in --version -v -V -qversion; do
11863 { { ac_try
="$ac_compiler $ac_option >&5"
11864 case "(($ac_try" in
11865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11866 *) ac_try_echo=$ac_try;;
11868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11869 $as_echo "$ac_try_echo"; } >&5
11870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11872 if test -s conftest.err; then
11874 ... rest of stderr output deleted ...
11875 10q' conftest.err >conftest.er1
11876 cat conftest.er1 >&5
11877 rm -f conftest.er1 conftest.err
11879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11880 test $ac_status = 0; }
11884 # If we don't use `.F
' as extension, the preprocessor is not run on the
11885 # input file. (Note that this only needs to work for GNU compilers.)
11886 ac_save_ext=$ac_ext
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11889 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11890 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11891 $as_echo_n "(cached) " >&6
11893 cat > conftest.$ac_ext <<_ACEOF
11901 if ac_fn_fc_try_compile "$LINENO"; then :
11902 ac_compiler_gnu=yes
11906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11907 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11911 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11912 ac_ext=$ac_save_ext
11913 ac_test_FCFLAGS=${FCFLAGS+set}
11914 ac_save_FCFLAGS=$FCFLAGS
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11917 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11918 if test "${ac_cv_prog_fc_g+set}" = set; then :
11919 $as_echo_n "(cached) " >&6
11922 cat > conftest.$ac_ext <<_ACEOF
11927 if ac_fn_fc_try_compile "$LINENO"; then :
11928 ac_cv_prog_fc_g=yes
11932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11936 $as_echo "$ac_cv_prog_fc_g" >&6; }
11937 if test "$ac_test_FCFLAGS" = set; then
11938 FCFLAGS=$ac_save_FCFLAGS
11939 elif test $ac_cv_prog_fc_g = yes; then
11940 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11946 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11954 ac_cpp='$CPP $CPPFLAGS'
11955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11956 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11959 ac_ext=${ac_fc_srcext-f}
11960 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11961 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11962 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11965 if test -z "$FC" || test "X$FC" = "Xno"; then
11969 archive_cmds_need_lc_FC=no
11970 allow_undefined_flag_FC=
11971 always_export_symbols_FC=no
11972 archive_expsym_cmds_FC=
11973 export_dynamic_flag_spec_FC=
11974 hardcode_direct_FC=no
11975 hardcode_direct_absolute_FC=no
11976 hardcode_libdir_flag_spec_FC=
11977 hardcode_libdir_flag_spec_ld_FC=
11978 hardcode_libdir_separator_FC=
11979 hardcode_minus_L_FC=no
11980 hardcode_automatic_FC=no
11981 inherit_rpath_FC=no
11983 module_expsym_cmds_FC=
11984 link_all_deplibs_FC=unknown
11985 old_archive_cmds_FC=$old_archive_cmds
11986 reload_flag_FC=$reload_flag
11987 reload_cmds_FC=$reload_cmds
11988 no_undefined_flag_FC=
11989 whole_archive_flag_spec_FC=
11990 enable_shared_with_static_runtimes_FC=no
11992 # Source file extension for fc test sources.
11993 ac_ext=${ac_fc_srcext-f}
11995 # Object file extension for compiled fc test sources.
11999 # No sense in running all these tests if we already determined that
12000 # the FC compiler isn't working. Some variables
(like enable_shared
)
12001 # are currently assumed to apply to all compilers on this platform,
12002 # and will be corrupted by setting them based on a non-working compiler.
12003 if test "$_lt_disable_FC" != yes; then
12004 # Code to be used in simple compile tests
12005 lt_simple_compile_test_code
="\
12011 # Code to be used in simple link tests
12012 lt_simple_link_test_code
="\
12017 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12024 # If no C compiler was specified, use CC.
12027 # If no C compiler flags were specified, use CFLAGS.
12028 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12030 # Allow CC to be a program name with arguments.
12034 # save warnings/boilerplate of simple test code
12035 ac_outfile
=conftest.
$ac_objext
12036 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12037 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12038 _lt_compiler_boilerplate
=`cat conftest.err`
12041 ac_outfile
=conftest.
$ac_objext
12042 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12043 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12044 _lt_linker_boilerplate
=`cat conftest.err`
12048 # Allow CC to be a program name with arguments.
12053 GCC
=$ac_cv_fc_compiler_gnu
12056 for cc_temp
in $compiler""; do
12058 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12059 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12064 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12067 if test -n "$compiler"; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12069 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12071 $as_echo "$can_build_shared" >&6; }
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12074 $as_echo_n "checking whether to build shared libraries... " >&6; }
12075 test "$can_build_shared" = "no" && enable_shared
=no
12077 # On AIX, shared libraries and static libraries use the same namespace, and
12078 # are all built from PIC.
12081 test "$enable_shared" = yes && enable_static
=no
12082 if test -n "$RANLIB"; then
12083 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12084 postinstall_cmds
='$RANLIB $lib'
12088 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12089 test "$enable_shared" = yes && enable_static
=no
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12094 $as_echo "$enable_shared" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12097 $as_echo_n "checking whether to build static libraries... " >&6; }
12098 # Make sure either enable_shared or enable_static is yes.
12099 test "$enable_shared" = yes || enable_static
=yes
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12101 $as_echo "$enable_static" >&6; }
12103 GCC_FC
="$ac_cv_fc_compiler_gnu"
12107 ## There is no encapsulation within the following macros, do not change
12108 ## the running order or otherwise move them around unless you know exactly
12109 ## what you are doing...
12110 # Dependencies to place before and after the object being linked:
12112 postdep_objects_FC
=
12115 compiler_lib_search_path_FC
=
12117 cat > conftest.
$ac_ext <<_LT_EOF
12126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12127 (eval $ac_compile) 2>&5
12129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12130 test $ac_status = 0; }; then
12131 # Parse the compiler output and extract the necessary
12132 # objects, libraries and library flags.
12134 # Sentinel used to keep track of whether or not we are before
12135 # the conftest object file.
12136 pre_test_object_deps_done
=no
12138 for p
in `eval "$output_verbose_link_cmd"`; do
12142 # Some compilers place space between "-{L,R}" and the path.
12143 # Remove the space.
12144 if test $p = "-L" ||
12145 test $p = "-R"; then
12152 if test "$pre_test_object_deps_done" = no
; then
12155 # Internal compiler library paths should come after those
12156 # provided the user. The postdeps already come after the
12157 # user supplied libs so there is no need to process them.
12158 if test -z "$compiler_lib_search_path_FC"; then
12159 compiler_lib_search_path_FC
="${prev}${p}"
12161 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
12164 # The "-l" case would never come before the object being
12165 # linked, so don't bother handling this case.
12168 if test -z "$postdeps_FC"; then
12169 postdeps_FC
="${prev}${p}"
12171 postdeps_FC
="${postdeps_FC} ${prev}${p}"
12177 # This assumes that the test object file only shows up
12178 # once in the compiler output.
12179 if test "$p" = "conftest.$objext"; then
12180 pre_test_object_deps_done
=yes
12184 if test "$pre_test_object_deps_done" = no
; then
12185 if test -z "$predep_objects_FC"; then
12186 predep_objects_FC
="$p"
12188 predep_objects_FC
="$predep_objects_FC $p"
12191 if test -z "$postdep_objects_FC"; then
12192 postdep_objects_FC
="$p"
12194 postdep_objects_FC
="$postdep_objects_FC $p"
12199 *) ;; # Ignore the rest.
12207 echo "libtool.m4: error: problem compiling FC test program"
12210 $RM -f confest.
$objext
12212 # PORTME: override above test on systems where it is broken
12215 case " $postdeps_FC " in
12216 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
12218 compiler_lib_search_dirs_FC
=
12219 if test -n "${compiler_lib_search_path_FC}"; then
12220 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12253 lt_prog_compiler_wl_FC
=
12254 lt_prog_compiler_pic_FC
=
12255 lt_prog_compiler_static_FC
=
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12258 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12260 if test "$GCC" = yes; then
12261 lt_prog_compiler_wl_FC
='-Wl,'
12262 lt_prog_compiler_static_FC
='-static'
12266 # All AIX code is PIC.
12267 if test "$host_cpu" = ia64
; then
12268 # AIX 5 now supports IA64 processor
12269 lt_prog_compiler_static_FC
='-Bstatic'
12276 # see comment about AmigaOS4 .so support
12277 lt_prog_compiler_pic_FC
='-fPIC'
12280 # FIXME: we need at least 68020 code to build shared libraries, but
12281 # adding the `-m68020' flag to GCC prevents building anything better,
12283 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12288 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12289 # PIC is the default for these OSes.
12292 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12293 # This hack is so that the source file can tell whether it is being
12294 # built for inclusion in a dll (and should export symbols for example).
12295 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12296 # (--disable-auto-import) libraries
12297 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12300 darwin
* | rhapsody
*)
12301 # PIC is the default on this platform
12302 # Common symbols not allowed in MH_DYLIB files
12303 lt_prog_compiler_pic_FC
='-fno-common'
12307 # PIC is the default for Haiku.
12308 # The "-static" flag exists, but is broken.
12309 lt_prog_compiler_static_FC
=
12313 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12314 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12315 # sets the default TLS model and affects inlining.
12321 lt_prog_compiler_pic_FC
='-fPIC'
12327 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12328 # Instead, we relocate shared libraries at runtime.
12332 # Just because we use GCC doesn't mean we suddenly get shared libraries
12333 # on systems that don't support them.
12334 lt_prog_compiler_can_build_shared_FC
=no
12339 # QNX uses GNU C++, but need to define -shared option too, otherwise
12340 # it will coredump.
12341 lt_prog_compiler_pic_FC
='-fPIC -shared'
12345 if test -d /usr
/nec
; then
12346 lt_prog_compiler_pic_FC
=-Kconform_pic
12351 lt_prog_compiler_pic_FC
='-fPIC'
12355 case $cc_basename in
12356 nvcc
*) # Cuda Compiler Driver 2.2
12357 lt_prog_compiler_wl_FC
='-Xlinker '
12358 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12362 # PORTME Check for flag to pass linker flags through the system compiler.
12365 lt_prog_compiler_wl_FC
='-Wl,'
12366 if test "$host_cpu" = ia64
; then
12367 # AIX 5 now supports IA64 processor
12368 lt_prog_compiler_static_FC
='-Bstatic'
12370 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12374 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12375 # This hack is so that the source file can tell whether it is being
12376 # built for inclusion in a dll (and should export symbols for example).
12377 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12380 hpux9
* | hpux10
* | hpux11
*)
12381 lt_prog_compiler_wl_FC
='-Wl,'
12382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12383 # not for PA HP-UX.
12389 lt_prog_compiler_pic_FC
='+Z'
12392 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12393 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12396 irix5
* | irix6
* | nonstopux
*)
12397 lt_prog_compiler_wl_FC
='-Wl,'
12398 # PIC (with -KPIC) is the default.
12399 lt_prog_compiler_static_FC
='-non_shared'
12402 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12403 case $cc_basename in
12404 # old Intel for x86_64 which still supported -KPIC.
12406 lt_prog_compiler_wl_FC
='-Wl,'
12407 lt_prog_compiler_pic_FC
='-KPIC'
12408 lt_prog_compiler_static_FC
='-static'
12410 # icc used to be incompatible with GCC.
12411 # ICC 10 doesn't accept -KPIC any more.
12413 lt_prog_compiler_wl_FC
='-Wl,'
12414 lt_prog_compiler_pic_FC
='-fPIC'
12415 lt_prog_compiler_static_FC
='-static'
12417 # Lahey Fortran 8.1.
12419 lt_prog_compiler_wl_FC
='-Wl,'
12420 lt_prog_compiler_pic_FC
='--shared'
12421 lt_prog_compiler_static_FC
='--static'
12423 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12424 # Portland Group compilers (*not* the Pentium gcc compiler,
12425 # which looks to be a dead project)
12426 lt_prog_compiler_wl_FC
='-Wl,'
12427 lt_prog_compiler_pic_FC
='-fpic'
12428 lt_prog_compiler_static_FC
='-Bstatic'
12431 lt_prog_compiler_wl_FC
='-Wl,'
12432 # All Alpha code is PIC.
12433 lt_prog_compiler_static_FC
='-non_shared'
12435 xl
* | bgxl
* | bgf
* | mpixl
*)
12436 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12437 lt_prog_compiler_wl_FC
='-Wl,'
12438 lt_prog_compiler_pic_FC
='-qpic'
12439 lt_prog_compiler_static_FC
='-qstaticlink'
12442 case `$CC -V 2>&1 | sed 5q` in
12443 *Sun\ F
* |
*Sun
*Fortran
*)
12444 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12445 lt_prog_compiler_pic_FC
='-KPIC'
12446 lt_prog_compiler_static_FC
='-Bstatic'
12447 lt_prog_compiler_wl_FC
=''
12451 lt_prog_compiler_pic_FC
='-KPIC'
12452 lt_prog_compiler_static_FC
='-Bstatic'
12453 lt_prog_compiler_wl_FC
='-Wl,'
12461 lt_prog_compiler_pic_FC
='-KPIC'
12462 lt_prog_compiler_static_FC
='-Bstatic'
12466 # QNX uses GNU C++, but need to define -shared option too, otherwise
12467 # it will coredump.
12468 lt_prog_compiler_pic_FC
='-fPIC -shared'
12471 osf3
* | osf4
* | osf5
*)
12472 lt_prog_compiler_wl_FC
='-Wl,'
12473 # All OSF/1 code is PIC.
12474 lt_prog_compiler_static_FC
='-non_shared'
12478 lt_prog_compiler_static_FC
='-non_shared'
12482 lt_prog_compiler_pic_FC
='-KPIC'
12483 lt_prog_compiler_static_FC
='-Bstatic'
12484 case $cc_basename in
12485 f77
* | f90
* | f95
*)
12486 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12488 lt_prog_compiler_wl_FC
='-Wl,';;
12493 lt_prog_compiler_wl_FC
='-Qoption ld '
12494 lt_prog_compiler_pic_FC
='-PIC'
12495 lt_prog_compiler_static_FC
='-Bstatic'
12498 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12499 lt_prog_compiler_wl_FC
='-Wl,'
12500 lt_prog_compiler_pic_FC
='-KPIC'
12501 lt_prog_compiler_static_FC
='-Bstatic'
12505 if test -d /usr
/nec
;then
12506 lt_prog_compiler_pic_FC
='-Kconform_pic'
12507 lt_prog_compiler_static_FC
='-Bstatic'
12511 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12512 lt_prog_compiler_wl_FC
='-Wl,'
12513 lt_prog_compiler_pic_FC
='-KPIC'
12514 lt_prog_compiler_static_FC
='-Bstatic'
12518 lt_prog_compiler_wl_FC
='-Wl,'
12519 lt_prog_compiler_can_build_shared_FC
=no
12523 lt_prog_compiler_pic_FC
='-pic'
12524 lt_prog_compiler_static_FC
='-Bstatic'
12528 lt_prog_compiler_can_build_shared_FC
=no
12534 # For platforms which do not support PIC, -DPIC is meaningless:
12536 lt_prog_compiler_pic_FC
=
12539 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12543 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12548 # Check to make sure the PIC flag actually works.
12550 if test -n "$lt_prog_compiler_pic_FC"; then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12552 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12553 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12554 $as_echo_n "(cached) " >&6
12556 lt_cv_prog_compiler_pic_works_FC
=no
12557 ac_outfile
=conftest.
$ac_objext
12558 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12559 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12560 # Insert the option either (1) after the last *FLAGS variable, or
12561 # (2) before a word containing "conftest.", or (3) at the end.
12562 # Note that $ac_compile itself does not contain backslashes and begins
12563 # with a dollar sign (not a hyphen), so the echo should work correctly.
12564 # The option is referenced via a variable to avoid confusing sed.
12565 lt_compile
=`echo "$ac_compile" | $SED \
12566 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12567 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12568 -e 's:$: $lt_compiler_flag:'`
12569 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12570 (eval "$lt_compile" 2>conftest.err
)
12572 cat conftest.err
>&5
12573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574 if (exit $ac_status) && test -s "$ac_outfile"; then
12575 # The compiler can only warn and ignore the option if not recognized
12576 # So say no if there are warnings other than the usual output.
12577 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12578 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12579 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12580 lt_cv_prog_compiler_pic_works_FC
=yes
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12587 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12589 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12590 case $lt_prog_compiler_pic_FC in
12592 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12595 lt_prog_compiler_pic_FC
=
12596 lt_prog_compiler_can_build_shared_FC
=no
12604 # Check to make sure the static flag actually works.
12606 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12608 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12609 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12610 $as_echo_n "(cached) " >&6
12612 lt_cv_prog_compiler_static_works_FC
=no
12613 save_LDFLAGS
="$LDFLAGS"
12614 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12615 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12616 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12617 # The linker can only warn and ignore the option if not recognized
12618 # So say no if there are warnings
12619 if test -s conftest.err
; then
12620 # Append any errors to the config.log.
12621 cat conftest.err
1>&5
12622 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12623 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12624 if diff conftest.exp conftest.er2
>/dev
/null
; then
12625 lt_cv_prog_compiler_static_works_FC
=yes
12628 lt_cv_prog_compiler_static_works_FC
=yes
12632 LDFLAGS
="$save_LDFLAGS"
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12636 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12638 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12641 lt_prog_compiler_static_FC
=
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12648 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12649 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12650 $as_echo_n "(cached) " >&6
12652 lt_cv_prog_compiler_c_o_FC
=no
12653 $RM -r conftest
2>/dev
/null
12657 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12659 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12660 # Insert the option either (1) after the last *FLAGS variable, or
12661 # (2) before a word containing "conftest.", or (3) at the end.
12662 # Note that $ac_compile itself does not contain backslashes and begins
12663 # with a dollar sign (not a hyphen), so the echo should work correctly.
12664 lt_compile
=`echo "$ac_compile" | $SED \
12665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12667 -e 's:$: $lt_compiler_flag:'`
12668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12669 (eval "$lt_compile" 2>out
/conftest.err
)
12671 cat out
/conftest.err
>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12675 # The compiler can only warn and ignore the option if not recognized
12676 # So say no if there are warnings
12677 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12678 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12679 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12680 lt_cv_prog_compiler_c_o_FC
=yes
12685 # SGI C++ compiler will create directory out/ii_files/ for
12686 # template instantiation
12687 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12688 $RM out
/* && rmdir out
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12695 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12700 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12701 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12702 $as_echo_n "(cached) " >&6
12704 lt_cv_prog_compiler_c_o_FC
=no
12705 $RM -r conftest
2>/dev
/null
12709 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12711 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12712 # Insert the option either (1) after the last *FLAGS variable, or
12713 # (2) before a word containing "conftest.", or (3) at the end.
12714 # Note that $ac_compile itself does not contain backslashes and begins
12715 # with a dollar sign (not a hyphen), so the echo should work correctly.
12716 lt_compile
=`echo "$ac_compile" | $SED \
12717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12719 -e 's:$: $lt_compiler_flag:'`
12720 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12721 (eval "$lt_compile" 2>out
/conftest.err
)
12723 cat out
/conftest.err
>&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12727 # The compiler can only warn and ignore the option if not recognized
12728 # So say no if there are warnings
12729 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12730 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12731 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12732 lt_cv_prog_compiler_c_o_FC
=yes
12737 # SGI C++ compiler will create directory out/ii_files/ for
12738 # template instantiation
12739 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12740 $RM out
/* && rmdir out
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12747 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12752 hard_links
="nottested"
12753 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12754 # do not overwrite the value of need_locks provided by the user
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12756 $as_echo_n "checking if we can lock with hard links... " >&6; }
12759 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12761 ln conftest.a conftest.b
2>&5 || hard_links
=no
12762 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12764 $as_echo "$hard_links" >&6; }
12765 if test "$hard_links" = no
; then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12767 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12777 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12780 allow_undefined_flag_FC
=
12781 always_export_symbols_FC
=no
12783 archive_expsym_cmds_FC
=
12784 compiler_needs_object_FC
=no
12785 enable_shared_with_static_runtimes_FC
=no
12786 export_dynamic_flag_spec_FC
=
12787 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12788 hardcode_automatic_FC
=no
12789 hardcode_direct_FC
=no
12790 hardcode_direct_absolute_FC
=no
12791 hardcode_libdir_flag_spec_FC
=
12792 hardcode_libdir_flag_spec_ld_FC
=
12793 hardcode_libdir_separator_FC
=
12794 hardcode_minus_L_FC
=no
12795 hardcode_shlibpath_var_FC
=unsupported
12796 inherit_rpath_FC
=no
12797 link_all_deplibs_FC
=unknown
12799 module_expsym_cmds_FC
=
12800 old_archive_from_new_cmds_FC
=
12801 old_archive_from_expsyms_cmds_FC
=
12802 thread_safe_flag_spec_FC
=
12803 whole_archive_flag_spec_FC
=
12804 # include_expsyms should be a list of space-separated symbols to be *always*
12805 # included in the symbol list
12806 include_expsyms_FC
=
12807 # exclude_expsyms can be an extended regexp of symbols to exclude
12808 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12809 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12810 # as well as any symbol that contains `d'.
12811 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12812 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12813 # platforms (ab)use it in PIC code, but their linkers get confused if
12814 # the symbol is explicitly referenced. Since portable code cannot
12815 # rely on this symbol name, it's probably fine to never include it in
12816 # preloaded symbol tables.
12817 # Exclude shared library initialization/finalization symbols.
12818 extract_expsyms_cmds
=
12821 cygwin
* | mingw
* | pw32
* | cegcc
*)
12822 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12823 # When not using gcc, we currently assume that we are using
12824 # Microsoft Visual C++.
12825 if test "$GCC" != yes; then
12830 # we just hope/assume this is gcc and not c89 (= MSVC++)
12840 # On some targets, GNU ld is compatible enough with the native linker
12841 # that we're better off using the native interface for both.
12842 lt_use_gnu_ld_interface
=no
12843 if test "$with_gnu_ld" = yes; then
12846 # The AIX port of GNU ld has always aspired to compatibility
12847 # with the native linker. However, as the warning in the GNU ld
12848 # block says, versions before 2.19.5* couldn't really create working
12849 # shared libraries, regardless of the interface used.
12850 case `$LD -v 2>&1` in
12851 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12852 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12853 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12855 lt_use_gnu_ld_interface
=yes
12860 lt_use_gnu_ld_interface
=yes
12865 if test "$lt_use_gnu_ld_interface" = yes; then
12866 # If archive_cmds runs LD, not CC, wlarc should be empty
12869 # Set some defaults for GNU ld with shared library support. These
12870 # are reset later if shared libraries are not supported. Putting them
12871 # here allows them to be overridden if necessary.
12872 runpath_var
=LD_RUN_PATH
12873 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12874 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12875 # ancient GNU ld didn't support --whole-archive et. al.
12876 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12877 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12879 whole_archive_flag_spec_FC
=
12881 supports_anon_versioning
=no
12882 case `$LD -v 2>&1` in
12883 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12884 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12885 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12886 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12887 *\
2.11.
*) ;; # other 2.11 versions
12888 *) supports_anon_versioning
=yes ;;
12891 # See if GNU ld supports shared libraries.
12894 # On AIX/PPC, the GNU linker is very broken
12895 if test "$host_cpu" != ia64
; then
12899 *** Warning: the GNU linker, at least up to release 2.19, is reported
12900 *** to be unable to reliably create shared libraries on AIX.
12901 *** Therefore, libtool is disabling shared libraries support. If you
12902 *** really care for shared libraries, you may want to install binutils
12903 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12904 *** You will then need to restart the configuration process.
12913 # see comment about AmigaOS4 .so support
12914 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 archive_expsym_cmds_FC
=''
12918 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)'
12919 hardcode_libdir_flag_spec_FC
='-L$libdir'
12920 hardcode_minus_L_FC
=yes
12926 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12927 allow_undefined_flag_FC
=unsupported
12928 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12929 # support --undefined. This deserves some investigation. FIXME
12930 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 cygwin
* | mingw
* | pw32
* | cegcc
*)
12937 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12938 # as there is no search path for DLLs.
12939 hardcode_libdir_flag_spec_FC
='-L$libdir'
12940 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
12941 allow_undefined_flag_FC
=unsupported
12942 always_export_symbols_FC
=no
12943 enable_shared_with_static_runtimes_FC
=yes
12944 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12946 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12947 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12948 # If the export-symbols file already is a .def file (1st line
12949 # is EXPORTS), use it as is; otherwise, prepend...
12950 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12951 cp $export_symbols $output_objdir/$soname.def;
12953 echo EXPORTS > $output_objdir/$soname.def;
12954 cat $export_symbols >> $output_objdir/$soname.def;
12956 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12963 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12964 link_all_deplibs_FC
=yes
12968 hardcode_direct_FC
=no
12969 hardcode_shlibpath_var_FC
=no
12970 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12971 export_dynamic_flag_spec_FC
='${wl}-E'
12972 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12973 # Instead, shared libraries are loaded at an image base (0x10000000 by
12974 # default) and relocated if they conflict, which is a slow very memory
12975 # consuming and fragmenting process. To avoid this, we pick a random,
12976 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12977 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12978 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'
12979 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'
12982 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12984 if test "$host_os" = linux-dietlibc
; then
12985 case $cc_basename in
12986 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12989 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12990 && test "$tmp_diet" = no
12993 tmp_sharedflag
='-shared'
12994 case $cc_basename,$host_cpu in
12995 pgcc
*) # Portland Group C compiler
12996 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'
12997 tmp_addflag
=' $pic_flag'
12999 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13000 # Portland Group f77 and f90 compilers
13001 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'
13002 tmp_addflag
=' $pic_flag -Mnomain' ;;
13003 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13004 tmp_addflag
=' -i_dynamic' ;;
13005 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13006 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13007 ifc
* | ifort
*) # Intel Fortran compiler
13008 tmp_addflag
=' -nofor_main' ;;
13009 lf95
*) # Lahey Fortran 8.1
13010 whole_archive_flag_spec_FC
=
13011 tmp_sharedflag
='--shared' ;;
13012 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13013 tmp_sharedflag
='-qmkshrobj'
13015 nvcc
*) # Cuda Compiler Driver 2.2
13016 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'
13017 compiler_needs_object_FC
=yes
13020 case `$CC -V 2>&1 | sed 5q` in
13021 *Sun\ C
*) # Sun C 5.9
13022 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'
13023 compiler_needs_object_FC
=yes
13024 tmp_sharedflag
='-G' ;;
13025 *Sun\ F
*) # Sun Fortran 8.3
13026 tmp_sharedflag
='-G' ;;
13028 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13030 if test "x$supports_anon_versioning" = xyes
; then
13031 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13032 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13033 echo "local: *; };" >> $output_objdir/$libname.ver~
13034 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13037 case $cc_basename in
13038 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
13039 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13040 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
13041 hardcode_libdir_flag_spec_FC
=
13042 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
13043 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13044 if test "x$supports_anon_versioning" = xyes
; then
13045 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13046 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13047 echo "local: *; };" >> $output_objdir/$libname.ver~
13048 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13058 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13059 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13062 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13063 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13068 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
13072 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13073 *** create shared libraries on Solaris systems. Therefore, libtool
13074 *** is disabling shared libraries support. We urge you to upgrade GNU
13075 *** binutils to release 2.9.1 or newer. Another option is to modify
13076 *** your PATH or compiler configuration so that the native linker is
13077 *** used, and then restart.
13080 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13081 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13082 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13088 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13089 case `$LD -v 2>&1` in
13090 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13094 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13095 *** reliably create shared libraries on SCO systems. Therefore, libtool
13096 *** is disabling shared libraries support. We urge you to upgrade GNU
13097 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13098 *** your PATH or compiler configuration so that the native linker is
13099 *** used, and then restart.
13104 # For security reasons, it is highly recommended that you always
13105 # use absolute paths for naming shared libraries, and exclude the
13106 # DT_RUNPATH tag from executables and libraries. But doing so
13107 # requires that you compile everything twice, which is a pain.
13108 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13109 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13110 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13111 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13120 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13122 hardcode_direct_FC
=yes
13123 hardcode_shlibpath_var_FC
=no
13127 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13128 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13129 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13136 if test "$ld_shlibs_FC" = no
; then
13138 hardcode_libdir_flag_spec_FC
=
13139 export_dynamic_flag_spec_FC
=
13140 whole_archive_flag_spec_FC
=
13143 # PORTME fill in a description of your system's linker (not GNU ld)
13146 allow_undefined_flag_FC
=unsupported
13147 always_export_symbols_FC
=yes
13148 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'
13149 # Note: this linker hardcodes the directories in LIBPATH if there
13150 # are no directories specified by -L.
13151 hardcode_minus_L_FC
=yes
13152 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13153 # Neither direct hardcoding nor static linking is supported with a
13155 hardcode_direct_FC
=unsupported
13160 if test "$host_cpu" = ia64
; then
13161 # On IA64, the linker does run time linking by default, so we don't
13162 # have to do anything special.
13163 aix_use_runtimelinking
=no
13164 exp_sym_flag
='-Bexport'
13167 # If we're using GNU nm, then we don't want the "-C" option.
13168 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13169 # Also, AIX nm treats weak defined symbols like other global
13170 # defined symbols, whereas GNU nm marks them as "W".
13171 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13172 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'
13174 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'
13176 aix_use_runtimelinking
=no
13178 # Test if we are trying to use run time linking or normal
13179 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13180 # need to do runtime linking.
13181 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13182 for ld_flag
in $LDFLAGS; do
13183 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13184 aix_use_runtimelinking
=yes
13191 exp_sym_flag
='-bexport'
13192 no_entry_flag
='-bnoentry'
13195 # When large executables or shared objects are built, AIX ld can
13196 # have problems creating the table of contents. If linking a library
13197 # or program results in "error TOC overflow" add -mminimal-toc to
13198 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13199 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13202 hardcode_direct_FC
=yes
13203 hardcode_direct_absolute_FC
=yes
13204 hardcode_libdir_separator_FC
=':'
13205 link_all_deplibs_FC
=yes
13206 file_list_spec_FC
='${wl}-f,'
13208 if test "$GCC" = yes; then
13209 case $host_os in aix4.
[012]|aix4.
[012].
*)
13210 # We only want to do this on AIX 4.2 and lower, the check
13211 # below for broken collect2 doesn't work under 4.3+
13212 collect2name
=`${CC} -print-prog-name=collect2`
13213 if test -f "$collect2name" &&
13214 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13216 # We have reworked collect2
13219 # We have old collect2
13220 hardcode_direct_FC
=unsupported
13221 # It fails to find uninstalled libraries when the uninstalled
13222 # path is not listed in the libpath. Setting hardcode_minus_L
13223 # to unsupported forces relinking
13224 hardcode_minus_L_FC
=yes
13225 hardcode_libdir_flag_spec_FC
='-L$libdir'
13226 hardcode_libdir_separator_FC
=
13230 shared_flag
='-shared'
13231 if test "$aix_use_runtimelinking" = yes; then
13232 shared_flag
="$shared_flag "'${wl}-G'
13236 if test "$host_cpu" = ia64
; then
13237 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13238 # chokes on -Wl,-G. The following line is correct:
13241 if test "$aix_use_runtimelinking" = yes; then
13242 shared_flag
='${wl}-G'
13244 shared_flag
='${wl}-bM:SRE'
13249 export_dynamic_flag_spec_FC
='${wl}-bexpall'
13250 # It seems that -bexpall does not export symbols beginning with
13251 # underscore (_), so it is better to generate a list of symbols to export.
13252 always_export_symbols_FC
=yes
13253 if test "$aix_use_runtimelinking" = yes; then
13254 # Warning - without using the other runtime loading flags (-brtl),
13255 # -berok will link without error, but may produce a broken library.
13256 allow_undefined_flag_FC
='-berok'
13257 # Determine the default libpath from the value encoded in an
13258 # empty executable.
13259 if test x
$gcc_no_link = xyes
; then
13260 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13262 cat > conftest.
$ac_ext <<_ACEOF
13267 if ac_fn_fc_try_link
"$LINENO"; then :
13269 lt_aix_libpath_sed
='
13270 /Import File Strings/,/^$/ {
13276 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13277 # Check for a 64-bit object if we didn't find anything.
13278 if test -z "$aix_libpath"; then
13279 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13282 rm -f core conftest.err conftest.
$ac_objext \
13283 conftest
$ac_exeext conftest.
$ac_ext
13284 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13286 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13287 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"
13289 if test "$host_cpu" = ia64
; then
13290 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13291 allow_undefined_flag_FC
="-z nodefs"
13292 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"
13294 # Determine the default libpath from the value encoded in an
13295 # empty executable.
13296 if test x
$gcc_no_link = xyes
; then
13297 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13299 cat > conftest.
$ac_ext <<_ACEOF
13304 if ac_fn_fc_try_link
"$LINENO"; then :
13306 lt_aix_libpath_sed
='
13307 /Import File Strings/,/^$/ {
13313 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13314 # Check for a 64-bit object if we didn't find anything.
13315 if test -z "$aix_libpath"; then
13316 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13319 rm -f core conftest.err conftest.
$ac_objext \
13320 conftest
$ac_exeext conftest.
$ac_ext
13321 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13323 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13324 # Warning - without using the other run time loading flags,
13325 # -berok will link without error, but may produce a broken library.
13326 no_undefined_flag_FC
=' ${wl}-bernotok'
13327 allow_undefined_flag_FC
=' ${wl}-berok'
13328 if test "$with_gnu_ld" = yes; then
13329 # We only use this code for GNU lds that support --whole-archive.
13330 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13332 # Exported symbols can be pulled into shared objects from archives
13333 whole_archive_flag_spec_FC
='$convenience'
13335 archive_cmds_need_lc_FC
=yes
13336 # This is similar to how AIX traditionally builds its shared libraries.
13337 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'
13345 # see comment about AmigaOS4 .so support
13346 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13347 archive_expsym_cmds_FC
=''
13350 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)'
13351 hardcode_libdir_flag_spec_FC
='-L$libdir'
13352 hardcode_minus_L_FC
=yes
13358 export_dynamic_flag_spec_FC
=-rdynamic
13361 cygwin
* | mingw
* | pw32
* | cegcc
*)
13362 # When not using gcc, we currently assume that we are using
13363 # Microsoft Visual C++.
13364 # hardcode_libdir_flag_spec is actually meaningless, as there is
13365 # no search path for DLLs.
13366 hardcode_libdir_flag_spec_FC
=' '
13367 allow_undefined_flag_FC
=unsupported
13368 # Tell ltmain to make .lib files, not .a files.
13370 # Tell ltmain to make .dll files, not .so files.
13372 # FIXME: Setting linknames here is a bad hack.
13373 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13374 # The linker will automatically build a .lib file if we build a DLL.
13375 old_archive_from_new_cmds_FC
='true'
13376 # FIXME: Should let the user specify the lib program.
13377 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13378 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13379 enable_shared_with_static_runtimes_FC
=yes
13382 darwin
* | rhapsody
*)
13385 archive_cmds_need_lc_FC
=no
13386 hardcode_direct_FC
=no
13387 hardcode_automatic_FC
=yes
13388 hardcode_shlibpath_var_FC
=unsupported
13389 if test "$lt_cv_ld_force_load" = "yes"; then
13390 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\"`'
13392 whole_archive_flag_spec_FC
=''
13394 link_all_deplibs_FC
=yes
13395 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13396 case $cc_basename in
13397 ifort
*) _lt_dar_can_shared
=yes ;;
13398 *) _lt_dar_can_shared
=$GCC ;;
13400 if test "$_lt_dar_can_shared" = "yes"; then
13401 output_verbose_link_cmd
=func_echo_all
13402 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}"
13403 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13404 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}"
13405 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}"
13414 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13415 hardcode_libdir_flag_spec_FC
='-L$libdir'
13416 hardcode_shlibpath_var_FC
=no
13423 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13424 # support. Future versions do this automatically, but an explicit c++rt0.o
13425 # does not break anything, and helps significantly (at the cost of a little
13428 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13429 hardcode_libdir_flag_spec_FC
='-R$libdir'
13430 hardcode_direct_FC
=yes
13431 hardcode_shlibpath_var_FC
=no
13434 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13436 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13437 hardcode_direct_FC
=yes
13438 hardcode_minus_L_FC
=yes
13439 hardcode_shlibpath_var_FC
=no
13442 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13443 freebsd
* | dragonfly
*)
13444 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13445 hardcode_libdir_flag_spec_FC
='-R$libdir'
13446 hardcode_direct_FC
=yes
13447 hardcode_shlibpath_var_FC
=no
13451 if test "$GCC" = yes; then
13452 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'
13454 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'
13456 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13457 hardcode_libdir_separator_FC
=:
13458 hardcode_direct_FC
=yes
13460 # hardcode_minus_L: Not really in the search PATH,
13461 # but as the default location of the library.
13462 hardcode_minus_L_FC
=yes
13463 export_dynamic_flag_spec_FC
='${wl}-E'
13467 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13468 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13470 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13472 if test "$with_gnu_ld" = no
; then
13473 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13474 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13475 hardcode_libdir_separator_FC
=:
13476 hardcode_direct_FC
=yes
13477 hardcode_direct_absolute_FC
=yes
13478 export_dynamic_flag_spec_FC
='${wl}-E'
13479 # hardcode_minus_L: Not really in the search PATH,
13480 # but as the default location of the library.
13481 hardcode_minus_L_FC
=yes
13486 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13489 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13492 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13495 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13501 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13504 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13507 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13511 if test "$with_gnu_ld" = no
; then
13512 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13513 hardcode_libdir_separator_FC
=:
13517 hardcode_direct_FC
=no
13518 hardcode_shlibpath_var_FC
=no
13521 hardcode_direct_FC
=yes
13522 hardcode_direct_absolute_FC
=yes
13523 export_dynamic_flag_spec_FC
='${wl}-E'
13525 # hardcode_minus_L: Not really in the search PATH,
13526 # but as the default location of the library.
13527 hardcode_minus_L_FC
=yes
13533 irix5
* | irix6
* | nonstopux
*)
13534 if test "$GCC" = yes; then
13535 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'
13536 # Try to use the -exported_symbol ld option, if it does not
13537 # work, assume that -exports_file does not work either and
13538 # implicitly export all symbols.
13539 save_LDFLAGS
="$LDFLAGS"
13540 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13541 if test x
$gcc_no_link = xyes
; then
13542 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13544 cat > conftest.
$ac_ext <<_ACEOF
13547 if ac_fn_fc_try_link
"$LINENO"; then :
13548 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'
13551 rm -f core conftest.err conftest.
$ac_objext \
13552 conftest
$ac_exeext conftest.
$ac_ext
13553 LDFLAGS
="$save_LDFLAGS"
13555 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'
13556 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'
13558 archive_cmds_need_lc_FC
='no'
13559 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13560 hardcode_libdir_separator_FC
=:
13561 inherit_rpath_FC
=yes
13562 link_all_deplibs_FC
=yes
13566 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13567 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13569 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13571 hardcode_libdir_flag_spec_FC
='-R$libdir'
13572 hardcode_direct_FC
=yes
13573 hardcode_shlibpath_var_FC
=no
13577 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13578 hardcode_direct_FC
=yes
13579 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13580 hardcode_libdir_separator_FC
=:
13581 hardcode_shlibpath_var_FC
=no
13588 if test -f /usr
/libexec
/ld.so
; then
13589 hardcode_direct_FC
=yes
13590 hardcode_shlibpath_var_FC
=no
13591 hardcode_direct_absolute_FC
=yes
13592 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13593 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13594 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13595 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13596 export_dynamic_flag_spec_FC
='${wl}-E'
13599 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13600 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13601 hardcode_libdir_flag_spec_FC
='-R$libdir'
13604 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13605 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13615 hardcode_libdir_flag_spec_FC
='-L$libdir'
13616 hardcode_minus_L_FC
=yes
13617 allow_undefined_flag_FC
=unsupported
13618 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'
13619 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13623 if test "$GCC" = yes; then
13624 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13625 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'
13627 allow_undefined_flag_FC
=' -expect_unresolved \*'
13628 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'
13630 archive_cmds_need_lc_FC
='no'
13631 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13632 hardcode_libdir_separator_FC
=:
13635 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13636 if test "$GCC" = yes; then
13637 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13638 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'
13639 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13641 allow_undefined_flag_FC
=' -expect_unresolved \*'
13642 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'
13643 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~
13644 $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'
13646 # Both c and cxx compiler support -rpath directly
13647 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13649 archive_cmds_need_lc_FC
='no'
13650 hardcode_libdir_separator_FC
=:
13654 no_undefined_flag_FC
=' -z defs'
13655 if test "$GCC" = yes; then
13657 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13658 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13659 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13661 case `$CC -V 2>&1` in
13664 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13665 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13666 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13670 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13671 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13672 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13676 hardcode_libdir_flag_spec_FC
='-R$libdir'
13677 hardcode_shlibpath_var_FC
=no
13679 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13681 # The compiler driver will combine and reorder linker options,
13682 # but understands `-z linker_flag'. GCC discards it without `$wl',
13683 # but is careful enough not to reorder.
13684 # Supported since Solaris 2.6 (maybe 2.5.1?)
13685 if test "$GCC" = yes; then
13686 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13688 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13692 link_all_deplibs_FC
=yes
13696 if test "x$host_vendor" = xsequent
; then
13697 # Use $CC to link under sequent, because it throws in some extra .o
13698 # files that make .init and .fini sections work.
13699 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13701 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13703 hardcode_libdir_flag_spec_FC
='-L$libdir'
13704 hardcode_direct_FC
=yes
13705 hardcode_minus_L_FC
=yes
13706 hardcode_shlibpath_var_FC
=no
13710 case $host_vendor in
13712 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13713 hardcode_direct_FC
=yes # is this really true???
13716 ## LD is ld it makes a PLAMLIB
13717 ## CC just makes a GrossModule.
13718 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13719 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13720 hardcode_direct_FC
=no
13723 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13724 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13727 runpath_var
='LD_RUN_PATH'
13728 hardcode_shlibpath_var_FC
=no
13732 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13733 hardcode_shlibpath_var_FC
=no
13734 export_dynamic_flag_spec_FC
='-Bexport'
13738 if test -d /usr
/nec
; then
13739 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13740 hardcode_shlibpath_var_FC
=no
13741 runpath_var
=LD_RUN_PATH
13742 hardcode_runpath_var
=yes
13747 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13748 no_undefined_flag_FC
='${wl}-z,text'
13749 archive_cmds_need_lc_FC
=no
13750 hardcode_shlibpath_var_FC
=no
13751 runpath_var
='LD_RUN_PATH'
13753 if test "$GCC" = yes; then
13754 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13755 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13757 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13758 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13762 sysv5
* | sco3.2v5
* | sco5v6
*)
13763 # Note: We can NOT use -z defs as we might desire, because we do not
13764 # link with -lc, and that would cause any symbols used from libc to
13765 # always be unresolved, which means just about no library would
13766 # ever link correctly. If we're not using GNU ld we use -z text
13767 # though, which does catch some bad symbols but isn't as heavy-handed
13769 no_undefined_flag_FC
='${wl}-z,text'
13770 allow_undefined_flag_FC
='${wl}-z,nodefs'
13771 archive_cmds_need_lc_FC
=no
13772 hardcode_shlibpath_var_FC
=no
13773 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13774 hardcode_libdir_separator_FC
=':'
13775 link_all_deplibs_FC
=yes
13776 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13777 runpath_var
='LD_RUN_PATH'
13779 if test "$GCC" = yes; then
13780 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13781 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13783 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13784 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13789 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13790 hardcode_libdir_flag_spec_FC
='-L$libdir'
13791 hardcode_shlibpath_var_FC
=no
13799 if test x
$host_vendor = xsni
; then
13801 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13802 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13809 $as_echo "$ld_shlibs_FC" >&6; }
13810 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13812 with_gnu_ld_FC
=$with_gnu_ld
13820 # Do we need to explicitly link libc?
13822 case "x$archive_cmds_need_lc_FC" in
13824 # Assume -lc should be added
13825 archive_cmds_need_lc_FC
=yes
13827 if test "$enable_shared" = yes && test "$GCC" = yes; then
13828 case $archive_cmds_FC in
13830 # FIXME: we may have to deal with multi-command sequences.
13833 # Test whether the compiler implicitly links with -lc since on some
13834 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13835 # to ld, don't add -lc before -lgcc.
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13837 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13838 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13839 $as_echo_n "(cached) " >&6
13842 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13844 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13845 (eval $ac_compile) 2>&5
13847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13848 test $ac_status = 0; } 2>conftest.err
; then
13851 libobjs
=conftest.
$ac_objext
13853 wl
=$lt_prog_compiler_wl_FC
13854 pic_flag
=$lt_prog_compiler_pic_FC
13860 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13861 allow_undefined_flag_FC
=
13862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13863 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13866 test $ac_status = 0; }
13868 lt_cv_archive_cmds_need_lc_FC
=no
13870 lt_cv_archive_cmds_need_lc_FC
=yes
13872 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13874 cat conftest.err
1>&5
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13880 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13881 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13952 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13954 library_names_spec
=
13955 libname_spec
='lib$name'
13959 postuninstall_cmds
=
13963 shlibpath_overrides_runpath
=unknown
13965 dynamic_linker
="$host_os ld.so"
13966 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13967 need_lib_prefix
=unknown
13968 hardcode_into_libs
=no
13970 # when you set need_version to no, make sure it does not cause -set_version
13971 # flags to be left without arguments
13972 need_version
=unknown
13977 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13978 shlibpath_var
=LIBPATH
13980 # AIX 3 has no versioning support, so we append a major version to the name.
13981 soname_spec
='${libname}${release}${shared_ext}$major'
13988 hardcode_into_libs
=yes
13989 if test "$host_cpu" = ia64
; then
13990 # AIX 5 supports IA64
13991 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13992 shlibpath_var
=LD_LIBRARY_PATH
13994 # With GCC up to 2.95.x, collect2 would create an import file
13995 # for dependence libraries. The import file would start with
13996 # the line `#! .'. This would cause the generated library to
13997 # depend on `.', always an invalid library. This was fixed in
13998 # development snapshots of GCC prior to 3.0.
14000 aix4 | aix4.
[01] | aix4.
[01].
*)
14001 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14003 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14006 can_build_shared
=no
14010 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14011 # soname into executable. Probably we can add versioning support to
14012 # collect2, so additional links can be useful in future.
14013 if test "$aix_use_runtimelinking" = yes; then
14014 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14015 # instead of lib<name>.a to let people know that these are not
14016 # typical AIX shared libraries.
14017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14019 # We preserve .a as extension for shared libraries through AIX4.2
14020 # and later when we are not doing run time linking.
14021 library_names_spec
='${libname}${release}.a $libname.a'
14022 soname_spec
='${libname}${release}${shared_ext}$major'
14024 shlibpath_var
=LIBPATH
14031 # Since July 2007 AmigaOS4 officially supports .so libraries.
14032 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14036 library_names_spec
='$libname.ixlibrary $libname.a'
14037 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14038 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'
14044 library_names_spec
='${libname}${shared_ext}'
14045 dynamic_linker
="$host_os ld.so"
14046 shlibpath_var
=LIBRARY_PATH
14052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14053 soname_spec
='${libname}${release}${shared_ext}$major'
14054 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14055 shlibpath_var
=LD_LIBRARY_PATH
14056 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14057 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14058 # the default ld.so.conf also contains /usr/contrib/lib and
14059 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14060 # libtool to hard-code these into programs
14063 cygwin
* | mingw
* | pw32
* | cegcc
*)
14064 version_type
=windows
14069 case $GCC,$host_os in
14070 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14071 library_names_spec
='$libname.dll.a'
14072 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14073 postinstall_cmds
='base_file=`basename \${file}`~
14074 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14075 dldir=$destdir/`dirname \$dlpath`~
14076 test -d \$dldir || mkdir -p \$dldir~
14077 $install_prog $dir/$dlname \$dldir/$dlname~
14078 chmod a+x \$dldir/$dlname~
14079 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14080 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14082 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14083 dlpath=$dir/\$dldll~
14085 shlibpath_overrides_runpath
=yes
14089 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14090 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14094 # MinGW DLLs use traditional 'lib' prefix
14095 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14098 # pw32 DLLs use 'pw' prefix rather than 'lib'
14099 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14105 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14108 dynamic_linker
='Win32 ld.exe'
14109 # FIXME: first we should search . and the directory the executable is in
14113 darwin
* | rhapsody
*)
14114 dynamic_linker
="$host_os dyld"
14115 version_type
=darwin
14118 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14119 soname_spec
='${libname}${release}${major}$shared_ext'
14120 shlibpath_overrides_runpath
=yes
14121 shlibpath_var
=DYLD_LIBRARY_PATH
14122 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14124 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14132 soname_spec
='${libname}${release}${shared_ext}$major'
14133 shlibpath_var
=LD_LIBRARY_PATH
14140 freebsd
* | dragonfly
*)
14141 # DragonFly does not have aout. When/if they implement a new
14142 # versioning mechanism, adjust this.
14143 if test -x /usr
/bin
/objformat
; then
14144 objformat
=`/usr/bin/objformat`
14147 freebsd
[123]*) objformat
=aout
;;
14148 *) objformat
=elf
;;
14151 version_type
=freebsd-
$objformat
14152 case $version_type in
14154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14159 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14163 shlibpath_var
=LD_LIBRARY_PATH
14166 shlibpath_overrides_runpath
=yes
14168 freebsd3.
[01]* | freebsdelf3.
[01]*)
14169 shlibpath_overrides_runpath
=yes
14170 hardcode_into_libs
=yes
14172 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14173 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14174 shlibpath_overrides_runpath
=no
14175 hardcode_into_libs
=yes
14177 *) # from 4.6 on, and DragonFly
14178 shlibpath_overrides_runpath
=yes
14179 hardcode_into_libs
=yes
14188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14189 soname_spec
='${libname}${release}${shared_ext}$major'
14190 shlibpath_var
=LD_LIBRARY_PATH
14191 hardcode_into_libs
=yes
14198 dynamic_linker
="$host_os runtime_loader"
14199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14200 soname_spec
='${libname}${release}${shared_ext}$major'
14201 shlibpath_var
=LIBRARY_PATH
14202 shlibpath_overrides_runpath
=yes
14203 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14204 hardcode_into_libs
=yes
14207 hpux9
* | hpux10
* | hpux11
*)
14208 # Give a soname corresponding to the major version so that dld.sl refuses to
14209 # link against other versions.
14216 hardcode_into_libs
=yes
14217 dynamic_linker
="$host_os dld.so"
14218 shlibpath_var
=LD_LIBRARY_PATH
14219 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221 soname_spec
='${libname}${release}${shared_ext}$major'
14222 if test "X$HPUX_IA64_MODE" = X32
; then
14223 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14225 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14227 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14231 hardcode_into_libs
=yes
14232 dynamic_linker
="$host_os dld.sl"
14233 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14234 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14236 soname_spec
='${libname}${release}${shared_ext}$major'
14237 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14238 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14242 dynamic_linker
="$host_os dld.sl"
14243 shlibpath_var
=SHLIB_PATH
14244 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246 soname_spec
='${libname}${release}${shared_ext}$major'
14249 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14250 postinstall_cmds
='chmod 555 $lib'
14251 # or fails outright, so override atomically:
14252 install_override_mode
=555
14259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14260 soname_spec
='${libname}${release}${shared_ext}$major'
14261 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14262 shlibpath_var
=LD_LIBRARY_PATH
14263 shlibpath_overrides_runpath
=no
14264 hardcode_into_libs
=yes
14267 irix5
* | irix6
* | nonstopux
*)
14269 nonstopux
*) version_type
=nonstopux
;;
14271 if test "$lt_cv_prog_gnu_ld" = yes; then
14279 soname_spec
='${libname}${release}${shared_ext}$major'
14280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14282 irix5
* | nonstopux
*)
14283 libsuff
= shlibsuff
=
14286 case $LD in # libtool.m4 will add one of these switches to LD
14287 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14288 libsuff
= shlibsuff
= libmagic
=32-bit;;
14289 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14290 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14291 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14292 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14293 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14297 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14298 shlibpath_overrides_runpath
=no
14299 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14300 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14301 hardcode_into_libs
=yes
14304 # No shared lib support for Linux oldld, aout, or coff.
14305 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14309 # This must be Linux ELF.
14310 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14315 soname_spec
='${libname}${release}${shared_ext}$major'
14316 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14317 shlibpath_var
=LD_LIBRARY_PATH
14318 shlibpath_overrides_runpath
=no
14320 # Some binutils ld are patched to set DT_RUNPATH
14321 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14322 $as_echo_n "(cached) " >&6
14324 lt_cv_shlibpath_overrides_runpath
=no
14325 save_LDFLAGS
=$LDFLAGS
14326 save_libdir
=$libdir
14327 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14328 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14329 if test x
$gcc_no_link = xyes
; then
14330 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14332 cat > conftest.
$ac_ext <<_ACEOF
14337 if ac_fn_fc_try_link
"$LINENO"; then :
14338 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14339 lt_cv_shlibpath_overrides_runpath
=yes
14342 rm -f core conftest.err conftest.
$ac_objext \
14343 conftest
$ac_exeext conftest.
$ac_ext
14344 LDFLAGS
=$save_LDFLAGS
14345 libdir
=$save_libdir
14349 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14351 # This implies no fast_install, which is unacceptable.
14352 # Some rework will be needed to allow for fast_install
14353 # before this can be enabled.
14354 hardcode_into_libs
=yes
14356 # Append ld.so.conf contents to the search path
14357 if test -f /etc
/ld.so.conf
; then
14358 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' ' '`
14359 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14362 # We used to test for /lib/ld.so.1 and disable shared libraries on
14363 # powerpc, because MkLinux only supported shared libraries with the
14364 # GNU dynamic linker. Since this was broken with cross compilers,
14365 # most powerpc-linux boxes support dynamic linking these days and
14366 # people can always --disable-shared, the test was removed, and we
14367 # assume the GNU/Linux dynamic linker is in use.
14368 dynamic_linker
='GNU/Linux ld.so'
14375 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14378 dynamic_linker
='NetBSD (a.out) ld.so'
14380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14381 soname_spec
='${libname}${release}${shared_ext}$major'
14382 dynamic_linker
='NetBSD ld.elf_so'
14384 shlibpath_var
=LD_LIBRARY_PATH
14385 shlibpath_overrides_runpath
=yes
14386 hardcode_into_libs
=yes
14391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14392 shlibpath_var
=LD_LIBRARY_PATH
14393 shlibpath_overrides_runpath
=yes
14400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14401 soname_spec
='${libname}${release}${shared_ext}$major'
14402 shlibpath_var
=LD_LIBRARY_PATH
14403 shlibpath_overrides_runpath
=no
14404 hardcode_into_libs
=yes
14405 dynamic_linker
='ldqnx.so'
14410 sys_lib_dlsearch_path_spec
="/usr/lib"
14412 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14414 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14415 *) need_version
=no
;;
14417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14418 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14419 shlibpath_var
=LD_LIBRARY_PATH
14420 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14422 openbsd2.
[89] | openbsd2.
[89].
*)
14423 shlibpath_overrides_runpath
=no
14426 shlibpath_overrides_runpath
=yes
14430 shlibpath_overrides_runpath
=yes
14435 libname_spec
='$name'
14438 library_names_spec
='$libname${shared_ext} $libname.a'
14439 dynamic_linker
='OS/2 ld.exe'
14440 shlibpath_var
=LIBPATH
14443 osf3
* | osf4
* | osf5
*)
14447 soname_spec
='${libname}${release}${shared_ext}$major'
14448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14449 shlibpath_var
=LD_LIBRARY_PATH
14450 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14451 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14463 soname_spec
='${libname}${release}${shared_ext}$major'
14464 shlibpath_var
=LD_LIBRARY_PATH
14465 shlibpath_overrides_runpath
=yes
14466 hardcode_into_libs
=yes
14467 # ldd complains unless libraries are executable
14468 postinstall_cmds
='chmod +x $lib'
14473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14474 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14475 shlibpath_var
=LD_LIBRARY_PATH
14476 shlibpath_overrides_runpath
=yes
14477 if test "$with_gnu_ld" = yes; then
14485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14486 soname_spec
='${libname}${release}${shared_ext}$major'
14487 shlibpath_var
=LD_LIBRARY_PATH
14488 case $host_vendor in
14490 shlibpath_overrides_runpath
=no
14492 runpath_var
=LD_RUN_PATH
14500 shlibpath_overrides_runpath
=no
14501 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14507 if test -d /usr
/nec
;then
14509 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14510 soname_spec
='$libname${shared_ext}.$major'
14511 shlibpath_var
=LD_LIBRARY_PATH
14515 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14516 version_type
=freebsd-elf
14519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14520 soname_spec
='${libname}${release}${shared_ext}$major'
14521 shlibpath_var
=LD_LIBRARY_PATH
14522 shlibpath_overrides_runpath
=yes
14523 hardcode_into_libs
=yes
14524 if test "$with_gnu_ld" = yes; then
14525 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14527 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14530 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14534 sys_lib_dlsearch_path_spec
='/usr/lib'
14538 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14543 shlibpath_var
=LD_LIBRARY_PATH
14544 shlibpath_overrides_runpath
=no
14545 hardcode_into_libs
=yes
14550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14551 soname_spec
='${libname}${release}${shared_ext}$major'
14552 shlibpath_var
=LD_LIBRARY_PATH
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14560 $as_echo "$dynamic_linker" >&6; }
14561 test "$dynamic_linker" = no
&& can_build_shared
=no
14563 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14564 if test "$GCC" = yes; then
14565 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14568 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14569 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14571 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14572 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14613 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14614 hardcode_action_FC
=
14615 if test -n "$hardcode_libdir_flag_spec_FC" ||
14616 test -n "$runpath_var_FC" ||
14617 test "X$hardcode_automatic_FC" = "Xyes" ; then
14619 # We can hardcode non-existent directories.
14620 if test "$hardcode_direct_FC" != no
&&
14621 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14622 # have to relink, otherwise we might link with an installed library
14623 # when we should be linking with a yet-to-be-installed one
14624 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14625 test "$hardcode_minus_L_FC" != no
; then
14626 # Linking always hardcodes the temporary library directory.
14627 hardcode_action_FC
=relink
14629 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14630 hardcode_action_FC
=immediate
14633 # We cannot hardcode anything, or else we can only hardcode existing
14635 hardcode_action_FC
=unsupported
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14638 $as_echo "$hardcode_action_FC" >&6; }
14640 if test "$hardcode_action_FC" = relink ||
14641 test "$inherit_rpath_FC" = yes; then
14642 # Fast installation is not supported
14643 enable_fast_install
=no
14644 elif test "$shlibpath_overrides_runpath" = yes ||
14645 test "$enable_shared" = no
; then
14646 # Fast installation is not necessary
14647 enable_fast_install
=needless
14656 fi # test -n "$compiler"
14660 fi # test "$_lt_disable_FC" != yes
14663 ac_cpp
='$CPP $CPPFLAGS'
14664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14670 # extra LD Flags which are required for targets
14673 # Darwin needs -single_module when linking libgfortran
14674 extra_ldflags_libgfortran
=-Wl,-single_module
14679 # We need a working compiler at that point, otherwise give a clear
14680 # error message and bail out.
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14683 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14684 ac_ext
=${ac_fc_srcext-f}
14685 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14686 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14687 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
14689 cat > conftest.
$ac_ext <<_ACEOF
14692 real, parameter :: bar = sin (12.34 / 2.5)
14695 if ac_fn_fc_try_compile
"$LINENO"; then :
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14697 $as_echo "yes" >&6; }
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14700 $as_echo "no" >&6; }
14701 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14706 ac_cpp
='$CPP $CPPFLAGS'
14707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14713 # Check whether --enable-largefile was given.
14714 if test "${enable_largefile+set}" = set; then :
14715 enableval
=$enable_largefile;
14718 if test "$enable_largefile" != no
; then
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14721 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14722 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14723 $as_echo_n "(cached) " >&6
14725 ac_cv_sys_largefile_CC
=no
14726 if test "$GCC" != yes; then
14729 # IRIX 6.2 and later do not support large files by default,
14730 # so use the C compiler's -n32 option if that helps.
14731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14733 #include <sys/types.h>
14734 /* Check that off_t can represent 2**63 - 1 correctly.
14735 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14736 since some C++ compilers masquerading as C compilers
14737 incorrectly reject 9223372036854775807. */
14738 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14739 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14740 && LARGE_OFF_T % 2147483647 == 1)
14750 if ac_fn_c_try_compile
"$LINENO"; then :
14753 rm -f core conftest.err conftest.
$ac_objext
14755 if ac_fn_c_try_compile
"$LINENO"; then :
14756 ac_cv_sys_largefile_CC
=' -n32'; break
14758 rm -f core conftest.err conftest.
$ac_objext
14762 rm -f conftest.
$ac_ext
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14766 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14767 if test "$ac_cv_sys_largefile_CC" != no
; then
14768 CC
=$CC$ac_cv_sys_largefile_CC
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14772 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14773 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14774 $as_echo_n "(cached) " >&6
14777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 #include <sys/types.h>
14780 /* Check that off_t can represent 2**63 - 1 correctly.
14781 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14782 since some C++ compilers masquerading as C compilers
14783 incorrectly reject 9223372036854775807. */
14784 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14785 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14786 && LARGE_OFF_T % 2147483647 == 1)
14796 if ac_fn_c_try_compile
"$LINENO"; then :
14797 ac_cv_sys_file_offset_bits
=no
; break
14799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 #define _FILE_OFFSET_BITS 64
14803 #include <sys/types.h>
14804 /* Check that off_t can represent 2**63 - 1 correctly.
14805 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14806 since some C++ compilers masquerading as C compilers
14807 incorrectly reject 9223372036854775807. */
14808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14810 && LARGE_OFF_T % 2147483647 == 1)
14820 if ac_fn_c_try_compile
"$LINENO"; then :
14821 ac_cv_sys_file_offset_bits
=64; break
14823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14824 ac_cv_sys_file_offset_bits
=unknown
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14829 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14830 case $ac_cv_sys_file_offset_bits in #(
14833 cat >>confdefs.h
<<_ACEOF
14834 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14839 if test $ac_cv_sys_file_offset_bits = unknown
; then
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14841 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14842 if test "${ac_cv_sys_large_files+set}" = set; then :
14843 $as_echo_n "(cached) " >&6
14846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14848 #include <sys/types.h>
14849 /* Check that off_t can represent 2**63 - 1 correctly.
14850 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14851 since some C++ compilers masquerading as C compilers
14852 incorrectly reject 9223372036854775807. */
14853 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14854 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14855 && LARGE_OFF_T % 2147483647 == 1)
14865 if ac_fn_c_try_compile
"$LINENO"; then :
14866 ac_cv_sys_large_files
=no
; break
14868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14871 #define _LARGE_FILES 1
14872 #include <sys/types.h>
14873 /* Check that off_t can represent 2**63 - 1 correctly.
14874 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14875 since some C++ compilers masquerading as C compilers
14876 incorrectly reject 9223372036854775807. */
14877 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14878 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14879 && LARGE_OFF_T % 2147483647 == 1)
14889 if ac_fn_c_try_compile
"$LINENO"; then :
14890 ac_cv_sys_large_files
=1; break
14892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14893 ac_cv_sys_large_files
=unknown
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14898 $as_echo "$ac_cv_sys_large_files" >&6; }
14899 case $ac_cv_sys_large_files in #(
14902 cat >>confdefs.h
<<_ACEOF
14903 #define _LARGE_FILES $ac_cv_sys_large_files
14911 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14912 if test "x$ac_cv_type_off_t" = x
""yes; then :
14916 cat >>confdefs.h
<<_ACEOF
14917 #define off_t long int
14923 # check header files
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14925 $as_echo_n "checking for ANSI C header files... " >&6; }
14926 if test "${ac_cv_header_stdc+set}" = set; then :
14927 $as_echo_n "(cached) " >&6
14929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 #include <stdlib.h>
14932 #include <stdarg.h>
14933 #include <string.h>
14944 if ac_fn_c_try_compile
"$LINENO"; then :
14945 ac_cv_header_stdc
=yes
14947 ac_cv_header_stdc
=no
14949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14951 if test $ac_cv_header_stdc = yes; then
14952 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 #include <string.h>
14958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14959 $EGREP "memchr" >/dev
/null
2>&1; then :
14962 ac_cv_header_stdc
=no
14968 if test $ac_cv_header_stdc = yes; then
14969 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14972 #include <stdlib.h>
14975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14976 $EGREP "free" >/dev
/null
2>&1; then :
14979 ac_cv_header_stdc
=no
14985 if test $ac_cv_header_stdc = yes; then
14986 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14987 if test "$cross_compiling" = yes; then :
14990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14993 #include <stdlib.h>
14994 #if ((' ' & 0x0FF) == 0x020)
14995 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14996 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14998 # define ISLOWER(c) \
14999 (('a' <= (c) && (c) <= 'i') \
15000 || ('j' <= (c) && (c) <= 'r') \
15001 || ('s' <= (c) && (c) <= 'z'))
15002 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15005 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15010 for (i = 0; i < 256; i++)
15011 if (XOR (islower (i), ISLOWER (i))
15012 || toupper (i) != TOUPPER (i))
15017 if ac_fn_c_try_run
"$LINENO"; then :
15020 ac_cv_header_stdc
=no
15022 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15023 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15029 $as_echo "$ac_cv_header_stdc" >&6; }
15030 if test $ac_cv_header_stdc = yes; then
15032 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15037 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15038 if test "${ac_cv_header_time+set}" = set; then :
15039 $as_echo_n "(cached) " >&6
15041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15043 #include <sys/types.h>
15044 #include <sys/time.h>
15050 if ((struct tm *) 0)
15056 if ac_fn_c_try_compile
"$LINENO"; then :
15057 ac_cv_header_time
=yes
15059 ac_cv_header_time
=no
15061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15064 $as_echo "$ac_cv_header_time" >&6; }
15065 if test $ac_cv_header_time = yes; then
15067 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15071 for ac_header
in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15073 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15074 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15075 eval as_val
=\$
$as_ac_Header
15076 if test "x$as_val" = x
""yes; then :
15077 cat >>confdefs.h
<<_ACEOF
15078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15085 for ac_header
in time.h sys
/time.h sys
/times.h sys
/resource.h
15087 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15088 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15089 eval as_val
=\$
$as_ac_Header
15090 if test "x$as_val" = x
""yes; then :
15091 cat >>confdefs.h
<<_ACEOF
15092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15099 for ac_header
in sys
/types.h sys
/stat.h sys
/wait.h floatingpoint.h ieeefp.h
15101 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15102 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15103 eval as_val
=\$
$as_ac_Header
15104 if test "x$as_val" = x
""yes; then :
15105 cat >>confdefs.h
<<_ACEOF
15106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15113 for ac_header
in fenv.h fptrap.h float.h execinfo.h
pwd.h
15115 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15116 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15117 eval as_val
=\$
$as_ac_Header
15118 if test "x$as_val" = x
""yes; then :
15119 cat >>confdefs.h
<<_ACEOF
15120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15127 ac_fn_c_check_header_mongrel
"$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15128 if test "x$ac_cv_header_complex_h" = x
""yes; then :
15130 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15137 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15139 acx_cv_header_stdint
=stddef.h
15140 acx_cv_header_stdint_kind
="(already complete)"
15141 for i
in stdint.h
$inttype_headers; do
15142 unset ac_cv_type_uintptr_t
15143 unset ac_cv_type_uintmax_t
15144 unset ac_cv_type_int_least32_t
15145 unset ac_cv_type_int_fast32_t
15146 unset ac_cv_type_uint64_t
15147 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15148 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15151 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15152 acx_cv_header_stdint
=$i
15157 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15160 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15163 acx_cv_header_stdint_kind
="(mostly complete)"
15166 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15169 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15172 acx_cv_header_stdint_kind
="(mostly complete)"
15175 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15178 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15181 acx_cv_header_stdint_kind
="(mostly complete)"
15184 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15187 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15190 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15195 if test "$acx_cv_header_stdint" = stddef.h
; then
15196 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15197 for i
in stdint.h
$inttype_headers; do
15198 unset ac_cv_type_uintptr_t
15199 unset ac_cv_type_uint32_t
15200 unset ac_cv_type_uint64_t
15201 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15202 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15205 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15206 acx_cv_header_stdint
=$i
15211 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15214 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15218 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15221 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15228 if test "$acx_cv_header_stdint" = stddef.h
; then
15229 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15230 for i
in sys
/types.h
$inttype_headers; do
15231 unset ac_cv_type_u_int32_t
15232 unset ac_cv_type_u_int64_t
15233 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15234 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15237 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15238 acx_cv_header_stdint
=$i
15243 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15246 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15253 if test "$acx_cv_header_stdint" = stddef.h
; then
15254 acx_cv_header_stdint_kind
="(using manual detection)"
15257 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15258 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15259 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15260 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15261 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15263 # ----------------- Summarize what we found so far
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15266 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15268 case `$as_basename -- gstdint.h ||
15269 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15270 Xgstdint.h : 'X\(//\)$' \| \
15271 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15272 $as_echo X/gstdint.h |
15273 sed '/^.*\/\([^/][^/]*\)\/*$/{
15286 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15287 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15288 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15289 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15294 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15296 # ----------------- done included file, check C basic types --------
15298 # Lacking an uintptr_t? Test size of void *
15299 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15300 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15303 # This bug is HP SR number 8606223364.
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15305 $as_echo_n "checking size of void *... " >&6; }
15306 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15307 $as_echo_n "(cached) " >&6
15309 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15312 if test "$ac_cv_type_void_p" = yes; then
15313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15315 { as_fn_set_status
77
15316 as_fn_error
"cannot compute sizeof (void *)
15317 See \`config.log' for more details." "$LINENO" 5; }; }
15319 ac_cv_sizeof_void_p
=0
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15325 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15329 cat >>confdefs.h
<<_ACEOF
15330 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15336 # Lacking an uint64_t? Test size of long
15337 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15338 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15341 # This bug is HP SR number 8606223364.
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15343 $as_echo_n "checking size of long... " >&6; }
15344 if test "${ac_cv_sizeof_long+set}" = set; then :
15345 $as_echo_n "(cached) " >&6
15347 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15350 if test "$ac_cv_type_long" = yes; then
15351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15353 { as_fn_set_status
77
15354 as_fn_error
"cannot compute sizeof (long)
15355 See \`config.log' for more details." "$LINENO" 5; }; }
15357 ac_cv_sizeof_long
=0
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15363 $as_echo "$ac_cv_sizeof_long" >&6; }
15367 cat >>confdefs.h
<<_ACEOF
15368 #define SIZEOF_LONG $ac_cv_sizeof_long
15374 if test $acx_cv_header_stdint = stddef.h
; then
15375 # Lacking a good header? Test size of everything and deduce all types.
15376 # The cast to long int works around a bug in the HP C Compiler
15377 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15378 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15379 # This bug is HP SR number 8606223364.
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15381 $as_echo_n "checking size of int... " >&6; }
15382 if test "${ac_cv_sizeof_int+set}" = set; then :
15383 $as_echo_n "(cached) " >&6
15385 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15388 if test "$ac_cv_type_int" = yes; then
15389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15391 { as_fn_set_status
77
15392 as_fn_error
"cannot compute sizeof (int)
15393 See \`config.log' for more details." "$LINENO" 5; }; }
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15401 $as_echo "$ac_cv_sizeof_int" >&6; }
15405 cat >>confdefs.h
<<_ACEOF
15406 #define SIZEOF_INT $ac_cv_sizeof_int
15410 # The cast to long int works around a bug in the HP C Compiler
15411 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15412 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15413 # This bug is HP SR number 8606223364.
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15415 $as_echo_n "checking size of short... " >&6; }
15416 if test "${ac_cv_sizeof_short+set}" = set; then :
15417 $as_echo_n "(cached) " >&6
15419 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15422 if test "$ac_cv_type_short" = yes; then
15423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15425 { as_fn_set_status
77
15426 as_fn_error
"cannot compute sizeof (short)
15427 See \`config.log' for more details." "$LINENO" 5; }; }
15429 ac_cv_sizeof_short
=0
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15435 $as_echo "$ac_cv_sizeof_short" >&6; }
15439 cat >>confdefs.h
<<_ACEOF
15440 #define SIZEOF_SHORT $ac_cv_sizeof_short
15444 # The cast to long int works around a bug in the HP C Compiler
15445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15447 # This bug is HP SR number 8606223364.
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15449 $as_echo_n "checking size of char... " >&6; }
15450 if test "${ac_cv_sizeof_char+set}" = set; then :
15451 $as_echo_n "(cached) " >&6
15453 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15456 if test "$ac_cv_type_char" = yes; then
15457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15459 { as_fn_set_status
77
15460 as_fn_error
"cannot compute sizeof (char)
15461 See \`config.log' for more details." "$LINENO" 5; }; }
15463 ac_cv_sizeof_char
=0
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15469 $as_echo "$ac_cv_sizeof_char" >&6; }
15473 cat >>confdefs.h
<<_ACEOF
15474 #define SIZEOF_CHAR $ac_cv_sizeof_char
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15480 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15481 case "$ac_cv_sizeof_char" in
15482 1) acx_cv_type_int8_t
=char
;;
15483 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15486 $as_echo "$acx_cv_type_int8_t" >&6; }
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15489 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15490 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15491 2:*) acx_cv_type_int16_t
=int
;;
15492 *:2) acx_cv_type_int16_t
=short
;;
15493 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15496 $as_echo "$acx_cv_type_int16_t" >&6; }
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15499 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15500 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15501 4:*) acx_cv_type_int32_t
=int
;;
15502 *:4) acx_cv_type_int32_t
=long
;;
15503 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15506 $as_echo "$acx_cv_type_int32_t" >&6; }
15509 # These tests are here to make the output prettier
15511 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15512 case "$ac_cv_sizeof_long" in
15513 8) acx_cv_type_int64_t
=long
;;
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15516 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15518 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15521 # Now we can use the above types
15523 if test "$ac_cv_type_uintptr_t" != yes; then
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15525 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15526 case $ac_cv_sizeof_void_p in
15527 2) acx_cv_type_intptr_t
=int16_t
;;
15528 4) acx_cv_type_intptr_t
=int32_t
;;
15529 8) acx_cv_type_intptr_t
=int64_t
;;
15530 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15533 $as_echo "$acx_cv_type_intptr_t" >&6; }
15536 # ----------------- done all checks, emit header -------------
15537 ac_config_commands
="$ac_config_commands gstdint.h"
15542 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15543 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
15545 cat >>confdefs.h
<<_ACEOF
15546 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15552 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15553 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
15555 cat >>confdefs.h
<<_ACEOF
15556 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15562 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15563 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
15565 cat >>confdefs.h
<<_ACEOF
15566 #define HAVE_STRUCT_STAT_ST_RDEV 1
15573 # Check for library functions.
15574 for ac_func
in getrusage
times mkstemp strtof strtold snprintf ftruncate chsize
15576 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15577 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15578 eval as_val
=\$
$as_ac_var
15579 if test "x$as_val" = x
""yes; then :
15580 cat >>confdefs.h
<<_ACEOF
15581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15587 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
15589 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15590 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15591 eval as_val
=\$
$as_ac_var
15592 if test "x$as_val" = x
""yes; then :
15593 cat >>confdefs.h
<<_ACEOF
15594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15600 for ac_func
in sleep time ttyname signal alarm ctime
clock access fork execl
15602 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15603 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15604 eval as_val
=\$
$as_ac_var
15605 if test "x$as_val" = x
""yes; then :
15606 cat >>confdefs.h
<<_ACEOF
15607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15613 for ac_func
in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15615 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15616 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15617 eval as_val
=\$
$as_ac_var
15618 if test "x$as_val" = x
""yes; then :
15619 cat >>confdefs.h
<<_ACEOF
15620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15626 for ac_func
in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15628 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15629 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15630 eval as_val
=\$
$as_ac_var
15631 if test "x$as_val" = x
""yes; then :
15632 cat >>confdefs.h
<<_ACEOF
15633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15639 for ac_func
in localtime_r gmtime_r
15641 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15642 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15643 eval as_val
=\$
$as_ac_var
15644 if test "x$as_val" = x
""yes; then :
15645 cat >>confdefs.h
<<_ACEOF
15646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15653 # Check for glibc backtrace functions
15654 for ac_func
in backtrace backtrace_symbols
15656 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15657 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15658 eval as_val
=\$
$as_ac_var
15659 if test "x$as_val" = x
""yes; then :
15660 cat >>confdefs.h
<<_ACEOF
15661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15669 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15670 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15672 cat >>confdefs.h
<<_ACEOF
15673 #define HAVE_INTPTR_T 1
15679 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15680 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15682 cat >>confdefs.h
<<_ACEOF
15683 #define HAVE_UINTPTR_T 1
15690 # Check libc for getgid, getpid, getuid
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15692 $as_echo_n "checking for getgid in -lc... " >&6; }
15693 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15694 $as_echo_n "(cached) " >&6
15696 ac_check_lib_save_LIBS
=$LIBS
15698 if test x
$gcc_no_link = xyes
; then
15699 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15704 /* Override any GCC internal prototype to avoid an error.
15705 Use char because int might match the return type of a GCC
15706 builtin and then its argument prototype would still apply. */
15719 if ac_fn_c_try_link
"$LINENO"; then :
15720 ac_cv_lib_c_getgid
=yes
15722 ac_cv_lib_c_getgid
=no
15724 rm -f core conftest.err conftest.
$ac_objext \
15725 conftest
$ac_exeext conftest.
$ac_ext
15726 LIBS
=$ac_check_lib_save_LIBS
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15729 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15730 if test "x$ac_cv_lib_c_getgid" = x
""yes; then :
15732 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15737 $as_echo_n "checking for getpid in -lc... " >&6; }
15738 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15739 $as_echo_n "(cached) " >&6
15741 ac_check_lib_save_LIBS
=$LIBS
15743 if test x
$gcc_no_link = xyes
; then
15744 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h. */
15749 /* Override any GCC internal prototype to avoid an error.
15750 Use char because int might match the return type of a GCC
15751 builtin and then its argument prototype would still apply. */
15764 if ac_fn_c_try_link
"$LINENO"; then :
15765 ac_cv_lib_c_getpid
=yes
15767 ac_cv_lib_c_getpid
=no
15769 rm -f core conftest.err conftest.
$ac_objext \
15770 conftest
$ac_exeext conftest.
$ac_ext
15771 LIBS
=$ac_check_lib_save_LIBS
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15774 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15775 if test "x$ac_cv_lib_c_getpid" = x
""yes; then :
15777 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15782 $as_echo_n "checking for getppid in -lc... " >&6; }
15783 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15784 $as_echo_n "(cached) " >&6
15786 ac_check_lib_save_LIBS
=$LIBS
15788 if test x
$gcc_no_link = xyes
; then
15789 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15809 if ac_fn_c_try_link
"$LINENO"; then :
15810 ac_cv_lib_c_getppid
=yes
15812 ac_cv_lib_c_getppid
=no
15814 rm -f core conftest.err conftest.
$ac_objext \
15815 conftest
$ac_exeext conftest.
$ac_ext
15816 LIBS
=$ac_check_lib_save_LIBS
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15819 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15820 if test "x$ac_cv_lib_c_getppid" = x
""yes; then :
15822 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15827 $as_echo_n "checking for getuid in -lc... " >&6; }
15828 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15829 $as_echo_n "(cached) " >&6
15831 ac_check_lib_save_LIBS
=$LIBS
15833 if test x
$gcc_no_link = xyes
; then
15834 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15854 if ac_fn_c_try_link
"$LINENO"; then :
15855 ac_cv_lib_c_getuid
=yes
15857 ac_cv_lib_c_getuid
=no
15859 rm -f core conftest.err conftest.
$ac_objext \
15860 conftest
$ac_exeext conftest.
$ac_ext
15861 LIBS
=$ac_check_lib_save_LIBS
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15864 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15865 if test "x$ac_cv_lib_c_getuid" = x
""yes; then :
15867 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15872 $as_echo_n "checking for geteuid in -lc... " >&6; }
15873 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15874 $as_echo_n "(cached) " >&6
15876 ac_check_lib_save_LIBS
=$LIBS
15878 if test x
$gcc_no_link = xyes
; then
15879 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h. */
15884 /* Override any GCC internal prototype to avoid an error.
15885 Use char because int might match the return type of a GCC
15886 builtin and then its argument prototype would still apply. */
15899 if ac_fn_c_try_link
"$LINENO"; then :
15900 ac_cv_lib_c_geteuid
=yes
15902 ac_cv_lib_c_geteuid
=no
15904 rm -f core conftest.err conftest.
$ac_objext \
15905 conftest
$ac_exeext conftest.
$ac_ext
15906 LIBS
=$ac_check_lib_save_LIBS
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15909 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15910 if test "x$ac_cv_lib_c_geteuid" = x
""yes; then :
15912 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15917 # Check for C99 (and other IEEE) math functions
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15919 $as_echo_n "checking for acosf in -lm... " >&6; }
15920 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15921 $as_echo_n "(cached) " >&6
15923 ac_check_lib_save_LIBS
=$LIBS
15925 if test x
$gcc_no_link = xyes
; then
15926 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h. */
15931 /* Override any GCC internal prototype to avoid an error.
15932 Use char because int might match the return type of a GCC
15933 builtin and then its argument prototype would still apply. */
15946 if ac_fn_c_try_link
"$LINENO"; then :
15947 ac_cv_lib_m_acosf
=yes
15949 ac_cv_lib_m_acosf
=no
15951 rm -f core conftest.err conftest.
$ac_objext \
15952 conftest
$ac_exeext conftest.
$ac_ext
15953 LIBS
=$ac_check_lib_save_LIBS
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15956 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15957 if test "x$ac_cv_lib_m_acosf" = x
""yes; then :
15959 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15964 $as_echo_n "checking for acos in -lm... " >&6; }
15965 if test "${ac_cv_lib_m_acos+set}" = set; then :
15966 $as_echo_n "(cached) " >&6
15968 ac_check_lib_save_LIBS
=$LIBS
15970 if test x
$gcc_no_link = xyes
; then
15971 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15976 /* Override any GCC internal prototype to avoid an error.
15977 Use char because int might match the return type of a GCC
15978 builtin and then its argument prototype would still apply. */
15991 if ac_fn_c_try_link
"$LINENO"; then :
15992 ac_cv_lib_m_acos
=yes
15994 ac_cv_lib_m_acos
=no
15996 rm -f core conftest.err conftest.
$ac_objext \
15997 conftest
$ac_exeext conftest.
$ac_ext
15998 LIBS
=$ac_check_lib_save_LIBS
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16001 $as_echo "$ac_cv_lib_m_acos" >&6; }
16002 if test "x$ac_cv_lib_m_acos" = x
""yes; then :
16004 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16009 $as_echo_n "checking for acosl in -lm... " >&6; }
16010 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16011 $as_echo_n "(cached) " >&6
16013 ac_check_lib_save_LIBS
=$LIBS
16015 if test x
$gcc_no_link = xyes
; then
16016 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16019 /* end confdefs.h. */
16021 /* Override any GCC internal prototype to avoid an error.
16022 Use char because int might match the return type of a GCC
16023 builtin and then its argument prototype would still apply. */
16036 if ac_fn_c_try_link
"$LINENO"; then :
16037 ac_cv_lib_m_acosl
=yes
16039 ac_cv_lib_m_acosl
=no
16041 rm -f core conftest.err conftest.
$ac_objext \
16042 conftest
$ac_exeext conftest.
$ac_ext
16043 LIBS
=$ac_check_lib_save_LIBS
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16046 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16047 if test "x$ac_cv_lib_m_acosl" = x
""yes; then :
16049 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16054 $as_echo_n "checking for acoshf in -lm... " >&6; }
16055 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16056 $as_echo_n "(cached) " >&6
16058 ac_check_lib_save_LIBS
=$LIBS
16060 if test x
$gcc_no_link = xyes
; then
16061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h. */
16066 /* Override any GCC internal prototype to avoid an error.
16067 Use char because int might match the return type of a GCC
16068 builtin and then its argument prototype would still apply. */
16081 if ac_fn_c_try_link
"$LINENO"; then :
16082 ac_cv_lib_m_acoshf
=yes
16084 ac_cv_lib_m_acoshf
=no
16086 rm -f core conftest.err conftest.
$ac_objext \
16087 conftest
$ac_exeext conftest.
$ac_ext
16088 LIBS
=$ac_check_lib_save_LIBS
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16091 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16092 if test "x$ac_cv_lib_m_acoshf" = x
""yes; then :
16094 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16099 $as_echo_n "checking for acosh in -lm... " >&6; }
16100 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16101 $as_echo_n "(cached) " >&6
16103 ac_check_lib_save_LIBS
=$LIBS
16105 if test x
$gcc_no_link = xyes
; then
16106 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16126 if ac_fn_c_try_link
"$LINENO"; then :
16127 ac_cv_lib_m_acosh
=yes
16129 ac_cv_lib_m_acosh
=no
16131 rm -f core conftest.err conftest.
$ac_objext \
16132 conftest
$ac_exeext conftest.
$ac_ext
16133 LIBS
=$ac_check_lib_save_LIBS
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16136 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16137 if test "x$ac_cv_lib_m_acosh" = x
""yes; then :
16139 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16144 $as_echo_n "checking for acoshl in -lm... " >&6; }
16145 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16146 $as_echo_n "(cached) " >&6
16148 ac_check_lib_save_LIBS
=$LIBS
16150 if test x
$gcc_no_link = xyes
; then
16151 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16171 if ac_fn_c_try_link
"$LINENO"; then :
16172 ac_cv_lib_m_acoshl
=yes
16174 ac_cv_lib_m_acoshl
=no
16176 rm -f core conftest.err conftest.
$ac_objext \
16177 conftest
$ac_exeext conftest.
$ac_ext
16178 LIBS
=$ac_check_lib_save_LIBS
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16181 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16182 if test "x$ac_cv_lib_m_acoshl" = x
""yes; then :
16184 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16189 $as_echo_n "checking for asinf in -lm... " >&6; }
16190 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16191 $as_echo_n "(cached) " >&6
16193 ac_check_lib_save_LIBS
=$LIBS
16195 if test x
$gcc_no_link = xyes
; then
16196 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16201 /* Override any GCC internal prototype to avoid an error.
16202 Use char because int might match the return type of a GCC
16203 builtin and then its argument prototype would still apply. */
16216 if ac_fn_c_try_link
"$LINENO"; then :
16217 ac_cv_lib_m_asinf
=yes
16219 ac_cv_lib_m_asinf
=no
16221 rm -f core conftest.err conftest.
$ac_objext \
16222 conftest
$ac_exeext conftest.
$ac_ext
16223 LIBS
=$ac_check_lib_save_LIBS
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16226 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16227 if test "x$ac_cv_lib_m_asinf" = x
""yes; then :
16229 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16234 $as_echo_n "checking for asin in -lm... " >&6; }
16235 if test "${ac_cv_lib_m_asin+set}" = set; then :
16236 $as_echo_n "(cached) " >&6
16238 ac_check_lib_save_LIBS
=$LIBS
16240 if test x
$gcc_no_link = xyes
; then
16241 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16246 /* Override any GCC internal prototype to avoid an error.
16247 Use char because int might match the return type of a GCC
16248 builtin and then its argument prototype would still apply. */
16261 if ac_fn_c_try_link
"$LINENO"; then :
16262 ac_cv_lib_m_asin
=yes
16264 ac_cv_lib_m_asin
=no
16266 rm -f core conftest.err conftest.
$ac_objext \
16267 conftest
$ac_exeext conftest.
$ac_ext
16268 LIBS
=$ac_check_lib_save_LIBS
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16271 $as_echo "$ac_cv_lib_m_asin" >&6; }
16272 if test "x$ac_cv_lib_m_asin" = x
""yes; then :
16274 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16279 $as_echo_n "checking for asinl in -lm... " >&6; }
16280 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16281 $as_echo_n "(cached) " >&6
16283 ac_check_lib_save_LIBS
=$LIBS
16285 if test x
$gcc_no_link = xyes
; then
16286 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16291 /* Override any GCC internal prototype to avoid an error.
16292 Use char because int might match the return type of a GCC
16293 builtin and then its argument prototype would still apply. */
16306 if ac_fn_c_try_link
"$LINENO"; then :
16307 ac_cv_lib_m_asinl
=yes
16309 ac_cv_lib_m_asinl
=no
16311 rm -f core conftest.err conftest.
$ac_objext \
16312 conftest
$ac_exeext conftest.
$ac_ext
16313 LIBS
=$ac_check_lib_save_LIBS
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16316 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16317 if test "x$ac_cv_lib_m_asinl" = x
""yes; then :
16319 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16324 $as_echo_n "checking for asinhf in -lm... " >&6; }
16325 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16326 $as_echo_n "(cached) " >&6
16328 ac_check_lib_save_LIBS
=$LIBS
16330 if test x
$gcc_no_link = xyes
; then
16331 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16351 if ac_fn_c_try_link
"$LINENO"; then :
16352 ac_cv_lib_m_asinhf
=yes
16354 ac_cv_lib_m_asinhf
=no
16356 rm -f core conftest.err conftest.
$ac_objext \
16357 conftest
$ac_exeext conftest.
$ac_ext
16358 LIBS
=$ac_check_lib_save_LIBS
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16361 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16362 if test "x$ac_cv_lib_m_asinhf" = x
""yes; then :
16364 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16369 $as_echo_n "checking for asinh in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16371 $as_echo_n "(cached) " >&6
16373 ac_check_lib_save_LIBS
=$LIBS
16375 if test x
$gcc_no_link = xyes
; then
16376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16396 if ac_fn_c_try_link
"$LINENO"; then :
16397 ac_cv_lib_m_asinh
=yes
16399 ac_cv_lib_m_asinh
=no
16401 rm -f core conftest.err conftest.
$ac_objext \
16402 conftest
$ac_exeext conftest.
$ac_ext
16403 LIBS
=$ac_check_lib_save_LIBS
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16406 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16407 if test "x$ac_cv_lib_m_asinh" = x
""yes; then :
16409 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16414 $as_echo_n "checking for asinhl in -lm... " >&6; }
16415 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16416 $as_echo_n "(cached) " >&6
16418 ac_check_lib_save_LIBS
=$LIBS
16420 if test x
$gcc_no_link = xyes
; then
16421 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16426 /* Override any GCC internal prototype to avoid an error.
16427 Use char because int might match the return type of a GCC
16428 builtin and then its argument prototype would still apply. */
16441 if ac_fn_c_try_link
"$LINENO"; then :
16442 ac_cv_lib_m_asinhl
=yes
16444 ac_cv_lib_m_asinhl
=no
16446 rm -f core conftest.err conftest.
$ac_objext \
16447 conftest
$ac_exeext conftest.
$ac_ext
16448 LIBS
=$ac_check_lib_save_LIBS
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16451 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16452 if test "x$ac_cv_lib_m_asinhl" = x
""yes; then :
16454 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16459 $as_echo_n "checking for atan2f in -lm... " >&6; }
16460 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16461 $as_echo_n "(cached) " >&6
16463 ac_check_lib_save_LIBS
=$LIBS
16465 if test x
$gcc_no_link = xyes
; then
16466 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16471 /* Override any GCC internal prototype to avoid an error.
16472 Use char because int might match the return type of a GCC
16473 builtin and then its argument prototype would still apply. */
16486 if ac_fn_c_try_link
"$LINENO"; then :
16487 ac_cv_lib_m_atan2f
=yes
16489 ac_cv_lib_m_atan2f
=no
16491 rm -f core conftest.err conftest.
$ac_objext \
16492 conftest
$ac_exeext conftest.
$ac_ext
16493 LIBS
=$ac_check_lib_save_LIBS
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16496 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16497 if test "x$ac_cv_lib_m_atan2f" = x
""yes; then :
16499 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16504 $as_echo_n "checking for atan2 in -lm... " >&6; }
16505 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16506 $as_echo_n "(cached) " >&6
16508 ac_check_lib_save_LIBS
=$LIBS
16510 if test x
$gcc_no_link = xyes
; then
16511 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16531 if ac_fn_c_try_link
"$LINENO"; then :
16532 ac_cv_lib_m_atan2
=yes
16534 ac_cv_lib_m_atan2
=no
16536 rm -f core conftest.err conftest.
$ac_objext \
16537 conftest
$ac_exeext conftest.
$ac_ext
16538 LIBS
=$ac_check_lib_save_LIBS
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16541 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16542 if test "x$ac_cv_lib_m_atan2" = x
""yes; then :
16544 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16549 $as_echo_n "checking for atan2l in -lm... " >&6; }
16550 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16551 $as_echo_n "(cached) " >&6
16553 ac_check_lib_save_LIBS
=$LIBS
16555 if test x
$gcc_no_link = xyes
; then
16556 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h. */
16561 /* Override any GCC internal prototype to avoid an error.
16562 Use char because int might match the return type of a GCC
16563 builtin and then its argument prototype would still apply. */
16576 if ac_fn_c_try_link
"$LINENO"; then :
16577 ac_cv_lib_m_atan2l
=yes
16579 ac_cv_lib_m_atan2l
=no
16581 rm -f core conftest.err conftest.
$ac_objext \
16582 conftest
$ac_exeext conftest.
$ac_ext
16583 LIBS
=$ac_check_lib_save_LIBS
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16586 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16587 if test "x$ac_cv_lib_m_atan2l" = x
""yes; then :
16589 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16594 $as_echo_n "checking for atanf in -lm... " >&6; }
16595 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16598 ac_check_lib_save_LIBS
=$LIBS
16600 if test x
$gcc_no_link = xyes
; then
16601 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16621 if ac_fn_c_try_link
"$LINENO"; then :
16622 ac_cv_lib_m_atanf
=yes
16624 ac_cv_lib_m_atanf
=no
16626 rm -f core conftest.err conftest.
$ac_objext \
16627 conftest
$ac_exeext conftest.
$ac_ext
16628 LIBS
=$ac_check_lib_save_LIBS
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16631 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16632 if test "x$ac_cv_lib_m_atanf" = x
""yes; then :
16634 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16639 $as_echo_n "checking for atan in -lm... " >&6; }
16640 if test "${ac_cv_lib_m_atan+set}" = set; then :
16641 $as_echo_n "(cached) " >&6
16643 ac_check_lib_save_LIBS
=$LIBS
16645 if test x
$gcc_no_link = xyes
; then
16646 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16651 /* Override any GCC internal prototype to avoid an error.
16652 Use char because int might match the return type of a GCC
16653 builtin and then its argument prototype would still apply. */
16666 if ac_fn_c_try_link
"$LINENO"; then :
16667 ac_cv_lib_m_atan
=yes
16669 ac_cv_lib_m_atan
=no
16671 rm -f core conftest.err conftest.
$ac_objext \
16672 conftest
$ac_exeext conftest.
$ac_ext
16673 LIBS
=$ac_check_lib_save_LIBS
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16676 $as_echo "$ac_cv_lib_m_atan" >&6; }
16677 if test "x$ac_cv_lib_m_atan" = x
""yes; then :
16679 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16684 $as_echo_n "checking for atanl in -lm... " >&6; }
16685 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16686 $as_echo_n "(cached) " >&6
16688 ac_check_lib_save_LIBS
=$LIBS
16690 if test x
$gcc_no_link = xyes
; then
16691 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16696 /* Override any GCC internal prototype to avoid an error.
16697 Use char because int might match the return type of a GCC
16698 builtin and then its argument prototype would still apply. */
16711 if ac_fn_c_try_link
"$LINENO"; then :
16712 ac_cv_lib_m_atanl
=yes
16714 ac_cv_lib_m_atanl
=no
16716 rm -f core conftest.err conftest.
$ac_objext \
16717 conftest
$ac_exeext conftest.
$ac_ext
16718 LIBS
=$ac_check_lib_save_LIBS
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16721 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16722 if test "x$ac_cv_lib_m_atanl" = x
""yes; then :
16724 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16729 $as_echo_n "checking for atanhf in -lm... " >&6; }
16730 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16731 $as_echo_n "(cached) " >&6
16733 ac_check_lib_save_LIBS
=$LIBS
16735 if test x
$gcc_no_link = xyes
; then
16736 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16741 /* Override any GCC internal prototype to avoid an error.
16742 Use char because int might match the return type of a GCC
16743 builtin and then its argument prototype would still apply. */
16756 if ac_fn_c_try_link
"$LINENO"; then :
16757 ac_cv_lib_m_atanhf
=yes
16759 ac_cv_lib_m_atanhf
=no
16761 rm -f core conftest.err conftest.
$ac_objext \
16762 conftest
$ac_exeext conftest.
$ac_ext
16763 LIBS
=$ac_check_lib_save_LIBS
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16766 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16767 if test "x$ac_cv_lib_m_atanhf" = x
""yes; then :
16769 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16774 $as_echo_n "checking for atanh in -lm... " >&6; }
16775 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16776 $as_echo_n "(cached) " >&6
16778 ac_check_lib_save_LIBS
=$LIBS
16780 if test x
$gcc_no_link = xyes
; then
16781 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16786 /* Override any GCC internal prototype to avoid an error.
16787 Use char because int might match the return type of a GCC
16788 builtin and then its argument prototype would still apply. */
16801 if ac_fn_c_try_link
"$LINENO"; then :
16802 ac_cv_lib_m_atanh
=yes
16804 ac_cv_lib_m_atanh
=no
16806 rm -f core conftest.err conftest.
$ac_objext \
16807 conftest
$ac_exeext conftest.
$ac_ext
16808 LIBS
=$ac_check_lib_save_LIBS
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16811 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16812 if test "x$ac_cv_lib_m_atanh" = x
""yes; then :
16814 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16819 $as_echo_n "checking for atanhl in -lm... " >&6; }
16820 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16821 $as_echo_n "(cached) " >&6
16823 ac_check_lib_save_LIBS
=$LIBS
16825 if test x
$gcc_no_link = xyes
; then
16826 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16831 /* Override any GCC internal prototype to avoid an error.
16832 Use char because int might match the return type of a GCC
16833 builtin and then its argument prototype would still apply. */
16846 if ac_fn_c_try_link
"$LINENO"; then :
16847 ac_cv_lib_m_atanhl
=yes
16849 ac_cv_lib_m_atanhl
=no
16851 rm -f core conftest.err conftest.
$ac_objext \
16852 conftest
$ac_exeext conftest.
$ac_ext
16853 LIBS
=$ac_check_lib_save_LIBS
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16856 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16857 if test "x$ac_cv_lib_m_atanhl" = x
""yes; then :
16859 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16864 $as_echo_n "checking for cargf in -lm... " >&6; }
16865 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16866 $as_echo_n "(cached) " >&6
16868 ac_check_lib_save_LIBS
=$LIBS
16870 if test x
$gcc_no_link = xyes
; then
16871 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h. */
16876 /* Override any GCC internal prototype to avoid an error.
16877 Use char because int might match the return type of a GCC
16878 builtin and then its argument prototype would still apply. */
16891 if ac_fn_c_try_link
"$LINENO"; then :
16892 ac_cv_lib_m_cargf
=yes
16894 ac_cv_lib_m_cargf
=no
16896 rm -f core conftest.err conftest.
$ac_objext \
16897 conftest
$ac_exeext conftest.
$ac_ext
16898 LIBS
=$ac_check_lib_save_LIBS
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16901 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16902 if test "x$ac_cv_lib_m_cargf" = x
""yes; then :
16904 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16909 $as_echo_n "checking for carg in -lm... " >&6; }
16910 if test "${ac_cv_lib_m_carg+set}" = set; then :
16911 $as_echo_n "(cached) " >&6
16913 ac_check_lib_save_LIBS
=$LIBS
16915 if test x
$gcc_no_link = xyes
; then
16916 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16921 /* Override any GCC internal prototype to avoid an error.
16922 Use char because int might match the return type of a GCC
16923 builtin and then its argument prototype would still apply. */
16936 if ac_fn_c_try_link
"$LINENO"; then :
16937 ac_cv_lib_m_carg
=yes
16939 ac_cv_lib_m_carg
=no
16941 rm -f core conftest.err conftest.
$ac_objext \
16942 conftest
$ac_exeext conftest.
$ac_ext
16943 LIBS
=$ac_check_lib_save_LIBS
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16946 $as_echo "$ac_cv_lib_m_carg" >&6; }
16947 if test "x$ac_cv_lib_m_carg" = x
""yes; then :
16949 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16954 $as_echo_n "checking for cargl in -lm... " >&6; }
16955 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16956 $as_echo_n "(cached) " >&6
16958 ac_check_lib_save_LIBS
=$LIBS
16960 if test x
$gcc_no_link = xyes
; then
16961 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16981 if ac_fn_c_try_link
"$LINENO"; then :
16982 ac_cv_lib_m_cargl
=yes
16984 ac_cv_lib_m_cargl
=no
16986 rm -f core conftest.err conftest.
$ac_objext \
16987 conftest
$ac_exeext conftest.
$ac_ext
16988 LIBS
=$ac_check_lib_save_LIBS
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16991 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16992 if test "x$ac_cv_lib_m_cargl" = x
""yes; then :
16994 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16999 $as_echo_n "checking for ceilf in -lm... " >&6; }
17000 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17001 $as_echo_n "(cached) " >&6
17003 ac_check_lib_save_LIBS
=$LIBS
17005 if test x
$gcc_no_link = xyes
; then
17006 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17011 /* Override any GCC internal prototype to avoid an error.
17012 Use char because int might match the return type of a GCC
17013 builtin and then its argument prototype would still apply. */
17026 if ac_fn_c_try_link
"$LINENO"; then :
17027 ac_cv_lib_m_ceilf
=yes
17029 ac_cv_lib_m_ceilf
=no
17031 rm -f core conftest.err conftest.
$ac_objext \
17032 conftest
$ac_exeext conftest.
$ac_ext
17033 LIBS
=$ac_check_lib_save_LIBS
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17036 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17037 if test "x$ac_cv_lib_m_ceilf" = x
""yes; then :
17039 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17044 $as_echo_n "checking for ceil in -lm... " >&6; }
17045 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17046 $as_echo_n "(cached) " >&6
17048 ac_check_lib_save_LIBS
=$LIBS
17050 if test x
$gcc_no_link = xyes
; then
17051 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17056 /* Override any GCC internal prototype to avoid an error.
17057 Use char because int might match the return type of a GCC
17058 builtin and then its argument prototype would still apply. */
17071 if ac_fn_c_try_link
"$LINENO"; then :
17072 ac_cv_lib_m_ceil
=yes
17074 ac_cv_lib_m_ceil
=no
17076 rm -f core conftest.err conftest.
$ac_objext \
17077 conftest
$ac_exeext conftest.
$ac_ext
17078 LIBS
=$ac_check_lib_save_LIBS
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17081 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17082 if test "x$ac_cv_lib_m_ceil" = x
""yes; then :
17084 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17089 $as_echo_n "checking for ceill in -lm... " >&6; }
17090 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17091 $as_echo_n "(cached) " >&6
17093 ac_check_lib_save_LIBS
=$LIBS
17095 if test x
$gcc_no_link = xyes
; then
17096 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17101 /* Override any GCC internal prototype to avoid an error.
17102 Use char because int might match the return type of a GCC
17103 builtin and then its argument prototype would still apply. */
17116 if ac_fn_c_try_link
"$LINENO"; then :
17117 ac_cv_lib_m_ceill
=yes
17119 ac_cv_lib_m_ceill
=no
17121 rm -f core conftest.err conftest.
$ac_objext \
17122 conftest
$ac_exeext conftest.
$ac_ext
17123 LIBS
=$ac_check_lib_save_LIBS
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17126 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17127 if test "x$ac_cv_lib_m_ceill" = x
""yes; then :
17129 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17134 $as_echo_n "checking for copysignf in -lm... " >&6; }
17135 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17136 $as_echo_n "(cached) " >&6
17138 ac_check_lib_save_LIBS
=$LIBS
17140 if test x
$gcc_no_link = xyes
; then
17141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17146 /* Override any GCC internal prototype to avoid an error.
17147 Use char because int might match the return type of a GCC
17148 builtin and then its argument prototype would still apply. */
17156 return copysignf ();
17161 if ac_fn_c_try_link
"$LINENO"; then :
17162 ac_cv_lib_m_copysignf
=yes
17164 ac_cv_lib_m_copysignf
=no
17166 rm -f core conftest.err conftest.
$ac_objext \
17167 conftest
$ac_exeext conftest.
$ac_ext
17168 LIBS
=$ac_check_lib_save_LIBS
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17171 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17172 if test "x$ac_cv_lib_m_copysignf" = x
""yes; then :
17174 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17179 $as_echo_n "checking for copysign in -lm... " >&6; }
17180 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17181 $as_echo_n "(cached) " >&6
17183 ac_check_lib_save_LIBS
=$LIBS
17185 if test x
$gcc_no_link = xyes
; then
17186 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17191 /* Override any GCC internal prototype to avoid an error.
17192 Use char because int might match the return type of a GCC
17193 builtin and then its argument prototype would still apply. */
17201 return copysign ();
17206 if ac_fn_c_try_link
"$LINENO"; then :
17207 ac_cv_lib_m_copysign
=yes
17209 ac_cv_lib_m_copysign
=no
17211 rm -f core conftest.err conftest.
$ac_objext \
17212 conftest
$ac_exeext conftest.
$ac_ext
17213 LIBS
=$ac_check_lib_save_LIBS
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17216 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17217 if test "x$ac_cv_lib_m_copysign" = x
""yes; then :
17219 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17224 $as_echo_n "checking for copysignl in -lm... " >&6; }
17225 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17226 $as_echo_n "(cached) " >&6
17228 ac_check_lib_save_LIBS
=$LIBS
17230 if test x
$gcc_no_link = xyes
; then
17231 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17236 /* Override any GCC internal prototype to avoid an error.
17237 Use char because int might match the return type of a GCC
17238 builtin and then its argument prototype would still apply. */
17246 return copysignl ();
17251 if ac_fn_c_try_link
"$LINENO"; then :
17252 ac_cv_lib_m_copysignl
=yes
17254 ac_cv_lib_m_copysignl
=no
17256 rm -f core conftest.err conftest.
$ac_objext \
17257 conftest
$ac_exeext conftest.
$ac_ext
17258 LIBS
=$ac_check_lib_save_LIBS
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17261 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17262 if test "x$ac_cv_lib_m_copysignl" = x
""yes; then :
17264 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17269 $as_echo_n "checking for cosf in -lm... " >&6; }
17270 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17271 $as_echo_n "(cached) " >&6
17273 ac_check_lib_save_LIBS
=$LIBS
17275 if test x
$gcc_no_link = xyes
; then
17276 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17281 /* Override any GCC internal prototype to avoid an error.
17282 Use char because int might match the return type of a GCC
17283 builtin and then its argument prototype would still apply. */
17296 if ac_fn_c_try_link
"$LINENO"; then :
17297 ac_cv_lib_m_cosf
=yes
17299 ac_cv_lib_m_cosf
=no
17301 rm -f core conftest.err conftest.
$ac_objext \
17302 conftest
$ac_exeext conftest.
$ac_ext
17303 LIBS
=$ac_check_lib_save_LIBS
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17306 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17307 if test "x$ac_cv_lib_m_cosf" = x
""yes; then :
17309 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17314 $as_echo_n "checking for cos in -lm... " >&6; }
17315 if test "${ac_cv_lib_m_cos+set}" = set; then :
17316 $as_echo_n "(cached) " >&6
17318 ac_check_lib_save_LIBS
=$LIBS
17320 if test x
$gcc_no_link = xyes
; then
17321 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17326 /* Override any GCC internal prototype to avoid an error.
17327 Use char because int might match the return type of a GCC
17328 builtin and then its argument prototype would still apply. */
17341 if ac_fn_c_try_link
"$LINENO"; then :
17342 ac_cv_lib_m_cos
=yes
17346 rm -f core conftest.err conftest.
$ac_objext \
17347 conftest
$ac_exeext conftest.
$ac_ext
17348 LIBS
=$ac_check_lib_save_LIBS
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17351 $as_echo "$ac_cv_lib_m_cos" >&6; }
17352 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
17354 $as_echo "#define HAVE_COS 1" >>confdefs.h
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17359 $as_echo_n "checking for cosl in -lm... " >&6; }
17360 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17361 $as_echo_n "(cached) " >&6
17363 ac_check_lib_save_LIBS
=$LIBS
17365 if test x
$gcc_no_link = xyes
; then
17366 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17371 /* Override any GCC internal prototype to avoid an error.
17372 Use char because int might match the return type of a GCC
17373 builtin and then its argument prototype would still apply. */
17386 if ac_fn_c_try_link
"$LINENO"; then :
17387 ac_cv_lib_m_cosl
=yes
17389 ac_cv_lib_m_cosl
=no
17391 rm -f core conftest.err conftest.
$ac_objext \
17392 conftest
$ac_exeext conftest.
$ac_ext
17393 LIBS
=$ac_check_lib_save_LIBS
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17396 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17397 if test "x$ac_cv_lib_m_cosl" = x
""yes; then :
17399 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17404 $as_echo_n "checking for ccosf in -lm... " >&6; }
17405 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17406 $as_echo_n "(cached) " >&6
17408 ac_check_lib_save_LIBS
=$LIBS
17410 if test x
$gcc_no_link = xyes
; then
17411 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17416 /* Override any GCC internal prototype to avoid an error.
17417 Use char because int might match the return type of a GCC
17418 builtin and then its argument prototype would still apply. */
17431 if ac_fn_c_try_link
"$LINENO"; then :
17432 ac_cv_lib_m_ccosf
=yes
17434 ac_cv_lib_m_ccosf
=no
17436 rm -f core conftest.err conftest.
$ac_objext \
17437 conftest
$ac_exeext conftest.
$ac_ext
17438 LIBS
=$ac_check_lib_save_LIBS
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17441 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17442 if test "x$ac_cv_lib_m_ccosf" = x
""yes; then :
17444 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17449 $as_echo_n "checking for ccos in -lm... " >&6; }
17450 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17451 $as_echo_n "(cached) " >&6
17453 ac_check_lib_save_LIBS
=$LIBS
17455 if test x
$gcc_no_link = xyes
; then
17456 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17461 /* Override any GCC internal prototype to avoid an error.
17462 Use char because int might match the return type of a GCC
17463 builtin and then its argument prototype would still apply. */
17476 if ac_fn_c_try_link
"$LINENO"; then :
17477 ac_cv_lib_m_ccos
=yes
17479 ac_cv_lib_m_ccos
=no
17481 rm -f core conftest.err conftest.
$ac_objext \
17482 conftest
$ac_exeext conftest.
$ac_ext
17483 LIBS
=$ac_check_lib_save_LIBS
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17486 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17487 if test "x$ac_cv_lib_m_ccos" = x
""yes; then :
17489 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17494 $as_echo_n "checking for ccosl in -lm... " >&6; }
17495 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17496 $as_echo_n "(cached) " >&6
17498 ac_check_lib_save_LIBS
=$LIBS
17500 if test x
$gcc_no_link = xyes
; then
17501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17506 /* Override any GCC internal prototype to avoid an error.
17507 Use char because int might match the return type of a GCC
17508 builtin and then its argument prototype would still apply. */
17521 if ac_fn_c_try_link
"$LINENO"; then :
17522 ac_cv_lib_m_ccosl
=yes
17524 ac_cv_lib_m_ccosl
=no
17526 rm -f core conftest.err conftest.
$ac_objext \
17527 conftest
$ac_exeext conftest.
$ac_ext
17528 LIBS
=$ac_check_lib_save_LIBS
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17531 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17532 if test "x$ac_cv_lib_m_ccosl" = x
""yes; then :
17534 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17539 $as_echo_n "checking for coshf in -lm... " >&6; }
17540 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17541 $as_echo_n "(cached) " >&6
17543 ac_check_lib_save_LIBS
=$LIBS
17545 if test x
$gcc_no_link = xyes
; then
17546 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17566 if ac_fn_c_try_link
"$LINENO"; then :
17567 ac_cv_lib_m_coshf
=yes
17569 ac_cv_lib_m_coshf
=no
17571 rm -f core conftest.err conftest.
$ac_objext \
17572 conftest
$ac_exeext conftest.
$ac_ext
17573 LIBS
=$ac_check_lib_save_LIBS
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17576 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17577 if test "x$ac_cv_lib_m_coshf" = x
""yes; then :
17579 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17584 $as_echo_n "checking for cosh in -lm... " >&6; }
17585 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17588 ac_check_lib_save_LIBS
=$LIBS
17590 if test x
$gcc_no_link = xyes
; then
17591 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17596 /* Override any GCC internal prototype to avoid an error.
17597 Use char because int might match the return type of a GCC
17598 builtin and then its argument prototype would still apply. */
17611 if ac_fn_c_try_link
"$LINENO"; then :
17612 ac_cv_lib_m_cosh
=yes
17614 ac_cv_lib_m_cosh
=no
17616 rm -f core conftest.err conftest.
$ac_objext \
17617 conftest
$ac_exeext conftest.
$ac_ext
17618 LIBS
=$ac_check_lib_save_LIBS
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17621 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17622 if test "x$ac_cv_lib_m_cosh" = x
""yes; then :
17624 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17629 $as_echo_n "checking for coshl in -lm... " >&6; }
17630 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17631 $as_echo_n "(cached) " >&6
17633 ac_check_lib_save_LIBS
=$LIBS
17635 if test x
$gcc_no_link = xyes
; then
17636 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17641 /* Override any GCC internal prototype to avoid an error.
17642 Use char because int might match the return type of a GCC
17643 builtin and then its argument prototype would still apply. */
17656 if ac_fn_c_try_link
"$LINENO"; then :
17657 ac_cv_lib_m_coshl
=yes
17659 ac_cv_lib_m_coshl
=no
17661 rm -f core conftest.err conftest.
$ac_objext \
17662 conftest
$ac_exeext conftest.
$ac_ext
17663 LIBS
=$ac_check_lib_save_LIBS
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17666 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17667 if test "x$ac_cv_lib_m_coshl" = x
""yes; then :
17669 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17674 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17675 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17676 $as_echo_n "(cached) " >&6
17678 ac_check_lib_save_LIBS
=$LIBS
17680 if test x
$gcc_no_link = xyes
; then
17681 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17686 /* Override any GCC internal prototype to avoid an error.
17687 Use char because int might match the return type of a GCC
17688 builtin and then its argument prototype would still apply. */
17701 if ac_fn_c_try_link
"$LINENO"; then :
17702 ac_cv_lib_m_ccoshf
=yes
17704 ac_cv_lib_m_ccoshf
=no
17706 rm -f core conftest.err conftest.
$ac_objext \
17707 conftest
$ac_exeext conftest.
$ac_ext
17708 LIBS
=$ac_check_lib_save_LIBS
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17711 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17712 if test "x$ac_cv_lib_m_ccoshf" = x
""yes; then :
17714 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17719 $as_echo_n "checking for ccosh in -lm... " >&6; }
17720 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17721 $as_echo_n "(cached) " >&6
17723 ac_check_lib_save_LIBS
=$LIBS
17725 if test x
$gcc_no_link = xyes
; then
17726 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17731 /* Override any GCC internal prototype to avoid an error.
17732 Use char because int might match the return type of a GCC
17733 builtin and then its argument prototype would still apply. */
17746 if ac_fn_c_try_link
"$LINENO"; then :
17747 ac_cv_lib_m_ccosh
=yes
17749 ac_cv_lib_m_ccosh
=no
17751 rm -f core conftest.err conftest.
$ac_objext \
17752 conftest
$ac_exeext conftest.
$ac_ext
17753 LIBS
=$ac_check_lib_save_LIBS
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17756 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17757 if test "x$ac_cv_lib_m_ccosh" = x
""yes; then :
17759 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17764 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17765 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17766 $as_echo_n "(cached) " >&6
17768 ac_check_lib_save_LIBS
=$LIBS
17770 if test x
$gcc_no_link = xyes
; then
17771 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17776 /* Override any GCC internal prototype to avoid an error.
17777 Use char because int might match the return type of a GCC
17778 builtin and then its argument prototype would still apply. */
17791 if ac_fn_c_try_link
"$LINENO"; then :
17792 ac_cv_lib_m_ccoshl
=yes
17794 ac_cv_lib_m_ccoshl
=no
17796 rm -f core conftest.err conftest.
$ac_objext \
17797 conftest
$ac_exeext conftest.
$ac_ext
17798 LIBS
=$ac_check_lib_save_LIBS
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17801 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17802 if test "x$ac_cv_lib_m_ccoshl" = x
""yes; then :
17804 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17809 $as_echo_n "checking for expf in -lm... " >&6; }
17810 if test "${ac_cv_lib_m_expf+set}" = set; then :
17811 $as_echo_n "(cached) " >&6
17813 ac_check_lib_save_LIBS
=$LIBS
17815 if test x
$gcc_no_link = xyes
; then
17816 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17821 /* Override any GCC internal prototype to avoid an error.
17822 Use char because int might match the return type of a GCC
17823 builtin and then its argument prototype would still apply. */
17836 if ac_fn_c_try_link
"$LINENO"; then :
17837 ac_cv_lib_m_expf
=yes
17839 ac_cv_lib_m_expf
=no
17841 rm -f core conftest.err conftest.
$ac_objext \
17842 conftest
$ac_exeext conftest.
$ac_ext
17843 LIBS
=$ac_check_lib_save_LIBS
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17846 $as_echo "$ac_cv_lib_m_expf" >&6; }
17847 if test "x$ac_cv_lib_m_expf" = x
""yes; then :
17849 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17854 $as_echo_n "checking for exp in -lm... " >&6; }
17855 if test "${ac_cv_lib_m_exp+set}" = set; then :
17856 $as_echo_n "(cached) " >&6
17858 ac_check_lib_save_LIBS
=$LIBS
17860 if test x
$gcc_no_link = xyes
; then
17861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17866 /* Override any GCC internal prototype to avoid an error.
17867 Use char because int might match the return type of a GCC
17868 builtin and then its argument prototype would still apply. */
17881 if ac_fn_c_try_link
"$LINENO"; then :
17882 ac_cv_lib_m_exp
=yes
17886 rm -f core conftest.err conftest.
$ac_objext \
17887 conftest
$ac_exeext conftest.
$ac_ext
17888 LIBS
=$ac_check_lib_save_LIBS
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17891 $as_echo "$ac_cv_lib_m_exp" >&6; }
17892 if test "x$ac_cv_lib_m_exp" = x
""yes; then :
17894 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17899 $as_echo_n "checking for expl in -lm... " >&6; }
17900 if test "${ac_cv_lib_m_expl+set}" = set; then :
17901 $as_echo_n "(cached) " >&6
17903 ac_check_lib_save_LIBS
=$LIBS
17905 if test x
$gcc_no_link = xyes
; then
17906 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h. */
17911 /* Override any GCC internal prototype to avoid an error.
17912 Use char because int might match the return type of a GCC
17913 builtin and then its argument prototype would still apply. */
17926 if ac_fn_c_try_link
"$LINENO"; then :
17927 ac_cv_lib_m_expl
=yes
17929 ac_cv_lib_m_expl
=no
17931 rm -f core conftest.err conftest.
$ac_objext \
17932 conftest
$ac_exeext conftest.
$ac_ext
17933 LIBS
=$ac_check_lib_save_LIBS
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17936 $as_echo "$ac_cv_lib_m_expl" >&6; }
17937 if test "x$ac_cv_lib_m_expl" = x
""yes; then :
17939 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17944 $as_echo_n "checking for cexpf in -lm... " >&6; }
17945 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17946 $as_echo_n "(cached) " >&6
17948 ac_check_lib_save_LIBS
=$LIBS
17950 if test x
$gcc_no_link = xyes
; then
17951 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17956 /* Override any GCC internal prototype to avoid an error.
17957 Use char because int might match the return type of a GCC
17958 builtin and then its argument prototype would still apply. */
17971 if ac_fn_c_try_link
"$LINENO"; then :
17972 ac_cv_lib_m_cexpf
=yes
17974 ac_cv_lib_m_cexpf
=no
17976 rm -f core conftest.err conftest.
$ac_objext \
17977 conftest
$ac_exeext conftest.
$ac_ext
17978 LIBS
=$ac_check_lib_save_LIBS
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17981 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17982 if test "x$ac_cv_lib_m_cexpf" = x
""yes; then :
17984 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17989 $as_echo_n "checking for cexp in -lm... " >&6; }
17990 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17991 $as_echo_n "(cached) " >&6
17993 ac_check_lib_save_LIBS
=$LIBS
17995 if test x
$gcc_no_link = xyes
; then
17996 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18001 /* Override any GCC internal prototype to avoid an error.
18002 Use char because int might match the return type of a GCC
18003 builtin and then its argument prototype would still apply. */
18016 if ac_fn_c_try_link
"$LINENO"; then :
18017 ac_cv_lib_m_cexp
=yes
18019 ac_cv_lib_m_cexp
=no
18021 rm -f core conftest.err conftest.
$ac_objext \
18022 conftest
$ac_exeext conftest.
$ac_ext
18023 LIBS
=$ac_check_lib_save_LIBS
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18026 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18027 if test "x$ac_cv_lib_m_cexp" = x
""yes; then :
18029 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18034 $as_echo_n "checking for cexpl in -lm... " >&6; }
18035 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18036 $as_echo_n "(cached) " >&6
18038 ac_check_lib_save_LIBS
=$LIBS
18040 if test x
$gcc_no_link = xyes
; then
18041 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18061 if ac_fn_c_try_link
"$LINENO"; then :
18062 ac_cv_lib_m_cexpl
=yes
18064 ac_cv_lib_m_cexpl
=no
18066 rm -f core conftest.err conftest.
$ac_objext \
18067 conftest
$ac_exeext conftest.
$ac_ext
18068 LIBS
=$ac_check_lib_save_LIBS
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18071 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18072 if test "x$ac_cv_lib_m_cexpl" = x
""yes; then :
18074 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18079 $as_echo_n "checking for fabsf in -lm... " >&6; }
18080 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18081 $as_echo_n "(cached) " >&6
18083 ac_check_lib_save_LIBS
=$LIBS
18085 if test x
$gcc_no_link = xyes
; then
18086 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 /* Override any GCC internal prototype to avoid an error.
18092 Use char because int might match the return type of a GCC
18093 builtin and then its argument prototype would still apply. */
18106 if ac_fn_c_try_link
"$LINENO"; then :
18107 ac_cv_lib_m_fabsf
=yes
18109 ac_cv_lib_m_fabsf
=no
18111 rm -f core conftest.err conftest.
$ac_objext \
18112 conftest
$ac_exeext conftest.
$ac_ext
18113 LIBS
=$ac_check_lib_save_LIBS
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18116 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18117 if test "x$ac_cv_lib_m_fabsf" = x
""yes; then :
18119 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18124 $as_echo_n "checking for fabs in -lm... " >&6; }
18125 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18126 $as_echo_n "(cached) " >&6
18128 ac_check_lib_save_LIBS
=$LIBS
18130 if test x
$gcc_no_link = xyes
; then
18131 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18136 /* Override any GCC internal prototype to avoid an error.
18137 Use char because int might match the return type of a GCC
18138 builtin and then its argument prototype would still apply. */
18151 if ac_fn_c_try_link
"$LINENO"; then :
18152 ac_cv_lib_m_fabs
=yes
18154 ac_cv_lib_m_fabs
=no
18156 rm -f core conftest.err conftest.
$ac_objext \
18157 conftest
$ac_exeext conftest.
$ac_ext
18158 LIBS
=$ac_check_lib_save_LIBS
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18161 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18162 if test "x$ac_cv_lib_m_fabs" = x
""yes; then :
18164 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18169 $as_echo_n "checking for fabsl in -lm... " >&6; }
18170 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18171 $as_echo_n "(cached) " >&6
18173 ac_check_lib_save_LIBS
=$LIBS
18175 if test x
$gcc_no_link = xyes
; then
18176 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18181 /* Override any GCC internal prototype to avoid an error.
18182 Use char because int might match the return type of a GCC
18183 builtin and then its argument prototype would still apply. */
18196 if ac_fn_c_try_link
"$LINENO"; then :
18197 ac_cv_lib_m_fabsl
=yes
18199 ac_cv_lib_m_fabsl
=no
18201 rm -f core conftest.err conftest.
$ac_objext \
18202 conftest
$ac_exeext conftest.
$ac_ext
18203 LIBS
=$ac_check_lib_save_LIBS
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18206 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18207 if test "x$ac_cv_lib_m_fabsl" = x
""yes; then :
18209 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18214 $as_echo_n "checking for cabsf in -lm... " >&6; }
18215 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18216 $as_echo_n "(cached) " >&6
18218 ac_check_lib_save_LIBS
=$LIBS
18220 if test x
$gcc_no_link = xyes
; then
18221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18226 /* Override any GCC internal prototype to avoid an error.
18227 Use char because int might match the return type of a GCC
18228 builtin and then its argument prototype would still apply. */
18241 if ac_fn_c_try_link
"$LINENO"; then :
18242 ac_cv_lib_m_cabsf
=yes
18244 ac_cv_lib_m_cabsf
=no
18246 rm -f core conftest.err conftest.
$ac_objext \
18247 conftest
$ac_exeext conftest.
$ac_ext
18248 LIBS
=$ac_check_lib_save_LIBS
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18251 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18252 if test "x$ac_cv_lib_m_cabsf" = x
""yes; then :
18254 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18259 $as_echo_n "checking for cabs in -lm... " >&6; }
18260 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18261 $as_echo_n "(cached) " >&6
18263 ac_check_lib_save_LIBS
=$LIBS
18265 if test x
$gcc_no_link = xyes
; then
18266 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18271 /* Override any GCC internal prototype to avoid an error.
18272 Use char because int might match the return type of a GCC
18273 builtin and then its argument prototype would still apply. */
18286 if ac_fn_c_try_link
"$LINENO"; then :
18287 ac_cv_lib_m_cabs
=yes
18289 ac_cv_lib_m_cabs
=no
18291 rm -f core conftest.err conftest.
$ac_objext \
18292 conftest
$ac_exeext conftest.
$ac_ext
18293 LIBS
=$ac_check_lib_save_LIBS
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18296 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18297 if test "x$ac_cv_lib_m_cabs" = x
""yes; then :
18299 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18304 $as_echo_n "checking for cabsl in -lm... " >&6; }
18305 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18306 $as_echo_n "(cached) " >&6
18308 ac_check_lib_save_LIBS
=$LIBS
18310 if test x
$gcc_no_link = xyes
; then
18311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18316 /* Override any GCC internal prototype to avoid an error.
18317 Use char because int might match the return type of a GCC
18318 builtin and then its argument prototype would still apply. */
18331 if ac_fn_c_try_link
"$LINENO"; then :
18332 ac_cv_lib_m_cabsl
=yes
18334 ac_cv_lib_m_cabsl
=no
18336 rm -f core conftest.err conftest.
$ac_objext \
18337 conftest
$ac_exeext conftest.
$ac_ext
18338 LIBS
=$ac_check_lib_save_LIBS
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18341 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18342 if test "x$ac_cv_lib_m_cabsl" = x
""yes; then :
18344 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18349 $as_echo_n "checking for floorf in -lm... " >&6; }
18350 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18351 $as_echo_n "(cached) " >&6
18353 ac_check_lib_save_LIBS
=$LIBS
18355 if test x
$gcc_no_link = xyes
; then
18356 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18361 /* Override any GCC internal prototype to avoid an error.
18362 Use char because int might match the return type of a GCC
18363 builtin and then its argument prototype would still apply. */
18376 if ac_fn_c_try_link
"$LINENO"; then :
18377 ac_cv_lib_m_floorf
=yes
18379 ac_cv_lib_m_floorf
=no
18381 rm -f core conftest.err conftest.
$ac_objext \
18382 conftest
$ac_exeext conftest.
$ac_ext
18383 LIBS
=$ac_check_lib_save_LIBS
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18386 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18387 if test "x$ac_cv_lib_m_floorf" = x
""yes; then :
18389 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18394 $as_echo_n "checking for floor in -lm... " >&6; }
18395 if test "${ac_cv_lib_m_floor+set}" = set; then :
18396 $as_echo_n "(cached) " >&6
18398 ac_check_lib_save_LIBS
=$LIBS
18400 if test x
$gcc_no_link = xyes
; then
18401 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h. */
18406 /* Override any GCC internal prototype to avoid an error.
18407 Use char because int might match the return type of a GCC
18408 builtin and then its argument prototype would still apply. */
18421 if ac_fn_c_try_link
"$LINENO"; then :
18422 ac_cv_lib_m_floor
=yes
18424 ac_cv_lib_m_floor
=no
18426 rm -f core conftest.err conftest.
$ac_objext \
18427 conftest
$ac_exeext conftest.
$ac_ext
18428 LIBS
=$ac_check_lib_save_LIBS
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18431 $as_echo "$ac_cv_lib_m_floor" >&6; }
18432 if test "x$ac_cv_lib_m_floor" = x
""yes; then :
18434 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18439 $as_echo_n "checking for floorl in -lm... " >&6; }
18440 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18441 $as_echo_n "(cached) " >&6
18443 ac_check_lib_save_LIBS
=$LIBS
18445 if test x
$gcc_no_link = xyes
; then
18446 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18451 /* Override any GCC internal prototype to avoid an error.
18452 Use char because int might match the return type of a GCC
18453 builtin and then its argument prototype would still apply. */
18466 if ac_fn_c_try_link
"$LINENO"; then :
18467 ac_cv_lib_m_floorl
=yes
18469 ac_cv_lib_m_floorl
=no
18471 rm -f core conftest.err conftest.
$ac_objext \
18472 conftest
$ac_exeext conftest.
$ac_ext
18473 LIBS
=$ac_check_lib_save_LIBS
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18476 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18477 if test "x$ac_cv_lib_m_floorl" = x
""yes; then :
18479 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18484 $as_echo_n "checking for fmodf in -lm... " >&6; }
18485 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18486 $as_echo_n "(cached) " >&6
18488 ac_check_lib_save_LIBS
=$LIBS
18490 if test x
$gcc_no_link = xyes
; then
18491 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18496 /* Override any GCC internal prototype to avoid an error.
18497 Use char because int might match the return type of a GCC
18498 builtin and then its argument prototype would still apply. */
18511 if ac_fn_c_try_link
"$LINENO"; then :
18512 ac_cv_lib_m_fmodf
=yes
18514 ac_cv_lib_m_fmodf
=no
18516 rm -f core conftest.err conftest.
$ac_objext \
18517 conftest
$ac_exeext conftest.
$ac_ext
18518 LIBS
=$ac_check_lib_save_LIBS
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18521 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18522 if test "x$ac_cv_lib_m_fmodf" = x
""yes; then :
18524 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18529 $as_echo_n "checking for fmod in -lm... " >&6; }
18530 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18531 $as_echo_n "(cached) " >&6
18533 ac_check_lib_save_LIBS
=$LIBS
18535 if test x
$gcc_no_link = xyes
; then
18536 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18541 /* Override any GCC internal prototype to avoid an error.
18542 Use char because int might match the return type of a GCC
18543 builtin and then its argument prototype would still apply. */
18556 if ac_fn_c_try_link
"$LINENO"; then :
18557 ac_cv_lib_m_fmod
=yes
18559 ac_cv_lib_m_fmod
=no
18561 rm -f core conftest.err conftest.
$ac_objext \
18562 conftest
$ac_exeext conftest.
$ac_ext
18563 LIBS
=$ac_check_lib_save_LIBS
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18566 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18567 if test "x$ac_cv_lib_m_fmod" = x
""yes; then :
18569 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18574 $as_echo_n "checking for fmodl in -lm... " >&6; }
18575 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18576 $as_echo_n "(cached) " >&6
18578 ac_check_lib_save_LIBS
=$LIBS
18580 if test x
$gcc_no_link = xyes
; then
18581 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18586 /* Override any GCC internal prototype to avoid an error.
18587 Use char because int might match the return type of a GCC
18588 builtin and then its argument prototype would still apply. */
18601 if ac_fn_c_try_link
"$LINENO"; then :
18602 ac_cv_lib_m_fmodl
=yes
18604 ac_cv_lib_m_fmodl
=no
18606 rm -f core conftest.err conftest.
$ac_objext \
18607 conftest
$ac_exeext conftest.
$ac_ext
18608 LIBS
=$ac_check_lib_save_LIBS
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18611 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18612 if test "x$ac_cv_lib_m_fmodl" = x
""yes; then :
18614 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18619 $as_echo_n "checking for frexpf in -lm... " >&6; }
18620 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18621 $as_echo_n "(cached) " >&6
18623 ac_check_lib_save_LIBS
=$LIBS
18625 if test x
$gcc_no_link = xyes
; then
18626 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h. */
18631 /* Override any GCC internal prototype to avoid an error.
18632 Use char because int might match the return type of a GCC
18633 builtin and then its argument prototype would still apply. */
18646 if ac_fn_c_try_link
"$LINENO"; then :
18647 ac_cv_lib_m_frexpf
=yes
18649 ac_cv_lib_m_frexpf
=no
18651 rm -f core conftest.err conftest.
$ac_objext \
18652 conftest
$ac_exeext conftest.
$ac_ext
18653 LIBS
=$ac_check_lib_save_LIBS
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18656 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18657 if test "x$ac_cv_lib_m_frexpf" = x
""yes; then :
18659 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18664 $as_echo_n "checking for frexp in -lm... " >&6; }
18665 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18666 $as_echo_n "(cached) " >&6
18668 ac_check_lib_save_LIBS
=$LIBS
18670 if test x
$gcc_no_link = xyes
; then
18671 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18676 /* Override any GCC internal prototype to avoid an error.
18677 Use char because int might match the return type of a GCC
18678 builtin and then its argument prototype would still apply. */
18691 if ac_fn_c_try_link
"$LINENO"; then :
18692 ac_cv_lib_m_frexp
=yes
18694 ac_cv_lib_m_frexp
=no
18696 rm -f core conftest.err conftest.
$ac_objext \
18697 conftest
$ac_exeext conftest.
$ac_ext
18698 LIBS
=$ac_check_lib_save_LIBS
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18701 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18702 if test "x$ac_cv_lib_m_frexp" = x
""yes; then :
18704 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18709 $as_echo_n "checking for frexpl in -lm... " >&6; }
18710 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18711 $as_echo_n "(cached) " >&6
18713 ac_check_lib_save_LIBS
=$LIBS
18715 if test x
$gcc_no_link = xyes
; then
18716 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18721 /* Override any GCC internal prototype to avoid an error.
18722 Use char because int might match the return type of a GCC
18723 builtin and then its argument prototype would still apply. */
18736 if ac_fn_c_try_link
"$LINENO"; then :
18737 ac_cv_lib_m_frexpl
=yes
18739 ac_cv_lib_m_frexpl
=no
18741 rm -f core conftest.err conftest.
$ac_objext \
18742 conftest
$ac_exeext conftest.
$ac_ext
18743 LIBS
=$ac_check_lib_save_LIBS
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18746 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18747 if test "x$ac_cv_lib_m_frexpl" = x
""yes; then :
18749 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18754 $as_echo_n "checking for hypotf in -lm... " >&6; }
18755 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18756 $as_echo_n "(cached) " >&6
18758 ac_check_lib_save_LIBS
=$LIBS
18760 if test x
$gcc_no_link = xyes
; then
18761 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18766 /* Override any GCC internal prototype to avoid an error.
18767 Use char because int might match the return type of a GCC
18768 builtin and then its argument prototype would still apply. */
18781 if ac_fn_c_try_link
"$LINENO"; then :
18782 ac_cv_lib_m_hypotf
=yes
18784 ac_cv_lib_m_hypotf
=no
18786 rm -f core conftest.err conftest.
$ac_objext \
18787 conftest
$ac_exeext conftest.
$ac_ext
18788 LIBS
=$ac_check_lib_save_LIBS
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18791 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18792 if test "x$ac_cv_lib_m_hypotf" = x
""yes; then :
18794 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18799 $as_echo_n "checking for hypot in -lm... " >&6; }
18800 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18801 $as_echo_n "(cached) " >&6
18803 ac_check_lib_save_LIBS
=$LIBS
18805 if test x
$gcc_no_link = xyes
; then
18806 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18811 /* Override any GCC internal prototype to avoid an error.
18812 Use char because int might match the return type of a GCC
18813 builtin and then its argument prototype would still apply. */
18826 if ac_fn_c_try_link
"$LINENO"; then :
18827 ac_cv_lib_m_hypot
=yes
18829 ac_cv_lib_m_hypot
=no
18831 rm -f core conftest.err conftest.
$ac_objext \
18832 conftest
$ac_exeext conftest.
$ac_ext
18833 LIBS
=$ac_check_lib_save_LIBS
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18836 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18837 if test "x$ac_cv_lib_m_hypot" = x
""yes; then :
18839 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18844 $as_echo_n "checking for hypotl in -lm... " >&6; }
18845 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18846 $as_echo_n "(cached) " >&6
18848 ac_check_lib_save_LIBS
=$LIBS
18850 if test x
$gcc_no_link = xyes
; then
18851 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18856 /* Override any GCC internal prototype to avoid an error.
18857 Use char because int might match the return type of a GCC
18858 builtin and then its argument prototype would still apply. */
18871 if ac_fn_c_try_link
"$LINENO"; then :
18872 ac_cv_lib_m_hypotl
=yes
18874 ac_cv_lib_m_hypotl
=no
18876 rm -f core conftest.err conftest.
$ac_objext \
18877 conftest
$ac_exeext conftest.
$ac_ext
18878 LIBS
=$ac_check_lib_save_LIBS
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18881 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18882 if test "x$ac_cv_lib_m_hypotl" = x
""yes; then :
18884 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18889 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18890 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18891 $as_echo_n "(cached) " >&6
18893 ac_check_lib_save_LIBS
=$LIBS
18895 if test x
$gcc_no_link = xyes
; then
18896 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18901 /* Override any GCC internal prototype to avoid an error.
18902 Use char because int might match the return type of a GCC
18903 builtin and then its argument prototype would still apply. */
18916 if ac_fn_c_try_link
"$LINENO"; then :
18917 ac_cv_lib_m_ldexpf
=yes
18919 ac_cv_lib_m_ldexpf
=no
18921 rm -f core conftest.err conftest.
$ac_objext \
18922 conftest
$ac_exeext conftest.
$ac_ext
18923 LIBS
=$ac_check_lib_save_LIBS
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18926 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18927 if test "x$ac_cv_lib_m_ldexpf" = x
""yes; then :
18929 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18934 $as_echo_n "checking for ldexp in -lm... " >&6; }
18935 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18936 $as_echo_n "(cached) " >&6
18938 ac_check_lib_save_LIBS
=$LIBS
18940 if test x
$gcc_no_link = xyes
; then
18941 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18946 /* Override any GCC internal prototype to avoid an error.
18947 Use char because int might match the return type of a GCC
18948 builtin and then its argument prototype would still apply. */
18961 if ac_fn_c_try_link
"$LINENO"; then :
18962 ac_cv_lib_m_ldexp
=yes
18964 ac_cv_lib_m_ldexp
=no
18966 rm -f core conftest.err conftest.
$ac_objext \
18967 conftest
$ac_exeext conftest.
$ac_ext
18968 LIBS
=$ac_check_lib_save_LIBS
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18971 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18972 if test "x$ac_cv_lib_m_ldexp" = x
""yes; then :
18974 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18979 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18980 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18981 $as_echo_n "(cached) " >&6
18983 ac_check_lib_save_LIBS
=$LIBS
18985 if test x
$gcc_no_link = xyes
; then
18986 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18989 /* end confdefs.h. */
18991 /* Override any GCC internal prototype to avoid an error.
18992 Use char because int might match the return type of a GCC
18993 builtin and then its argument prototype would still apply. */
19006 if ac_fn_c_try_link
"$LINENO"; then :
19007 ac_cv_lib_m_ldexpl
=yes
19009 ac_cv_lib_m_ldexpl
=no
19011 rm -f core conftest.err conftest.
$ac_objext \
19012 conftest
$ac_exeext conftest.
$ac_ext
19013 LIBS
=$ac_check_lib_save_LIBS
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19016 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19017 if test "x$ac_cv_lib_m_ldexpl" = x
""yes; then :
19019 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19024 $as_echo_n "checking for logf in -lm... " >&6; }
19025 if test "${ac_cv_lib_m_logf+set}" = set; then :
19026 $as_echo_n "(cached) " >&6
19028 ac_check_lib_save_LIBS
=$LIBS
19030 if test x
$gcc_no_link = xyes
; then
19031 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19036 /* Override any GCC internal prototype to avoid an error.
19037 Use char because int might match the return type of a GCC
19038 builtin and then its argument prototype would still apply. */
19051 if ac_fn_c_try_link
"$LINENO"; then :
19052 ac_cv_lib_m_logf
=yes
19054 ac_cv_lib_m_logf
=no
19056 rm -f core conftest.err conftest.
$ac_objext \
19057 conftest
$ac_exeext conftest.
$ac_ext
19058 LIBS
=$ac_check_lib_save_LIBS
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19061 $as_echo "$ac_cv_lib_m_logf" >&6; }
19062 if test "x$ac_cv_lib_m_logf" = x
""yes; then :
19064 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19069 $as_echo_n "checking for log in -lm... " >&6; }
19070 if test "${ac_cv_lib_m_log+set}" = set; then :
19071 $as_echo_n "(cached) " >&6
19073 ac_check_lib_save_LIBS
=$LIBS
19075 if test x
$gcc_no_link = xyes
; then
19076 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19081 /* Override any GCC internal prototype to avoid an error.
19082 Use char because int might match the return type of a GCC
19083 builtin and then its argument prototype would still apply. */
19096 if ac_fn_c_try_link
"$LINENO"; then :
19097 ac_cv_lib_m_log
=yes
19101 rm -f core conftest.err conftest.
$ac_objext \
19102 conftest
$ac_exeext conftest.
$ac_ext
19103 LIBS
=$ac_check_lib_save_LIBS
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19106 $as_echo "$ac_cv_lib_m_log" >&6; }
19107 if test "x$ac_cv_lib_m_log" = x
""yes; then :
19109 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19114 $as_echo_n "checking for logl in -lm... " >&6; }
19115 if test "${ac_cv_lib_m_logl+set}" = set; then :
19116 $as_echo_n "(cached) " >&6
19118 ac_check_lib_save_LIBS
=$LIBS
19120 if test x
$gcc_no_link = xyes
; then
19121 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19126 /* Override any GCC internal prototype to avoid an error.
19127 Use char because int might match the return type of a GCC
19128 builtin and then its argument prototype would still apply. */
19141 if ac_fn_c_try_link
"$LINENO"; then :
19142 ac_cv_lib_m_logl
=yes
19144 ac_cv_lib_m_logl
=no
19146 rm -f core conftest.err conftest.
$ac_objext \
19147 conftest
$ac_exeext conftest.
$ac_ext
19148 LIBS
=$ac_check_lib_save_LIBS
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19151 $as_echo "$ac_cv_lib_m_logl" >&6; }
19152 if test "x$ac_cv_lib_m_logl" = x
""yes; then :
19154 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19159 $as_echo_n "checking for clogf in -lm... " >&6; }
19160 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19161 $as_echo_n "(cached) " >&6
19163 ac_check_lib_save_LIBS
=$LIBS
19165 if test x
$gcc_no_link = xyes
; then
19166 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19171 /* Override any GCC internal prototype to avoid an error.
19172 Use char because int might match the return type of a GCC
19173 builtin and then its argument prototype would still apply. */
19186 if ac_fn_c_try_link
"$LINENO"; then :
19187 ac_cv_lib_m_clogf
=yes
19189 ac_cv_lib_m_clogf
=no
19191 rm -f core conftest.err conftest.
$ac_objext \
19192 conftest
$ac_exeext conftest.
$ac_ext
19193 LIBS
=$ac_check_lib_save_LIBS
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19196 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19197 if test "x$ac_cv_lib_m_clogf" = x
""yes; then :
19199 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19204 $as_echo_n "checking for clog in -lm... " >&6; }
19205 if test "${ac_cv_lib_m_clog+set}" = set; then :
19206 $as_echo_n "(cached) " >&6
19208 ac_check_lib_save_LIBS
=$LIBS
19210 if test x
$gcc_no_link = xyes
; then
19211 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h. */
19216 /* Override any GCC internal prototype to avoid an error.
19217 Use char because int might match the return type of a GCC
19218 builtin and then its argument prototype would still apply. */
19231 if ac_fn_c_try_link
"$LINENO"; then :
19232 ac_cv_lib_m_clog
=yes
19234 ac_cv_lib_m_clog
=no
19236 rm -f core conftest.err conftest.
$ac_objext \
19237 conftest
$ac_exeext conftest.
$ac_ext
19238 LIBS
=$ac_check_lib_save_LIBS
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19241 $as_echo "$ac_cv_lib_m_clog" >&6; }
19242 if test "x$ac_cv_lib_m_clog" = x
""yes; then :
19244 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19249 $as_echo_n "checking for clogl in -lm... " >&6; }
19250 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19251 $as_echo_n "(cached) " >&6
19253 ac_check_lib_save_LIBS
=$LIBS
19255 if test x
$gcc_no_link = xyes
; then
19256 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19261 /* Override any GCC internal prototype to avoid an error.
19262 Use char because int might match the return type of a GCC
19263 builtin and then its argument prototype would still apply. */
19276 if ac_fn_c_try_link
"$LINENO"; then :
19277 ac_cv_lib_m_clogl
=yes
19279 ac_cv_lib_m_clogl
=no
19281 rm -f core conftest.err conftest.
$ac_objext \
19282 conftest
$ac_exeext conftest.
$ac_ext
19283 LIBS
=$ac_check_lib_save_LIBS
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19286 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19287 if test "x$ac_cv_lib_m_clogl" = x
""yes; then :
19289 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19294 $as_echo_n "checking for log10f in -lm... " >&6; }
19295 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19296 $as_echo_n "(cached) " >&6
19298 ac_check_lib_save_LIBS
=$LIBS
19300 if test x
$gcc_no_link = xyes
; then
19301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19306 /* Override any GCC internal prototype to avoid an error.
19307 Use char because int might match the return type of a GCC
19308 builtin and then its argument prototype would still apply. */
19321 if ac_fn_c_try_link
"$LINENO"; then :
19322 ac_cv_lib_m_log10f
=yes
19324 ac_cv_lib_m_log10f
=no
19326 rm -f core conftest.err conftest.
$ac_objext \
19327 conftest
$ac_exeext conftest.
$ac_ext
19328 LIBS
=$ac_check_lib_save_LIBS
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19331 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19332 if test "x$ac_cv_lib_m_log10f" = x
""yes; then :
19334 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19339 $as_echo_n "checking for log10 in -lm... " >&6; }
19340 if test "${ac_cv_lib_m_log10+set}" = set; then :
19341 $as_echo_n "(cached) " >&6
19343 ac_check_lib_save_LIBS
=$LIBS
19345 if test x
$gcc_no_link = xyes
; then
19346 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19351 /* Override any GCC internal prototype to avoid an error.
19352 Use char because int might match the return type of a GCC
19353 builtin and then its argument prototype would still apply. */
19366 if ac_fn_c_try_link
"$LINENO"; then :
19367 ac_cv_lib_m_log10
=yes
19369 ac_cv_lib_m_log10
=no
19371 rm -f core conftest.err conftest.
$ac_objext \
19372 conftest
$ac_exeext conftest.
$ac_ext
19373 LIBS
=$ac_check_lib_save_LIBS
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19376 $as_echo "$ac_cv_lib_m_log10" >&6; }
19377 if test "x$ac_cv_lib_m_log10" = x
""yes; then :
19379 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19384 $as_echo_n "checking for log10l in -lm... " >&6; }
19385 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19386 $as_echo_n "(cached) " >&6
19388 ac_check_lib_save_LIBS
=$LIBS
19390 if test x
$gcc_no_link = xyes
; then
19391 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19396 /* Override any GCC internal prototype to avoid an error.
19397 Use char because int might match the return type of a GCC
19398 builtin and then its argument prototype would still apply. */
19411 if ac_fn_c_try_link
"$LINENO"; then :
19412 ac_cv_lib_m_log10l
=yes
19414 ac_cv_lib_m_log10l
=no
19416 rm -f core conftest.err conftest.
$ac_objext \
19417 conftest
$ac_exeext conftest.
$ac_ext
19418 LIBS
=$ac_check_lib_save_LIBS
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19421 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19422 if test "x$ac_cv_lib_m_log10l" = x
""yes; then :
19424 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19429 $as_echo_n "checking for clog10f in -lm... " >&6; }
19430 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19431 $as_echo_n "(cached) " >&6
19433 ac_check_lib_save_LIBS
=$LIBS
19435 if test x
$gcc_no_link = xyes
; then
19436 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19441 /* Override any GCC internal prototype to avoid an error.
19442 Use char because int might match the return type of a GCC
19443 builtin and then its argument prototype would still apply. */
19456 if ac_fn_c_try_link
"$LINENO"; then :
19457 ac_cv_lib_m_clog10f
=yes
19459 ac_cv_lib_m_clog10f
=no
19461 rm -f core conftest.err conftest.
$ac_objext \
19462 conftest
$ac_exeext conftest.
$ac_ext
19463 LIBS
=$ac_check_lib_save_LIBS
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19466 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19467 if test "x$ac_cv_lib_m_clog10f" = x
""yes; then :
19469 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19474 $as_echo_n "checking for clog10 in -lm... " >&6; }
19475 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19476 $as_echo_n "(cached) " >&6
19478 ac_check_lib_save_LIBS
=$LIBS
19480 if test x
$gcc_no_link = xyes
; then
19481 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19486 /* Override any GCC internal prototype to avoid an error.
19487 Use char because int might match the return type of a GCC
19488 builtin and then its argument prototype would still apply. */
19501 if ac_fn_c_try_link
"$LINENO"; then :
19502 ac_cv_lib_m_clog10
=yes
19504 ac_cv_lib_m_clog10
=no
19506 rm -f core conftest.err conftest.
$ac_objext \
19507 conftest
$ac_exeext conftest.
$ac_ext
19508 LIBS
=$ac_check_lib_save_LIBS
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19511 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19512 if test "x$ac_cv_lib_m_clog10" = x
""yes; then :
19514 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19519 $as_echo_n "checking for clog10l in -lm... " >&6; }
19520 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19521 $as_echo_n "(cached) " >&6
19523 ac_check_lib_save_LIBS
=$LIBS
19525 if test x
$gcc_no_link = xyes
; then
19526 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19531 /* Override any GCC internal prototype to avoid an error.
19532 Use char because int might match the return type of a GCC
19533 builtin and then its argument prototype would still apply. */
19546 if ac_fn_c_try_link
"$LINENO"; then :
19547 ac_cv_lib_m_clog10l
=yes
19549 ac_cv_lib_m_clog10l
=no
19551 rm -f core conftest.err conftest.
$ac_objext \
19552 conftest
$ac_exeext conftest.
$ac_ext
19553 LIBS
=$ac_check_lib_save_LIBS
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19556 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19557 if test "x$ac_cv_lib_m_clog10l" = x
""yes; then :
19559 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19564 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19565 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19566 $as_echo_n "(cached) " >&6
19568 ac_check_lib_save_LIBS
=$LIBS
19570 if test x
$gcc_no_link = xyes
; then
19571 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19576 /* Override any GCC internal prototype to avoid an error.
19577 Use char because int might match the return type of a GCC
19578 builtin and then its argument prototype would still apply. */
19582 char nextafterf ();
19586 return nextafterf ();
19591 if ac_fn_c_try_link
"$LINENO"; then :
19592 ac_cv_lib_m_nextafterf
=yes
19594 ac_cv_lib_m_nextafterf
=no
19596 rm -f core conftest.err conftest.
$ac_objext \
19597 conftest
$ac_exeext conftest.
$ac_ext
19598 LIBS
=$ac_check_lib_save_LIBS
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19601 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19602 if test "x$ac_cv_lib_m_nextafterf" = x
""yes; then :
19604 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19609 $as_echo_n "checking for nextafter in -lm... " >&6; }
19610 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19611 $as_echo_n "(cached) " >&6
19613 ac_check_lib_save_LIBS
=$LIBS
19615 if test x
$gcc_no_link = xyes
; then
19616 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19621 /* Override any GCC internal prototype to avoid an error.
19622 Use char because int might match the return type of a GCC
19623 builtin and then its argument prototype would still apply. */
19631 return nextafter ();
19636 if ac_fn_c_try_link
"$LINENO"; then :
19637 ac_cv_lib_m_nextafter
=yes
19639 ac_cv_lib_m_nextafter
=no
19641 rm -f core conftest.err conftest.
$ac_objext \
19642 conftest
$ac_exeext conftest.
$ac_ext
19643 LIBS
=$ac_check_lib_save_LIBS
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19646 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19647 if test "x$ac_cv_lib_m_nextafter" = x
""yes; then :
19649 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19654 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19655 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19656 $as_echo_n "(cached) " >&6
19658 ac_check_lib_save_LIBS
=$LIBS
19660 if test x
$gcc_no_link = xyes
; then
19661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19666 /* Override any GCC internal prototype to avoid an error.
19667 Use char because int might match the return type of a GCC
19668 builtin and then its argument prototype would still apply. */
19672 char nextafterl ();
19676 return nextafterl ();
19681 if ac_fn_c_try_link
"$LINENO"; then :
19682 ac_cv_lib_m_nextafterl
=yes
19684 ac_cv_lib_m_nextafterl
=no
19686 rm -f core conftest.err conftest.
$ac_objext \
19687 conftest
$ac_exeext conftest.
$ac_ext
19688 LIBS
=$ac_check_lib_save_LIBS
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19691 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19692 if test "x$ac_cv_lib_m_nextafterl" = x
""yes; then :
19694 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19699 $as_echo_n "checking for powf in -lm... " >&6; }
19700 if test "${ac_cv_lib_m_powf+set}" = set; then :
19701 $as_echo_n "(cached) " >&6
19703 ac_check_lib_save_LIBS
=$LIBS
19705 if test x
$gcc_no_link = xyes
; then
19706 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19711 /* Override any GCC internal prototype to avoid an error.
19712 Use char because int might match the return type of a GCC
19713 builtin and then its argument prototype would still apply. */
19726 if ac_fn_c_try_link
"$LINENO"; then :
19727 ac_cv_lib_m_powf
=yes
19729 ac_cv_lib_m_powf
=no
19731 rm -f core conftest.err conftest.
$ac_objext \
19732 conftest
$ac_exeext conftest.
$ac_ext
19733 LIBS
=$ac_check_lib_save_LIBS
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19736 $as_echo "$ac_cv_lib_m_powf" >&6; }
19737 if test "x$ac_cv_lib_m_powf" = x
""yes; then :
19739 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19744 $as_echo_n "checking for pow in -lm... " >&6; }
19745 if test "${ac_cv_lib_m_pow+set}" = set; then :
19746 $as_echo_n "(cached) " >&6
19748 ac_check_lib_save_LIBS
=$LIBS
19750 if test x
$gcc_no_link = xyes
; then
19751 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19756 /* Override any GCC internal prototype to avoid an error.
19757 Use char because int might match the return type of a GCC
19758 builtin and then its argument prototype would still apply. */
19771 if ac_fn_c_try_link
"$LINENO"; then :
19772 ac_cv_lib_m_pow
=yes
19776 rm -f core conftest.err conftest.
$ac_objext \
19777 conftest
$ac_exeext conftest.
$ac_ext
19778 LIBS
=$ac_check_lib_save_LIBS
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19781 $as_echo "$ac_cv_lib_m_pow" >&6; }
19782 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
19784 $as_echo "#define HAVE_POW 1" >>confdefs.h
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19789 $as_echo_n "checking for powl in -lm... " >&6; }
19790 if test "${ac_cv_lib_m_powl+set}" = set; then :
19791 $as_echo_n "(cached) " >&6
19793 ac_check_lib_save_LIBS
=$LIBS
19795 if test x
$gcc_no_link = xyes
; then
19796 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19816 if ac_fn_c_try_link
"$LINENO"; then :
19817 ac_cv_lib_m_powl
=yes
19819 ac_cv_lib_m_powl
=no
19821 rm -f core conftest.err conftest.
$ac_objext \
19822 conftest
$ac_exeext conftest.
$ac_ext
19823 LIBS
=$ac_check_lib_save_LIBS
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19826 $as_echo "$ac_cv_lib_m_powl" >&6; }
19827 if test "x$ac_cv_lib_m_powl" = x
""yes; then :
19829 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19834 $as_echo_n "checking for cpowf in -lm... " >&6; }
19835 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19836 $as_echo_n "(cached) " >&6
19838 ac_check_lib_save_LIBS
=$LIBS
19840 if test x
$gcc_no_link = xyes
; then
19841 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19846 /* Override any GCC internal prototype to avoid an error.
19847 Use char because int might match the return type of a GCC
19848 builtin and then its argument prototype would still apply. */
19861 if ac_fn_c_try_link
"$LINENO"; then :
19862 ac_cv_lib_m_cpowf
=yes
19864 ac_cv_lib_m_cpowf
=no
19866 rm -f core conftest.err conftest.
$ac_objext \
19867 conftest
$ac_exeext conftest.
$ac_ext
19868 LIBS
=$ac_check_lib_save_LIBS
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19871 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19872 if test "x$ac_cv_lib_m_cpowf" = x
""yes; then :
19874 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19879 $as_echo_n "checking for cpow in -lm... " >&6; }
19880 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19881 $as_echo_n "(cached) " >&6
19883 ac_check_lib_save_LIBS
=$LIBS
19885 if test x
$gcc_no_link = xyes
; then
19886 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h. */
19891 /* Override any GCC internal prototype to avoid an error.
19892 Use char because int might match the return type of a GCC
19893 builtin and then its argument prototype would still apply. */
19906 if ac_fn_c_try_link
"$LINENO"; then :
19907 ac_cv_lib_m_cpow
=yes
19909 ac_cv_lib_m_cpow
=no
19911 rm -f core conftest.err conftest.
$ac_objext \
19912 conftest
$ac_exeext conftest.
$ac_ext
19913 LIBS
=$ac_check_lib_save_LIBS
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19916 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19917 if test "x$ac_cv_lib_m_cpow" = x
""yes; then :
19919 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19924 $as_echo_n "checking for cpowl in -lm... " >&6; }
19925 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19926 $as_echo_n "(cached) " >&6
19928 ac_check_lib_save_LIBS
=$LIBS
19930 if test x
$gcc_no_link = xyes
; then
19931 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h. */
19936 /* Override any GCC internal prototype to avoid an error.
19937 Use char because int might match the return type of a GCC
19938 builtin and then its argument prototype would still apply. */
19951 if ac_fn_c_try_link
"$LINENO"; then :
19952 ac_cv_lib_m_cpowl
=yes
19954 ac_cv_lib_m_cpowl
=no
19956 rm -f core conftest.err conftest.
$ac_objext \
19957 conftest
$ac_exeext conftest.
$ac_ext
19958 LIBS
=$ac_check_lib_save_LIBS
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19961 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19962 if test "x$ac_cv_lib_m_cpowl" = x
""yes; then :
19964 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19969 $as_echo_n "checking for roundf in -lm... " >&6; }
19970 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19971 $as_echo_n "(cached) " >&6
19973 ac_check_lib_save_LIBS
=$LIBS
19975 if test x
$gcc_no_link = xyes
; then
19976 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19981 /* Override any GCC internal prototype to avoid an error.
19982 Use char because int might match the return type of a GCC
19983 builtin and then its argument prototype would still apply. */
19996 if ac_fn_c_try_link
"$LINENO"; then :
19997 ac_cv_lib_m_roundf
=yes
19999 ac_cv_lib_m_roundf
=no
20001 rm -f core conftest.err conftest.
$ac_objext \
20002 conftest
$ac_exeext conftest.
$ac_ext
20003 LIBS
=$ac_check_lib_save_LIBS
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20006 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20007 if test "x$ac_cv_lib_m_roundf" = x
""yes; then :
20009 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20014 $as_echo_n "checking for round in -lm... " >&6; }
20015 if test "${ac_cv_lib_m_round+set}" = set; then :
20016 $as_echo_n "(cached) " >&6
20018 ac_check_lib_save_LIBS
=$LIBS
20020 if test x
$gcc_no_link = xyes
; then
20021 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20026 /* Override any GCC internal prototype to avoid an error.
20027 Use char because int might match the return type of a GCC
20028 builtin and then its argument prototype would still apply. */
20041 if ac_fn_c_try_link
"$LINENO"; then :
20042 ac_cv_lib_m_round
=yes
20044 ac_cv_lib_m_round
=no
20046 rm -f core conftest.err conftest.
$ac_objext \
20047 conftest
$ac_exeext conftest.
$ac_ext
20048 LIBS
=$ac_check_lib_save_LIBS
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20051 $as_echo "$ac_cv_lib_m_round" >&6; }
20052 if test "x$ac_cv_lib_m_round" = x
""yes; then :
20054 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20059 $as_echo_n "checking for roundl in -lm... " >&6; }
20060 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20061 $as_echo_n "(cached) " >&6
20063 ac_check_lib_save_LIBS
=$LIBS
20065 if test x
$gcc_no_link = xyes
; then
20066 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20071 /* Override any GCC internal prototype to avoid an error.
20072 Use char because int might match the return type of a GCC
20073 builtin and then its argument prototype would still apply. */
20086 if ac_fn_c_try_link
"$LINENO"; then :
20087 ac_cv_lib_m_roundl
=yes
20089 ac_cv_lib_m_roundl
=no
20091 rm -f core conftest.err conftest.
$ac_objext \
20092 conftest
$ac_exeext conftest.
$ac_ext
20093 LIBS
=$ac_check_lib_save_LIBS
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20096 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20097 if test "x$ac_cv_lib_m_roundl" = x
""yes; then :
20099 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20104 $as_echo_n "checking for lroundf in -lm... " >&6; }
20105 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20106 $as_echo_n "(cached) " >&6
20108 ac_check_lib_save_LIBS
=$LIBS
20110 if test x
$gcc_no_link = xyes
; then
20111 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h. */
20116 /* Override any GCC internal prototype to avoid an error.
20117 Use char because int might match the return type of a GCC
20118 builtin and then its argument prototype would still apply. */
20131 if ac_fn_c_try_link
"$LINENO"; then :
20132 ac_cv_lib_m_lroundf
=yes
20134 ac_cv_lib_m_lroundf
=no
20136 rm -f core conftest.err conftest.
$ac_objext \
20137 conftest
$ac_exeext conftest.
$ac_ext
20138 LIBS
=$ac_check_lib_save_LIBS
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20141 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20142 if test "x$ac_cv_lib_m_lroundf" = x
""yes; then :
20144 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20149 $as_echo_n "checking for lround in -lm... " >&6; }
20150 if test "${ac_cv_lib_m_lround+set}" = set; then :
20151 $as_echo_n "(cached) " >&6
20153 ac_check_lib_save_LIBS
=$LIBS
20155 if test x
$gcc_no_link = xyes
; then
20156 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20159 /* end confdefs.h. */
20161 /* Override any GCC internal prototype to avoid an error.
20162 Use char because int might match the return type of a GCC
20163 builtin and then its argument prototype would still apply. */
20176 if ac_fn_c_try_link
"$LINENO"; then :
20177 ac_cv_lib_m_lround
=yes
20179 ac_cv_lib_m_lround
=no
20181 rm -f core conftest.err conftest.
$ac_objext \
20182 conftest
$ac_exeext conftest.
$ac_ext
20183 LIBS
=$ac_check_lib_save_LIBS
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20186 $as_echo "$ac_cv_lib_m_lround" >&6; }
20187 if test "x$ac_cv_lib_m_lround" = x
""yes; then :
20189 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20194 $as_echo_n "checking for lroundl in -lm... " >&6; }
20195 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20196 $as_echo_n "(cached) " >&6
20198 ac_check_lib_save_LIBS
=$LIBS
20200 if test x
$gcc_no_link = xyes
; then
20201 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20206 /* Override any GCC internal prototype to avoid an error.
20207 Use char because int might match the return type of a GCC
20208 builtin and then its argument prototype would still apply. */
20221 if ac_fn_c_try_link
"$LINENO"; then :
20222 ac_cv_lib_m_lroundl
=yes
20224 ac_cv_lib_m_lroundl
=no
20226 rm -f core conftest.err conftest.
$ac_objext \
20227 conftest
$ac_exeext conftest.
$ac_ext
20228 LIBS
=$ac_check_lib_save_LIBS
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20231 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20232 if test "x$ac_cv_lib_m_lroundl" = x
""yes; then :
20234 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20239 $as_echo_n "checking for llroundf in -lm... " >&6; }
20240 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20241 $as_echo_n "(cached) " >&6
20243 ac_check_lib_save_LIBS
=$LIBS
20245 if test x
$gcc_no_link = xyes
; then
20246 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h. */
20251 /* Override any GCC internal prototype to avoid an error.
20252 Use char because int might match the return type of a GCC
20253 builtin and then its argument prototype would still apply. */
20261 return llroundf ();
20266 if ac_fn_c_try_link
"$LINENO"; then :
20267 ac_cv_lib_m_llroundf
=yes
20269 ac_cv_lib_m_llroundf
=no
20271 rm -f core conftest.err conftest.
$ac_objext \
20272 conftest
$ac_exeext conftest.
$ac_ext
20273 LIBS
=$ac_check_lib_save_LIBS
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20276 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20277 if test "x$ac_cv_lib_m_llroundf" = x
""yes; then :
20279 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20284 $as_echo_n "checking for llround in -lm... " >&6; }
20285 if test "${ac_cv_lib_m_llround+set}" = set; then :
20286 $as_echo_n "(cached) " >&6
20288 ac_check_lib_save_LIBS
=$LIBS
20290 if test x
$gcc_no_link = xyes
; then
20291 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20296 /* Override any GCC internal prototype to avoid an error.
20297 Use char because int might match the return type of a GCC
20298 builtin and then its argument prototype would still apply. */
20311 if ac_fn_c_try_link
"$LINENO"; then :
20312 ac_cv_lib_m_llround
=yes
20314 ac_cv_lib_m_llround
=no
20316 rm -f core conftest.err conftest.
$ac_objext \
20317 conftest
$ac_exeext conftest.
$ac_ext
20318 LIBS
=$ac_check_lib_save_LIBS
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20321 $as_echo "$ac_cv_lib_m_llround" >&6; }
20322 if test "x$ac_cv_lib_m_llround" = x
""yes; then :
20324 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20329 $as_echo_n "checking for llroundl in -lm... " >&6; }
20330 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20331 $as_echo_n "(cached) " >&6
20333 ac_check_lib_save_LIBS
=$LIBS
20335 if test x
$gcc_no_link = xyes
; then
20336 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20341 /* Override any GCC internal prototype to avoid an error.
20342 Use char because int might match the return type of a GCC
20343 builtin and then its argument prototype would still apply. */
20351 return llroundl ();
20356 if ac_fn_c_try_link
"$LINENO"; then :
20357 ac_cv_lib_m_llroundl
=yes
20359 ac_cv_lib_m_llroundl
=no
20361 rm -f core conftest.err conftest.
$ac_objext \
20362 conftest
$ac_exeext conftest.
$ac_ext
20363 LIBS
=$ac_check_lib_save_LIBS
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20366 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20367 if test "x$ac_cv_lib_m_llroundl" = x
""yes; then :
20369 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20374 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20375 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20376 $as_echo_n "(cached) " >&6
20378 ac_check_lib_save_LIBS
=$LIBS
20380 if test x
$gcc_no_link = xyes
; then
20381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20386 /* Override any GCC internal prototype to avoid an error.
20387 Use char because int might match the return type of a GCC
20388 builtin and then its argument prototype would still apply. */
20401 if ac_fn_c_try_link
"$LINENO"; then :
20402 ac_cv_lib_m_scalbnf
=yes
20404 ac_cv_lib_m_scalbnf
=no
20406 rm -f core conftest.err conftest.
$ac_objext \
20407 conftest
$ac_exeext conftest.
$ac_ext
20408 LIBS
=$ac_check_lib_save_LIBS
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20411 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20412 if test "x$ac_cv_lib_m_scalbnf" = x
""yes; then :
20414 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20419 $as_echo_n "checking for scalbn in -lm... " >&6; }
20420 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20421 $as_echo_n "(cached) " >&6
20423 ac_check_lib_save_LIBS
=$LIBS
20425 if test x
$gcc_no_link = xyes
; then
20426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20429 /* end confdefs.h. */
20431 /* Override any GCC internal prototype to avoid an error.
20432 Use char because int might match the return type of a GCC
20433 builtin and then its argument prototype would still apply. */
20446 if ac_fn_c_try_link
"$LINENO"; then :
20447 ac_cv_lib_m_scalbn
=yes
20449 ac_cv_lib_m_scalbn
=no
20451 rm -f core conftest.err conftest.
$ac_objext \
20452 conftest
$ac_exeext conftest.
$ac_ext
20453 LIBS
=$ac_check_lib_save_LIBS
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20456 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20457 if test "x$ac_cv_lib_m_scalbn" = x
""yes; then :
20459 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20464 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20465 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20466 $as_echo_n "(cached) " >&6
20468 ac_check_lib_save_LIBS
=$LIBS
20470 if test x
$gcc_no_link = xyes
; then
20471 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20474 /* end confdefs.h. */
20476 /* Override any GCC internal prototype to avoid an error.
20477 Use char because int might match the return type of a GCC
20478 builtin and then its argument prototype would still apply. */
20491 if ac_fn_c_try_link
"$LINENO"; then :
20492 ac_cv_lib_m_scalbnl
=yes
20494 ac_cv_lib_m_scalbnl
=no
20496 rm -f core conftest.err conftest.
$ac_objext \
20497 conftest
$ac_exeext conftest.
$ac_ext
20498 LIBS
=$ac_check_lib_save_LIBS
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20501 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20502 if test "x$ac_cv_lib_m_scalbnl" = x
""yes; then :
20504 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20509 $as_echo_n "checking for sinf in -lm... " >&6; }
20510 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20511 $as_echo_n "(cached) " >&6
20513 ac_check_lib_save_LIBS
=$LIBS
20515 if test x
$gcc_no_link = xyes
; then
20516 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20519 /* end confdefs.h. */
20521 /* Override any GCC internal prototype to avoid an error.
20522 Use char because int might match the return type of a GCC
20523 builtin and then its argument prototype would still apply. */
20536 if ac_fn_c_try_link
"$LINENO"; then :
20537 ac_cv_lib_m_sinf
=yes
20539 ac_cv_lib_m_sinf
=no
20541 rm -f core conftest.err conftest.
$ac_objext \
20542 conftest
$ac_exeext conftest.
$ac_ext
20543 LIBS
=$ac_check_lib_save_LIBS
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20546 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20547 if test "x$ac_cv_lib_m_sinf" = x
""yes; then :
20549 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20554 $as_echo_n "checking for sin in -lm... " >&6; }
20555 if test "${ac_cv_lib_m_sin+set}" = set; then :
20556 $as_echo_n "(cached) " >&6
20558 ac_check_lib_save_LIBS
=$LIBS
20560 if test x
$gcc_no_link = xyes
; then
20561 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20564 /* end confdefs.h. */
20566 /* Override any GCC internal prototype to avoid an error.
20567 Use char because int might match the return type of a GCC
20568 builtin and then its argument prototype would still apply. */
20581 if ac_fn_c_try_link
"$LINENO"; then :
20582 ac_cv_lib_m_sin
=yes
20586 rm -f core conftest.err conftest.
$ac_objext \
20587 conftest
$ac_exeext conftest.
$ac_ext
20588 LIBS
=$ac_check_lib_save_LIBS
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20591 $as_echo "$ac_cv_lib_m_sin" >&6; }
20592 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
20594 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20599 $as_echo_n "checking for sinl in -lm... " >&6; }
20600 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20601 $as_echo_n "(cached) " >&6
20603 ac_check_lib_save_LIBS
=$LIBS
20605 if test x
$gcc_no_link = xyes
; then
20606 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20609 /* end confdefs.h. */
20611 /* Override any GCC internal prototype to avoid an error.
20612 Use char because int might match the return type of a GCC
20613 builtin and then its argument prototype would still apply. */
20626 if ac_fn_c_try_link
"$LINENO"; then :
20627 ac_cv_lib_m_sinl
=yes
20629 ac_cv_lib_m_sinl
=no
20631 rm -f core conftest.err conftest.
$ac_objext \
20632 conftest
$ac_exeext conftest.
$ac_ext
20633 LIBS
=$ac_check_lib_save_LIBS
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20636 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20637 if test "x$ac_cv_lib_m_sinl" = x
""yes; then :
20639 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20644 $as_echo_n "checking for csinf in -lm... " >&6; }
20645 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20648 ac_check_lib_save_LIBS
=$LIBS
20650 if test x
$gcc_no_link = xyes
; then
20651 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h. */
20656 /* Override any GCC internal prototype to avoid an error.
20657 Use char because int might match the return type of a GCC
20658 builtin and then its argument prototype would still apply. */
20671 if ac_fn_c_try_link
"$LINENO"; then :
20672 ac_cv_lib_m_csinf
=yes
20674 ac_cv_lib_m_csinf
=no
20676 rm -f core conftest.err conftest.
$ac_objext \
20677 conftest
$ac_exeext conftest.
$ac_ext
20678 LIBS
=$ac_check_lib_save_LIBS
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20681 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20682 if test "x$ac_cv_lib_m_csinf" = x
""yes; then :
20684 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20689 $as_echo_n "checking for csin in -lm... " >&6; }
20690 if test "${ac_cv_lib_m_csin+set}" = set; then :
20691 $as_echo_n "(cached) " >&6
20693 ac_check_lib_save_LIBS
=$LIBS
20695 if test x
$gcc_no_link = xyes
; then
20696 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20699 /* end confdefs.h. */
20701 /* Override any GCC internal prototype to avoid an error.
20702 Use char because int might match the return type of a GCC
20703 builtin and then its argument prototype would still apply. */
20716 if ac_fn_c_try_link
"$LINENO"; then :
20717 ac_cv_lib_m_csin
=yes
20719 ac_cv_lib_m_csin
=no
20721 rm -f core conftest.err conftest.
$ac_objext \
20722 conftest
$ac_exeext conftest.
$ac_ext
20723 LIBS
=$ac_check_lib_save_LIBS
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20726 $as_echo "$ac_cv_lib_m_csin" >&6; }
20727 if test "x$ac_cv_lib_m_csin" = x
""yes; then :
20729 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20734 $as_echo_n "checking for csinl in -lm... " >&6; }
20735 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20736 $as_echo_n "(cached) " >&6
20738 ac_check_lib_save_LIBS
=$LIBS
20740 if test x
$gcc_no_link = xyes
; then
20741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20746 /* Override any GCC internal prototype to avoid an error.
20747 Use char because int might match the return type of a GCC
20748 builtin and then its argument prototype would still apply. */
20761 if ac_fn_c_try_link
"$LINENO"; then :
20762 ac_cv_lib_m_csinl
=yes
20764 ac_cv_lib_m_csinl
=no
20766 rm -f core conftest.err conftest.
$ac_objext \
20767 conftest
$ac_exeext conftest.
$ac_ext
20768 LIBS
=$ac_check_lib_save_LIBS
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20771 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20772 if test "x$ac_cv_lib_m_csinl" = x
""yes; then :
20774 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20779 $as_echo_n "checking for sinhf in -lm... " >&6; }
20780 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20781 $as_echo_n "(cached) " >&6
20783 ac_check_lib_save_LIBS
=$LIBS
20785 if test x
$gcc_no_link = xyes
; then
20786 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h. */
20791 /* Override any GCC internal prototype to avoid an error.
20792 Use char because int might match the return type of a GCC
20793 builtin and then its argument prototype would still apply. */
20806 if ac_fn_c_try_link
"$LINENO"; then :
20807 ac_cv_lib_m_sinhf
=yes
20809 ac_cv_lib_m_sinhf
=no
20811 rm -f core conftest.err conftest.
$ac_objext \
20812 conftest
$ac_exeext conftest.
$ac_ext
20813 LIBS
=$ac_check_lib_save_LIBS
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20816 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20817 if test "x$ac_cv_lib_m_sinhf" = x
""yes; then :
20819 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20824 $as_echo_n "checking for sinh in -lm... " >&6; }
20825 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20826 $as_echo_n "(cached) " >&6
20828 ac_check_lib_save_LIBS
=$LIBS
20830 if test x
$gcc_no_link = xyes
; then
20831 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20836 /* Override any GCC internal prototype to avoid an error.
20837 Use char because int might match the return type of a GCC
20838 builtin and then its argument prototype would still apply. */
20851 if ac_fn_c_try_link
"$LINENO"; then :
20852 ac_cv_lib_m_sinh
=yes
20854 ac_cv_lib_m_sinh
=no
20856 rm -f core conftest.err conftest.
$ac_objext \
20857 conftest
$ac_exeext conftest.
$ac_ext
20858 LIBS
=$ac_check_lib_save_LIBS
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20861 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20862 if test "x$ac_cv_lib_m_sinh" = x
""yes; then :
20864 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20869 $as_echo_n "checking for sinhl in -lm... " >&6; }
20870 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20871 $as_echo_n "(cached) " >&6
20873 ac_check_lib_save_LIBS
=$LIBS
20875 if test x
$gcc_no_link = xyes
; then
20876 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h. */
20881 /* Override any GCC internal prototype to avoid an error.
20882 Use char because int might match the return type of a GCC
20883 builtin and then its argument prototype would still apply. */
20896 if ac_fn_c_try_link
"$LINENO"; then :
20897 ac_cv_lib_m_sinhl
=yes
20899 ac_cv_lib_m_sinhl
=no
20901 rm -f core conftest.err conftest.
$ac_objext \
20902 conftest
$ac_exeext conftest.
$ac_ext
20903 LIBS
=$ac_check_lib_save_LIBS
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20906 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20907 if test "x$ac_cv_lib_m_sinhl" = x
""yes; then :
20909 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20914 $as_echo_n "checking for csinhf in -lm... " >&6; }
20915 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20916 $as_echo_n "(cached) " >&6
20918 ac_check_lib_save_LIBS
=$LIBS
20920 if test x
$gcc_no_link = xyes
; then
20921 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20926 /* Override any GCC internal prototype to avoid an error.
20927 Use char because int might match the return type of a GCC
20928 builtin and then its argument prototype would still apply. */
20941 if ac_fn_c_try_link
"$LINENO"; then :
20942 ac_cv_lib_m_csinhf
=yes
20944 ac_cv_lib_m_csinhf
=no
20946 rm -f core conftest.err conftest.
$ac_objext \
20947 conftest
$ac_exeext conftest.
$ac_ext
20948 LIBS
=$ac_check_lib_save_LIBS
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20951 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20952 if test "x$ac_cv_lib_m_csinhf" = x
""yes; then :
20954 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20959 $as_echo_n "checking for csinh in -lm... " >&6; }
20960 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20961 $as_echo_n "(cached) " >&6
20963 ac_check_lib_save_LIBS
=$LIBS
20965 if test x
$gcc_no_link = xyes
; then
20966 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20971 /* Override any GCC internal prototype to avoid an error.
20972 Use char because int might match the return type of a GCC
20973 builtin and then its argument prototype would still apply. */
20986 if ac_fn_c_try_link
"$LINENO"; then :
20987 ac_cv_lib_m_csinh
=yes
20989 ac_cv_lib_m_csinh
=no
20991 rm -f core conftest.err conftest.
$ac_objext \
20992 conftest
$ac_exeext conftest.
$ac_ext
20993 LIBS
=$ac_check_lib_save_LIBS
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20996 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20997 if test "x$ac_cv_lib_m_csinh" = x
""yes; then :
20999 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21004 $as_echo_n "checking for csinhl in -lm... " >&6; }
21005 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21006 $as_echo_n "(cached) " >&6
21008 ac_check_lib_save_LIBS
=$LIBS
21010 if test x
$gcc_no_link = xyes
; then
21011 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21016 /* Override any GCC internal prototype to avoid an error.
21017 Use char because int might match the return type of a GCC
21018 builtin and then its argument prototype would still apply. */
21031 if ac_fn_c_try_link
"$LINENO"; then :
21032 ac_cv_lib_m_csinhl
=yes
21034 ac_cv_lib_m_csinhl
=no
21036 rm -f core conftest.err conftest.
$ac_objext \
21037 conftest
$ac_exeext conftest.
$ac_ext
21038 LIBS
=$ac_check_lib_save_LIBS
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21041 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21042 if test "x$ac_cv_lib_m_csinhl" = x
""yes; then :
21044 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21049 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21050 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21051 $as_echo_n "(cached) " >&6
21053 ac_check_lib_save_LIBS
=$LIBS
21055 if test x
$gcc_no_link = xyes
; then
21056 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21061 /* Override any GCC internal prototype to avoid an error.
21062 Use char because int might match the return type of a GCC
21063 builtin and then its argument prototype would still apply. */
21076 if ac_fn_c_try_link
"$LINENO"; then :
21077 ac_cv_lib_m_sqrtf
=yes
21079 ac_cv_lib_m_sqrtf
=no
21081 rm -f core conftest.err conftest.
$ac_objext \
21082 conftest
$ac_exeext conftest.
$ac_ext
21083 LIBS
=$ac_check_lib_save_LIBS
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21086 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21087 if test "x$ac_cv_lib_m_sqrtf" = x
""yes; then :
21089 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21094 $as_echo_n "checking for sqrt in -lm... " >&6; }
21095 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21096 $as_echo_n "(cached) " >&6
21098 ac_check_lib_save_LIBS
=$LIBS
21100 if test x
$gcc_no_link = xyes
; then
21101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21106 /* Override any GCC internal prototype to avoid an error.
21107 Use char because int might match the return type of a GCC
21108 builtin and then its argument prototype would still apply. */
21121 if ac_fn_c_try_link
"$LINENO"; then :
21122 ac_cv_lib_m_sqrt
=yes
21124 ac_cv_lib_m_sqrt
=no
21126 rm -f core conftest.err conftest.
$ac_objext \
21127 conftest
$ac_exeext conftest.
$ac_ext
21128 LIBS
=$ac_check_lib_save_LIBS
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21131 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21132 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
21134 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21139 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21140 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21141 $as_echo_n "(cached) " >&6
21143 ac_check_lib_save_LIBS
=$LIBS
21145 if test x
$gcc_no_link = xyes
; then
21146 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h. */
21151 /* Override any GCC internal prototype to avoid an error.
21152 Use char because int might match the return type of a GCC
21153 builtin and then its argument prototype would still apply. */
21166 if ac_fn_c_try_link
"$LINENO"; then :
21167 ac_cv_lib_m_sqrtl
=yes
21169 ac_cv_lib_m_sqrtl
=no
21171 rm -f core conftest.err conftest.
$ac_objext \
21172 conftest
$ac_exeext conftest.
$ac_ext
21173 LIBS
=$ac_check_lib_save_LIBS
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21176 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21177 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
21179 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21184 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21185 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21186 $as_echo_n "(cached) " >&6
21188 ac_check_lib_save_LIBS
=$LIBS
21190 if test x
$gcc_no_link = xyes
; then
21191 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h. */
21196 /* Override any GCC internal prototype to avoid an error.
21197 Use char because int might match the return type of a GCC
21198 builtin and then its argument prototype would still apply. */
21211 if ac_fn_c_try_link
"$LINENO"; then :
21212 ac_cv_lib_m_csqrtf
=yes
21214 ac_cv_lib_m_csqrtf
=no
21216 rm -f core conftest.err conftest.
$ac_objext \
21217 conftest
$ac_exeext conftest.
$ac_ext
21218 LIBS
=$ac_check_lib_save_LIBS
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21221 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21222 if test "x$ac_cv_lib_m_csqrtf" = x
""yes; then :
21224 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21229 $as_echo_n "checking for csqrt in -lm... " >&6; }
21230 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21231 $as_echo_n "(cached) " >&6
21233 ac_check_lib_save_LIBS
=$LIBS
21235 if test x
$gcc_no_link = xyes
; then
21236 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h. */
21241 /* Override any GCC internal prototype to avoid an error.
21242 Use char because int might match the return type of a GCC
21243 builtin and then its argument prototype would still apply. */
21256 if ac_fn_c_try_link
"$LINENO"; then :
21257 ac_cv_lib_m_csqrt
=yes
21259 ac_cv_lib_m_csqrt
=no
21261 rm -f core conftest.err conftest.
$ac_objext \
21262 conftest
$ac_exeext conftest.
$ac_ext
21263 LIBS
=$ac_check_lib_save_LIBS
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21266 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21267 if test "x$ac_cv_lib_m_csqrt" = x
""yes; then :
21269 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21274 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21275 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21276 $as_echo_n "(cached) " >&6
21278 ac_check_lib_save_LIBS
=$LIBS
21280 if test x
$gcc_no_link = xyes
; then
21281 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21284 /* end confdefs.h. */
21286 /* Override any GCC internal prototype to avoid an error.
21287 Use char because int might match the return type of a GCC
21288 builtin and then its argument prototype would still apply. */
21301 if ac_fn_c_try_link
"$LINENO"; then :
21302 ac_cv_lib_m_csqrtl
=yes
21304 ac_cv_lib_m_csqrtl
=no
21306 rm -f core conftest.err conftest.
$ac_objext \
21307 conftest
$ac_exeext conftest.
$ac_ext
21308 LIBS
=$ac_check_lib_save_LIBS
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21311 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21312 if test "x$ac_cv_lib_m_csqrtl" = x
""yes; then :
21314 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21319 $as_echo_n "checking for tanf in -lm... " >&6; }
21320 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21321 $as_echo_n "(cached) " >&6
21323 ac_check_lib_save_LIBS
=$LIBS
21325 if test x
$gcc_no_link = xyes
; then
21326 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h. */
21331 /* Override any GCC internal prototype to avoid an error.
21332 Use char because int might match the return type of a GCC
21333 builtin and then its argument prototype would still apply. */
21346 if ac_fn_c_try_link
"$LINENO"; then :
21347 ac_cv_lib_m_tanf
=yes
21349 ac_cv_lib_m_tanf
=no
21351 rm -f core conftest.err conftest.
$ac_objext \
21352 conftest
$ac_exeext conftest.
$ac_ext
21353 LIBS
=$ac_check_lib_save_LIBS
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21356 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21357 if test "x$ac_cv_lib_m_tanf" = x
""yes; then :
21359 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21364 $as_echo_n "checking for tan in -lm... " >&6; }
21365 if test "${ac_cv_lib_m_tan+set}" = set; then :
21366 $as_echo_n "(cached) " >&6
21368 ac_check_lib_save_LIBS
=$LIBS
21370 if test x
$gcc_no_link = xyes
; then
21371 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21376 /* Override any GCC internal prototype to avoid an error.
21377 Use char because int might match the return type of a GCC
21378 builtin and then its argument prototype would still apply. */
21391 if ac_fn_c_try_link
"$LINENO"; then :
21392 ac_cv_lib_m_tan
=yes
21396 rm -f core conftest.err conftest.
$ac_objext \
21397 conftest
$ac_exeext conftest.
$ac_ext
21398 LIBS
=$ac_check_lib_save_LIBS
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21401 $as_echo "$ac_cv_lib_m_tan" >&6; }
21402 if test "x$ac_cv_lib_m_tan" = x
""yes; then :
21404 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21409 $as_echo_n "checking for tanl in -lm... " >&6; }
21410 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21411 $as_echo_n "(cached) " >&6
21413 ac_check_lib_save_LIBS
=$LIBS
21415 if test x
$gcc_no_link = xyes
; then
21416 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21419 /* end confdefs.h. */
21421 /* Override any GCC internal prototype to avoid an error.
21422 Use char because int might match the return type of a GCC
21423 builtin and then its argument prototype would still apply. */
21436 if ac_fn_c_try_link
"$LINENO"; then :
21437 ac_cv_lib_m_tanl
=yes
21439 ac_cv_lib_m_tanl
=no
21441 rm -f core conftest.err conftest.
$ac_objext \
21442 conftest
$ac_exeext conftest.
$ac_ext
21443 LIBS
=$ac_check_lib_save_LIBS
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21446 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21447 if test "x$ac_cv_lib_m_tanl" = x
""yes; then :
21449 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21454 $as_echo_n "checking for ctanf in -lm... " >&6; }
21455 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21456 $as_echo_n "(cached) " >&6
21458 ac_check_lib_save_LIBS
=$LIBS
21460 if test x
$gcc_no_link = xyes
; then
21461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21466 /* Override any GCC internal prototype to avoid an error.
21467 Use char because int might match the return type of a GCC
21468 builtin and then its argument prototype would still apply. */
21481 if ac_fn_c_try_link
"$LINENO"; then :
21482 ac_cv_lib_m_ctanf
=yes
21484 ac_cv_lib_m_ctanf
=no
21486 rm -f core conftest.err conftest.
$ac_objext \
21487 conftest
$ac_exeext conftest.
$ac_ext
21488 LIBS
=$ac_check_lib_save_LIBS
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21491 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21492 if test "x$ac_cv_lib_m_ctanf" = x
""yes; then :
21494 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21499 $as_echo_n "checking for ctan in -lm... " >&6; }
21500 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21501 $as_echo_n "(cached) " >&6
21503 ac_check_lib_save_LIBS
=$LIBS
21505 if test x
$gcc_no_link = xyes
; then
21506 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21509 /* end confdefs.h. */
21511 /* Override any GCC internal prototype to avoid an error.
21512 Use char because int might match the return type of a GCC
21513 builtin and then its argument prototype would still apply. */
21526 if ac_fn_c_try_link
"$LINENO"; then :
21527 ac_cv_lib_m_ctan
=yes
21529 ac_cv_lib_m_ctan
=no
21531 rm -f core conftest.err conftest.
$ac_objext \
21532 conftest
$ac_exeext conftest.
$ac_ext
21533 LIBS
=$ac_check_lib_save_LIBS
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21536 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21537 if test "x$ac_cv_lib_m_ctan" = x
""yes; then :
21539 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21544 $as_echo_n "checking for ctanl in -lm... " >&6; }
21545 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21546 $as_echo_n "(cached) " >&6
21548 ac_check_lib_save_LIBS
=$LIBS
21550 if test x
$gcc_no_link = xyes
; then
21551 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h. */
21556 /* Override any GCC internal prototype to avoid an error.
21557 Use char because int might match the return type of a GCC
21558 builtin and then its argument prototype would still apply. */
21571 if ac_fn_c_try_link
"$LINENO"; then :
21572 ac_cv_lib_m_ctanl
=yes
21574 ac_cv_lib_m_ctanl
=no
21576 rm -f core conftest.err conftest.
$ac_objext \
21577 conftest
$ac_exeext conftest.
$ac_ext
21578 LIBS
=$ac_check_lib_save_LIBS
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21581 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21582 if test "x$ac_cv_lib_m_ctanl" = x
""yes; then :
21584 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21589 $as_echo_n "checking for tanhf in -lm... " >&6; }
21590 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21591 $as_echo_n "(cached) " >&6
21593 ac_check_lib_save_LIBS
=$LIBS
21595 if test x
$gcc_no_link = xyes
; then
21596 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21599 /* end confdefs.h. */
21601 /* Override any GCC internal prototype to avoid an error.
21602 Use char because int might match the return type of a GCC
21603 builtin and then its argument prototype would still apply. */
21616 if ac_fn_c_try_link
"$LINENO"; then :
21617 ac_cv_lib_m_tanhf
=yes
21619 ac_cv_lib_m_tanhf
=no
21621 rm -f core conftest.err conftest.
$ac_objext \
21622 conftest
$ac_exeext conftest.
$ac_ext
21623 LIBS
=$ac_check_lib_save_LIBS
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21626 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21627 if test "x$ac_cv_lib_m_tanhf" = x
""yes; then :
21629 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21634 $as_echo_n "checking for tanh in -lm... " >&6; }
21635 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21636 $as_echo_n "(cached) " >&6
21638 ac_check_lib_save_LIBS
=$LIBS
21640 if test x
$gcc_no_link = xyes
; then
21641 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21646 /* Override any GCC internal prototype to avoid an error.
21647 Use char because int might match the return type of a GCC
21648 builtin and then its argument prototype would still apply. */
21661 if ac_fn_c_try_link
"$LINENO"; then :
21662 ac_cv_lib_m_tanh
=yes
21664 ac_cv_lib_m_tanh
=no
21666 rm -f core conftest.err conftest.
$ac_objext \
21667 conftest
$ac_exeext conftest.
$ac_ext
21668 LIBS
=$ac_check_lib_save_LIBS
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21671 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21672 if test "x$ac_cv_lib_m_tanh" = x
""yes; then :
21674 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21679 $as_echo_n "checking for tanhl in -lm... " >&6; }
21680 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21681 $as_echo_n "(cached) " >&6
21683 ac_check_lib_save_LIBS
=$LIBS
21685 if test x
$gcc_no_link = xyes
; then
21686 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21691 /* Override any GCC internal prototype to avoid an error.
21692 Use char because int might match the return type of a GCC
21693 builtin and then its argument prototype would still apply. */
21706 if ac_fn_c_try_link
"$LINENO"; then :
21707 ac_cv_lib_m_tanhl
=yes
21709 ac_cv_lib_m_tanhl
=no
21711 rm -f core conftest.err conftest.
$ac_objext \
21712 conftest
$ac_exeext conftest.
$ac_ext
21713 LIBS
=$ac_check_lib_save_LIBS
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21716 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21717 if test "x$ac_cv_lib_m_tanhl" = x
""yes; then :
21719 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21724 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21725 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21726 $as_echo_n "(cached) " >&6
21728 ac_check_lib_save_LIBS
=$LIBS
21730 if test x
$gcc_no_link = xyes
; then
21731 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21736 /* Override any GCC internal prototype to avoid an error.
21737 Use char because int might match the return type of a GCC
21738 builtin and then its argument prototype would still apply. */
21751 if ac_fn_c_try_link
"$LINENO"; then :
21752 ac_cv_lib_m_ctanhf
=yes
21754 ac_cv_lib_m_ctanhf
=no
21756 rm -f core conftest.err conftest.
$ac_objext \
21757 conftest
$ac_exeext conftest.
$ac_ext
21758 LIBS
=$ac_check_lib_save_LIBS
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21761 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21762 if test "x$ac_cv_lib_m_ctanhf" = x
""yes; then :
21764 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21769 $as_echo_n "checking for ctanh in -lm... " >&6; }
21770 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21771 $as_echo_n "(cached) " >&6
21773 ac_check_lib_save_LIBS
=$LIBS
21775 if test x
$gcc_no_link = xyes
; then
21776 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21779 /* end confdefs.h. */
21781 /* Override any GCC internal prototype to avoid an error.
21782 Use char because int might match the return type of a GCC
21783 builtin and then its argument prototype would still apply. */
21796 if ac_fn_c_try_link
"$LINENO"; then :
21797 ac_cv_lib_m_ctanh
=yes
21799 ac_cv_lib_m_ctanh
=no
21801 rm -f core conftest.err conftest.
$ac_objext \
21802 conftest
$ac_exeext conftest.
$ac_ext
21803 LIBS
=$ac_check_lib_save_LIBS
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21806 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21807 if test "x$ac_cv_lib_m_ctanh" = x
""yes; then :
21809 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21814 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21815 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21816 $as_echo_n "(cached) " >&6
21818 ac_check_lib_save_LIBS
=$LIBS
21820 if test x
$gcc_no_link = xyes
; then
21821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h. */
21826 /* Override any GCC internal prototype to avoid an error.
21827 Use char because int might match the return type of a GCC
21828 builtin and then its argument prototype would still apply. */
21841 if ac_fn_c_try_link
"$LINENO"; then :
21842 ac_cv_lib_m_ctanhl
=yes
21844 ac_cv_lib_m_ctanhl
=no
21846 rm -f core conftest.err conftest.
$ac_objext \
21847 conftest
$ac_exeext conftest.
$ac_ext
21848 LIBS
=$ac_check_lib_save_LIBS
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21851 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21852 if test "x$ac_cv_lib_m_ctanhl" = x
""yes; then :
21854 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21859 $as_echo_n "checking for truncf in -lm... " >&6; }
21860 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21861 $as_echo_n "(cached) " >&6
21863 ac_check_lib_save_LIBS
=$LIBS
21865 if test x
$gcc_no_link = xyes
; then
21866 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21869 /* end confdefs.h. */
21871 /* Override any GCC internal prototype to avoid an error.
21872 Use char because int might match the return type of a GCC
21873 builtin and then its argument prototype would still apply. */
21886 if ac_fn_c_try_link
"$LINENO"; then :
21887 ac_cv_lib_m_truncf
=yes
21889 ac_cv_lib_m_truncf
=no
21891 rm -f core conftest.err conftest.
$ac_objext \
21892 conftest
$ac_exeext conftest.
$ac_ext
21893 LIBS
=$ac_check_lib_save_LIBS
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21896 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21897 if test "x$ac_cv_lib_m_truncf" = x
""yes; then :
21899 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21904 $as_echo_n "checking for trunc in -lm... " >&6; }
21905 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21906 $as_echo_n "(cached) " >&6
21908 ac_check_lib_save_LIBS
=$LIBS
21910 if test x
$gcc_no_link = xyes
; then
21911 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21916 /* Override any GCC internal prototype to avoid an error.
21917 Use char because int might match the return type of a GCC
21918 builtin and then its argument prototype would still apply. */
21931 if ac_fn_c_try_link
"$LINENO"; then :
21932 ac_cv_lib_m_trunc
=yes
21934 ac_cv_lib_m_trunc
=no
21936 rm -f core conftest.err conftest.
$ac_objext \
21937 conftest
$ac_exeext conftest.
$ac_ext
21938 LIBS
=$ac_check_lib_save_LIBS
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21941 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21942 if test "x$ac_cv_lib_m_trunc" = x
""yes; then :
21944 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21949 $as_echo_n "checking for truncl in -lm... " >&6; }
21950 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21951 $as_echo_n "(cached) " >&6
21953 ac_check_lib_save_LIBS
=$LIBS
21955 if test x
$gcc_no_link = xyes
; then
21956 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21959 /* end confdefs.h. */
21961 /* Override any GCC internal prototype to avoid an error.
21962 Use char because int might match the return type of a GCC
21963 builtin and then its argument prototype would still apply. */
21976 if ac_fn_c_try_link
"$LINENO"; then :
21977 ac_cv_lib_m_truncl
=yes
21979 ac_cv_lib_m_truncl
=no
21981 rm -f core conftest.err conftest.
$ac_objext \
21982 conftest
$ac_exeext conftest.
$ac_ext
21983 LIBS
=$ac_check_lib_save_LIBS
21985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21986 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21987 if test "x$ac_cv_lib_m_truncl" = x
""yes; then :
21989 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21994 $as_echo_n "checking for erff in -lm... " >&6; }
21995 if test "${ac_cv_lib_m_erff+set}" = set; then :
21996 $as_echo_n "(cached) " >&6
21998 ac_check_lib_save_LIBS
=$LIBS
22000 if test x
$gcc_no_link = xyes
; then
22001 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22004 /* end confdefs.h. */
22006 /* Override any GCC internal prototype to avoid an error.
22007 Use char because int might match the return type of a GCC
22008 builtin and then its argument prototype would still apply. */
22021 if ac_fn_c_try_link
"$LINENO"; then :
22022 ac_cv_lib_m_erff
=yes
22024 ac_cv_lib_m_erff
=no
22026 rm -f core conftest.err conftest.
$ac_objext \
22027 conftest
$ac_exeext conftest.
$ac_ext
22028 LIBS
=$ac_check_lib_save_LIBS
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22031 $as_echo "$ac_cv_lib_m_erff" >&6; }
22032 if test "x$ac_cv_lib_m_erff" = x
""yes; then :
22034 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22039 $as_echo_n "checking for erf in -lm... " >&6; }
22040 if test "${ac_cv_lib_m_erf+set}" = set; then :
22041 $as_echo_n "(cached) " >&6
22043 ac_check_lib_save_LIBS
=$LIBS
22045 if test x
$gcc_no_link = xyes
; then
22046 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22049 /* end confdefs.h. */
22051 /* Override any GCC internal prototype to avoid an error.
22052 Use char because int might match the return type of a GCC
22053 builtin and then its argument prototype would still apply. */
22066 if ac_fn_c_try_link
"$LINENO"; then :
22067 ac_cv_lib_m_erf
=yes
22071 rm -f core conftest.err conftest.
$ac_objext \
22072 conftest
$ac_exeext conftest.
$ac_ext
22073 LIBS
=$ac_check_lib_save_LIBS
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22076 $as_echo "$ac_cv_lib_m_erf" >&6; }
22077 if test "x$ac_cv_lib_m_erf" = x
""yes; then :
22079 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22084 $as_echo_n "checking for erfl in -lm... " >&6; }
22085 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22086 $as_echo_n "(cached) " >&6
22088 ac_check_lib_save_LIBS
=$LIBS
22090 if test x
$gcc_no_link = xyes
; then
22091 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22094 /* end confdefs.h. */
22096 /* Override any GCC internal prototype to avoid an error.
22097 Use char because int might match the return type of a GCC
22098 builtin and then its argument prototype would still apply. */
22111 if ac_fn_c_try_link
"$LINENO"; then :
22112 ac_cv_lib_m_erfl
=yes
22114 ac_cv_lib_m_erfl
=no
22116 rm -f core conftest.err conftest.
$ac_objext \
22117 conftest
$ac_exeext conftest.
$ac_ext
22118 LIBS
=$ac_check_lib_save_LIBS
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22121 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22122 if test "x$ac_cv_lib_m_erfl" = x
""yes; then :
22124 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22129 $as_echo_n "checking for erfcf in -lm... " >&6; }
22130 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22131 $as_echo_n "(cached) " >&6
22133 ac_check_lib_save_LIBS
=$LIBS
22135 if test x
$gcc_no_link = xyes
; then
22136 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22139 /* end confdefs.h. */
22141 /* Override any GCC internal prototype to avoid an error.
22142 Use char because int might match the return type of a GCC
22143 builtin and then its argument prototype would still apply. */
22156 if ac_fn_c_try_link
"$LINENO"; then :
22157 ac_cv_lib_m_erfcf
=yes
22159 ac_cv_lib_m_erfcf
=no
22161 rm -f core conftest.err conftest.
$ac_objext \
22162 conftest
$ac_exeext conftest.
$ac_ext
22163 LIBS
=$ac_check_lib_save_LIBS
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22166 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22167 if test "x$ac_cv_lib_m_erfcf" = x
""yes; then :
22169 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22174 $as_echo_n "checking for erfc in -lm... " >&6; }
22175 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22176 $as_echo_n "(cached) " >&6
22178 ac_check_lib_save_LIBS
=$LIBS
22180 if test x
$gcc_no_link = xyes
; then
22181 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22184 /* end confdefs.h. */
22186 /* Override any GCC internal prototype to avoid an error.
22187 Use char because int might match the return type of a GCC
22188 builtin and then its argument prototype would still apply. */
22201 if ac_fn_c_try_link
"$LINENO"; then :
22202 ac_cv_lib_m_erfc
=yes
22204 ac_cv_lib_m_erfc
=no
22206 rm -f core conftest.err conftest.
$ac_objext \
22207 conftest
$ac_exeext conftest.
$ac_ext
22208 LIBS
=$ac_check_lib_save_LIBS
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22211 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22212 if test "x$ac_cv_lib_m_erfc" = x
""yes; then :
22214 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22219 $as_echo_n "checking for erfcl in -lm... " >&6; }
22220 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22221 $as_echo_n "(cached) " >&6
22223 ac_check_lib_save_LIBS
=$LIBS
22225 if test x
$gcc_no_link = xyes
; then
22226 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22229 /* end confdefs.h. */
22231 /* Override any GCC internal prototype to avoid an error.
22232 Use char because int might match the return type of a GCC
22233 builtin and then its argument prototype would still apply. */
22246 if ac_fn_c_try_link
"$LINENO"; then :
22247 ac_cv_lib_m_erfcl
=yes
22249 ac_cv_lib_m_erfcl
=no
22251 rm -f core conftest.err conftest.
$ac_objext \
22252 conftest
$ac_exeext conftest.
$ac_ext
22253 LIBS
=$ac_check_lib_save_LIBS
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22256 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22257 if test "x$ac_cv_lib_m_erfcl" = x
""yes; then :
22259 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22264 $as_echo_n "checking for j0f in -lm... " >&6; }
22265 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22266 $as_echo_n "(cached) " >&6
22268 ac_check_lib_save_LIBS
=$LIBS
22270 if test x
$gcc_no_link = xyes
; then
22271 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h. */
22276 /* Override any GCC internal prototype to avoid an error.
22277 Use char because int might match the return type of a GCC
22278 builtin and then its argument prototype would still apply. */
22291 if ac_fn_c_try_link
"$LINENO"; then :
22292 ac_cv_lib_m_j0f
=yes
22296 rm -f core conftest.err conftest.
$ac_objext \
22297 conftest
$ac_exeext conftest.
$ac_ext
22298 LIBS
=$ac_check_lib_save_LIBS
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22301 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22302 if test "x$ac_cv_lib_m_j0f" = x
""yes; then :
22304 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22309 $as_echo_n "checking for j0 in -lm... " >&6; }
22310 if test "${ac_cv_lib_m_j0+set}" = set; then :
22311 $as_echo_n "(cached) " >&6
22313 ac_check_lib_save_LIBS
=$LIBS
22315 if test x
$gcc_no_link = xyes
; then
22316 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22319 /* end confdefs.h. */
22321 /* Override any GCC internal prototype to avoid an error.
22322 Use char because int might match the return type of a GCC
22323 builtin and then its argument prototype would still apply. */
22336 if ac_fn_c_try_link
"$LINENO"; then :
22341 rm -f core conftest.err conftest.
$ac_objext \
22342 conftest
$ac_exeext conftest.
$ac_ext
22343 LIBS
=$ac_check_lib_save_LIBS
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22346 $as_echo "$ac_cv_lib_m_j0" >&6; }
22347 if test "x$ac_cv_lib_m_j0" = x
""yes; then :
22349 $as_echo "#define HAVE_J0 1" >>confdefs.h
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22354 $as_echo_n "checking for j0l in -lm... " >&6; }
22355 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22356 $as_echo_n "(cached) " >&6
22358 ac_check_lib_save_LIBS
=$LIBS
22360 if test x
$gcc_no_link = xyes
; then
22361 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h. */
22366 /* Override any GCC internal prototype to avoid an error.
22367 Use char because int might match the return type of a GCC
22368 builtin and then its argument prototype would still apply. */
22381 if ac_fn_c_try_link
"$LINENO"; then :
22382 ac_cv_lib_m_j0l
=yes
22386 rm -f core conftest.err conftest.
$ac_objext \
22387 conftest
$ac_exeext conftest.
$ac_ext
22388 LIBS
=$ac_check_lib_save_LIBS
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22391 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22392 if test "x$ac_cv_lib_m_j0l" = x
""yes; then :
22394 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22399 $as_echo_n "checking for j1f in -lm... " >&6; }
22400 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22401 $as_echo_n "(cached) " >&6
22403 ac_check_lib_save_LIBS
=$LIBS
22405 if test x
$gcc_no_link = xyes
; then
22406 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22411 /* Override any GCC internal prototype to avoid an error.
22412 Use char because int might match the return type of a GCC
22413 builtin and then its argument prototype would still apply. */
22426 if ac_fn_c_try_link
"$LINENO"; then :
22427 ac_cv_lib_m_j1f
=yes
22431 rm -f core conftest.err conftest.
$ac_objext \
22432 conftest
$ac_exeext conftest.
$ac_ext
22433 LIBS
=$ac_check_lib_save_LIBS
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22436 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22437 if test "x$ac_cv_lib_m_j1f" = x
""yes; then :
22439 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22444 $as_echo_n "checking for j1 in -lm... " >&6; }
22445 if test "${ac_cv_lib_m_j1+set}" = set; then :
22446 $as_echo_n "(cached) " >&6
22448 ac_check_lib_save_LIBS
=$LIBS
22450 if test x
$gcc_no_link = xyes
; then
22451 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h. */
22456 /* Override any GCC internal prototype to avoid an error.
22457 Use char because int might match the return type of a GCC
22458 builtin and then its argument prototype would still apply. */
22471 if ac_fn_c_try_link
"$LINENO"; then :
22476 rm -f core conftest.err conftest.
$ac_objext \
22477 conftest
$ac_exeext conftest.
$ac_ext
22478 LIBS
=$ac_check_lib_save_LIBS
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22481 $as_echo "$ac_cv_lib_m_j1" >&6; }
22482 if test "x$ac_cv_lib_m_j1" = x
""yes; then :
22484 $as_echo "#define HAVE_J1 1" >>confdefs.h
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22489 $as_echo_n "checking for j1l in -lm... " >&6; }
22490 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22491 $as_echo_n "(cached) " >&6
22493 ac_check_lib_save_LIBS
=$LIBS
22495 if test x
$gcc_no_link = xyes
; then
22496 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22499 /* end confdefs.h. */
22501 /* Override any GCC internal prototype to avoid an error.
22502 Use char because int might match the return type of a GCC
22503 builtin and then its argument prototype would still apply. */
22516 if ac_fn_c_try_link
"$LINENO"; then :
22517 ac_cv_lib_m_j1l
=yes
22521 rm -f core conftest.err conftest.
$ac_objext \
22522 conftest
$ac_exeext conftest.
$ac_ext
22523 LIBS
=$ac_check_lib_save_LIBS
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22526 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22527 if test "x$ac_cv_lib_m_j1l" = x
""yes; then :
22529 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22534 $as_echo_n "checking for jnf in -lm... " >&6; }
22535 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22536 $as_echo_n "(cached) " >&6
22538 ac_check_lib_save_LIBS
=$LIBS
22540 if test x
$gcc_no_link = xyes
; then
22541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22546 /* Override any GCC internal prototype to avoid an error.
22547 Use char because int might match the return type of a GCC
22548 builtin and then its argument prototype would still apply. */
22561 if ac_fn_c_try_link
"$LINENO"; then :
22562 ac_cv_lib_m_jnf
=yes
22566 rm -f core conftest.err conftest.
$ac_objext \
22567 conftest
$ac_exeext conftest.
$ac_ext
22568 LIBS
=$ac_check_lib_save_LIBS
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22571 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22572 if test "x$ac_cv_lib_m_jnf" = x
""yes; then :
22574 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22579 $as_echo_n "checking for jn in -lm... " >&6; }
22580 if test "${ac_cv_lib_m_jn+set}" = set; then :
22581 $as_echo_n "(cached) " >&6
22583 ac_check_lib_save_LIBS
=$LIBS
22585 if test x
$gcc_no_link = xyes
; then
22586 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22589 /* end confdefs.h. */
22591 /* Override any GCC internal prototype to avoid an error.
22592 Use char because int might match the return type of a GCC
22593 builtin and then its argument prototype would still apply. */
22606 if ac_fn_c_try_link
"$LINENO"; then :
22611 rm -f core conftest.err conftest.
$ac_objext \
22612 conftest
$ac_exeext conftest.
$ac_ext
22613 LIBS
=$ac_check_lib_save_LIBS
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22616 $as_echo "$ac_cv_lib_m_jn" >&6; }
22617 if test "x$ac_cv_lib_m_jn" = x
""yes; then :
22619 $as_echo "#define HAVE_JN 1" >>confdefs.h
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22624 $as_echo_n "checking for jnl in -lm... " >&6; }
22625 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22628 ac_check_lib_save_LIBS
=$LIBS
22630 if test x
$gcc_no_link = xyes
; then
22631 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h. */
22636 /* Override any GCC internal prototype to avoid an error.
22637 Use char because int might match the return type of a GCC
22638 builtin and then its argument prototype would still apply. */
22651 if ac_fn_c_try_link
"$LINENO"; then :
22652 ac_cv_lib_m_jnl
=yes
22656 rm -f core conftest.err conftest.
$ac_objext \
22657 conftest
$ac_exeext conftest.
$ac_ext
22658 LIBS
=$ac_check_lib_save_LIBS
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22661 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22662 if test "x$ac_cv_lib_m_jnl" = x
""yes; then :
22664 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22669 $as_echo_n "checking for y0f in -lm... " >&6; }
22670 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22671 $as_echo_n "(cached) " >&6
22673 ac_check_lib_save_LIBS
=$LIBS
22675 if test x
$gcc_no_link = xyes
; then
22676 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22679 /* end confdefs.h. */
22681 /* Override any GCC internal prototype to avoid an error.
22682 Use char because int might match the return type of a GCC
22683 builtin and then its argument prototype would still apply. */
22696 if ac_fn_c_try_link
"$LINENO"; then :
22697 ac_cv_lib_m_y0f
=yes
22701 rm -f core conftest.err conftest.
$ac_objext \
22702 conftest
$ac_exeext conftest.
$ac_ext
22703 LIBS
=$ac_check_lib_save_LIBS
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22706 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22707 if test "x$ac_cv_lib_m_y0f" = x
""yes; then :
22709 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22714 $as_echo_n "checking for y0 in -lm... " >&6; }
22715 if test "${ac_cv_lib_m_y0+set}" = set; then :
22716 $as_echo_n "(cached) " >&6
22718 ac_check_lib_save_LIBS
=$LIBS
22720 if test x
$gcc_no_link = xyes
; then
22721 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22724 /* end confdefs.h. */
22726 /* Override any GCC internal prototype to avoid an error.
22727 Use char because int might match the return type of a GCC
22728 builtin and then its argument prototype would still apply. */
22741 if ac_fn_c_try_link
"$LINENO"; then :
22746 rm -f core conftest.err conftest.
$ac_objext \
22747 conftest
$ac_exeext conftest.
$ac_ext
22748 LIBS
=$ac_check_lib_save_LIBS
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22751 $as_echo "$ac_cv_lib_m_y0" >&6; }
22752 if test "x$ac_cv_lib_m_y0" = x
""yes; then :
22754 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22759 $as_echo_n "checking for y0l in -lm... " >&6; }
22760 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22761 $as_echo_n "(cached) " >&6
22763 ac_check_lib_save_LIBS
=$LIBS
22765 if test x
$gcc_no_link = xyes
; then
22766 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22769 /* end confdefs.h. */
22771 /* Override any GCC internal prototype to avoid an error.
22772 Use char because int might match the return type of a GCC
22773 builtin and then its argument prototype would still apply. */
22786 if ac_fn_c_try_link
"$LINENO"; then :
22787 ac_cv_lib_m_y0l
=yes
22791 rm -f core conftest.err conftest.
$ac_objext \
22792 conftest
$ac_exeext conftest.
$ac_ext
22793 LIBS
=$ac_check_lib_save_LIBS
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22796 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22797 if test "x$ac_cv_lib_m_y0l" = x
""yes; then :
22799 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22804 $as_echo_n "checking for y1f in -lm... " >&6; }
22805 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22806 $as_echo_n "(cached) " >&6
22808 ac_check_lib_save_LIBS
=$LIBS
22810 if test x
$gcc_no_link = xyes
; then
22811 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22814 /* end confdefs.h. */
22816 /* Override any GCC internal prototype to avoid an error.
22817 Use char because int might match the return type of a GCC
22818 builtin and then its argument prototype would still apply. */
22831 if ac_fn_c_try_link
"$LINENO"; then :
22832 ac_cv_lib_m_y1f
=yes
22836 rm -f core conftest.err conftest.
$ac_objext \
22837 conftest
$ac_exeext conftest.
$ac_ext
22838 LIBS
=$ac_check_lib_save_LIBS
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22841 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22842 if test "x$ac_cv_lib_m_y1f" = x
""yes; then :
22844 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22849 $as_echo_n "checking for y1 in -lm... " >&6; }
22850 if test "${ac_cv_lib_m_y1+set}" = set; then :
22851 $as_echo_n "(cached) " >&6
22853 ac_check_lib_save_LIBS
=$LIBS
22855 if test x
$gcc_no_link = xyes
; then
22856 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22859 /* end confdefs.h. */
22861 /* Override any GCC internal prototype to avoid an error.
22862 Use char because int might match the return type of a GCC
22863 builtin and then its argument prototype would still apply. */
22876 if ac_fn_c_try_link
"$LINENO"; then :
22881 rm -f core conftest.err conftest.
$ac_objext \
22882 conftest
$ac_exeext conftest.
$ac_ext
22883 LIBS
=$ac_check_lib_save_LIBS
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22886 $as_echo "$ac_cv_lib_m_y1" >&6; }
22887 if test "x$ac_cv_lib_m_y1" = x
""yes; then :
22889 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22894 $as_echo_n "checking for y1l in -lm... " >&6; }
22895 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22896 $as_echo_n "(cached) " >&6
22898 ac_check_lib_save_LIBS
=$LIBS
22900 if test x
$gcc_no_link = xyes
; then
22901 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22904 /* end confdefs.h. */
22906 /* Override any GCC internal prototype to avoid an error.
22907 Use char because int might match the return type of a GCC
22908 builtin and then its argument prototype would still apply. */
22921 if ac_fn_c_try_link
"$LINENO"; then :
22922 ac_cv_lib_m_y1l
=yes
22926 rm -f core conftest.err conftest.
$ac_objext \
22927 conftest
$ac_exeext conftest.
$ac_ext
22928 LIBS
=$ac_check_lib_save_LIBS
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22931 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22932 if test "x$ac_cv_lib_m_y1l" = x
""yes; then :
22934 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22939 $as_echo_n "checking for ynf in -lm... " >&6; }
22940 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22941 $as_echo_n "(cached) " >&6
22943 ac_check_lib_save_LIBS
=$LIBS
22945 if test x
$gcc_no_link = xyes
; then
22946 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22951 /* Override any GCC internal prototype to avoid an error.
22952 Use char because int might match the return type of a GCC
22953 builtin and then its argument prototype would still apply. */
22966 if ac_fn_c_try_link
"$LINENO"; then :
22967 ac_cv_lib_m_ynf
=yes
22971 rm -f core conftest.err conftest.
$ac_objext \
22972 conftest
$ac_exeext conftest.
$ac_ext
22973 LIBS
=$ac_check_lib_save_LIBS
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22976 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22977 if test "x$ac_cv_lib_m_ynf" = x
""yes; then :
22979 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22984 $as_echo_n "checking for yn in -lm... " >&6; }
22985 if test "${ac_cv_lib_m_yn+set}" = set; then :
22986 $as_echo_n "(cached) " >&6
22988 ac_check_lib_save_LIBS
=$LIBS
22990 if test x
$gcc_no_link = xyes
; then
22991 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h. */
22996 /* Override any GCC internal prototype to avoid an error.
22997 Use char because int might match the return type of a GCC
22998 builtin and then its argument prototype would still apply. */
23011 if ac_fn_c_try_link
"$LINENO"; then :
23016 rm -f core conftest.err conftest.
$ac_objext \
23017 conftest
$ac_exeext conftest.
$ac_ext
23018 LIBS
=$ac_check_lib_save_LIBS
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23021 $as_echo "$ac_cv_lib_m_yn" >&6; }
23022 if test "x$ac_cv_lib_m_yn" = x
""yes; then :
23024 $as_echo "#define HAVE_YN 1" >>confdefs.h
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23029 $as_echo_n "checking for ynl in -lm... " >&6; }
23030 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23031 $as_echo_n "(cached) " >&6
23033 ac_check_lib_save_LIBS
=$LIBS
23035 if test x
$gcc_no_link = xyes
; then
23036 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h. */
23041 /* Override any GCC internal prototype to avoid an error.
23042 Use char because int might match the return type of a GCC
23043 builtin and then its argument prototype would still apply. */
23056 if ac_fn_c_try_link
"$LINENO"; then :
23057 ac_cv_lib_m_ynl
=yes
23061 rm -f core conftest.err conftest.
$ac_objext \
23062 conftest
$ac_exeext conftest.
$ac_ext
23063 LIBS
=$ac_check_lib_save_LIBS
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23066 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23067 if test "x$ac_cv_lib_m_ynl" = x
""yes; then :
23069 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23074 $as_echo_n "checking for tgamma in -lm... " >&6; }
23075 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23076 $as_echo_n "(cached) " >&6
23078 ac_check_lib_save_LIBS
=$LIBS
23080 if test x
$gcc_no_link = xyes
; then
23081 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23084 /* end confdefs.h. */
23086 /* Override any GCC internal prototype to avoid an error.
23087 Use char because int might match the return type of a GCC
23088 builtin and then its argument prototype would still apply. */
23101 if ac_fn_c_try_link
"$LINENO"; then :
23102 ac_cv_lib_m_tgamma
=yes
23104 ac_cv_lib_m_tgamma
=no
23106 rm -f core conftest.err conftest.
$ac_objext \
23107 conftest
$ac_exeext conftest.
$ac_ext
23108 LIBS
=$ac_check_lib_save_LIBS
23110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23111 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23112 if test "x$ac_cv_lib_m_tgamma" = x
""yes; then :
23114 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23119 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23120 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23121 $as_echo_n "(cached) " >&6
23123 ac_check_lib_save_LIBS
=$LIBS
23125 if test x
$gcc_no_link = xyes
; then
23126 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h. */
23131 /* Override any GCC internal prototype to avoid an error.
23132 Use char because int might match the return type of a GCC
23133 builtin and then its argument prototype would still apply. */
23146 if ac_fn_c_try_link
"$LINENO"; then :
23147 ac_cv_lib_m_tgammaf
=yes
23149 ac_cv_lib_m_tgammaf
=no
23151 rm -f core conftest.err conftest.
$ac_objext \
23152 conftest
$ac_exeext conftest.
$ac_ext
23153 LIBS
=$ac_check_lib_save_LIBS
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23156 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23157 if test "x$ac_cv_lib_m_tgammaf" = x
""yes; then :
23159 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23164 $as_echo_n "checking for tgammal in -lm... " >&6; }
23165 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23166 $as_echo_n "(cached) " >&6
23168 ac_check_lib_save_LIBS
=$LIBS
23170 if test x
$gcc_no_link = xyes
; then
23171 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h. */
23176 /* Override any GCC internal prototype to avoid an error.
23177 Use char because int might match the return type of a GCC
23178 builtin and then its argument prototype would still apply. */
23191 if ac_fn_c_try_link
"$LINENO"; then :
23192 ac_cv_lib_m_tgammal
=yes
23194 ac_cv_lib_m_tgammal
=no
23196 rm -f core conftest.err conftest.
$ac_objext \
23197 conftest
$ac_exeext conftest.
$ac_ext
23198 LIBS
=$ac_check_lib_save_LIBS
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23201 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23202 if test "x$ac_cv_lib_m_tgammal" = x
""yes; then :
23204 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23209 $as_echo_n "checking for lgamma in -lm... " >&6; }
23210 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23211 $as_echo_n "(cached) " >&6
23213 ac_check_lib_save_LIBS
=$LIBS
23215 if test x
$gcc_no_link = xyes
; then
23216 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23221 /* Override any GCC internal prototype to avoid an error.
23222 Use char because int might match the return type of a GCC
23223 builtin and then its argument prototype would still apply. */
23236 if ac_fn_c_try_link
"$LINENO"; then :
23237 ac_cv_lib_m_lgamma
=yes
23239 ac_cv_lib_m_lgamma
=no
23241 rm -f core conftest.err conftest.
$ac_objext \
23242 conftest
$ac_exeext conftest.
$ac_ext
23243 LIBS
=$ac_check_lib_save_LIBS
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23246 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23247 if test "x$ac_cv_lib_m_lgamma" = x
""yes; then :
23249 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23254 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23255 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23256 $as_echo_n "(cached) " >&6
23258 ac_check_lib_save_LIBS
=$LIBS
23260 if test x
$gcc_no_link = xyes
; then
23261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23264 /* end confdefs.h. */
23266 /* Override any GCC internal prototype to avoid an error.
23267 Use char because int might match the return type of a GCC
23268 builtin and then its argument prototype would still apply. */
23281 if ac_fn_c_try_link
"$LINENO"; then :
23282 ac_cv_lib_m_lgammaf
=yes
23284 ac_cv_lib_m_lgammaf
=no
23286 rm -f core conftest.err conftest.
$ac_objext \
23287 conftest
$ac_exeext conftest.
$ac_ext
23288 LIBS
=$ac_check_lib_save_LIBS
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23291 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23292 if test "x$ac_cv_lib_m_lgammaf" = x
""yes; then :
23294 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23299 $as_echo_n "checking for lgammal in -lm... " >&6; }
23300 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23301 $as_echo_n "(cached) " >&6
23303 ac_check_lib_save_LIBS
=$LIBS
23305 if test x
$gcc_no_link = xyes
; then
23306 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23309 /* end confdefs.h. */
23311 /* Override any GCC internal prototype to avoid an error.
23312 Use char because int might match the return type of a GCC
23313 builtin and then its argument prototype would still apply. */
23326 if ac_fn_c_try_link
"$LINENO"; then :
23327 ac_cv_lib_m_lgammal
=yes
23329 ac_cv_lib_m_lgammal
=no
23331 rm -f core conftest.err conftest.
$ac_objext \
23332 conftest
$ac_exeext conftest.
$ac_ext
23333 LIBS
=$ac_check_lib_save_LIBS
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23336 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23337 if test "x$ac_cv_lib_m_lgammal" = x
""yes; then :
23339 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23344 # Check for GFORTRAN_C99_1.1 funcs
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23346 $as_echo_n "checking for cacos in -lm... " >&6; }
23347 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23348 $as_echo_n "(cached) " >&6
23350 ac_check_lib_save_LIBS
=$LIBS
23352 if test x
$gcc_no_link = xyes
; then
23353 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23356 /* end confdefs.h. */
23358 /* Override any GCC internal prototype to avoid an error.
23359 Use char because int might match the return type of a GCC
23360 builtin and then its argument prototype would still apply. */
23373 if ac_fn_c_try_link
"$LINENO"; then :
23374 ac_cv_lib_m_cacos
=yes
23376 ac_cv_lib_m_cacos
=no
23378 rm -f core conftest.err conftest.
$ac_objext \
23379 conftest
$ac_exeext conftest.
$ac_ext
23380 LIBS
=$ac_check_lib_save_LIBS
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23383 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23384 if test "x$ac_cv_lib_m_cacos" = x
""yes; then :
23386 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23391 $as_echo_n "checking for cacosf in -lm... " >&6; }
23392 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23393 $as_echo_n "(cached) " >&6
23395 ac_check_lib_save_LIBS
=$LIBS
23397 if test x
$gcc_no_link = xyes
; then
23398 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h. */
23403 /* Override any GCC internal prototype to avoid an error.
23404 Use char because int might match the return type of a GCC
23405 builtin and then its argument prototype would still apply. */
23418 if ac_fn_c_try_link
"$LINENO"; then :
23419 ac_cv_lib_m_cacosf
=yes
23421 ac_cv_lib_m_cacosf
=no
23423 rm -f core conftest.err conftest.
$ac_objext \
23424 conftest
$ac_exeext conftest.
$ac_ext
23425 LIBS
=$ac_check_lib_save_LIBS
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23428 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23429 if test "x$ac_cv_lib_m_cacosf" = x
""yes; then :
23431 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23436 $as_echo_n "checking for cacosh in -lm... " >&6; }
23437 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23438 $as_echo_n "(cached) " >&6
23440 ac_check_lib_save_LIBS
=$LIBS
23442 if test x
$gcc_no_link = xyes
; then
23443 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23446 /* end confdefs.h. */
23448 /* Override any GCC internal prototype to avoid an error.
23449 Use char because int might match the return type of a GCC
23450 builtin and then its argument prototype would still apply. */
23463 if ac_fn_c_try_link
"$LINENO"; then :
23464 ac_cv_lib_m_cacosh
=yes
23466 ac_cv_lib_m_cacosh
=no
23468 rm -f core conftest.err conftest.
$ac_objext \
23469 conftest
$ac_exeext conftest.
$ac_ext
23470 LIBS
=$ac_check_lib_save_LIBS
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23473 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23474 if test "x$ac_cv_lib_m_cacosh" = x
""yes; then :
23476 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23481 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23482 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23483 $as_echo_n "(cached) " >&6
23485 ac_check_lib_save_LIBS
=$LIBS
23487 if test x
$gcc_no_link = xyes
; then
23488 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23491 /* end confdefs.h. */
23493 /* Override any GCC internal prototype to avoid an error.
23494 Use char because int might match the return type of a GCC
23495 builtin and then its argument prototype would still apply. */
23508 if ac_fn_c_try_link
"$LINENO"; then :
23509 ac_cv_lib_m_cacoshf
=yes
23511 ac_cv_lib_m_cacoshf
=no
23513 rm -f core conftest.err conftest.
$ac_objext \
23514 conftest
$ac_exeext conftest.
$ac_ext
23515 LIBS
=$ac_check_lib_save_LIBS
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23518 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23519 if test "x$ac_cv_lib_m_cacoshf" = x
""yes; then :
23521 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23526 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23527 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23528 $as_echo_n "(cached) " >&6
23530 ac_check_lib_save_LIBS
=$LIBS
23532 if test x
$gcc_no_link = xyes
; then
23533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23538 /* Override any GCC internal prototype to avoid an error.
23539 Use char because int might match the return type of a GCC
23540 builtin and then its argument prototype would still apply. */
23553 if ac_fn_c_try_link
"$LINENO"; then :
23554 ac_cv_lib_m_cacoshl
=yes
23556 ac_cv_lib_m_cacoshl
=no
23558 rm -f core conftest.err conftest.
$ac_objext \
23559 conftest
$ac_exeext conftest.
$ac_ext
23560 LIBS
=$ac_check_lib_save_LIBS
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23563 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23564 if test "x$ac_cv_lib_m_cacoshl" = x
""yes; then :
23566 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23571 $as_echo_n "checking for cacosl in -lm... " >&6; }
23572 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23573 $as_echo_n "(cached) " >&6
23575 ac_check_lib_save_LIBS
=$LIBS
23577 if test x
$gcc_no_link = xyes
; then
23578 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23581 /* end confdefs.h. */
23583 /* Override any GCC internal prototype to avoid an error.
23584 Use char because int might match the return type of a GCC
23585 builtin and then its argument prototype would still apply. */
23598 if ac_fn_c_try_link
"$LINENO"; then :
23599 ac_cv_lib_m_cacosl
=yes
23601 ac_cv_lib_m_cacosl
=no
23603 rm -f core conftest.err conftest.
$ac_objext \
23604 conftest
$ac_exeext conftest.
$ac_ext
23605 LIBS
=$ac_check_lib_save_LIBS
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23608 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23609 if test "x$ac_cv_lib_m_cacosl" = x
""yes; then :
23611 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23616 $as_echo_n "checking for casin in -lm... " >&6; }
23617 if test "${ac_cv_lib_m_casin+set}" = set; then :
23618 $as_echo_n "(cached) " >&6
23620 ac_check_lib_save_LIBS
=$LIBS
23622 if test x
$gcc_no_link = xyes
; then
23623 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23626 /* end confdefs.h. */
23628 /* Override any GCC internal prototype to avoid an error.
23629 Use char because int might match the return type of a GCC
23630 builtin and then its argument prototype would still apply. */
23643 if ac_fn_c_try_link
"$LINENO"; then :
23644 ac_cv_lib_m_casin
=yes
23646 ac_cv_lib_m_casin
=no
23648 rm -f core conftest.err conftest.
$ac_objext \
23649 conftest
$ac_exeext conftest.
$ac_ext
23650 LIBS
=$ac_check_lib_save_LIBS
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23653 $as_echo "$ac_cv_lib_m_casin" >&6; }
23654 if test "x$ac_cv_lib_m_casin" = x
""yes; then :
23656 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23661 $as_echo_n "checking for casinf in -lm... " >&6; }
23662 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23663 $as_echo_n "(cached) " >&6
23665 ac_check_lib_save_LIBS
=$LIBS
23667 if test x
$gcc_no_link = xyes
; then
23668 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23673 /* Override any GCC internal prototype to avoid an error.
23674 Use char because int might match the return type of a GCC
23675 builtin and then its argument prototype would still apply. */
23688 if ac_fn_c_try_link
"$LINENO"; then :
23689 ac_cv_lib_m_casinf
=yes
23691 ac_cv_lib_m_casinf
=no
23693 rm -f core conftest.err conftest.
$ac_objext \
23694 conftest
$ac_exeext conftest.
$ac_ext
23695 LIBS
=$ac_check_lib_save_LIBS
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23698 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23699 if test "x$ac_cv_lib_m_casinf" = x
""yes; then :
23701 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23706 $as_echo_n "checking for casinh in -lm... " >&6; }
23707 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23708 $as_echo_n "(cached) " >&6
23710 ac_check_lib_save_LIBS
=$LIBS
23712 if test x
$gcc_no_link = xyes
; then
23713 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h. */
23718 /* Override any GCC internal prototype to avoid an error.
23719 Use char because int might match the return type of a GCC
23720 builtin and then its argument prototype would still apply. */
23733 if ac_fn_c_try_link
"$LINENO"; then :
23734 ac_cv_lib_m_casinh
=yes
23736 ac_cv_lib_m_casinh
=no
23738 rm -f core conftest.err conftest.
$ac_objext \
23739 conftest
$ac_exeext conftest.
$ac_ext
23740 LIBS
=$ac_check_lib_save_LIBS
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23743 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23744 if test "x$ac_cv_lib_m_casinh" = x
""yes; then :
23746 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23751 $as_echo_n "checking for casinhf in -lm... " >&6; }
23752 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23753 $as_echo_n "(cached) " >&6
23755 ac_check_lib_save_LIBS
=$LIBS
23757 if test x
$gcc_no_link = xyes
; then
23758 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h. */
23763 /* Override any GCC internal prototype to avoid an error.
23764 Use char because int might match the return type of a GCC
23765 builtin and then its argument prototype would still apply. */
23778 if ac_fn_c_try_link
"$LINENO"; then :
23779 ac_cv_lib_m_casinhf
=yes
23781 ac_cv_lib_m_casinhf
=no
23783 rm -f core conftest.err conftest.
$ac_objext \
23784 conftest
$ac_exeext conftest.
$ac_ext
23785 LIBS
=$ac_check_lib_save_LIBS
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23788 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23789 if test "x$ac_cv_lib_m_casinhf" = x
""yes; then :
23791 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23796 $as_echo_n "checking for casinhl in -lm... " >&6; }
23797 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23798 $as_echo_n "(cached) " >&6
23800 ac_check_lib_save_LIBS
=$LIBS
23802 if test x
$gcc_no_link = xyes
; then
23803 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23806 /* end confdefs.h. */
23808 /* Override any GCC internal prototype to avoid an error.
23809 Use char because int might match the return type of a GCC
23810 builtin and then its argument prototype would still apply. */
23823 if ac_fn_c_try_link
"$LINENO"; then :
23824 ac_cv_lib_m_casinhl
=yes
23826 ac_cv_lib_m_casinhl
=no
23828 rm -f core conftest.err conftest.
$ac_objext \
23829 conftest
$ac_exeext conftest.
$ac_ext
23830 LIBS
=$ac_check_lib_save_LIBS
23832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23833 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23834 if test "x$ac_cv_lib_m_casinhl" = x
""yes; then :
23836 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23841 $as_echo_n "checking for casinl in -lm... " >&6; }
23842 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23843 $as_echo_n "(cached) " >&6
23845 ac_check_lib_save_LIBS
=$LIBS
23847 if test x
$gcc_no_link = xyes
; then
23848 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h. */
23853 /* Override any GCC internal prototype to avoid an error.
23854 Use char because int might match the return type of a GCC
23855 builtin and then its argument prototype would still apply. */
23868 if ac_fn_c_try_link
"$LINENO"; then :
23869 ac_cv_lib_m_casinl
=yes
23871 ac_cv_lib_m_casinl
=no
23873 rm -f core conftest.err conftest.
$ac_objext \
23874 conftest
$ac_exeext conftest.
$ac_ext
23875 LIBS
=$ac_check_lib_save_LIBS
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23878 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23879 if test "x$ac_cv_lib_m_casinl" = x
""yes; then :
23881 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23886 $as_echo_n "checking for catan in -lm... " >&6; }
23887 if test "${ac_cv_lib_m_catan+set}" = set; then :
23888 $as_echo_n "(cached) " >&6
23890 ac_check_lib_save_LIBS
=$LIBS
23892 if test x
$gcc_no_link = xyes
; then
23893 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h. */
23898 /* Override any GCC internal prototype to avoid an error.
23899 Use char because int might match the return type of a GCC
23900 builtin and then its argument prototype would still apply. */
23913 if ac_fn_c_try_link
"$LINENO"; then :
23914 ac_cv_lib_m_catan
=yes
23916 ac_cv_lib_m_catan
=no
23918 rm -f core conftest.err conftest.
$ac_objext \
23919 conftest
$ac_exeext conftest.
$ac_ext
23920 LIBS
=$ac_check_lib_save_LIBS
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23923 $as_echo "$ac_cv_lib_m_catan" >&6; }
23924 if test "x$ac_cv_lib_m_catan" = x
""yes; then :
23926 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23931 $as_echo_n "checking for catanf in -lm... " >&6; }
23932 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23933 $as_echo_n "(cached) " >&6
23935 ac_check_lib_save_LIBS
=$LIBS
23937 if test x
$gcc_no_link = xyes
; then
23938 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23941 /* end confdefs.h. */
23943 /* Override any GCC internal prototype to avoid an error.
23944 Use char because int might match the return type of a GCC
23945 builtin and then its argument prototype would still apply. */
23958 if ac_fn_c_try_link
"$LINENO"; then :
23959 ac_cv_lib_m_catanf
=yes
23961 ac_cv_lib_m_catanf
=no
23963 rm -f core conftest.err conftest.
$ac_objext \
23964 conftest
$ac_exeext conftest.
$ac_ext
23965 LIBS
=$ac_check_lib_save_LIBS
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23968 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23969 if test "x$ac_cv_lib_m_catanf" = x
""yes; then :
23971 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23976 $as_echo_n "checking for catanh in -lm... " >&6; }
23977 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23978 $as_echo_n "(cached) " >&6
23980 ac_check_lib_save_LIBS
=$LIBS
23982 if test x
$gcc_no_link = xyes
; then
23983 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23988 /* Override any GCC internal prototype to avoid an error.
23989 Use char because int might match the return type of a GCC
23990 builtin and then its argument prototype would still apply. */
24003 if ac_fn_c_try_link
"$LINENO"; then :
24004 ac_cv_lib_m_catanh
=yes
24006 ac_cv_lib_m_catanh
=no
24008 rm -f core conftest.err conftest.
$ac_objext \
24009 conftest
$ac_exeext conftest.
$ac_ext
24010 LIBS
=$ac_check_lib_save_LIBS
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24013 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24014 if test "x$ac_cv_lib_m_catanh" = x
""yes; then :
24016 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24021 $as_echo_n "checking for catanhf in -lm... " >&6; }
24022 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24023 $as_echo_n "(cached) " >&6
24025 ac_check_lib_save_LIBS
=$LIBS
24027 if test x
$gcc_no_link = xyes
; then
24028 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h. */
24033 /* Override any GCC internal prototype to avoid an error.
24034 Use char because int might match the return type of a GCC
24035 builtin and then its argument prototype would still apply. */
24048 if ac_fn_c_try_link
"$LINENO"; then :
24049 ac_cv_lib_m_catanhf
=yes
24051 ac_cv_lib_m_catanhf
=no
24053 rm -f core conftest.err conftest.
$ac_objext \
24054 conftest
$ac_exeext conftest.
$ac_ext
24055 LIBS
=$ac_check_lib_save_LIBS
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24058 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24059 if test "x$ac_cv_lib_m_catanhf" = x
""yes; then :
24061 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24066 $as_echo_n "checking for catanhl in -lm... " >&6; }
24067 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24068 $as_echo_n "(cached) " >&6
24070 ac_check_lib_save_LIBS
=$LIBS
24072 if test x
$gcc_no_link = xyes
; then
24073 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24076 /* end confdefs.h. */
24078 /* Override any GCC internal prototype to avoid an error.
24079 Use char because int might match the return type of a GCC
24080 builtin and then its argument prototype would still apply. */
24093 if ac_fn_c_try_link
"$LINENO"; then :
24094 ac_cv_lib_m_catanhl
=yes
24096 ac_cv_lib_m_catanhl
=no
24098 rm -f core conftest.err conftest.
$ac_objext \
24099 conftest
$ac_exeext conftest.
$ac_ext
24100 LIBS
=$ac_check_lib_save_LIBS
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24103 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24104 if test "x$ac_cv_lib_m_catanhl" = x
""yes; then :
24106 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24111 $as_echo_n "checking for catanl in -lm... " >&6; }
24112 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24113 $as_echo_n "(cached) " >&6
24115 ac_check_lib_save_LIBS
=$LIBS
24117 if test x
$gcc_no_link = xyes
; then
24118 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24121 /* end confdefs.h. */
24123 /* Override any GCC internal prototype to avoid an error.
24124 Use char because int might match the return type of a GCC
24125 builtin and then its argument prototype would still apply. */
24138 if ac_fn_c_try_link
"$LINENO"; then :
24139 ac_cv_lib_m_catanl
=yes
24141 ac_cv_lib_m_catanl
=no
24143 rm -f core conftest.err conftest.
$ac_objext \
24144 conftest
$ac_exeext conftest.
$ac_ext
24145 LIBS
=$ac_check_lib_save_LIBS
24147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24148 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24149 if test "x$ac_cv_lib_m_catanl" = x
""yes; then :
24151 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24156 # On AIX, clog is present in libm as __clog
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24158 $as_echo_n "checking for __clog in -lm... " >&6; }
24159 if test "${ac_cv_lib_m___clog+set}" = set; then :
24160 $as_echo_n "(cached) " >&6
24162 ac_check_lib_save_LIBS
=$LIBS
24164 if test x
$gcc_no_link = xyes
; then
24165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24168 /* end confdefs.h. */
24170 /* Override any GCC internal prototype to avoid an error.
24171 Use char because int might match the return type of a GCC
24172 builtin and then its argument prototype would still apply. */
24185 if ac_fn_c_try_link
"$LINENO"; then :
24186 ac_cv_lib_m___clog
=yes
24188 ac_cv_lib_m___clog
=no
24190 rm -f core conftest.err conftest.
$ac_objext \
24191 conftest
$ac_exeext conftest.
$ac_ext
24192 LIBS
=$ac_check_lib_save_LIBS
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24195 $as_echo "$ac_cv_lib_m___clog" >&6; }
24196 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
24198 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24203 # Check whether the system has a working stat()
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24206 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24207 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24208 $as_echo_n "(cached) " >&6
24211 if test "$cross_compiling" = yes; then :
24213 case "${target}" in
24214 *mingw
*) libgfor_cv_have_working_stat
=no
;;
24215 *) libgfor_cv_have_working_stat
=yes;;
24218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24219 /* end confdefs.h. */
24222 #include <sys/types.h>
24223 #include <sys/stat.h>
24224 #include <unistd.h>
24229 struct stat st1, st2;
24231 f = fopen ("foo", "w");
24232 g = fopen ("bar", "w");
24233 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24235 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24242 if ac_fn_c_try_run
"$LINENO"; then :
24243 libgfor_cv_have_working_stat
=yes
24245 libgfor_cv_have_working_stat
=no
24247 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24248 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24253 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24254 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
24256 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24260 # Check whether __mingw_snprintf() is present
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24263 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24264 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24265 $as_echo_n "(cached) " >&6
24268 if test x
$gcc_no_link = xyes
; then
24269 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24275 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24281 __mingw_snprintf (NULL, 0, "%d\n", 1);
24287 if ac_fn_c_try_link
"$LINENO"; then :
24288 eval "libgfor_cv_have_mingw_snprintf=yes"
24290 eval "libgfor_cv_have_mingw_snprintf=no"
24292 rm -f core conftest.err conftest.
$ac_objext \
24293 conftest
$ac_exeext conftest.
$ac_ext
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24297 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24298 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
24300 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24305 # Check for a broken powf implementation
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24308 $as_echo_n "checking whether powf is broken... " >&6; }
24309 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24310 $as_echo_n "(cached) " >&6
24313 case "${target}" in
24314 hppa
*64*-*-hpux*) libgfor_cv_have_broken_powf
=yes ;;
24315 *) libgfor_cv_have_broken_powf
=no
;;
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24319 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24320 if test x
"$libgfor_cv_have_broken_powf" = xyes
; then
24322 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24327 # Check whether libquadmath should be used
24328 # Check whether --enable-libquadmath-support was given.
24329 if test "${enable_libquadmath_support+set}" = set; then :
24330 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
24332 ENABLE_LIBQUADMATH_SUPPORT
=yes
24335 enable_libquadmath_support
=
24336 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
24337 enable_libquadmath_support
=no
24340 # Check whether we have a __float128 type, depends on enable_libquadmath_support
24344 if test "x$enable_libquadmath_support" != xno
; then
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24347 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24348 if test "${libgfor_cv_have_float128+set}" = set; then :
24349 $as_echo_n "(cached) " >&6
24352 if test x
$gcc_no_link = xyes
; then
24353 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24356 /* end confdefs.h. */
24364 typedef _Complex float __attribute__((mode(TC))) __complex128;
24367 x = __builtin_huge_valq() - 2.e1000Q;
24369 __complex128 z1, z2;
24380 if ac_fn_c_try_link
"$LINENO"; then :
24381 libgfor_cv_have_float128
=yes
24383 libgfor_cv_have_float128
=no
24385 rm -f core conftest.err conftest.
$ac_objext \
24386 conftest
$ac_exeext conftest.
$ac_ext
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
24390 $as_echo "$libgfor_cv_have_float128" >&6; }
24392 if test "x$libgfor_cv_have_float128" = xyes
; then
24394 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
24397 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
24399 $as_echo_n "checking whether --as-needed works... " >&6; }
24400 if test "${libgfor_cv_have_as_needed+set}" = set; then :
24401 $as_echo_n "(cached) " >&6
24404 save_LDFLAGS
="$LDFLAGS"
24405 LDFLAGS
="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
24406 libgfor_cv_have_as_needed
=no
24408 ac_c_werror_flag
=yes
24409 if test x
$gcc_no_link = xyes
; then
24410 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24413 /* end confdefs.h. */
24423 if ac_fn_c_try_link
"$LINENO"; then :
24424 libgfor_cv_have_as_needed
=yes
24426 libgfor_cv_have_as_needed
=no
24428 rm -f core conftest.err conftest.
$ac_objext \
24429 conftest
$ac_exeext conftest.
$ac_ext
24430 LDFLAGS
="$save_LDFLAGS"
24431 ac_c_werror_flag
=$ac_xsave_c_werror_flag
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
24435 $as_echo "$libgfor_cv_have_as_needed" >&6; }
24437 if test "x$libgfor_cv_have_as_needed" = xyes
; then
24438 LIBQUADSPEC
="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
24440 LIBQUADSPEC
="-lquadmath"
24442 if test -f ..
/libquadmath
/libquadmath.la
; then
24443 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
24444 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
24445 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
24447 LIBQUADLIB
="-lquadmath"
24453 # for --disable-quadmath
24464 if test "x$libgfor_cv_have_float128" = xyes
; then
24465 LIBGFOR_BUILD_QUAD_TRUE
=
24466 LIBGFOR_BUILD_QUAD_FALSE
='#'
24468 LIBGFOR_BUILD_QUAD_TRUE
='#'
24469 LIBGFOR_BUILD_QUAD_FALSE
=
24474 # Check for GNU libc feenableexcept
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24476 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24477 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24478 $as_echo_n "(cached) " >&6
24480 ac_check_lib_save_LIBS
=$LIBS
24482 if test x
$gcc_no_link = xyes
; then
24483 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24486 /* end confdefs.h. */
24488 /* Override any GCC internal prototype to avoid an error.
24489 Use char because int might match the return type of a GCC
24490 builtin and then its argument prototype would still apply. */
24494 char feenableexcept ();
24498 return feenableexcept ();
24503 if ac_fn_c_try_link
"$LINENO"; then :
24504 ac_cv_lib_m_feenableexcept
=yes
24506 ac_cv_lib_m_feenableexcept
=no
24508 rm -f core conftest.err conftest.
$ac_objext \
24509 conftest
$ac_exeext conftest.
$ac_ext
24510 LIBS
=$ac_check_lib_save_LIBS
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24513 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24514 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
24515 have_feenableexcept
=yes
24516 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24521 # Check for SysV fpsetmask
24523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24524 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24525 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24526 $as_echo_n "(cached) " >&6
24529 if test x
$gcc_no_link = xyes
; then
24530 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24533 /* end confdefs.h. */
24535 #if HAVE_FLOATINGPOINT_H
24536 # include <floatingpoint.h>
24537 #endif /* HAVE_FLOATINGPOINT_H */
24539 # include <ieeefp.h>
24540 #endif /* HAVE_IEEEFP_H */
24549 if ac_fn_c_try_link
"$LINENO"; then :
24550 eval "libgfor_cv_have_fpsetmask=yes"
24552 eval "libgfor_cv_have_fpsetmask=no"
24554 rm -f core conftest.err conftest.
$ac_objext \
24555 conftest
$ac_exeext conftest.
$ac_ext
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24559 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24560 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
24562 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24567 # Check for AIX fp_trap and fp_enable
24568 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24569 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
24571 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24575 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24576 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
24578 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24583 # Runs configure.host to set up necessary host-dependent shell variables.
24584 # We then display a message about it, and propagate them through the
24586 .
${srcdir}/configure.
host
24587 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24588 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24589 FPU_HOST_HEADER
=config
/${fpu_host}.h
24592 # Some targets require additional compiler options for IEEE compatibility.
24593 IEEE_FLAGS
="${ieee_flags}"
24596 # Check out attribute support.
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24599 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24600 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24601 $as_echo_n "(cached) " >&6
24604 save_CFLAGS
="$CFLAGS"
24605 CFLAGS
="$CFLAGS -Werror"
24606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24607 /* end confdefs.h. */
24608 void __attribute__((visibility("hidden"))) foo(void) { }
24617 if ac_fn_c_try_compile
"$LINENO"; then :
24618 libgfor_cv_have_attribute_visibility
=yes
24620 libgfor_cv_have_attribute_visibility
=no
24622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24623 CFLAGS
="$save_CFLAGS"
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24626 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24627 if test $libgfor_cv_have_attribute_visibility = yes; then
24629 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24634 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24635 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24636 $as_echo_n "(cached) " >&6
24639 save_CFLAGS
="$CFLAGS"
24640 CFLAGS
="$CFLAGS -Werror"
24641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h. */
24643 void __attribute__((dllexport)) foo(void) { }
24652 if ac_fn_c_try_compile
"$LINENO"; then :
24653 libgfor_cv_have_attribute_dllexport
=yes
24655 libgfor_cv_have_attribute_dllexport
=no
24657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24658 CFLAGS
="$save_CFLAGS"
24660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24661 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24662 if test $libgfor_cv_have_attribute_dllexport = yes; then
24664 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24669 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24670 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24671 $as_echo_n "(cached) " >&6
24674 if test x
$gcc_no_link = xyes
; then
24675 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24678 /* end confdefs.h. */
24681 extern void bar(void) __attribute__((alias("foo")));
24690 if ac_fn_c_try_link
"$LINENO"; then :
24691 libgfor_cv_have_attribute_alias
=yes
24693 libgfor_cv_have_attribute_alias
=no
24695 rm -f core conftest.err conftest.
$ac_objext \
24696 conftest
$ac_exeext conftest.
$ac_ext
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24699 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24700 if test $libgfor_cv_have_attribute_alias = yes; then
24702 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24706 # Check out sync builtins support.
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24709 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24710 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24711 $as_echo_n "(cached) " >&6
24714 if test x
$gcc_no_link = xyes
; then
24715 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24718 /* end confdefs.h. */
24724 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24725 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24730 if ac_fn_c_try_link
"$LINENO"; then :
24731 libgfor_cv_have_sync_fetch_and_add
=yes
24733 libgfor_cv_have_sync_fetch_and_add
=no
24735 rm -f core conftest.err conftest.
$ac_objext \
24736 conftest
$ac_exeext conftest.
$ac_ext
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24739 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24740 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24742 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24746 # Check out thread support.
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24749 $as_echo_n "checking configured target thread model... " >&6; }
24750 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24751 $as_echo_n "(cached) " >&6
24754 libgfor_cv_target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24757 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24759 if test $libgfor_cv_target_thread_file != single
; then
24761 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24765 # Check out #pragma weak.
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24768 $as_echo_n "checking whether pragma weak works... " >&6; }
24769 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24770 $as_echo_n "(cached) " >&6
24773 gfor_save_CFLAGS
="$CFLAGS"
24774 CFLAGS
="$CFLAGS -Wunknown-pragmas"
24775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24776 /* end confdefs.h. */
24787 if ac_fn_c_try_compile
"$LINENO"; then :
24788 libgfor_cv_have_pragma_weak
=yes
24790 libgfor_cv_have_pragma_weak
=no
24792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24795 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24796 if test $libgfor_cv_have_pragma_weak = yes; then
24798 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24802 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
24804 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24809 # Various other checks on target
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24812 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24813 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24814 $as_echo_n "(cached) " >&6
24817 if test "$cross_compiling" = yes; then :
24819 case "${target}" in
24820 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
24821 *) libgfor_cv_have_unlink_open_file
=yes;;
24824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24825 /* end confdefs.h. */
24829 #include <unistd.h>
24830 #include <sys/stat.h>
24836 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24839 if (unlink ("testfile") == -1)
24841 write (fd, "This is a test\n", 15);
24844 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24850 if ac_fn_c_try_run
"$LINENO"; then :
24851 libgfor_cv_have_unlink_open_file
=yes
24853 libgfor_cv_have_unlink_open_file
=no
24855 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24856 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24861 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24862 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
24864 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24868 # Check whether line terminator is LF or CRLF
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24871 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24872 if test "${libgfor_cv_have_crlf+set}" = set; then :
24873 $as_echo_n "(cached) " >&6
24876 if test "$cross_compiling" = yes; then :
24878 case "${target}" in
24879 *mingw
*) libgfor_cv_have_crlf
=yes ;;
24880 *) libgfor_cv_have_crlf
=no
;;
24883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24884 /* end confdefs.h. */
24886 /* This test program should exit with status 0 if system uses a CRLF as
24887 line terminator, and status 1 otherwise.
24888 Since it is used to check for mingw systems, and should return 0 in any
24889 other case, in case of a failure we will not use CRLF. */
24890 #include <sys/stat.h>
24891 #include <stdlib.h>
24903 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24906 if (write (fd, "\n", 1) < 0)
24911 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24913 bytes = read (fd, buff, 5);
24914 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24921 if ac_fn_c_try_run
"$LINENO"; then :
24922 libgfor_cv_have_crlf
=yes
24924 libgfor_cv_have_crlf
=no
24926 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24927 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24932 $as_echo "$libgfor_cv_have_crlf" >&6; }
24933 if test x
"$libgfor_cv_have_crlf" = xyes
; then
24935 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24939 cat >confcache
<<\_ACEOF
24940 # This file is a shell script that caches the results of configure
24941 # tests run on this system so they can be shared between configure
24942 # scripts and configure runs, see configure's option --config-cache.
24943 # It is not useful on other systems. If it contains results you don't
24944 # want to keep, you may remove or edit it.
24946 # config.status only pays attention to the cache file if you give it
24947 # the --recheck option to rerun configure.
24949 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24950 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24951 # following values.
24955 # The following way of writing the cache mishandles newlines in values,
24956 # but we know of no workaround that is simple, portable, and efficient.
24957 # So, we kill variables containing newlines.
24958 # Ultrix sh set writes to stderr and can't be redirected directly,
24959 # and sets the high bit in the cache file unless we assign to the vars.
24961 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24962 eval ac_val
=\$
$ac_var
24966 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24967 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24970 _ | IFS | as_nl
) ;; #(
24971 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24972 *) { eval $ac_var=; unset $ac_var;} ;;
24978 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24979 *${as_nl}ac_space
=\
*)
24980 # `set' does not quote correctly, so add quotes: double-quote
24981 # substitution turns \\\\ into \\, and sed turns \\ into \.
24984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24987 # `set' quotes correctly as required by POSIX, so do not add quotes.
24988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24997 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24999 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25001 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25002 if test -w "$cache_file"; then
25003 test "x$cache_file" != "x/dev/null" &&
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25005 $as_echo "$as_me: updating cache $cache_file" >&6;}
25006 cat confcache
>$cache_file
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25009 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25014 if test ${multilib} = yes; then
25015 multilib_arg
="--enable-multilib"
25020 # Write our Makefile and spec file.
25021 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
25023 cat >confcache
<<\_ACEOF
25024 # This file is a shell script that caches the results of configure
25025 # tests run on this system so they can be shared between configure
25026 # scripts and configure runs, see configure's option --config-cache.
25027 # It is not useful on other systems. If it contains results you don't
25028 # want to keep, you may remove or edit it.
25030 # config.status only pays attention to the cache file if you give it
25031 # the --recheck option to rerun configure.
25033 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25034 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25035 # following values.
25039 # The following way of writing the cache mishandles newlines in values,
25040 # but we know of no workaround that is simple, portable, and efficient.
25041 # So, we kill variables containing newlines.
25042 # Ultrix sh set writes to stderr and can't be redirected directly,
25043 # and sets the high bit in the cache file unless we assign to the vars.
25045 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25046 eval ac_val
=\$
$ac_var
25050 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25051 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25054 _ | IFS | as_nl
) ;; #(
25055 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25056 *) { eval $ac_var=; unset $ac_var;} ;;
25062 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25063 *${as_nl}ac_space
=\
*)
25064 # `set' does not quote correctly, so add quotes: double-quote
25065 # substitution turns \\\\ into \\, and sed turns \\ into \.
25068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25071 # `set' quotes correctly as required by POSIX, so do not add quotes.
25072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25083 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25085 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25086 if test -w "$cache_file"; then
25087 test "x$cache_file" != "x/dev/null" &&
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25089 $as_echo "$as_me: updating cache $cache_file" >&6;}
25090 cat confcache
>$cache_file
25092 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25093 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25098 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25099 # Let make expand exec_prefix.
25100 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25102 DEFS
=-DHAVE_CONFIG_H
25106 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25107 # 1. Remove the extension, and $U if already installed.
25108 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25109 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25110 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25111 # will be set to the directory where LIBOBJS objects are built.
25112 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25113 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25115 LIBOBJS
=$ac_libobjs
25117 LTLIBOBJS
=$ac_ltlibobjs
25120 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25121 as_fn_error
"conditional \"onestep\" was never defined.
25122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25124 if test -n "$EXEEXT"; then
25126 am__EXEEXT_FALSE
='#'
25128 am__EXEEXT_TRUE
='#'
25132 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25133 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
25134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25136 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25137 as_fn_error
"conditional \"AMDEP\" was never defined.
25138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25140 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25141 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25144 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25145 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25148 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25149 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25152 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25153 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25156 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25157 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25161 : ${CONFIG_STATUS=./config.status}
25163 ac_clean_files_save
=$ac_clean_files
25164 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25168 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25170 # Generated by $as_me.
25171 # Run this file to recreate the current configuration.
25172 # Compiler output produced by configure, useful for debugging
25173 # configure, is in config.log if it exists.
25176 ac_cs_recheck=false
25179 SHELL=\${CONFIG_SHELL-$SHELL}
25182 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25183 ## -------------------- ##
25184 ## M4sh Initialization. ##
25185 ## -------------------- ##
25187 # Be more Bourne compatible
25188 DUALCASE
=1; export DUALCASE
# for MKS sh
25189 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25192 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25193 # is contrary to our usage. Disable this feature.
25194 alias -g '${1+"$@"}'='"$@"'
25195 setopt NO_GLOB_SUBST
25197 case `(set -o) 2>/dev/null` in #(
25209 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25210 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25211 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25213 # Prefer a ksh shell builtin over an external printf program on Solaris,
25214 # but without wasting forks for bash or zsh.
25215 if test -z "$BASH_VERSION$ZSH_VERSION" \
25216 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25217 as_echo='print
-r --'
25218 as_echo_n='print
-rn --'
25219 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25220 as_echo='printf %s
\n'
25221 as_echo_n='printf %s
'
25223 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25224 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25225 as_echo_n='/usr
/ucb
/echo -n'
25227 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25228 as_echo_n_body='eval
25232 expr "X$arg" : "X\\(.*\\)$as_nl";
25233 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25235 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25237 export as_echo_n_body
25238 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25240 export as_echo_body
25241 as_echo='sh
-c $as_echo_body as_echo
'
25244 # The user is always right.
25245 if test "${PATH_SEPARATOR+set}" != set; then
25247 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25248 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25255 # We need space, tab and new line, in precisely that order. Quoting is
25256 # there to prevent editors from complaining about space-tab.
25257 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25258 # splitting by setting IFS to empty value.)
25261 # Find who we are. Look in the path if we contain no directory separator.
25263 *[\\/]* ) as_myself=$0 ;;
25264 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25265 for as_dir in $PATH
25268 test -z "$as_dir" && as_dir=.
25269 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25275 # We did not find ourselves, most probably we were run as `sh COMMAND'
25276 # in which case we are not to be found in the path.
25277 if test "x$as_myself" = x
; then
25280 if test ! -f "$as_myself"; then
25281 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25285 # Unset variables that we do not need and which cause bugs (e.g. in
25286 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25287 # suppresses any "Segmentation fault" message there. '((' could
25288 # trigger a bug in pdksh 5.2.14.
25289 for as_var
in BASH_ENV ENV MAIL MAILPATH
25290 do eval test x\
${$as_var+set} = xset \
25291 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25304 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25307 # as_fn_error ERROR [LINENO LOG_FD]
25308 # ---------------------------------
25309 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25310 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25311 # script with status $?, using 1 if that was 0.
25314 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25316 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25317 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25319 $as_echo "$as_me: error: $1" >&2
25320 as_fn_exit
$as_status
25324 # as_fn_set_status STATUS
25325 # -----------------------
25326 # Set $? to STATUS, without forking.
25327 as_fn_set_status
()
25330 } # as_fn_set_status
25332 # as_fn_exit STATUS
25333 # -----------------
25334 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25338 as_fn_set_status
$1
25344 # Portably unset VAR.
25347 { eval $1=; unset $1;}
25349 as_unset
=as_fn_unset
25350 # as_fn_append VAR VALUE
25351 # ----------------------
25352 # Append the text in VALUE to the end of the definition contained in VAR. Take
25353 # advantage of any shell optimizations that allow amortized linear growth over
25354 # repeated appends, instead of the typical quadratic growth present in naive
25356 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25357 eval 'as_fn_append ()
25368 # as_fn_arith ARG...
25369 # ------------------
25370 # Perform arithmetic evaluation on the ARGs, and store the result in the
25371 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25372 # must be portable across $(()) and expr.
25373 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25374 eval 'as_fn_arith ()
25381 as_val
=`expr "$@" || test $? -eq 1`
25386 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25387 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25393 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25394 as_basename
=basename
25399 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25405 as_me
=`$as_basename -- "$0" ||
25406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25407 X"$0" : 'X\(//\)$' \| \
25408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25410 sed '/^.*\/\([^/][^/]*\)\/*$/{
25424 # Avoid depending upon Character Ranges.
25425 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25426 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25427 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25428 as_cr_digits
='0123456789'
25429 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25431 ECHO_C
= ECHO_N
= ECHO_T
=
25432 case `echo -n x` in #(((((
25434 case `echo 'xy\c'` in
25435 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25437 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25444 rm -f conf$$ conf$$.exe conf$$.
file
25445 if test -d conf$$.dir
; then
25446 rm -f conf$$.dir
/conf$$.
file
25449 mkdir conf$$.dir
2>/dev
/null
25451 if (echo >conf$$.
file) 2>/dev
/null
; then
25452 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25454 # ... but there are two gotchas:
25455 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25456 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25457 # In both cases, we have to default to `cp -p'.
25458 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25460 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25468 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25469 rmdir conf$$.dir
2>/dev
/null
25474 # Create "$as_dir" as a directory, including parents if necessary.
25479 -*) as_dir
=.
/$as_dir;;
25481 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25485 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25486 *) as_qdir
=$as_dir;;
25488 as_dirs
="'$as_qdir' $as_dirs"
25489 as_dir
=`$as_dirname -- "$as_dir" ||
25490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25491 X"$as_dir" : 'X\(//\)[^/]' \| \
25492 X"$as_dir" : 'X\(//\)$' \| \
25493 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25494 $as_echo X"$as_dir" |
25495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25499 /^X\(\/\/\)[^/].*/{
25512 test -d "$as_dir" && break
25514 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25515 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25519 if mkdir
-p .
2>/dev
/null
; then
25520 as_mkdir_p
='mkdir -p "$as_dir"'
25522 test -d .
/-p && rmdir .
/-p
25526 if test -x / >/dev
/null
2>&1; then
25527 as_test_x
='test -x'
25529 if ls -dL / >/dev
/null
2>&1; then
25536 if test -d "$1"; then
25542 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25543 ???[sx]*):;;*)false;;esac;fi
25547 as_executable_p
=$as_test_x
25549 # Sed expression to map a string onto a valid CPP name.
25550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25552 # Sed expression to map a string onto a valid variable name.
25553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25557 ## ----------------------------------- ##
25558 ## Main body of $CONFIG_STATUS script. ##
25559 ## ----------------------------------- ##
25561 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25564 # Save the log message, to keep $0 and so on meaningful, and to
25565 # report actual input values of CONFIG_FILES etc. instead of their
25566 # values after options handling.
25568 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25569 generated by GNU Autoconf 2.64. Invocation command line was
25571 CONFIG_FILES = $CONFIG_FILES
25572 CONFIG_HEADERS = $CONFIG_HEADERS
25573 CONFIG_LINKS = $CONFIG_LINKS
25574 CONFIG_COMMANDS = $CONFIG_COMMANDS
25577 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25582 case $ac_config_files in *"
25583 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25586 case $ac_config_headers in *"
25587 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25592 # Files that config.status was made for.
25593 config_files="$ac_config_files"
25594 config_headers="$ac_config_headers"
25595 config_commands="$ac_config_commands"
25599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25601 \`$as_me' instantiates files and other configuration actions
25602 from templates according to the current configuration. Unless the files
25603 and actions are specified as TAGs, all are instantiated by default.
25605 Usage: $0 [OPTION]... [TAG]...
25607 -h, --help print this help, then exit
25608 -V, --version print version number and configuration settings, then exit
25609 -q, --quiet, --silent
25610 do not print progress messages
25611 -d, --debug don't remove temporary files
25612 --recheck update $as_me by reconfiguring in the same conditions
25613 --file=FILE[:TEMPLATE]
25614 instantiate the configuration file FILE
25615 --header=FILE[:TEMPLATE]
25616 instantiate the configuration header FILE
25618 Configuration files:
25621 Configuration headers:
25624 Configuration commands:
25627 Report bugs to the package provider.
25628 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25629 General help using GNU software: <http://www.gnu.org/gethelp/>."
25632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25634 GNU Fortran Runtime Library config.status 0.3
25635 configured by $0, generated by GNU Autoconf 2.64,
25636 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25638 Copyright (C) 2009 Free Software Foundation, Inc.
25639 This config.status script is free software; the Free Software Foundation
25640 gives unlimited permission to copy, distribute and modify it."
25647 test -n "\$AWK" || AWK=awk
25650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25651 # The default lists apply if the user does not specify any file.
25657 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25658 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25669 # Handling of the options.
25670 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25672 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25673 $as_echo "$ac_cs_version"; exit ;;
25674 --debug |
--debu |
--deb |
--de |
--d |
-d )
25676 --file |
--fil |
--fi |
--f )
25679 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25681 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25682 ac_need_defaults
=false
;;
25683 --header |
--heade |
--head |
--hea )
25686 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25688 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25689 ac_need_defaults
=false
;;
25691 # Conflict between --help and --header
25692 as_fn_error
"ambiguous option: \`$1'
25693 Try \`$0 --help' for more information.";;
25694 --help |
--hel |
-h )
25695 $as_echo "$ac_cs_usage"; exit ;;
25696 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25697 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25700 # This is an error.
25701 -*) as_fn_error
"unrecognized option: \`$1'
25702 Try \`$0 --help' for more information." ;;
25704 *) as_fn_append ac_config_targets
" $1"
25705 ac_need_defaults
=false
;;
25711 ac_configure_extra_args
=
25713 if $ac_cs_silent; then
25715 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25720 if \$ac_cs_recheck; then
25721 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25723 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25724 CONFIG_SHELL='$SHELL'
25725 export CONFIG_SHELL
25730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25734 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25735 ## Running $as_me. ##
25741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25749 with_multisubdir="$with_multisubdir"
25750 with_multisrctop="$with_multisrctop"
25751 with_target_subdir="$with_target_subdir"
25752 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25753 multi_basedir="$multi_basedir"
25754 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25757 GFORTRAN="$GFORTRAN"
25759 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25762 # The HP-UX ksh and POSIX shell print the target directory to stdout
25763 # if CDPATH is set.
25764 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25766 sed_quote_subst='$sed_quote_subst'
25767 double_quote_subst='$double_quote_subst'
25768 delay_variable_subst='$delay_variable_subst'
25769 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25770 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25771 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25772 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25773 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25774 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25775 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25776 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25777 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25778 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25779 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25780 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25781 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25782 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25783 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25784 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25785 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25786 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25787 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25788 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25789 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25790 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25791 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25792 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25793 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25794 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25795 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25796 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25797 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25798 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25799 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25800 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25801 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25802 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25803 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25804 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25805 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25806 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25807 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25808 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25809 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25810 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25811 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25812 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25813 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25814 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25815 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25816 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25817 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"`'
25818 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25819 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25820 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25821 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25822 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25823 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25824 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25825 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25826 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25827 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25828 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25829 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25830 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25831 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25832 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25833 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25834 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25835 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25836 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25837 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25838 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25839 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25840 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25841 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25842 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25843 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25844 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25845 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25846 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25847 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25848 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25849 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25850 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25851 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25852 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25853 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25854 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25855 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25856 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25857 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25858 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25859 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25860 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25861 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25862 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25863 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25864 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25865 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25866 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25867 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25868 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25869 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25870 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25871 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25872 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25873 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25874 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25875 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25876 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25877 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25878 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25879 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25880 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25881 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25882 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25883 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25884 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25885 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25886 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25887 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25888 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25889 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25890 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25891 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25892 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25893 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25894 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25895 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25896 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25897 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25898 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25899 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25900 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25901 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25902 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25903 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25904 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25905 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25906 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25907 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25908 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25909 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25910 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25911 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25912 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25913 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25914 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25915 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25916 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25917 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25918 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25919 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25920 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25921 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25922 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25923 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25924 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25925 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25926 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25927 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25928 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25929 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25930 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25931 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25932 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25933 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25934 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25935 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25936 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25937 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25938 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25939 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25940 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25941 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25942 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25943 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25946 LTCFLAGS='$LTCFLAGS'
25947 compiler='$compiler_DEFAULT'
25949 # A function that is used when there is no print builtin or printf.
25950 func_fallback_echo ()
25952 eval 'cat <<_LTECHO_EOF
25957 # Quote evaled strings.
25971 deplibs_check_method \
25980 lt_cv_sys_global_symbol_pipe \
25981 lt_cv_sys_global_symbol_to_cdecl \
25982 lt_cv_sys_global_symbol_to_c_name_address \
25983 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25984 lt_prog_compiler_no_builtin_flag \
25985 lt_prog_compiler_wl \
25986 lt_prog_compiler_pic \
25987 lt_prog_compiler_static \
25988 lt_cv_prog_compiler_c_o \
25996 export_dynamic_flag_spec \
25997 whole_archive_flag_spec \
25998 compiler_needs_object \
26000 allow_undefined_flag \
26001 no_undefined_flag \
26002 hardcode_libdir_flag_spec \
26003 hardcode_libdir_flag_spec_ld \
26004 hardcode_libdir_separator \
26009 variables_saved_for_relink \
26011 library_names_spec \
26013 install_override_mode \
26017 compiler_lib_search_dirs \
26022 compiler_lib_search_path \
26026 lt_prog_compiler_no_builtin_flag_FC \
26027 lt_prog_compiler_wl_FC \
26028 lt_prog_compiler_pic_FC \
26029 lt_prog_compiler_static_FC \
26030 lt_cv_prog_compiler_c_o_FC \
26031 export_dynamic_flag_spec_FC \
26032 whole_archive_flag_spec_FC \
26033 compiler_needs_object_FC \
26035 allow_undefined_flag_FC \
26036 no_undefined_flag_FC \
26037 hardcode_libdir_flag_spec_FC \
26038 hardcode_libdir_flag_spec_ld_FC \
26039 hardcode_libdir_separator_FC \
26040 fix_srcfile_path_FC \
26041 exclude_expsyms_FC \
26042 include_expsyms_FC \
26043 file_list_spec_FC \
26044 compiler_lib_search_dirs_FC \
26045 predep_objects_FC \
26046 postdep_objects_FC \
26049 compiler_lib_search_path_FC; do
26050 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26051 *[\\\\\\\`\\"\\\$]*)
26052 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26055 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26060 # Double-quote double-evaled strings.
26061 for var in reload_cmds \
26062 old_postinstall_cmds \
26063 old_postuninstall_cmds \
26065 extract_expsyms_cmds \
26066 old_archive_from_new_cmds \
26067 old_archive_from_expsyms_cmds \
26069 archive_expsym_cmds \
26071 module_expsym_cmds \
26072 export_symbols_cmds \
26075 postuninstall_cmds \
26077 sys_lib_search_path_spec \
26078 sys_lib_dlsearch_path_spec \
26080 old_archive_cmds_FC \
26081 old_archive_from_new_cmds_FC \
26082 old_archive_from_expsyms_cmds_FC \
26084 archive_expsym_cmds_FC \
26086 module_expsym_cmds_FC \
26087 export_symbols_cmds_FC \
26088 prelink_cmds_FC; do
26089 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26090 *[\\\\\\\`\\"\\\$]*)
26091 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26094 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26099 ac_aux_dir='$ac_aux_dir'
26100 xsi_shell='$xsi_shell'
26101 lt_shell_append='$lt_shell_append'
26103 # See if we are running on zsh, and set the options which allow our
26104 # commands through without removal of \ escapes INIT.
26105 if test -n "\${ZSH_VERSION+set}" ; then
26106 setopt NO_GLOB_SUBST
26112 TIMESTAMP='$TIMESTAMP'
26123 acx_cv_header_stdint="$acx_cv_header_stdint"
26124 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26125 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26126 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26127 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26128 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26129 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26130 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26131 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26132 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26133 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26134 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26135 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26136 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26143 # Handling of arguments.
26144 for ac_config_target
in $ac_config_targets
26146 case $ac_config_target in
26147 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
26148 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26149 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26150 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26151 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
26152 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26153 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
26155 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26160 # If the user did not use the arguments to specify the items to instantiate,
26161 # then the envvar interface is used. Set only those that are not.
26162 # We use the long form for the default assignment because of an extremely
26163 # bizarre bug on SunOS 4.1.3.
26164 if $ac_need_defaults; then
26165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26166 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26170 # Have a temporary directory for convenience. Make it in the build tree
26171 # simply because there is no reason against having it here, and in addition,
26172 # creating and moving files from /tmp can sometimes cause problems.
26173 # Hook for its removal unless debugging.
26174 # Note that there is a small window in which the directory will not be cleaned:
26175 # after its creation but before its name has been assigned to `$tmp'.
26179 trap 'exit_status=$?
26180 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26182 trap 'as_fn_exit 1' 1 2 13 15
26184 # Create a (secure) tmp directory for tmp files.
26187 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26188 test -n "$tmp" && test -d "$tmp"
26191 tmp
=.
/conf$$
-$RANDOM
26192 (umask 077 && mkdir
"$tmp")
26193 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26195 # Set up the scripts for CONFIG_FILES section.
26196 # No need to generate them if there are no CONFIG_FILES.
26197 # This happens for instance with `./config.status config.h'.
26198 if test -n "$CONFIG_FILES"; then
26201 ac_cr
=`echo X | tr X '\015'`
26202 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26203 # But we know of no other shell where ac_cr would be empty at this
26204 # point, so we can use a bashism as a fallback.
26205 if test "x$ac_cr" = x
; then
26206 eval ac_cr
=\$
\'\\r
\'
26208 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26209 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26212 ac_cs_awk_cr
=$ac_cr
26215 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26220 echo "cat >conf$$subs.awk <<_ACEOF" &&
26221 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26223 } >conf$$subs.sh ||
26224 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26227 for ac_last_try in false false false false false :; do
26228 . ./conf$$subs.sh ||
26229 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26231 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26232 if test $ac_delim_n = $ac_delim_num; then
26234 elif $ac_last_try; then
26235 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26237 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26240 rm -f conf$$subs.sh
26242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26243 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26247 s/^/S["/; s
/!.
*/"]=/
26257 s/\(.\{148\}\).*/\1/
26259 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26264 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26271 s/\(.\{148\}\).*/\1/
26273 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26277 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26282 ' <conf$$subs.awk | sed '
26287 ' >>$CONFIG_STATUS || ac_write_fail=1
26288 rm -f conf$$subs.awk
26289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26291 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26292 for (key in S) S_is_set[key] = 1
26298 nfields = split(line, field, "@
")
26300 len = length(field[1])
26301 for (i = 2; i < nfields; i++) {
26303 keylen = length(key)
26304 if (S_is_set[key]) {
26306 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26307 len += length(value) + length(field[++i])
26318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26319 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26320 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26323 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26324 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26327 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26328 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26329 # trailing colons and then remove the whole line if VPATH becomes empty
26330 # (actually we leave an empty line to preserve line numbers).
26331 if test "x
$srcdir" = x.; then
26332 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26333 s/:*\$(srcdir):*/:/
26334 s/:*\${srcdir}:*/:/
26336 s/^\([^=]*=[ ]*\):*/\1/
26342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26343 fi # test -n "$CONFIG_FILES"
26345 # Set up the scripts for CONFIG_HEADERS section.
26346 # No need to generate them if there are no CONFIG_HEADERS.
26347 # This happens for instance with `./config.status Makefile'.
26348 if test -n "$CONFIG_HEADERS"; then
26349 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26353 # Transform confdefs.h into an awk script `defines.awk', embedded as
26354 # here-document in config.status, that substitutes the proper values into
26355 # config.h.in to produce config.h.
26357 # Create a delimiter string that does not exist in confdefs.h, to ease
26358 # handling of long lines.
26360 for ac_last_try in false false :; do
26361 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26362 if test -z "$ac_t"; then
26364 elif $ac_last_try; then
26365 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26367 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26371 # For the awk script, D is an array of macro values keyed by name,
26372 # likewise P contains macro parameters if any. Preserve backslash
26373 # newline sequences.
26375 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26377 s/.\{148\}/&'"$ac_delim"'/g
26380 s/^[ ]*#[ ]*define[ ][ ]*/ /
26387 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26389 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26394 D["\
1"]=" \
3\\\\\\n
"\\/p
26396 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26401 s/.\{148\}/&'"$ac_delim"'/g
26406 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26409 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26411 ' <confdefs.h | sed '
26412 s/'"$ac_delim"'/"\\\
26413 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26416 for (key in D) D_is_set[key] = 1
26419 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26421 split(line, arg, " ")
26422 if (arg[1] == "#") {
26426 defundef
= substr
(arg
[1], 2)
26429 split(mac1
, mac2
, "(") #)
26431 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26432 if (D_is_set
[macro
]) {
26433 # Preserve the white space surrounding the "#".
26434 print prefix
"define", macro P
[macro
] D
[macro
]
26437 # Replace #undef with comments. This is necessary, for example,
26438 # in the case of _POSIX_SOURCE, which is predefined and required
26439 # on some systems where configure will not decide to define it.
26440 if (defundef
== "undef") {
26441 print
"/*", prefix defundef
, macro
, "*/"
26449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26450 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26451 fi # test -n "$CONFIG_HEADERS"
26454 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26459 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26461 case $ac_mode$ac_tag in
26463 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26464 :[FH
]-) ac_tag
=-:-;;
26465 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26482 -) ac_f
="$tmp/stdin";;
26483 *) # Look for the file first in the build tree, then in the source tree
26484 # (if the path is not absolute). The absolute path cannot be DOS-style,
26485 # because $ac_f cannot contain `:'.
26489 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26491 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26493 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26494 as_fn_append ac_file_inputs
" '$ac_f'"
26497 # Let's still pretend it is `configure' which instantiates (i.e., don't
26498 # use $as_me), people would be surprised to read:
26499 # /* config.h. Generated by config.status. */
26500 configure_input
='Generated from '`
26501 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26503 if test x
"$ac_file" != x-
; then
26504 configure_input
="$ac_file. $configure_input"
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26506 $as_echo "$as_me: creating $ac_file" >&6;}
26508 # Neutralize special characters interpreted by sed in replacement strings.
26509 case $configure_input in #(
26510 *\
&* |
*\|
* |
*\\* )
26511 ac_sed_conf_input
=`$as_echo "$configure_input" |
26512 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26513 *) ac_sed_conf_input
=$configure_input;;
26517 *:-:* |
*:-) cat >"$tmp/stdin" \
26518 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26523 ac_dir
=`$as_dirname -- "$ac_file" ||
26524 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26525 X"$ac_file" : 'X\(//\)[^/]' \| \
26526 X"$ac_file" : 'X\(//\)$' \| \
26527 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26528 $as_echo X"$ac_file" |
26529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26533 /^X\(\/\/\)[^/].*/{
26546 as_dir
="$ac_dir"; as_fn_mkdir_p
26550 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26552 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26553 # A ".." for each directory in $ac_dir_suffix.
26554 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26555 case $ac_top_builddir_sub in
26556 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26557 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26560 ac_abs_top_builddir
=$ac_pwd
26561 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26562 # for backward compatibility:
26563 ac_top_builddir
=$ac_top_build_prefix
26566 .
) # We are building in place.
26568 ac_top_srcdir
=$ac_top_builddir_sub
26569 ac_abs_top_srcdir
=$ac_pwd ;;
26570 [\\/]* | ?
:[\\/]* ) # Absolute name.
26571 ac_srcdir
=$srcdir$ac_dir_suffix;
26572 ac_top_srcdir
=$srcdir
26573 ac_abs_top_srcdir
=$srcdir ;;
26574 *) # Relative name.
26575 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26576 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26577 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26579 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26589 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26590 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26592 ac_MKDIR_P
=$MKDIR_P
26594 [\\/$
]* | ?
:[\\/]* ) ;;
26595 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26600 # If the template does not know about datarootdir, expand it.
26601 # FIXME: This hack should be removed a few years after 2.60.
26602 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26613 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26614 *datarootdir
*) ac_datarootdir_seen
=yes;;
26615 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26617 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26620 ac_datarootdir_hack='
26621 s&@datadir@&$datadir&g
26622 s&@docdir@&$docdir&g
26623 s&@infodir@&$infodir&g
26624 s&@localedir@&$localedir&g
26625 s&@mandir@&$mandir&g
26626 s&\\\${datarootdir}&$datarootdir&g' ;;
26630 # Neutralize VPATH when `$srcdir' = `.'.
26631 # Shell code in configure.ac might set extrasub.
26632 # FIXME: do we really want to maintain this feature?
26633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26634 ac_sed_extra="$ac_vpsub
26637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26639 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26640 s|@configure_input@|
$ac_sed_conf_input|
;t t
26641 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26642 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26643 s
&@srcdir@
&$ac_srcdir&;t t
26644 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26645 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26646 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26647 s
&@builddir@
&$ac_builddir&;t t
26648 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26649 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26650 s
&@INSTALL@
&$ac_INSTALL&;t t
26651 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26652 $ac_datarootdir_hack
26654 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26655 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26657 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26658 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26661 which seems to be undefined. Please make sure it is defined." >&5
26662 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26663 which seems to be undefined. Please make sure it is defined." >&2;}
26667 -) cat "$tmp/out" && rm -f "$tmp/out";;
26668 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26670 || as_fn_error "could not create $ac_file" "$LINENO" 5
26676 if test x"$ac_file" != x-; then
26678 $as_echo "/* $configure_input */" \
26679 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26680 } >"$tmp/config.h" \
26681 || as_fn_error "could not create $ac_file" "$LINENO" 5
26682 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26684 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26687 mv "$tmp/config.h" "$ac_file" \
26688 || as_fn_error "could not create $ac_file" "$LINENO" 5
26691 $as_echo "/* $configure_input */" \
26692 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26693 || as_fn_error "could not create -" "$LINENO" 5
26695 # Compute "$ac_file"'s index
in $config_headers.
26698 for _am_header
in $config_headers :; do
26699 case $_am_header in
26700 $_am_arg |
$_am_arg:* )
26703 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26706 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26707 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26708 X"$_am_arg" : 'X\(//\)[^/]' \| \
26709 X"$_am_arg" : 'X\(//\)$' \| \
26710 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26711 $as_echo X"$_am_arg" |
26712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26716 /^X\(\/\/\)[^/].*/{
26728 s/.*/./; q'`/stamp-h
$_am_stamp_count
26731 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26732 $as_echo "$as_me: executing $ac_file commands" >&6;}
26737 case $ac_file$ac_mode in
26739 # Only add multilib support code if we just rebuilt the top-level
26741 case " $CONFIG_FILES " in
26743 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26746 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26747 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26748 # are listed without --file. Let's play safe and only enable the eval
26749 # if we detect the quoting.
26750 case $CONFIG_FILES in
26751 *\'*) eval set x
"$CONFIG_FILES" ;;
26752 *) set x
$CONFIG_FILES ;;
26757 # Strip MF so we end up with the name of the file.
26758 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26759 # Check whether this is an Automake generated Makefile or not.
26760 # We used to match only the files named `Makefile.in', but
26761 # some people rename them; so instead we look at the file content.
26762 # Grep'ing the first line is not enough: some people post-process
26763 # each Makefile.in and add a new line on top of each file to say so.
26764 # Grep'ing the whole file is not good either: AIX grep has a line
26765 # limit of 2048, but all sed's we know have understand at least 4000.
26766 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26767 dirpart
=`$as_dirname -- "$mf" ||
26768 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26769 X"$mf" : 'X\(//\)[^/]' \| \
26770 X"$mf" : 'X\(//\)$' \| \
26771 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26777 /^X\(\/\/\)[^/].*/{
26793 # Extract the definition of DEPDIR, am__include, and am__quote
26794 # from the Makefile without running `make'.
26795 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26796 test -z "$DEPDIR" && continue
26797 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26798 test -z "am__include" && continue
26799 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26800 # When using ansi2knr, U may be empty or an underscore; expand it
26801 U
=`sed -n 's/^U = //p' < "$mf"`
26802 # Find all dependency output files, they are included files with
26803 # $(DEPDIR) in their names. We invoke sed twice because it is the
26804 # simplest approach to changing $(DEPDIR) to its actual value in the
26806 for file in `sed -n "
26807 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26808 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26809 # Make sure the directory exists.
26810 test -f "$dirpart/$file" && continue
26811 fdir
=`$as_dirname -- "$file" ||
26812 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26813 X"$file" : 'X\(//\)[^/]' \| \
26814 X"$file" : 'X\(//\)$' \| \
26815 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26816 $as_echo X"$file" |
26817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26821 /^X\(\/\/\)[^/].*/{
26834 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26835 # echo "creating $dirpart/$file"
26836 echo '# dummy' > "$dirpart/$file"
26843 # See if we are running on zsh, and set the options which allow our
26844 # commands through without removal of \ escapes.
26845 if test -n "${ZSH_VERSION+set}" ; then
26846 setopt NO_GLOB_SUBST
26849 cfgfile
="${ofile}T"
26850 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26853 cat <<_LT_EOF >> "$cfgfile"
26856 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26857 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26858 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26859 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26861 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26862 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26863 # Written by Gordon Matzigkeit, 1996
26865 # This file is part of GNU Libtool.
26867 # GNU Libtool is free software; you can redistribute it and/or
26868 # modify it under the terms of the GNU General Public License as
26869 # published by the Free Software Foundation; either version 2 of
26870 # the License, or (at your option) any later version.
26872 # As a special exception to the GNU General Public License,
26873 # if you distribute this file as part of a program or library that
26874 # is built using GNU Libtool, you may include this file under the
26875 # same distribution terms that you use for the rest of that program.
26877 # GNU Libtool is distributed in the hope that it will be useful,
26878 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26879 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26880 # GNU General Public License for more details.
26882 # You should have received a copy of the GNU General Public License
26883 # along with GNU Libtool; see the file COPYING. If not, a copy
26884 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26885 # obtained by writing to the Free Software Foundation, Inc.,
26886 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26889 # The names of the tagged configurations supported by this script.
26890 available_tags="FC "
26892 # ### BEGIN LIBTOOL CONFIG
26894 # Which release of libtool.m4 was used?
26895 macro_version=$macro_version
26896 macro_revision=$macro_revision
26898 # Whether or not to build shared libraries.
26899 build_libtool_libs=$enable_shared
26901 # Whether or not to build static libraries.
26902 build_old_libs=$enable_static
26904 # What type of objects to build.
26907 # Whether or not to optimize for fast installation.
26908 fast_install=$enable_fast_install
26910 # Shell to use when invoking shell scripts.
26913 # An echo program that protects backslashes.
26917 host_alias=$host_alias
26921 # The build system.
26922 build_alias=$build_alias
26926 # A sed program that does not truncate output.
26929 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26930 Xsed="\$SED -e 1s/^X//"
26932 # A grep program that handles long lines.
26938 # A literal string matcher.
26941 # A BSD- or MS-compatible name lister.
26944 # Whether we need soft or hard links.
26947 # What is the maximum length of a command?
26948 max_cmd_len=$max_cmd_len
26950 # Object file suffix (normally "o").
26953 # Executable file suffix (normally "").
26956 # whether the shell understands "unset".
26959 # turn spaces into newlines.
26962 # turn newlines into spaces.
26965 # An object symbol dumper.
26966 OBJDUMP=$lt_OBJDUMP
26968 # Method to check whether dependent libraries are shared objects.
26969 deplibs_check_method=$lt_deplibs_check_method
26971 # Command to use when deplibs_check_method == "file_magic".
26972 file_magic_cmd=$lt_file_magic_cmd
26976 AR_FLAGS=$lt_AR_FLAGS
26978 # A symbol stripping program.
26981 # Commands used to install an old-style archive.
26983 old_postinstall_cmds=$lt_old_postinstall_cmds
26984 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26986 # Whether to use a lock for old archive extraction.
26987 lock_old_archive_extraction=$lock_old_archive_extraction
26992 # LTCC compiler flags.
26993 LTCFLAGS=$lt_CFLAGS
26995 # Take the output of nm and produce a listing of raw symbols and C names.
26996 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26998 # Transform the output of nm in a proper C declaration.
26999 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27001 # Transform the output of nm in a C name address pair.
27002 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27004 # Transform the output of nm in a C name address pair when lib prefix is needed.
27005 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27007 # The name of the directory that contains temporary libtool files.
27010 # Used to examine libraries when file_magic_cmd begins with "file".
27011 MAGIC_CMD=$MAGIC_CMD
27013 # Must we lock files when doing compilation?
27014 need_locks=$lt_need_locks
27016 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27017 DSYMUTIL=$lt_DSYMUTIL
27019 # Tool to change global to local symbols on Mac OS X.
27022 # Tool to manipulate fat objects and archives on Mac OS X.
27025 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27028 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27029 OTOOL64=$lt_OTOOL64
27031 # Old archive suffix (normally "a").
27034 # Shared library suffix (normally ".so").
27035 shrext_cmds=$lt_shrext_cmds
27037 # The commands to extract the exported symbol list from a shared archive.
27038 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27040 # Variables whose values should be saved in libtool wrapper scripts and
27041 # restored at link time.
27042 variables_saved_for_relink=$lt_variables_saved_for_relink
27044 # Do we need the "lib" prefix for modules?
27045 need_lib_prefix=$need_lib_prefix
27047 # Do we need a version for libraries?
27048 need_version=$need_version
27050 # Library versioning type.
27051 version_type=$version_type
27053 # Shared library runtime path variable.
27054 runpath_var=$runpath_var
27056 # Shared library path variable.
27057 shlibpath_var=$shlibpath_var
27059 # Is shlibpath searched before the hard-coded library search path?
27060 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27062 # Format of library name prefix.
27063 libname_spec=$lt_libname_spec
27065 # List of archive names. First name is the real one, the rest are links.
27066 # The last name is the one that the linker finds with -lNAME
27067 library_names_spec=$lt_library_names_spec
27069 # The coded name of the library, if different from the real name.
27070 soname_spec=$lt_soname_spec
27072 # Permission mode override for installation of shared libraries.
27073 install_override_mode=$lt_install_override_mode
27075 # Command to use after installation of a shared archive.
27076 postinstall_cmds=$lt_postinstall_cmds
27078 # Command to use after uninstallation of a shared archive.
27079 postuninstall_cmds=$lt_postuninstall_cmds
27081 # Commands used to finish a libtool library installation in a directory.
27082 finish_cmds=$lt_finish_cmds
27084 # As "finish_cmds", except a single script fragment to be evaled but
27086 finish_eval=$lt_finish_eval
27088 # Whether we should hardcode library paths into libraries.
27089 hardcode_into_libs=$hardcode_into_libs
27091 # Compile-time system search path for libraries.
27092 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27094 # Run-time system search path for libraries.
27095 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27097 # Whether dlopen is supported.
27098 dlopen_support=$enable_dlopen
27100 # Whether dlopen of programs is supported.
27101 dlopen_self=$enable_dlopen_self
27103 # Whether dlopen of statically linked programs is supported.
27104 dlopen_self_static=$enable_dlopen_self_static
27106 # Commands to strip libraries.
27107 old_striplib=$lt_old_striplib
27108 striplib=$lt_striplib
27111 # The linker used to build libraries.
27114 # How to create reloadable object files.
27115 reload_flag=$lt_reload_flag
27116 reload_cmds=$lt_reload_cmds
27118 # Commands used to build an old-style archive.
27119 old_archive_cmds=$lt_old_archive_cmds
27121 # A language specific compiler.
27124 # Is the compiler the GNU compiler?
27127 # Compiler flag to turn off builtin functions.
27128 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27130 # How to pass a linker flag through the compiler.
27131 wl=$lt_lt_prog_compiler_wl
27133 # Additional compiler flags for building library objects.
27134 pic_flag=$lt_lt_prog_compiler_pic
27136 # Compiler flag to prevent dynamic linking.
27137 link_static_flag=$lt_lt_prog_compiler_static
27139 # Does compiler simultaneously support -c and -o options?
27140 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27142 # Whether or not to add -lc for building shared libraries.
27143 build_libtool_need_lc=$archive_cmds_need_lc
27145 # Whether or not to disallow shared libs when runtime libs are static.
27146 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27148 # Compiler flag to allow reflexive dlopens.
27149 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27151 # Compiler flag to generate shared objects directly from archives.
27152 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27154 # Whether the compiler copes with passing no objects directly.
27155 compiler_needs_object=$lt_compiler_needs_object
27157 # Create an old-style archive from a shared archive.
27158 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27160 # Create a temporary old-style archive to link instead of a shared archive.
27161 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27163 # Commands used to build a shared archive.
27164 archive_cmds=$lt_archive_cmds
27165 archive_expsym_cmds=$lt_archive_expsym_cmds
27167 # Commands used to build a loadable module if different from building
27168 # a shared archive.
27169 module_cmds=$lt_module_cmds
27170 module_expsym_cmds=$lt_module_expsym_cmds
27172 # Whether we are building with GNU ld or not.
27173 with_gnu_ld=$lt_with_gnu_ld
27175 # Flag that allows shared libraries with undefined symbols to be built.
27176 allow_undefined_flag=$lt_allow_undefined_flag
27178 # Flag that enforces no undefined symbols.
27179 no_undefined_flag=$lt_no_undefined_flag
27181 # Flag to hardcode \$libdir into a binary during linking.
27182 # This must work even if \$libdir does not exist
27183 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27185 # If ld is used when linking, flag to hardcode \$libdir into a binary
27186 # during linking. This must work even if \$libdir does not exist.
27187 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27189 # Whether we need a single "-rpath" flag with a separated argument.
27190 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27192 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27193 # DIR into the resulting binary.
27194 hardcode_direct=$hardcode_direct
27196 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27197 # DIR into the resulting binary and the resulting library dependency is
27198 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27199 # library is relocated.
27200 hardcode_direct_absolute=$hardcode_direct_absolute
27202 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27203 # into the resulting binary.
27204 hardcode_minus_L=$hardcode_minus_L
27206 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27207 # into the resulting binary.
27208 hardcode_shlibpath_var=$hardcode_shlibpath_var
27210 # Set to "yes" if building a shared library automatically hardcodes DIR
27211 # into the library and all subsequent libraries and executables linked
27213 hardcode_automatic=$hardcode_automatic
27215 # Set to yes if linker adds runtime paths of dependent libraries
27216 # to runtime path list.
27217 inherit_rpath=$inherit_rpath
27219 # Whether libtool must link a program against all its dependency libraries.
27220 link_all_deplibs=$link_all_deplibs
27222 # Fix the shell variable \$srcfile for the compiler.
27223 fix_srcfile_path=$lt_fix_srcfile_path
27225 # Set to "yes" if exported symbols are required.
27226 always_export_symbols=$always_export_symbols
27228 # The commands to list exported symbols.
27229 export_symbols_cmds=$lt_export_symbols_cmds
27231 # Symbols that should not be listed in the preloaded symbols.
27232 exclude_expsyms=$lt_exclude_expsyms
27234 # Symbols that must always be exported.
27235 include_expsyms=$lt_include_expsyms
27237 # Commands necessary for linking programs (against libraries) with templates.
27238 prelink_cmds=$lt_prelink_cmds
27240 # Specify filename containing input files.
27241 file_list_spec=$lt_file_list_spec
27243 # How to hardcode a shared library path into an executable.
27244 hardcode_action=$hardcode_action
27246 # The directories searched by this compiler when creating a shared library.
27247 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27249 # Dependencies to place before and after the objects being linked to
27250 # create a shared library.
27251 predep_objects=$lt_predep_objects
27252 postdep_objects=$lt_postdep_objects
27253 predeps=$lt_predeps
27254 postdeps=$lt_postdeps
27256 # The library search path used internally by the compiler when linking
27257 # a shared library.
27258 compiler_lib_search_path=$lt_compiler_lib_search_path
27260 # ### END LIBTOOL CONFIG
27266 cat <<\_LT_EOF
>> "$cfgfile"
27267 # AIX sometimes has problems with the GCC collect2 program. For some
27268 # reason, if we set the COLLECT_NAMES environment variable, the problems
27269 # vanish in a puff of smoke.
27270 if test "X${COLLECT_NAMES+set}" != Xset
; then
27272 export COLLECT_NAMES
27279 ltmain
="$ac_aux_dir/ltmain.sh"
27282 # We use sed instead of cat because bash on DJGPP gets confused if
27283 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27284 # text mode, it properly converts lines to CR/LF. This bash problem
27285 # is reportedly fixed, but why not run on old versions too?
27286 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27287 ||
(rm -f "$cfgfile"; exit 1)
27291 cat << \_LT_EOF
>> "$cfgfile"
27293 # func_dirname file append nondir_replacement
27294 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27295 # otherwise set result to NONDIR_REPLACEMENT.
27299 */*) func_dirname_result
="${1%/*}${2}" ;;
27300 * ) func_dirname_result
="${3}" ;;
27304 # func_basename file
27307 func_basename_result
="${1##*/}"
27310 # func_dirname_and_basename file append nondir_replacement
27311 # perform func_basename and func_dirname in a single function
27313 # dirname: Compute the dirname of FILE. If nonempty,
27314 # add APPEND to the result, otherwise set result
27315 # to NONDIR_REPLACEMENT.
27316 # value returned in "$func_dirname_result"
27317 # basename: Compute filename of FILE.
27318 # value retuned in "$func_basename_result"
27319 # Implementation must be kept synchronized with func_dirname
27320 # and func_basename. For efficiency, we do not delegate to
27321 # those functions but instead duplicate the functionality here.
27322 func_dirname_and_basename
()
27325 */*) func_dirname_result
="${1%/*}${2}" ;;
27326 * ) func_dirname_result
="${3}" ;;
27328 func_basename_result
="${1##*/}"
27331 # func_stripname prefix suffix name
27332 # strip PREFIX and SUFFIX off of NAME.
27333 # PREFIX and SUFFIX must not contain globbing or regex special
27334 # characters, hashes, percent signs, but SUFFIX may contain a leading
27335 # dot (in which case that matches only a dot).
27338 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27339 # positional parameters, so assign one to ordinary parameter first.
27340 func_stripname_result
=${3}
27341 func_stripname_result
=${func_stripname_result#"${1}"}
27342 func_stripname_result
=${func_stripname_result%"${2}"}
27348 func_opt_split_opt
=${1%%=*}
27349 func_opt_split_arg
=${1#*=}
27356 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27357 *) func_lo2o_result
=${1} ;;
27361 # func_xform libobj-or-source
27364 func_xform_result
=${1%.*}.lo
27367 # func_arith arithmetic-term...
27370 func_arith_result
=$
(( $
* ))
27374 # STRING may not start with a hyphen.
27377 func_len_result
=${#1}
27382 *) # Bourne compatible functions.
27383 cat << \_LT_EOF
>> "$cfgfile"
27385 # func_dirname file append nondir_replacement
27386 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27387 # otherwise set result to NONDIR_REPLACEMENT.
27390 # Extract subdirectory from the argument.
27391 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27392 if test "X$func_dirname_result" = "X${1}"; then
27393 func_dirname_result
="${3}"
27395 func_dirname_result
="$func_dirname_result${2}"
27399 # func_basename file
27402 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27406 # func_stripname prefix suffix name
27407 # strip PREFIX and SUFFIX off of NAME.
27408 # PREFIX and SUFFIX must not contain globbing or regex special
27409 # characters, hashes, percent signs, but SUFFIX may contain a leading
27410 # dot (in which case that matches only a dot).
27411 # func_strip_suffix prefix name
27415 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27416 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27421 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27422 my_sed_long_arg
='1s/^-[^=]*=//'
27427 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27428 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27434 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27437 # func_xform libobj-or-source
27440 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27443 # func_arith arithmetic-term...
27446 func_arith_result
=`expr "$@"`
27450 # STRING may not start with a hyphen.
27453 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27459 case $lt_shell_append in
27461 cat << \_LT_EOF
>> "$cfgfile"
27463 # func_append var value
27464 # Append VALUE to the end of shell variable VAR.
27472 cat << \_LT_EOF
>> "$cfgfile"
27474 # func_append var value
27475 # Append VALUE to the end of shell variable VAR.
27486 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27487 ||
(rm -f "$cfgfile"; exit 1)
27489 mv -f "$cfgfile" "$ofile" ||
27490 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27494 cat <<_LT_EOF >> "$ofile"
27496 # ### BEGIN LIBTOOL TAG CONFIG: FC
27498 # The linker used to build libraries.
27501 # How to create reloadable object files.
27502 reload_flag=$lt_reload_flag_FC
27503 reload_cmds=$lt_reload_cmds_FC
27505 # Commands used to build an old-style archive.
27506 old_archive_cmds=$lt_old_archive_cmds_FC
27508 # A language specific compiler.
27511 # Is the compiler the GNU compiler?
27514 # Compiler flag to turn off builtin functions.
27515 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27517 # How to pass a linker flag through the compiler.
27518 wl=$lt_lt_prog_compiler_wl_FC
27520 # Additional compiler flags for building library objects.
27521 pic_flag=$lt_lt_prog_compiler_pic_FC
27523 # Compiler flag to prevent dynamic linking.
27524 link_static_flag=$lt_lt_prog_compiler_static_FC
27526 # Does compiler simultaneously support -c and -o options?
27527 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27529 # Whether or not to add -lc for building shared libraries.
27530 build_libtool_need_lc=$archive_cmds_need_lc_FC
27532 # Whether or not to disallow shared libs when runtime libs are static.
27533 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27535 # Compiler flag to allow reflexive dlopens.
27536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27538 # Compiler flag to generate shared objects directly from archives.
27539 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27541 # Whether the compiler copes with passing no objects directly.
27542 compiler_needs_object=$lt_compiler_needs_object_FC
27544 # Create an old-style archive from a shared archive.
27545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27547 # Create a temporary old-style archive to link instead of a shared archive.
27548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27550 # Commands used to build a shared archive.
27551 archive_cmds=$lt_archive_cmds_FC
27552 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27554 # Commands used to build a loadable module if different from building
27555 # a shared archive.
27556 module_cmds=$lt_module_cmds_FC
27557 module_expsym_cmds=$lt_module_expsym_cmds_FC
27559 # Whether we are building with GNU ld or not.
27560 with_gnu_ld=$lt_with_gnu_ld_FC
27562 # Flag that allows shared libraries with undefined symbols to be built.
27563 allow_undefined_flag=$lt_allow_undefined_flag_FC
27565 # Flag that enforces no undefined symbols.
27566 no_undefined_flag=$lt_no_undefined_flag_FC
27568 # Flag to hardcode \$libdir into a binary during linking.
27569 # This must work even if \$libdir does not exist
27570 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27572 # If ld is used when linking, flag to hardcode \$libdir into a binary
27573 # during linking. This must work even if \$libdir does not exist.
27574 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27576 # Whether we need a single "-rpath" flag with a separated argument.
27577 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27579 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27580 # DIR into the resulting binary.
27581 hardcode_direct=$hardcode_direct_FC
27583 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27584 # DIR into the resulting binary and the resulting library dependency is
27585 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27586 # library is relocated.
27587 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27589 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27590 # into the resulting binary.
27591 hardcode_minus_L=$hardcode_minus_L_FC
27593 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27594 # into the resulting binary.
27595 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27597 # Set to "yes" if building a shared library automatically hardcodes DIR
27598 # into the library and all subsequent libraries and executables linked
27600 hardcode_automatic=$hardcode_automatic_FC
27602 # Set to yes if linker adds runtime paths of dependent libraries
27603 # to runtime path list.
27604 inherit_rpath=$inherit_rpath_FC
27606 # Whether libtool must link a program against all its dependency libraries.
27607 link_all_deplibs=$link_all_deplibs_FC
27609 # Fix the shell variable \$srcfile for the compiler.
27610 fix_srcfile_path=$lt_fix_srcfile_path_FC
27612 # Set to "yes" if exported symbols are required.
27613 always_export_symbols=$always_export_symbols_FC
27615 # The commands to list exported symbols.
27616 export_symbols_cmds=$lt_export_symbols_cmds_FC
27618 # Symbols that should not be listed in the preloaded symbols.
27619 exclude_expsyms=$lt_exclude_expsyms_FC
27621 # Symbols that must always be exported.
27622 include_expsyms=$lt_include_expsyms_FC
27624 # Commands necessary for linking programs (against libraries) with templates.
27625 prelink_cmds=$lt_prelink_cmds_FC
27627 # Specify filename containing input files.
27628 file_list_spec=$lt_file_list_spec_FC
27630 # How to hardcode a shared library path into an executable.
27631 hardcode_action=$hardcode_action_FC
27633 # The directories searched by this compiler when creating a shared library.
27634 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27636 # Dependencies to place before and after the objects being linked to
27637 # create a shared library.
27638 predep_objects=$lt_predep_objects_FC
27639 postdep_objects=$lt_postdep_objects_FC
27640 predeps=$lt_predeps_FC
27641 postdeps=$lt_postdeps_FC
27643 # The library search path used internally by the compiler when linking
27644 # a shared library.
27645 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27647 # ### END LIBTOOL TAG CONFIG: FC
27652 if test "$GCC" = yes; then
27653 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27655 echo "/* generated for $CC */" > tmp-stdint.h
27658 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27660 #ifndef GCC_GENERATED_STDINT_H
27661 #define GCC_GENERATED_STDINT_H 1
27663 #include <sys/types.h>
27666 if test "$acx_cv_header_stdint" != stdint.h
; then
27667 echo "#include <stddef.h>" >> tmp-stdint.h
27669 if test "$acx_cv_header_stdint" != stddef.h
; then
27670 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27673 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27674 /* glibc uses these symbols as guards to prevent redefinitions. */
27675 #ifdef __int8_t_defined
27680 #ifdef __uint32_t_defined
27686 # ----------------- done header, emit basic int types -------------
27687 if test "$acx_cv_header_stdint" = stddef.h
; then
27688 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27692 #ifndef __uint8_t_defined
27693 #define __uint8_t_defined
27695 typedef unsigned $acx_cv_type_int8_t uint8_t;
27702 #ifndef __uint16_t_defined
27703 #define __uint16_t_defined
27705 typedef unsigned $acx_cv_type_int16_t uint16_t;
27712 #ifndef __uint32_t_defined
27713 #define __uint32_t_defined
27715 typedef unsigned $acx_cv_type_int32_t uint32_t;
27722 #ifndef __int8_t_defined
27723 #define __int8_t_defined
27725 typedef $acx_cv_type_int8_t int8_t;
27732 #ifndef __int16_t_defined
27733 #define __int16_t_defined
27735 typedef $acx_cv_type_int16_t int16_t;
27742 #ifndef __int32_t_defined
27743 #define __int32_t_defined
27745 typedef $acx_cv_type_int32_t int32_t;
27750 elif test "$ac_cv_type_u_int32_t" = yes; then
27751 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27753 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27766 #ifndef __uint8_t_defined
27767 #define __uint8_t_defined
27769 typedef u_int8_t uint8_t;
27776 #ifndef __uint16_t_defined
27777 #define __uint16_t_defined
27779 typedef u_int16_t uint16_t;
27786 #ifndef __uint32_t_defined
27787 #define __uint32_t_defined
27789 typedef u_int32_t uint32_t;
27795 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27797 /* Some systems have guard macros to prevent redefinitions, define them. */
27819 # ------------- done basic int types, emit int64_t types ------------
27820 if test "$ac_cv_type_uint64_t" = yes; then
27821 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27823 /* system headers have good uint64_t and int64_t */
27831 elif test "$ac_cv_type_u_int64_t" = yes; then
27832 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27834 /* system headers have an u_int64_t (and int64_t) */
27840 #ifndef __uint64_t_defined
27841 #define __uint64_t_defined
27843 typedef u_int64_t uint64_t;
27848 elif test -n "$acx_cv_type_int64_t"; then
27849 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27851 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27855 typedef $acx_cv_type_int64_t int64_t;
27860 #ifndef __uint64_t_defined
27861 #define __uint64_t_defined
27863 typedef unsigned $acx_cv_type_int64_t uint64_t;
27869 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27871 /* some common heuristics for int64_t, using compiler-specific tests */
27872 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27875 #ifndef __int64_t_defined
27877 typedef long long int64_t;
27884 typedef unsigned long long uint64_t;
27888 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27889 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27890 does not implement __extension__. But that compiler doesn't define
27892 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27893 # define __extension__
27899 __extension__ typedef long long int64_t;
27905 __extension__ typedef unsigned long long uint64_t;
27909 #elif !defined __STRICT_ANSI__
27910 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27915 typedef __int64 int64_t;
27921 typedef unsigned __int64 uint64_t;
27924 # endif /* compiler */
27926 #endif /* ANSI version */
27930 # ------------- done int64_t types, emit intptr types ------------
27931 if test "$ac_cv_type_uintptr_t" != yes; then
27932 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27934 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27935 #ifndef __uintptr_t_defined
27937 typedef u$acx_cv_type_intptr_t uintptr_t;
27940 #ifndef __intptr_t_defined
27942 typedef $acx_cv_type_intptr_t intptr_t;
27948 # ------------- done intptr types, emit int_least types ------------
27949 if test "$ac_cv_type_int_least32_t" != yes; then
27950 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27952 /* Define int_least types */
27953 typedef int8_t int_least8_t;
27954 typedef int16_t int_least16_t;
27955 typedef int32_t int_least32_t;
27957 typedef int64_t int_least64_t;
27960 typedef uint8_t uint_least8_t;
27961 typedef uint16_t uint_least16_t;
27962 typedef uint32_t uint_least32_t;
27964 typedef uint64_t uint_least64_t;
27969 # ------------- done intptr types, emit int_fast types ------------
27970 if test "$ac_cv_type_int_fast32_t" != yes; then
27971 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27973 /* Define int_fast types. short is often slow */
27974 typedef int8_t int_fast8_t;
27975 typedef int int_fast16_t;
27976 typedef int32_t int_fast32_t;
27978 typedef int64_t int_fast64_t;
27981 typedef uint8_t uint_fast8_t;
27982 typedef unsigned int uint_fast16_t;
27983 typedef uint32_t uint_fast32_t;
27985 typedef uint64_t uint_fast64_t;
27990 if test "$ac_cv_type_uintmax_t" != yes; then
27991 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27993 /* Define intmax based on what we found */
27996 typedef int64_t intmax_t;
27998 typedef long intmax_t;
28003 typedef uint64_t uintmax_t;
28005 typedef unsigned long uintmax_t;
28011 sed 's/^ *//' >> tmp-stdint.h
<<EOF
28013 #endif /* GCC_GENERATED_STDINT_H */
28016 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
28019 mv -f tmp-stdint.h gstdint.h
28030 ac_clean_files
=$ac_clean_files_save
28032 test $ac_write_fail = 0 ||
28033 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
28036 # configure is writing to config.log, and then calls config.status.
28037 # config.status does its own redirection, appending to config.log.
28038 # Unfortunately, on DOS this fails, as config.log is still kept open
28039 # by configure, so config.status won't be able to write to it; its
28040 # output is simply discarded. So we exec the FD to /dev/null,
28041 # effectively closing config.log, so it can be properly (re)opened and
28042 # appended to by config.status. When coming back to configure, we
28043 # need to make the FD available again.
28044 if test "$no_create" != yes; then
28046 ac_config_status_args
=
28047 test "$silent" = yes &&
28048 ac_config_status_args
="$ac_config_status_args --quiet"
28050 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
28052 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28053 # would make configure fail if this is the last instruction.
28054 $ac_cs_success || as_fn_exit $?
28056 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28058 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}