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>
600 ac_subst_vars
='am__EXEEXT_FALSE
606 extra_ldflags_libgfortran
633 LIBGFOR_USE_SYMVER_FALSE
634 LIBGFOR_USE_SYMVER_TRUE
657 MAINTAINER_MODE_FALSE
667 INSTALL_STRIP_PROGRAM
728 program_transform_name
741 enable_option_checking
743 enable_version_specific_runtime_libs
745 enable_maintainer_mode
747 enable_dependency_tracking
756 ac_precious_vars
='build_alias
767 # Initialize some variables set by options.
769 ac_init_version
=false
770 ac_unrecognized_opts
=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
781 program_transform_name
=s
,x
,x
,
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir
='${exec_prefix}/bin'
796 sbindir
='${exec_prefix}/sbin'
797 libexecdir
='${exec_prefix}/libexec'
798 datarootdir
='${prefix}/share'
799 datadir
='${datarootdir}'
800 sysconfdir
='${prefix}/etc'
801 sharedstatedir
='${prefix}/com'
802 localstatedir
='${prefix}/var'
803 includedir
='${prefix}/include'
804 oldincludedir
='/usr/include'
805 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir
='${datarootdir}/info'
811 libdir
='${exec_prefix}/lib'
812 localedir
='${datarootdir}/locale'
813 mandir
='${datarootdir}/man'
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\
$ac_option
827 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 case $ac_dashdash$ac_option in
837 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
839 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
842 -build |
--build |
--buil |
--bui |
--bu)
843 ac_prev
=build_alias
;;
844 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
845 build_alias
=$ac_optarg ;;
847 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
848 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
849 ac_prev
=cache_file
;;
850 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
851 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
852 cache_file
=$ac_optarg ;;
855 cache_file
=config.cache
;;
857 -datadir |
--datadir |
--datadi |
--datad)
859 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
860 datadir
=$ac_optarg ;;
862 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
863 |
--dataroo |
--dataro |
--datar)
864 ac_prev
=datarootdir
;;
865 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
866 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
867 datarootdir
=$ac_optarg ;;
869 -disable-* |
--disable-*)
870 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
873 as_fn_error
"invalid feature name: $ac_useropt"
874 ac_useropt_orig
=$ac_useropt
875 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 ac_unrecognized_sep
=', ';;
883 eval enable_
$ac_useropt=no
;;
885 -docdir |
--docdir |
--docdi |
--doc |
--do)
887 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
890 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
892 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
895 -enable-* |
--enable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=\
$ac_optarg ;;
911 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
912 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
913 |
--exec |
--exe |
--ex)
914 ac_prev
=exec_prefix
;;
915 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
916 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
917 |
--exec=* |
--exe=* |
--ex=*)
918 exec_prefix
=$ac_optarg ;;
920 -gas |
--gas |
--ga |
--g)
921 # Obsolete; use --with-gas.
924 -help |
--help |
--hel |
--he |
-h)
926 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
927 ac_init_help
=recursive
;;
928 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
929 ac_init_help
=short
;;
931 -host |
--host |
--hos |
--ho)
932 ac_prev
=host_alias
;;
933 -host=* |
--host=* |
--hos=* |
--ho=*)
934 host_alias
=$ac_optarg ;;
936 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
938 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
940 htmldir
=$ac_optarg ;;
942 -includedir |
--includedir |
--includedi |
--included |
--include \
943 |
--includ |
--inclu |
--incl |
--inc)
944 ac_prev
=includedir
;;
945 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
946 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
947 includedir
=$ac_optarg ;;
949 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
951 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
952 infodir
=$ac_optarg ;;
954 -libdir |
--libdir |
--libdi |
--libd)
956 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
959 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
960 |
--libexe |
--libex |
--libe)
961 ac_prev
=libexecdir
;;
962 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
963 |
--libexe=* |
--libex=* |
--libe=*)
964 libexecdir
=$ac_optarg ;;
966 -localedir |
--localedir |
--localedi |
--localed |
--locale)
968 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
969 localedir
=$ac_optarg ;;
971 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
972 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
973 ac_prev
=localstatedir
;;
974 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
975 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
976 localstatedir
=$ac_optarg ;;
978 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
980 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
984 # Obsolete; use --without-fp.
987 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
988 |
--no-cr |
--no-c |
-n)
991 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
992 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
995 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
996 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
997 |
--oldin |
--oldi |
--old |
--ol |
--o)
998 ac_prev
=oldincludedir
;;
999 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1000 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1001 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1002 oldincludedir
=$ac_optarg ;;
1004 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1006 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1007 prefix
=$ac_optarg ;;
1009 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1010 |
--program-pre |
--program-pr |
--program-p)
1011 ac_prev
=program_prefix
;;
1012 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1013 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1014 program_prefix
=$ac_optarg ;;
1016 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1017 |
--program-suf |
--program-su |
--program-s)
1018 ac_prev
=program_suffix
;;
1019 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1020 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1021 program_suffix
=$ac_optarg ;;
1023 -program-transform-name |
--program-transform-name \
1024 |
--program-transform-nam |
--program-transform-na \
1025 |
--program-transform-n |
--program-transform- \
1026 |
--program-transform |
--program-transfor \
1027 |
--program-transfo |
--program-transf \
1028 |
--program-trans |
--program-tran \
1029 |
--progr-tra |
--program-tr |
--program-t)
1030 ac_prev
=program_transform_name
;;
1031 -program-transform-name=* |
--program-transform-name=* \
1032 |
--program-transform-nam=* |
--program-transform-na=* \
1033 |
--program-transform-n=* |
--program-transform-=* \
1034 |
--program-transform=* |
--program-transfor=* \
1035 |
--program-transfo=* |
--program-transf=* \
1036 |
--program-trans=* |
--program-tran=* \
1037 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1038 program_transform_name
=$ac_optarg ;;
1040 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1042 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1043 pdfdir
=$ac_optarg ;;
1045 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1047 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1050 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1051 |
-silent |
--silent |
--silen |
--sile |
--sil)
1054 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1056 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1058 sbindir
=$ac_optarg ;;
1060 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1061 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1062 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1064 ac_prev
=sharedstatedir
;;
1065 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1066 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1067 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1069 sharedstatedir
=$ac_optarg ;;
1071 -site |
--site |
--sit)
1073 -site=* |
--site=* |
--sit=*)
1076 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1078 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1079 srcdir
=$ac_optarg ;;
1081 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1082 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1083 ac_prev
=sysconfdir
;;
1084 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1085 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1086 sysconfdir
=$ac_optarg ;;
1088 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1089 ac_prev
=target_alias
;;
1090 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1091 target_alias
=$ac_optarg ;;
1093 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1096 -version |
--version |
--versio |
--versi |
--vers |
-V)
1097 ac_init_version
=: ;;
1100 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error
"invalid package name: $ac_useropt"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=\
$ac_optarg ;;
1115 -without-* |
--without-*)
1116 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=no
;;
1132 # Obsolete; use --with-x.
1135 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1136 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1137 ac_prev
=x_includes
;;
1138 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1139 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1140 x_includes
=$ac_optarg ;;
1142 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1143 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1144 ac_prev
=x_libraries
;;
1145 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1146 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1147 x_libraries
=$ac_optarg ;;
1149 -*) as_fn_error
"unrecognized option: \`$ac_option'
1150 Try \`$0 --help' for more information."
1154 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 case $ac_envvar in #(
1157 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1158 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1160 eval $ac_envvar=\
$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174 if test -n "$ac_prev"; then
1175 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1176 as_fn_error
"missing argument to $ac_option"
1179 if test -n "$ac_unrecognized_opts"; then
1180 case $enable_option_checking in
1182 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val
=\$
$ac_var
1194 # Remove trailing slashes.
1197 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\
$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$
]* | ?
:[\\/]* ) continue;;
1203 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1205 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1213 target
=$target_alias
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x
; then
1217 if test "x$build_alias" = x
; then
1218 cross_compiling
=maybe
1219 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220 If a cross compiler is detected then cross compile mode will be used." >&2
1221 elif test "x$build_alias" != "x$host_alias"; then
1227 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1229 test "$silent" = yes && exec 6>/dev
/null
1232 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di
=`ls -di .` &&
1234 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1235 as_fn_error
"working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 as_fn_error
"pwd does not report name of working directory"
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242 ac_srcdir_defaulted
=yes
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir
=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246 X"$as_myself" : 'X\(//\)[^/]' \| \
1247 X"$as_myself" : 'X\(//\)$' \| \
1248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1272 ac_srcdir_defaulted
=no
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1276 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1278 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1290 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 for ac_var
in $ac_precious_vars; do
1293 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1295 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1300 # Report the --help message.
1302 if test "$ac_init_help" = "long"; then
1303 # Omit some internal or obsolete options to make the list less imposing.
1304 # This message is too long to be a string in the A/UX 3.1 sh.
1306 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE. See below for descriptions of some of the useful variables.
1313 Defaults for the options are specified in brackets.
1316 -h, --help display this help and exit
1317 --help=short display options specific to this package
1318 --help=recursive display the short help of all the included packages
1319 -V, --version display version information and exit
1320 -q, --quiet, --silent do not print \`checking...' messages
1321 --cache-file=FILE cache test results in FILE [disabled]
1322 -C, --config-cache alias for \`--cache-file=config.cache'
1323 -n, --no-create do not create output files
1324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1326 Installation directories:
1327 --prefix=PREFIX install architecture-independent files in PREFIX
1328 [$ac_default_prefix]
1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1337 For better control, use the options below.
1339 Fine tuning of the installation directories:
1340 --bindir=DIR user executables [EPREFIX/bin]
1341 --sbindir=DIR system admin executables [EPREFIX/sbin]
1342 --libexecdir=DIR program executables [EPREFIX/libexec]
1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346 --libdir=DIR object code libraries [EPREFIX/lib]
1347 --includedir=DIR C header files [PREFIX/include]
1348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351 --infodir=DIR info documentation [DATAROOTDIR/info]
1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353 --mandir=DIR man documentation [DATAROOTDIR/man]
1354 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1355 --htmldir=DIR html documentation [DOCDIR]
1356 --dvidir=DIR dvi documentation [DOCDIR]
1357 --pdfdir=DIR pdf documentation [DOCDIR]
1358 --psdir=DIR ps documentation [DOCDIR]
1364 --program-prefix=PREFIX prepend PREFIX to installed program names
1365 --program-suffix=SUFFIX append SUFFIX to installed program names
1366 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1369 --build=BUILD configure
for building on BUILD
[guessed
]
1370 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1371 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1386 --enable-intermodule build the library
in one step
1387 --enable-maintainer-mode enable make rules and dependencies not useful
1388 (and sometimes confusing
) to the casual installer
1389 --enable-multilib build many library versions
(default
)
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1392 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1393 --enable-static[=PKGS
] build static libraries
[default
=yes]
1394 --enable-fast-install[=PKGS
]
1395 optimize
for fast installation
[default
=yes]
1396 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1397 --disable-largefile omit support
for large files
1400 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1401 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1402 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1403 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1405 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1407 Some influential environment variables
:
1408 CC C compiler
command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1411 nonstandard directory
<lib dir
>
1412 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1413 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1414 you have headers
in a nonstandard directory
<include dir
>
1416 FC Fortran compiler
command
1417 FCFLAGS Fortran compiler flags
1419 Use these variables to override the choices made by
`configure' or to help
1420 it to find libraries and programs with nonstandard names/locations.
1422 Report bugs to the package provider.
1423 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1424 General help using GNU software: <http://www.gnu.org/gethelp/>.
1429 if test "$ac_init_help" = "recursive"; then
1430 # If there are subdirs, report their specific --help.
1431 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1432 test -d "$ac_dir" ||
1433 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1441 # A ".." for each directory in $ac_dir_suffix.
1442 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1443 case $ac_top_builddir_sub in
1444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1454 .) # We are building in place.
1456 ac_top_srcdir=$ac_top_builddir_sub
1457 ac_abs_top_srcdir=$ac_pwd ;;
1458 [\\/]* | ?:[\\/]* ) # Absolute name.
1459 ac_srcdir=$srcdir$ac_dir_suffix;
1460 ac_top_srcdir=$srcdir
1461 ac_abs_top_srcdir=$srcdir ;;
1463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464 ac_top_srcdir=$ac_top_build_prefix$srcdir
1465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469 cd "$ac_dir" || { ac_status=$?; continue; }
1470 # Check for guested configure.
1471 if test -f "$ac_srcdir/configure.gnu"; then
1473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474 elif test -f "$ac_srcdir/configure"; then
1476 $SHELL "$ac_srcdir/configure" --help=recursive
1478 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1480 cd "$ac_pwd" || { ac_status=$?; break; }
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1487 GNU Fortran Runtime Library configure 0.3
1488 generated by GNU Autoconf 2.64
1490 Copyright (C) 2009 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1497 ## ------------------------ ##
1498 ## Autoconf initialization. ##
1499 ## ------------------------ ##
1501 # ac_fn_c_try_compile LINENO
1502 # --------------------------
1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1504 ac_fn_c_try_compile ()
1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507 rm -f conftest.$ac_objext
1508 if { { ac_try="$ac_compile"
1510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1511 *) ac_try_echo
=$ac_try;;
1513 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515 (eval "$ac_compile") 2>conftest.err
1517 if test -s conftest.err
; then
1518 grep -v '^ *+' conftest.err
>conftest.er1
1519 cat conftest.er1
>&5
1520 mv -f conftest.er1 conftest.err
1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523 test $ac_status = 0; } && {
1524 test -z "$ac_c_werror_flag" ||
1525 test ! -s conftest.err
1526 } && test -s conftest.
$ac_objext; then :
1529 $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.
$ac_ext >&5
1534 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1537 } # ac_fn_c_try_compile
1539 # ac_fn_c_try_link LINENO
1540 # -----------------------
1541 # Try to link conftest.$ac_ext, and return whether this succeeded.
1544 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1545 rm -f conftest.
$ac_objext conftest
$ac_exeext
1546 if { { ac_try
="$ac_link"
1548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_link") 2>conftest.err
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest$ac_exeext && {
1565 test "$cross_compiling" = yes ||
1566 $as_test_x conftest$ac_exeext
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1575 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1576 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1577 # interfere with the next link command; also delete a directory that is
1578 # left behind by Apple's compiler. We do this before executing the actions.
1579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1580 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1583 } # ac_fn_c_try_link
1585 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1586 # -------------------------------------------------------
1587 # Tests whether HEADER exists and can be compiled using the include files in
1588 # INCLUDES, setting the cache variable VAR accordingly.
1589 ac_fn_c_check_header_compile ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1595 $as_echo_n "(cached) " >&6
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 /* end confdefs.h. */
1602 if ac_fn_c_try_compile "$LINENO"; then :
1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614 } # ac_fn_c_check_header_compile
1616 # ac_fn_c_try_cpp LINENO
1617 # ----------------------
1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 if { { ac_try="$ac_cpp conftest.$ac_ext"
1624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1625 *) ac_try_echo
=$ac_try;;
1627 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1631 if test -s conftest.err
; then
1632 grep -v '^ *+' conftest.err
>conftest.er1
1633 cat conftest.er1
>&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } >/dev
/null
&& {
1638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.
$ac_ext >&5
1648 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1653 # ac_fn_c_try_run LINENO
1654 # ----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1656 # that executables *can* be run.
1659 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1660 if { { ac_try
="$ac_link"
1662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>&5
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1671 { { case "(($ac_try" in
1672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1673 *) ac_try_echo
=$ac_try;;
1675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_try") 2>&5
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; }; }; then :
1683 $as_echo "$as_me: program exited with status $ac_status" >&5
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.
$ac_ext >&5
1687 ac_retval
=$ac_status
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1695 # ac_fn_c_check_func LINENO FUNC VAR
1696 # ----------------------------------
1697 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1698 ac_fn_c_check_func
()
1700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1704 $as_echo_n "(cached) " >&6
1706 if test x
$gcc_no_link = xyes
; then
1707 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1711 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1713 #define $2 innocuous_$2
1715 /* System header to define __stub macros and hopefully few prototypes,
1716 which can conflict with char $2 (); below.
1717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1718 <limits.h> exists even on freestanding compilers. */
1721 # include <limits.h>
1723 # include <assert.h>
1728 /* Override any GCC internal prototype to avoid an error.
1729 Use char because int might match the return type of a GCC
1730 builtin and then its argument prototype would still apply. */
1735 /* The GNU C library defines this for functions which it implements
1736 to always fail with ENOSYS. Some functions are actually named
1737 something starting with __ and the normal name is an alias. */
1738 #if defined __stub_$2 || defined __stub___$2
1750 if ac_fn_c_try_link
"$LINENO"; then :
1755 rm -f core conftest.err conftest.
$ac_objext \
1756 conftest
$ac_exeext conftest.
$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1763 } # ac_fn_c_check_func
1765 # ac_fn_fc_try_compile LINENO
1766 # ---------------------------
1767 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1768 ac_fn_fc_try_compile
()
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 rm -f conftest.
$ac_objext
1772 if { { ac_try
="$ac_compile"
1774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_compile") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && {
1788 test -z "$ac_fc_werror_flag" ||
1789 test ! -s conftest.err
1790 } && test -s conftest.$ac_objext; then :
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 } # ac_fn_fc_try_compile
1803 # ac_fn_fc_try_link LINENO
1804 # ------------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_fc_try_link ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 rm -f conftest.$ac_objext conftest$ac_exeext
1810 if { { ac_try="$ac_link"
1812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1813 *) ac_try_echo
=$ac_try;;
1815 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>conftest.err
1819 if test -s conftest.err
; then
1820 grep -v '^ *+' conftest.err
>conftest.er1
1821 cat conftest.er1
>&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && {
1826 test -z "$ac_fc_werror_flag" ||
1827 test ! -s conftest.err
1828 } && test -s conftest
$ac_exeext && {
1829 test "$cross_compiling" = yes ||
1830 $as_test_x conftest
$ac_exeext
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.
$ac_ext >&5
1839 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1840 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1841 # interfere with the next link command; also delete a directory that is
1842 # left behind by Apple's compiler. We do this before executing the actions.
1843 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1847 } # ac_fn_fc_try_link
1849 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1850 # -------------------------------------------
1851 # Tests whether TYPE exists after having included INCLUDES, setting cache
1852 # variable VAR accordingly.
1853 ac_fn_c_check_type
()
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 $as_echo_n "(cached) " >&6
1862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1874 if ac_fn_c_try_compile
"$LINENO"; then :
1875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1887 if ac_fn_c_try_compile
"$LINENO"; then :
1892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1901 } # ac_fn_c_check_type
1903 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1904 # -------------------------------------------------------
1905 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1906 # the include files in INCLUDES and setting the cache variable VAR
1908 ac_fn_c_check_header_mongrel
()
1910 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1911 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1921 # Is the header compilable?
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1923 $as_echo_n "checking $2 usability... " >&6; }
1924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1929 if ac_fn_c_try_compile
"$LINENO"; then :
1930 ac_header_compiler
=yes
1932 ac_header_compiler
=no
1934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1936 $as_echo "$ac_header_compiler" >&6; }
1938 # Is the header present?
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1940 $as_echo_n "checking $2 presence... " >&6; }
1941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1945 if ac_fn_c_try_cpp
"$LINENO"; then :
1946 ac_header_preproc
=yes
1948 ac_header_preproc
=no
1950 rm -f conftest.err conftest.
$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1952 $as_echo "$ac_header_preproc" >&6; }
1954 # So? What about this header?
1955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1958 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1960 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1964 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1966 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1968 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1970 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1972 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1978 $as_echo_n "(cached) " >&6
1980 eval "$3=\$ac_header_compiler"
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1988 } # ac_fn_c_check_header_mongrel
1990 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1991 # --------------------------------------------
1992 # Tries to find the compile-time value of EXPR in a program that includes
1993 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1995 ac_fn_c_compute_int
()
1997 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1998 if test "$cross_compiling" = yes; then
1999 # Depending upon the size, compute the lo and hi bounds.
2000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2006 static int test_array [1 - 2 * !(($2) >= 0)];
2013 if ac_fn_c_try_compile
"$LINENO"; then :
2016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2022 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2029 if ac_fn_c_try_compile
"$LINENO"; then :
2030 ac_hi
=$ac_mid; break
2032 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2033 if test $ac_lo -le $ac_mid; then
2037 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2048 static int test_array [1 - 2 * !(($2) < 0)];
2055 if ac_fn_c_try_compile
"$LINENO"; then :
2058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2064 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2071 if ac_fn_c_try_compile
"$LINENO"; then :
2072 ac_lo
=$ac_mid; break
2074 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2075 if test $ac_mid -le $ac_hi; then
2079 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2089 # Binary search between lo and hi bounds.
2090 while test "x$ac_lo" != "x$ac_hi"; do
2091 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2098 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2105 if ac_fn_c_try_compile
"$LINENO"; then :
2108 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2113 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2120 static long int longval () { return $2; }
2121 static unsigned long int ulongval () { return $2; }
2128 FILE *f = fopen ("conftest.val", "w");
2133 long int i = longval ();
2136 fprintf (f, "%ld", i);
2140 unsigned long int i = ulongval ();
2143 fprintf (f, "%lu", i);
2145 /* Do not output a trailing newline, as this causes \r\n confusion
2146 on some platforms. */
2147 return ferror (f) || fclose (f) != 0;
2153 if ac_fn_c_try_run
"$LINENO"; then :
2154 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2158 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2159 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2163 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2166 } # ac_fn_c_compute_int
2168 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2169 # ----------------------------------------------------
2170 # Tries to find if the field MEMBER exists in type AGGR, after including
2171 # INCLUDES, setting cache variable VAR accordingly.
2172 ac_fn_c_check_member
()
2174 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2176 $as_echo_n "checking for $2.$3... " >&6; }
2177 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2178 $as_echo_n "(cached) " >&6
2180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2193 if ac_fn_c_try_compile
"$LINENO"; then :
2196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2203 if (sizeof ac_aggr.$3)
2209 if ac_fn_c_try_compile
"$LINENO"; then :
2214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2223 } # ac_fn_c_check_member
2224 cat >config.log
<<_ACEOF
2225 This file contains any messages produced by compilers while
2226 running configure, to aid debugging if configure makes a mistake.
2228 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2229 generated by GNU Autoconf 2.64. Invocation command line was
2241 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2242 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2243 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2244 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2245 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2247 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2248 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2250 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2251 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2252 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2253 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2254 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2255 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2256 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir
=.
2265 $as_echo "PATH: $as_dir"
2281 # Keep a trace of the command line.
2282 # Strip out --no-create and --no-recursion so they do not pile up.
2283 # Strip out --silent because we don't want to record it for future runs.
2284 # Also quote any args containing shell meta-characters.
2285 # Make two passes to allow for proper duplicate-argument suppression.
2289 ac_must_keep_next
=false
2295 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2296 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2297 |
-silent |
--silent |
--silen |
--sile |
--sil)
2300 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2303 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2305 as_fn_append ac_configure_args1
" '$ac_arg'"
2306 if test $ac_must_keep_next = true
; then
2307 ac_must_keep_next
=false
# Got value, back to normal.
2310 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2311 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2312 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2313 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2314 case "$ac_configure_args0 " in
2315 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2318 -* ) ac_must_keep_next
=true
;;
2321 as_fn_append ac_configure_args
" '$ac_arg'"
2326 { ac_configure_args0
=; unset ac_configure_args0
;}
2327 { ac_configure_args1
=; unset ac_configure_args1
;}
2329 # When interrupted or exit'd, cleanup temporary files, and complete
2330 # config.log. We remove comments because anyway the quotes in there
2331 # would cause problems or look ugly.
2332 # WARNING: Use '\'' to represent an apostrophe within the trap.
2333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2334 trap 'exit_status=$?
2335 # Save into config.log some information that might help in debugging.
2340 ## ---------------- ##
2341 ## Cache variables. ##
2342 ## ---------------- ##
2345 # The following way of writing the cache mishandles newlines in values,
2347 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2348 eval ac_val=\$$ac_var
2352 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2353 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2356 _ | IFS | as_nl) ;; #(
2357 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2358 *) { eval $ac_var=; unset $ac_var;} ;;
2363 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2364 *${as_nl}ac_space=\ *)
2366 "s/'\''/'\''\\\\'\'''\''/g;
2367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2378 ## ----------------- ##
2379 ## Output variables. ##
2380 ## ----------------- ##
2383 for ac_var in $ac_subst_vars
2385 eval ac_val=\$$ac_var
2387 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2389 $as_echo "$ac_var='\''$ac_val'\''"
2393 if test -n "$ac_subst_files"; then
2395 ## ------------------- ##
2396 ## File substitutions. ##
2397 ## ------------------- ##
2400 for ac_var
in $ac_subst_files
2402 eval ac_val
=\$
$ac_var
2404 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2406 $as_echo "$ac_var='\''$ac_val'\''"
2411 if test -s confdefs.h; then
2421 test "$ac_signal" != 0 &&
2422 $as_echo "$as_me: caught signal $ac_signal"
2423 $as_echo "$as_me: exit $exit_status"
2425 rm -f core *.core core.conftest.* &&
2426 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2429 for ac_signal
in 1 2 13 15; do
2430 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2434 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2435 rm -f -r conftest
* confdefs.h
2437 $as_echo "/* confdefs.h */" > confdefs.h
2439 # Predefined preprocessor variables.
2441 cat >>confdefs.h
<<_ACEOF
2442 #define PACKAGE_NAME "$PACKAGE_NAME"
2445 cat >>confdefs.h
<<_ACEOF
2446 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2449 cat >>confdefs.h
<<_ACEOF
2450 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2453 cat >>confdefs.h
<<_ACEOF
2454 #define PACKAGE_STRING "$PACKAGE_STRING"
2457 cat >>confdefs.h
<<_ACEOF
2458 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2461 cat >>confdefs.h
<<_ACEOF
2462 #define PACKAGE_URL "$PACKAGE_URL"
2466 # Let the site file select an alternate cache file if it wants to.
2467 # Prefer an explicitly selected file to automatically selected ones.
2470 if test -n "$CONFIG_SITE"; then
2471 ac_site_file1
=$CONFIG_SITE
2472 elif test "x$prefix" != xNONE
; then
2473 ac_site_file1
=$prefix/share
/config.site
2474 ac_site_file2
=$prefix/etc
/config.site
2476 ac_site_file1
=$ac_default_prefix/share
/config.site
2477 ac_site_file2
=$ac_default_prefix/etc
/config.site
2479 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2481 test "x$ac_site_file" = xNONE
&& continue
2482 if test -r "$ac_site_file"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2484 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2485 sed 's/^/| /' "$ac_site_file" >&5
2490 if test -r "$cache_file"; then
2491 # Some versions of bash will fail to source /dev/null (special
2492 # files actually), so we avoid doing that.
2493 if test -f "$cache_file"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2495 $as_echo "$as_me: loading cache $cache_file" >&6;}
2497 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2498 *) .
"./$cache_file";;
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2503 $as_echo "$as_me: creating cache $cache_file" >&6;}
2507 # Check that the precious variables saved in the cache have kept the same
2509 ac_cache_corrupted
=false
2510 for ac_var
in $ac_precious_vars; do
2511 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2512 eval ac_new_set
=\
$ac_env_${ac_var}_set
2513 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2514 eval ac_new_val
=\
$ac_env_${ac_var}_value
2515 case $ac_old_set,$ac_new_set in
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2519 ac_cache_corrupted
=: ;;
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2523 ac_cache_corrupted
=: ;;
2526 if test "x$ac_old_val" != "x$ac_new_val"; then
2527 # differences in whitespace do not lead to failure.
2528 ac_old_val_w
=`echo x $ac_old_val`
2529 ac_new_val_w
=`echo x $ac_new_val`
2530 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2532 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2533 ac_cache_corrupted
=:
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2536 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2537 eval $ac_var=\
$ac_old_val
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2540 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2542 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2545 # Pass precious variables to config.status.
2546 if test "$ac_new_set" = set; then
2548 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2549 *) ac_arg
=$ac_var=$ac_new_val ;;
2551 case " $ac_configure_args " in
2552 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2553 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2557 if $ac_cache_corrupted; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2561 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2562 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2564 ## -------------------- ##
2565 ## Main body of script. ##
2566 ## -------------------- ##
2569 ac_cpp
='$CPP $CPPFLAGS'
2570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2578 ac_config_headers
="$ac_config_headers config.h"
2581 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2582 for ac_t
in install-sh
install.sh shtool
; do
2583 if test -f "$ac_dir/$ac_t"; then
2585 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2590 if test -z "$ac_aux_dir"; then
2591 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2594 # These three variables are undocumented and unsupported,
2595 # and are intended to be withdrawn in a future Autoconf release.
2596 # They can cause serious problems if a builder's source tree is in a directory
2597 # whose full name contains unusual characters.
2598 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2599 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2600 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2603 # Make sure we can run config.sub.
2604 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2605 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2608 $as_echo_n "checking build system type... " >&6; }
2609 if test "${ac_cv_build+set}" = set; then :
2610 $as_echo_n "(cached) " >&6
2612 ac_build_alias
=$build_alias
2613 test "x$ac_build_alias" = x
&&
2614 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2615 test "x$ac_build_alias" = x
&&
2616 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2617 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2618 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2622 $as_echo "$ac_cv_build" >&6; }
2623 case $ac_cv_build in
2625 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2628 ac_save_IFS
=$IFS; IFS
='-'
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2638 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2641 case ${build_alias} in
2642 "") build_noncanonical
=${build} ;;
2643 *) build_noncanonical
=${build_alias} ;;
2646 case ${host_alias} in
2647 "") host_noncanonical
=${build_noncanonical} ;;
2648 *) host_noncanonical
=${host_alias} ;;
2651 case ${target_alias} in
2652 "") target_noncanonical
=${host_noncanonical} ;;
2653 *) target_noncanonical
=${target_alias} ;;
2657 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2658 # have matching libraries, they should use host libraries: Makefile.tpl
2659 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2660 # However, they still use the build modules, because the corresponding
2661 # host modules (e.g. bison) are only built for the host when bootstrap
2663 # - build_subdir is where we find build modules, and never changes.
2664 # - build_libsubdir is where we find build libraries, and can be overridden.
2666 # Prefix 'build-' so this never conflicts with target_subdir.
2667 build_subdir
="build-${build_noncanonical}"
2669 # Check whether --with-build-libsubdir was given.
2670 if test "${with_build_libsubdir+set}" = set; then :
2671 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2673 build_libsubdir
="$build_subdir"
2676 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2677 if ( test $srcdir = .
&& test -d gcc
) \
2678 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2679 host_subdir
="host-${host_noncanonical}"
2684 target_subdir
=${target_noncanonical}
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2692 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2693 # Check whether --enable-version-specific-runtime-libs was given.
2694 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2695 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2696 yes) version_specific_libs
=yes ;;
2697 no
) version_specific_libs
=no
;;
2698 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2701 version_specific_libs
=no
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2705 $as_echo "$version_specific_libs" >&6; }
2707 # Build with intermodule optimisations
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2709 $as_echo_n "checking for --enable-intermodule... " >&6; }
2710 # Check whether --enable-intermodule was given.
2711 if test "${enable_intermodule+set}" = set; then :
2712 enableval
=$enable_intermodule; case "$enable_intermodule" in
2713 yes) onestep
="-onestep";;
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2721 $as_echo "$enable_intermodule" >&6; }
2722 if test x
$onestep = x-onestep
; then
2732 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2734 # You will slowly go insane if you do not grok the following fact: when
2735 # building this library, the top-level /target/ becomes the library's /host/.
2737 # configure then causes --target to default to --host, exactly like any
2738 # other package using autoconf. Therefore, 'target' and 'host' will
2739 # always be the same. This makes sense both for native and cross compilers
2740 # just think about it for a little while. :-)
2742 # Also, if this library is being configured as part of a cross compiler, the
2743 # top-level configure script will pass the "real" host as $with_cross_host.
2745 # Do not delete or change the following two lines. For why, see
2746 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2748 $as_echo_n "checking host system type... " >&6; }
2749 if test "${ac_cv_host+set}" = set; then :
2750 $as_echo_n "(cached) " >&6
2752 if test "x$host_alias" = x
; then
2753 ac_cv_host
=$ac_cv_build
2755 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2756 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2761 $as_echo "$ac_cv_host" >&6; }
2764 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2767 ac_save_IFS
=$IFS; IFS
='-'
2773 # Remember, the first character of IFS is used to create $*,
2774 # except with old shells:
2777 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2781 $as_echo_n "checking target system type... " >&6; }
2782 if test "${ac_cv_target+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2785 if test "x$target_alias" = x
; then
2786 ac_cv_target
=$ac_cv_host
2788 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2789 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2794 $as_echo "$ac_cv_target" >&6; }
2795 case $ac_cv_target in
2797 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2799 target
=$ac_cv_target
2800 ac_save_IFS
=$IFS; IFS
='-'
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2810 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2813 # The aliases save the names the user supplied, while $host etc.
2814 # will get canonicalized.
2815 test -n "$target_alias" &&
2816 test "$program_prefix$program_suffix$program_transform_name" = \
2818 program_prefix
=${target_alias}-
2820 target_alias
=${target_alias-$host_alias}
2822 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2823 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2824 # 1.9.6: minimum required version
2825 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2826 # of other PACKAGE_* variables will, however, and there's nothing
2827 # we can do about that; they come from AC_INIT).
2828 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2829 # file in the top srcdir, etc, etc), so stop complaining.
2830 # -Wall: turns on all automake warnings...
2831 # -Wno-portability: ...except this one, since GNU make is required.
2832 am__api_version
='1.11'
2834 # Find a good install program. We prefer a C program (faster),
2835 # so one script is as good as another. But avoid the broken or
2836 # incompatible versions:
2837 # SysV /etc/install, /usr/sbin/install
2838 # SunOS /usr/etc/install
2839 # IRIX /sbin/install
2841 # AmigaOS /C/install, which installs bootblocks on floppy discs
2842 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2843 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2844 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2845 # OS/2's system install, which has a completely different semantic
2846 # ./install, which can be erroneously created by make from ./install.sh.
2847 # Reject install programs that cannot install multiple files.
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2849 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2850 if test -z "$INSTALL"; then
2851 if test "${ac_cv_path_install+set}" = set; then :
2852 $as_echo_n "(cached) " >&6
2854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir
=.
2859 # Account for people who put trailing slashes in PATH elements.
2860 case $as_dir/ in #((
2861 .
/ | .
// |
/[cC
]/* | \
2862 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2863 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2866 # OSF1 and SCO ODT 3.0 have their own names for install.
2867 # Don't use installbsd from OSF since it installs stuff as root
2869 for ac_prog
in ginstall scoinst
install; do
2870 for ac_exec_ext
in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2872 if test $ac_prog = install &&
2873 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2874 # AIX install. It has an incompatible calling convention.
2876 elif test $ac_prog = install &&
2877 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2878 # program-specific install script used by HP pwplus--don't use.
2881 rm -rf conftest.one conftest.two conftest.dir
2882 echo one
> conftest.one
2883 echo two
> conftest.two
2885 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2886 test -s conftest.one
&& test -s conftest.two
&&
2887 test -s conftest.dir
/conftest.one
&&
2888 test -s conftest.dir
/conftest.two
2890 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2903 rm -rf conftest.one conftest.two conftest.dir
2906 if test "${ac_cv_path_install+set}" = set; then
2907 INSTALL
=$ac_cv_path_install
2909 # As a last resort, use the slow shell script. Don't cache a
2910 # value for INSTALL within a source directory, because that will
2911 # break other packages using the cache if that directory is
2912 # removed, or if the value is a relative name.
2913 INSTALL
=$ac_install_sh
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2917 $as_echo "$INSTALL" >&6; }
2919 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2920 # It thinks the first close brace ends the variable substitution.
2921 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2923 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2925 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2928 $as_echo_n "checking whether build environment is sane... " >&6; }
2931 echo timestamp
> conftest.
file
2932 # Reject unsafe characters in $srcdir or the absolute working directory
2933 # name. Accept space and tab only in the latter.
2937 *[\\\"\
#\$\&\'\`$am_lf]*)
2938 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2941 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2942 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2945 # Do `set' in a subshell so we don't clobber the current shell's
2946 # arguments. Must try -L first in case configure is actually a
2947 # symlink; some systems play weird games with the mod time of symlinks
2948 # (eg FreeBSD returns the mod time of the symlink's containing
2951 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2952 if test "$*" = "X"; then
2954 set X
`ls -t "$srcdir/configure" conftest.file`
2957 if test "$*" != "X $srcdir/configure conftest.file" \
2958 && test "$*" != "X conftest.file $srcdir/configure"; then
2960 # If neither matched, then we have a broken ls. This can happen
2961 # if, for instance, CONFIG_SHELL is bash and it inherits a
2962 # broken ls alias from the environment. This has actually
2963 # happened. Such a system could not be considered "sane".
2964 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2965 alias in your environment" "$LINENO" 5
2968 test "$2" = conftest.
file
2974 as_fn_error
"newly created file is older than distributed files!
2975 Check your system clock" "$LINENO" 5
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978 $as_echo "yes" >&6; }
2979 test "$program_prefix" != NONE
&&
2980 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2981 # Use a double $ so make ignores it.
2982 test "$program_suffix" != NONE
&&
2983 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2984 # Double any \ or $.
2985 # By default was `s,x,x', remove it if useless.
2986 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2987 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2989 # expand $ac_aux_dir to an absolute path
2990 am_aux_dir
=`cd $ac_aux_dir && pwd`
2992 if test x
"${MISSING+set}" != xset
; then
2995 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2997 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3000 # Use eval to expand $SHELL
3001 if eval "$MISSING --run true"; then
3002 am_missing_run
="$MISSING --run "
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3006 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3009 if test x
"${install_sh}" != xset
; then
3012 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3014 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3018 # Installed binaries are usually stripped using `strip' when the user
3019 # run `make install-strip'. However `strip' might not be the right
3020 # tool to use in cross-compilation environments, therefore Automake
3021 # will honor the `STRIP' environment variable to overrule this program.
3022 if test "$cross_compiling" != no
; then
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3025 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if test "${ac_cv_prog_STRIP+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$STRIP"; then
3032 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 STRIP
=$ac_cv_prog_STRIP
3052 if test -n "$STRIP"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3054 $as_echo "$STRIP" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3062 if test -z "$ac_cv_prog_STRIP"; then
3064 # Extract the first word of "strip", so it can be a program name with args.
3065 set dummy strip
; ac_word
=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$ac_ct_STRIP"; then
3072 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir
=.
3079 for ac_exec_ext
in '' $ac_executable_extensions; do
3080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081 ac_cv_prog_ac_ct_STRIP
="strip"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3092 if test -n "$ac_ct_STRIP"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3094 $as_echo "$ac_ct_STRIP" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3100 if test "x$ac_ct_STRIP" = x
; then
3103 case $cross_compiling:$ac_tool_warned in
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107 ac_tool_warned
=yes ;;
3112 STRIP
="$ac_cv_prog_STRIP"
3116 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3119 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3120 if test -z "$MKDIR_P"; then
3121 if test "${ac_cv_path_mkdir+set}" = set; then :
3122 $as_echo_n "(cached) " >&6
3124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3125 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3128 test -z "$as_dir" && as_dir
=.
3129 for ac_prog
in mkdir gmkdir
; do
3130 for ac_exec_ext
in '' $ac_executable_extensions; do
3131 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3132 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3133 'mkdir (GNU coreutils) '* | \
3134 'mkdir (coreutils) '* | \
3135 'mkdir (fileutils) '4.1*)
3136 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3146 if test "${ac_cv_path_mkdir+set}" = set; then
3147 MKDIR_P
="$ac_cv_path_mkdir -p"
3149 # As a last resort, use the slow shell script. Don't cache a
3150 # value for MKDIR_P within a source directory, because that will
3151 # break other packages using the cache if that directory is
3152 # removed, or if the value is a relative name.
3153 test -d .
/--version && rmdir .
/--version
3154 MKDIR_P
="$ac_install_sh -d"
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3158 $as_echo "$MKDIR_P" >&6; }
3162 [\\/$
]* | ?
:[\\/]*) ;;
3163 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3166 for ac_prog
in gawk mawk nawk
awk
3168 # Extract the first word of "$ac_prog", so it can be a program name with args.
3169 set dummy
$ac_prog; ac_word
=$2
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if test "${ac_cv_prog_AWK+set}" = set; then :
3173 $as_echo_n "(cached) " >&6
3175 if test -n "$AWK"; then
3176 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3182 test -z "$as_dir" && as_dir
=.
3183 for ac_exec_ext
in '' $ac_executable_extensions; do
3184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3185 ac_cv_prog_AWK
="$ac_prog"
3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 if test -n "$AWK"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3198 $as_echo "$AWK" >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3205 test -n "$AWK" && break
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3209 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3211 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3212 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3213 $as_echo_n "(cached) " >&6
3215 cat >conftest.
make <<\_ACEOF
3218 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3220 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3221 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3223 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3225 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3229 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3231 $as_echo "yes" >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3236 SET_MAKE
="MAKE=${MAKE-make}"
3239 rm -rf .tst
2>/dev
/null
3240 mkdir .tst
2>/dev
/null
3241 if test -d .tst
; then
3246 rmdir .tst
2>/dev
/null
3248 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3249 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3250 # is not polluted with repeated "-I."
3251 am__isrc
=' -I$(srcdir)'
3252 # test to see if srcdir already configured
3253 if test -f $srcdir/config.status
; then
3254 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3258 # test whether we have cygpath
3259 if test -z "$CYGPATH_W"; then
3260 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3261 CYGPATH_W
='cygpath -w'
3268 # Define the identity of the package.
3269 PACKAGE
='libgfortran'
3273 # Some tools Automake needs.
3275 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3278 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3281 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3284 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3287 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3289 # We need awk for the "check" target. The system "awk" is bad on
3291 # Always define AMTAR for backward compatibility.
3293 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3295 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3304 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3305 # Check whether --enable-maintainer-mode was given.
3306 if test "${enable_maintainer_mode+set}" = set; then :
3307 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3309 USE_MAINTAINER_MODE
=no
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3313 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3314 if test $USE_MAINTAINER_MODE = yes; then
3315 MAINTAINER_MODE_TRUE
=
3316 MAINTAINER_MODE_FALSE
='#'
3318 MAINTAINER_MODE_TRUE
='#'
3319 MAINTAINER_MODE_FALSE
=
3322 MAINT
=$MAINTAINER_MODE_TRUE
3325 # Default to --enable-multilib
3326 # Check whether --enable-multilib was given.
3327 if test "${enable_multilib+set}" = set; then :
3328 enableval
=$enable_multilib; case "$enableval" in
3329 yes) multilib
=yes ;;
3331 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3338 # We may get other options which we leave undocumented:
3339 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3340 # See config-ml.in if you want the gory details.
3342 if test "$srcdir" = "."; then
3343 if test "$with_target_subdir" != "."; then
3344 multi_basedir
="$srcdir/$with_multisrctop../.."
3346 multi_basedir
="$srcdir/$with_multisrctop.."
3349 multi_basedir
="$srcdir/.."
3353 # Even if the default multilib is not a cross compilation,
3354 # it may be that some of the other multilibs are.
3355 if test $cross_compiling = no
&& test $multilib = yes \
3356 && test "x${with_multisubdir}" != x
; then
3357 cross_compiling
=maybe
3360 ac_config_commands
="$ac_config_commands default-1"
3363 # Handy for debugging:
3364 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3366 # Are we being configured with some form of cross compiler?
3367 # NB: We don't actually need to know this just now, but when, say, a test
3368 # suite is included, we'll have to know.
3369 if test "$build" != "$host"; then
3370 LIBGFOR_IS_NATIVE
=false
3373 LIBGFOR_IS_NATIVE
=true
3376 # Calculate toolexeclibdir
3377 # Also toolexecdir, though it's only used in toolexeclibdir
3378 case ${version_specific_libs} in
3380 # Need the gcc compiler version to know where to install libraries
3381 # and header files if --enable-version-specific-runtime-libs option
3383 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3384 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3387 if test -n "$with_cross_host" &&
3388 test x
"$with_cross_host" != x
"no"; then
3389 # Install a library built with a cross compiler in tooldir, not libdir.
3390 toolexecdir
='$(exec_prefix)/$(target_alias)'
3391 toolexeclibdir
='$(toolexecdir)/lib'
3393 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3394 toolexeclibdir
='$(libdir)'
3396 multi_os_directory
=`$CC -print-multi-os-directory`
3397 case $multi_os_directory in
3398 .
) ;; # Avoid trailing /.
3399 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3406 # Check the compiler.
3407 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3408 # We must force CC to /not/ be precious variables; otherwise
3409 # the wrong, non-multilib-adjusted value will be used in multilibs.
3410 # As a side effect, we have to subst CFLAGS ourselves.
3415 ac_cpp
='$CPP $CPPFLAGS'
3416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3419 if test -n "$ac_tool_prefix"; then
3420 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3421 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if test "${ac_cv_prog_CC+set}" = set; then :
3425 $as_echo_n "(cached) " >&6
3427 if test -n "$CC"; then
3428 ac_cv_prog_CC
="$CC" # Let the user override the test.
3430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir
=.
3435 for ac_exec_ext
in '' $ac_executable_extensions; do
3436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3437 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 if test -n "$CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450 $as_echo "$CC" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3458 if test -z "$ac_cv_prog_CC"; then
3460 # Extract the first word of "gcc", so it can be a program name with args.
3461 set dummy gcc
; ac_word
=$2
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463 $as_echo_n "checking for $ac_word... " >&6; }
3464 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3465 $as_echo_n "(cached) " >&6
3467 if test -n "$ac_ct_CC"; then
3468 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3474 test -z "$as_dir" && as_dir
=.
3475 for ac_exec_ext
in '' $ac_executable_extensions; do
3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3477 ac_cv_prog_ac_ct_CC
="gcc"
3478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3488 if test -n "$ac_ct_CC"; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3490 $as_echo "$ac_ct_CC" >&6; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3496 if test "x$ac_ct_CC" = x
; then
3499 case $cross_compiling:$ac_tool_warned in
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3503 ac_tool_warned
=yes ;;
3511 if test -z "$CC"; then
3512 if test -n "$ac_tool_prefix"; then
3513 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3514 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if test "${ac_cv_prog_CC+set}" = set; then :
3518 $as_echo_n "(cached) " >&6
3520 if test -n "$CC"; then
3521 ac_cv_prog_CC
="$CC" # Let the user override the test.
3523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3527 test -z "$as_dir" && as_dir
=.
3528 for ac_exec_ext
in '' $ac_executable_extensions; do
3529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3530 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 if test -n "$CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3552 if test -z "$CC"; then
3553 # Extract the first word of "cc", so it can be a program name with args.
3554 set dummy cc
; ac_word
=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_CC+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC
="$CC" # Let the user override the test.
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 for ac_exec_ext
in '' $ac_executable_extensions; do
3570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3571 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3572 ac_prog_rejected
=yes
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 if test $ac_prog_rejected = yes; then
3584 # We found a bogon in the path, so make sure we never use it.
3585 set dummy
$ac_cv_prog_CC
3587 if test $# != 0; then
3588 # We chose a different compiler from the bogus one.
3589 # However, it has the same basename, so the bogon will be chosen
3590 # first if we set CC to just the basename; use the full file name.
3592 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3598 if test -n "$CC"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3600 $as_echo "$CC" >&6; }
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3608 if test -z "$CC"; then
3609 if test -n "$ac_tool_prefix"; then
3610 for ac_prog
in cl.exe
3612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3613 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if test "${ac_cv_prog_CC+set}" = set; then :
3617 $as_echo_n "(cached) " >&6
3619 if test -n "$CC"; then
3620 ac_cv_prog_CC
="$CC" # Let the user override the test.
3622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3626 test -z "$as_dir" && as_dir
=.
3627 for ac_exec_ext
in '' $ac_executable_extensions; do
3628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3629 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 if test -n "$CC"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3642 $as_echo "$CC" >&6; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3649 test -n "$CC" && break
3652 if test -z "$CC"; then
3654 for ac_prog
in cl.exe
3656 # Extract the first word of "$ac_prog", so it can be a program name with args.
3657 set dummy
$ac_prog; ac_word
=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$ac_ct_CC"; then
3664 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir
=.
3671 for ac_exec_ext
in '' $ac_executable_extensions; do
3672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673 ac_cv_prog_ac_ct_CC
="$ac_prog"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3693 test -n "$ac_ct_CC" && break
3696 if test "x$ac_ct_CC" = x
; then
3699 case $cross_compiling:$ac_tool_warned in
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3703 ac_tool_warned
=yes ;;
3712 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 as_fn_error
"no acceptable C compiler found in \$PATH
3715 See \`config.log' for more details." "$LINENO" 5; }
3717 # Provide some information about the compiler.
3718 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3721 for ac_option
in --version -v -V -qversion; do
3722 { { ac_try
="$ac_compiler $ac_option >&5"
3724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3728 $as_echo "$ac_try_echo"; } >&5
3729 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3731 if test -s conftest.err; then
3733 ... rest of stderr output deleted ...
3734 10q' conftest.err >conftest.er1
3735 cat conftest.er1 >&5
3736 rm -f conftest.er1 conftest.err
3738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739 test $ac_status = 0; }
3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3755 (eval $ac_link) 2>&5
3757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3758 test $ac_status = 0; }; then :
3763 if test x$gcc_no_link = xyes; then
3764 # Setting cross_compile will disable run tests; it will
3765 # also disable AC_CHECK_FILE but that's generally
3766 # correct if we can't link.
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3781 ac_clean_files_save=$ac_clean_files
3782 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3783 # Try to create an executable without -o first, disregard a.out.
3784 # It will help us diagnose broken compilers, and finding out an intuition
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3787 $as_echo_n "checking for C compiler default output file name... " >&6; }
3788 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3790 # The possible output files:
3791 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3794 for ac_file in $ac_files
3797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3798 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3803 if { { ac_try="$ac_link_default"
3805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3806 *) ac_try_echo
=$ac_try;;
3808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810 (eval "$ac_link_default") 2>&5
3812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3813 test $ac_status = 0; }; then :
3814 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3815 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3816 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3817 # so that the user can short-circuit this test for compilers unknown to
3819 for ac_file
in $ac_files ''
3821 test -f "$ac_file" ||
continue
3823 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3826 # We found the default executable, but exeext='' is most
3830 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3832 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3834 # We set ac_cv_exeext here because the later test for it is not
3835 # safe: cross compilers may not add the suffix if given an `-o'
3836 # argument, so we may need to know it at that point already.
3837 # Even if this section looks crufty: it has the advantage of
3844 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3850 $as_echo "$ac_file" >&6; }
3851 if test -z "$ac_file"; then :
3852 $as_echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.
$ac_ext >&5
3855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3857 { as_fn_set_status
77
3858 as_fn_error
"C compiler cannot create executables
3859 See \`config.log' for more details." "$LINENO" 5; }; }
3861 ac_exeext
=$ac_cv_exeext
3863 # Check that the compiler produces executables we can run. If not, either
3864 # the compiler is broken, or we cross compile.
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3866 $as_echo_n "checking whether the C compiler works... " >&6; }
3867 # If not cross compiling, check that we can run a simple program.
3868 if test "$cross_compiling" != yes; then
3869 if { ac_try
='./$ac_file'
3870 { { case "(($ac_try" in
3871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 $as_echo "$ac_try_echo"; } >&5
3876 (eval "$ac_try") 2>&5
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }; }; then
3882 if test "$cross_compiling" = maybe; then
3885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887 as_fn_error "cannot run C compiled programs.
3888 If you meant to cross compile
, use \
`--host'.
3889 See \`config.log
' for more details." "$LINENO" 5; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3894 $as_echo "yes" >&6; }
3896 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3897 ac_clean_files=$ac_clean_files_save
3898 # Check that the compiler produces executables we can run. If not, either
3899 # the compiler is broken, or we cross compile.
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3901 $as_echo_n "checking whether we are cross compiling... " >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3903 $as_echo "$cross_compiling" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3906 $as_echo_n "checking for suffix of executables... " >&6; }
3907 if { { ac_try="$ac_link"
3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913 $as_echo "$ac_try_echo"; } >&5
3914 (eval "$ac_link") 2>&5
3916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917 test $ac_status = 0; }; then :
3918 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3919 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3920 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3922 for ac_file
in conftest.exe conftest conftest.
*; do
3923 test -f "$ac_file" ||
continue
3925 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3926 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3934 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3935 See \`config.log' for more details." "$LINENO" 5; }
3937 rm -f conftest
$ac_cv_exeext
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3939 $as_echo "$ac_cv_exeext" >&6; }
3941 rm -f conftest.
$ac_ext
3942 EXEEXT
=$ac_cv_exeext
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3946 $as_echo_n "checking for suffix of object files... " >&6; }
3947 if test "${ac_cv_objext+set}" = set; then :
3948 $as_echo_n "(cached) " >&6
3950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 rm -f conftest.o conftest.obj
3962 if { { ac_try
="$ac_compile"
3964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3965 *) ac_try_echo=$ac_try;;
3967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3968 $as_echo "$ac_try_echo"; } >&5
3969 (eval "$ac_compile") 2>&5
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 for ac_file in conftest.o conftest.obj conftest.*; do
3974 test -f "$ac_file" || continue;
3976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3977 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error "cannot compute suffix of object files
: cannot compile
3988 See \
`config.log' for more details." "$LINENO" 5; }
3990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3993 $as_echo "$ac_cv_objext" >&6; }
3994 OBJEXT=$ac_cv_objext
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3997 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3998 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3999 $as_echo_n "(cached) " >&6
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4015 if ac_fn_c_try_compile "$LINENO"; then :
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4025 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4026 if test $ac_compiler_gnu = yes; then
4031 ac_test_CFLAGS=${CFLAGS+set}
4032 ac_save_CFLAGS=$CFLAGS
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4034 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4035 if test "${ac_cv_prog_cc_g+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4038 ac_save_c_werror_flag=$ac_c_werror_flag
4039 ac_c_werror_flag=yes
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 if ac_fn_c_try_compile "$LINENO"; then :
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4068 if ac_fn_c_try_compile "$LINENO"; then :
4071 ac_c_werror_flag=$ac_save_c_werror_flag
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 if ac_fn_c_try_compile "$LINENO"; then :
4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 ac_c_werror_flag=$ac_save_c_werror_flag
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4095 $as_echo "$ac_cv_prog_cc_g" >&6; }
4096 if test "$ac_test_CFLAGS" = set; then
4097 CFLAGS=$ac_save_CFLAGS
4098 elif test $ac_cv_prog_cc_g = yes; then
4099 if test "$GCC" = yes; then
4105 if test "$GCC" = yes; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4113 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4116 ac_cv_prog_cc_c89=no
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4122 #include <sys/types.h>
4123 #include <sys/stat.h>
4124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4125 struct buf { int x; };
4126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4127 static char *e (p, i)
4133 static char *f (char * (*g) (char **, int), char **p, ...)
4138 s = g (p, va_arg (v,int));
4143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4144 function prototypes and stuff, but not '\xHH' hex character constants.
4145 These don't provoke an error unfortunately, instead are silently treated
4146 as 'x'. The following induces an error, until -std is added to get
4147 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4148 array size at least. It's necessary to write '\x00'==0 to get something
4149 that's true only with -std. */
4150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4153 inside strings and character constants. */
4155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4157 int test (int i, double x);
4158 struct s1 {int (*f) (int a);};
4159 struct s2 {int (*f) (double a);};
4160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4166 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4172 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4174 CC="$ac_save_CC $ac_arg"
4175 if ac_fn_c_try_compile "$LINENO"; then :
4176 ac_cv_prog_cc_c89=$ac_arg
4178 rm -f core conftest.err conftest.$ac_objext
4179 test "x$ac_cv_prog_cc_c89" != "xno" && break
4181 rm -f conftest.$ac_ext
4186 case "x$ac_cv_prog_cc_c89" in
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4189 $as_echo "none needed" >&6; } ;;
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4192 $as_echo "unsupported" >&6; } ;;
4194 CC="$CC $ac_cv_prog_cc_c89"
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4196 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4198 if test "x$ac_cv_prog_cc_c89" != xno; then :
4203 ac_cpp='$CPP $CPPFLAGS'
4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4207 DEPDIR="${am__leading_dot}deps"
4209 ac_config_commands="$ac_config_commands depfiles"
4212 am_make=${MAKE-make}
4213 cat > confinc << 'END'
4215 @echo this is the am__doit target
4218 # If we don't find an include directive, just comment out the code.
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4220 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4224 # First try GNU make style include.
4225 echo "include confinc" > confmf
4226 # Ignore all kinds of additional output from `make'.
4227 case `$am_make -s -f confmf 2> /dev/null` in #(
4228 *the\ am__doit\ target*)
4234 # Now try BSD make style include.
4235 if test "$am__include" = "#"; then
4236 echo '.include
"confinc"' > confmf
4237 case `$am_make -s -f confmf 2> /dev/null` in #(
4238 *the\ am__doit\ target*)
4239 am__include=.include
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4248 $as_echo "$_am_result" >&6; }
4249 rm -f confinc confmf
4251 # Check whether --enable-dependency-tracking was given.
4252 if test "${enable_dependency_tracking+set}" = set; then :
4253 enableval=$enable_dependency_tracking;
4256 if test "x$enable_dependency_tracking" != xno; then
4257 am_depcomp="$ac_aux_dir/depcomp"
4260 if test "x$enable_dependency_tracking" != xno
; then
4270 depcc
="$CC" am_compiler_list
=
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4273 $as_echo_n "checking dependency style of $depcc... " >&6; }
4274 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4278 # We make a subdir and do the tests there. Otherwise we can end up
4279 # making bogus files that we don't know about and never remove. For
4280 # instance it was reported that on HP-UX the gcc test will end up
4281 # making a dummy file named `D' -- because `-MD' means `put the output
4284 # Copy depcomp to subdir because otherwise we won't find it if we're
4285 # using a relative directory.
4286 cp "$am_depcomp" conftest.dir
4288 # We will build objects and dependencies in a subdirectory because
4289 # it helps to detect inapplicable dependency modes. For instance
4290 # both Tru64's cc and ICC support -MD to output dependencies as a
4291 # side effect of compilation, but ICC will put the dependencies in
4292 # the current directory while Tru64 will put them in the object
4296 am_cv_CC_dependencies_compiler_type
=none
4297 if test "$am_compiler_list" = ""; then
4298 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4301 case " $depcc " in #(
4302 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4305 for depmode
in $am_compiler_list; do
4306 # Setup a source with many dependencies, because some compilers
4307 # like to wrap large dependency lists on column 80 (with \), and
4308 # we should not choose a depcomp mode which is confused by this.
4310 # We need to recreate these files for each test, as the compiler may
4311 # overwrite some of them when testing with obscure command lines.
4312 # This happens at least with the AIX C compiler.
4314 for i
in 1 2 3 4 5 6; do
4315 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4316 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4317 # Solaris 8's {/usr,}/bin/sh.
4318 touch sub
/conftst
$i.h
4320 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4322 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4323 # mode. It turns out that the SunPro C++ compiler does not properly
4324 # handle `-M -o', and we need to detect this. Also, some Intel
4325 # versions had trouble with output in subdirs
4326 am__obj
=sub
/conftest.
${OBJEXT-o}
4327 am__minus_obj
="-o $am__obj"
4330 # This depmode causes a compiler race in universal mode.
4331 test "$am__universal" = false ||
continue
4334 # after this tag, mechanisms are not by side-effect, so they'll
4335 # only be used when explicitly requested
4336 if test "x$enable_dependency_tracking" = xyes
; then
4342 msvisualcpp | msvcmsys
)
4343 # This compiler won't grok `-c -o', but also, the minuso test has
4344 # not run yet. These depmodes are late enough in the game, and
4345 # so weak that their functioning should not be impacted.
4346 am__obj
=conftest.
${OBJEXT-o}
4351 if depmode
=$depmode \
4352 source=sub
/conftest.c object
=$am__obj \
4353 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4354 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4355 >/dev
/null
2>conftest.err
&&
4356 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4357 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4358 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4359 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4360 # icc doesn't choke on unknown options, it will just issue warnings
4361 # or remarks (even with -Werror). So we grep stderr for any message
4362 # that says an option was ignored or not supported.
4363 # When given -MP, icc 7.0 and 7.1 complain thusly:
4364 # icc: Command line warning: ignoring option '-M'; no argument required
4365 # The diagnosis changed in icc 8.0:
4366 # icc: Command line remark: option '-MP' not supported
4367 if (grep 'ignoring option' conftest.err ||
4368 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4369 am_cv_CC_dependencies_compiler_type
=$depmode
4378 am_cv_CC_dependencies_compiler_type
=none
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4383 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4384 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4387 test "x$enable_dependency_tracking" != xno \
4388 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4390 am__fastdepCC_FALSE
='#'
4392 am__fastdepCC_TRUE
='#'
4393 am__fastdepCC_FALSE
=
4399 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4400 if test "x$GCC" = "xyes"; then
4401 AM_FCFLAGS
="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4402 ## We like to use C99 routines when available. This makes sure that
4403 ## __STDC_VERSION__ is set such that libc includes make them available.
4404 AM_CFLAGS
="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4405 ## Compile the following tests with the same system header contents
4406 ## that we'll encounter when compiling our own source files.
4407 CFLAGS
="-std=gnu99 $CFLAGS"
4413 # Check for symbol versioning (copied from libssp).
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4415 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4416 cat > conftest.map
<<EOF
4418 global: *foo*; bar; local: *;
4421 save_LDFLAGS
="$LDFLAGS"
4422 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4424 if test x
$gcc_no_link = xyes
; then
4425 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4438 if ac_fn_c_try_link
"$LINENO"; then :
4439 gfortran_use_symver
=yes
4441 gfortran_use_symver
=no
4443 rm -f core conftest.err conftest.
$ac_objext \
4444 conftest
$ac_exeext conftest.
$ac_ext
4445 LDFLAGS
="$save_LDFLAGS"
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4447 $as_echo "$gfortran_use_symver" >&6; }
4448 if test "x$gfortran_use_symver" = xyes
; then
4449 LIBGFOR_USE_SYMVER_TRUE
=
4450 LIBGFOR_USE_SYMVER_FALSE
='#'
4452 LIBGFOR_USE_SYMVER_TRUE
='#'
4453 LIBGFOR_USE_SYMVER_FALSE
=
4457 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4458 # similarly to how libstdc++ does it
4459 ac_test_CFLAGS
="${CFLAGS+set}"
4460 ac_save_CFLAGS
="$CFLAGS"
4462 # Check for -ffunction-sections -fdata-sections
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4464 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4465 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
4466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4477 if ac_fn_c_try_compile
"$LINENO"; then :
4482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4483 if test "$ac_test_CFLAGS" = set; then
4484 CFLAGS
="$ac_save_CFLAGS"
4486 # this is the suspicious part
4489 if test x
"$ac_fdsections" = x
"yes"; then
4490 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4493 $as_echo "$ac_fdsections" >&6; }
4496 # Find other programs we need.
4497 if test -n "$ac_tool_prefix"; then
4498 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4499 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if test "${ac_cv_prog_AS+set}" = set; then :
4503 $as_echo_n "(cached) " >&6
4505 if test -n "$AS"; then
4506 ac_cv_prog_AS
="$AS" # Let the user override the test.
4508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4512 test -z "$as_dir" && as_dir
=.
4513 for ac_exec_ext
in '' $ac_executable_extensions; do
4514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515 ac_cv_prog_AS
="${ac_tool_prefix}as"
4516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 if test -n "$AS"; then
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4528 $as_echo "$AS" >&6; }
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4536 if test -z "$ac_cv_prog_AS"; then
4538 # Extract the first word of "as", so it can be a program name with args.
4539 set dummy as
; ac_word
=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$ac_ct_AS"; then
4546 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_ac_ct_AS
="as"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4566 if test -n "$ac_ct_AS"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4568 $as_echo "$ac_ct_AS" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4574 if test "x$ac_ct_AS" = x
; then
4577 case $cross_compiling:$ac_tool_warned in
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4581 ac_tool_warned
=yes ;;
4589 if test -n "$ac_tool_prefix"; then
4590 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4591 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if test "${ac_cv_prog_AR+set}" = set; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n "$AR"; then
4598 ac_cv_prog_AR
="$AR" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 if test -n "$AR"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4620 $as_echo "$AR" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4628 if test -z "$ac_cv_prog_AR"; then
4630 # Extract the first word of "ar", so it can be a program name with args.
4631 set dummy
ar; ac_word
=$2
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4633 $as_echo_n "checking for $ac_word... " >&6; }
4634 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4635 $as_echo_n "(cached) " >&6
4637 if test -n "$ac_ct_AR"; then
4638 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4644 test -z "$as_dir" && as_dir
=.
4645 for ac_exec_ext
in '' $ac_executable_extensions; do
4646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4647 ac_cv_prog_ac_ct_AR
="ar"
4648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4658 if test -n "$ac_ct_AR"; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4660 $as_echo "$ac_ct_AR" >&6; }
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663 $as_echo "no" >&6; }
4666 if test "x$ac_ct_AR" = x
; then
4669 case $cross_compiling:$ac_tool_warned in
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4673 ac_tool_warned
=yes ;;
4681 if test -n "$ac_tool_prefix"; then
4682 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4683 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4689 if test -n "$RANLIB"; then
4690 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir
=.
4697 for ac_exec_ext
in '' $ac_executable_extensions; do
4698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4699 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 RANLIB
=$ac_cv_prog_RANLIB
4710 if test -n "$RANLIB"; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4712 $as_echo "$RANLIB" >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4720 if test -z "$ac_cv_prog_RANLIB"; then
4721 ac_ct_RANLIB
=$RANLIB
4722 # Extract the first word of "ranlib", so it can be a program name with args.
4723 set dummy ranlib
; ac_word
=$2
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725 $as_echo_n "checking for $ac_word... " >&6; }
4726 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4727 $as_echo_n "(cached) " >&6
4729 if test -n "$ac_ct_RANLIB"; then
4730 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4736 test -z "$as_dir" && as_dir
=.
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4739 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4750 if test -n "$ac_ct_RANLIB"; then
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4752 $as_echo "$ac_ct_RANLIB" >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4758 if test "x$ac_ct_RANLIB" = x
; then
4759 RANLIB
="ranlib-not-found-in-path-error"
4761 case $cross_compiling:$ac_tool_warned in
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4765 ac_tool_warned
=yes ;;
4767 RANLIB
=$ac_ct_RANLIB
4770 RANLIB
="$ac_cv_prog_RANLIB"
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4774 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4776 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4777 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4778 $as_echo_n "(cached) " >&6
4780 cat >conftest.
make <<\_ACEOF
4783 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4785 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4788 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4790 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4794 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4796 $as_echo "yes" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801 SET_MAKE
="MAKE=${MAKE-make}"
4807 #AC_MSG_NOTICE([====== Starting libtool configuration])
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4815 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4820 macro_version
='2.2.7a'
4821 macro_revision
='1.3134'
4835 ltmain
="$ac_aux_dir/ltmain.sh"
4837 # Backslashify metacharacters that are still active within
4838 # double-quoted strings.
4839 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4841 # Same as above, but do not quote variable references.
4842 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4844 # Sed substitution to delay expansion of an escaped shell variable in a
4845 # double_quote_subst'ed string.
4846 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4848 # Sed substitution to delay expansion of an escaped single quote.
4849 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4851 # Sed substitution to avoid accidental globbing in evaled expressions
4852 no_glob_subst
='s/\*/\\\*/g'
4854 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4855 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4856 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4859 $as_echo_n "checking how to print strings... " >&6; }
4860 # Test print first, because it will be a builtin if present.
4861 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4862 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4864 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4867 # Use this function as a fallback that always works.
4868 func_fallback_echo ()
4870 eval 'cat <<_LTECHO_EOF
4874 ECHO='func_fallback_echo
'
4877 # func_echo_all arg...
4878 # Invoke $ECHO with all args, space-separated.
4885 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4886 $as_echo "printf" >&6; } ;;
4887 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4888 $as_echo "print -r" >&6; } ;;
4889 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4890 $as_echo "cat" >&6; } ;;
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4907 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4908 if test "${ac_cv_path_SED+set}" = set; then :
4909 $as_echo_n "(cached) " >&6
4911 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4912 for ac_i in 1 2 3 4 5 6 7; do
4913 ac_script="$ac_script$as_nl$ac_script"
4915 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4916 { ac_script=; unset ac_script;}
4917 if test -z "$SED"; then
4918 ac_path_SED_found=false
4919 # Loop through the user's path and
test for each of PROGNAME-LIST
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_prog
in sed gsed
; do
4926 for ac_exec_ext
in '' $ac_executable_extensions; do
4927 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4928 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4929 # Check for GNU ac_path_SED and select it if it is found.
4930 # Check for GNU $ac_path_SED
4931 case `"$ac_path_SED" --version 2>&1` in
4933 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4936 $as_echo_n 0123456789 >"conftest.in"
4939 cat "conftest.in" "conftest.in" >"conftest.tmp"
4940 mv "conftest.tmp" "conftest.in"
4941 cp "conftest.in" "conftest.nl"
4942 $as_echo '' >> "conftest.nl"
4943 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4944 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4945 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4946 if test $ac_count -gt ${ac_path_SED_max-0}; then
4947 # Best one so far, save it but keep looking for a better one
4948 ac_cv_path_SED
="$ac_path_SED"
4949 ac_path_SED_max
=$ac_count
4951 # 10*(2^10) chars as input seems more than enough
4952 test $ac_count -gt 10 && break
4954 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4957 $ac_path_SED_found && break 3
4962 if test -z "$ac_cv_path_SED"; then
4963 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4971 $as_echo "$ac_cv_path_SED" >&6; }
4972 SED
="$ac_cv_path_SED"
4975 test -z "$SED" && SED
=sed
4976 Xsed
="$SED -e 1s/^X//"
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4989 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4990 if test "${ac_cv_path_GREP+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4993 if test -z "$GREP"; then
4994 ac_path_GREP_found
=false
4995 # Loop through the user's path and test for each of PROGNAME-LIST
4996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5000 test -z "$as_dir" && as_dir
=.
5001 for ac_prog
in grep ggrep
; do
5002 for ac_exec_ext
in '' $ac_executable_extensions; do
5003 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5004 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5005 # Check for GNU ac_path_GREP and select it if it is found.
5006 # Check for GNU $ac_path_GREP
5007 case `"$ac_path_GREP" --version 2>&1` in
5009 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5012 $as_echo_n 0123456789 >"conftest.in"
5015 cat "conftest.in" "conftest.in" >"conftest.tmp"
5016 mv "conftest.tmp" "conftest.in"
5017 cp "conftest.in" "conftest.nl"
5018 $as_echo 'GREP' >> "conftest.nl"
5019 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5020 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5021 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5022 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5023 # Best one so far, save it but keep looking for a better one
5024 ac_cv_path_GREP
="$ac_path_GREP"
5025 ac_path_GREP_max
=$ac_count
5027 # 10*(2^10) chars as input seems more than enough
5028 test $ac_count -gt 10 && break
5030 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5033 $ac_path_GREP_found && break 3
5038 if test -z "$ac_cv_path_GREP"; then
5039 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5042 ac_cv_path_GREP
=$GREP
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5047 $as_echo "$ac_cv_path_GREP" >&6; }
5048 GREP
="$ac_cv_path_GREP"
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5052 $as_echo_n "checking for egrep... " >&6; }
5053 if test "${ac_cv_path_EGREP+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5057 then ac_cv_path_EGREP
="$GREP -E"
5059 if test -z "$EGREP"; then
5060 ac_path_EGREP_found
=false
5061 # Loop through the user's path and test for each of PROGNAME-LIST
5062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5066 test -z "$as_dir" && as_dir
=.
5067 for ac_prog
in egrep; do
5068 for ac_exec_ext
in '' $ac_executable_extensions; do
5069 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5070 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5071 # Check for GNU ac_path_EGREP and select it if it is found.
5072 # Check for GNU $ac_path_EGREP
5073 case `"$ac_path_EGREP" --version 2>&1` in
5075 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5078 $as_echo_n 0123456789 >"conftest.in"
5081 cat "conftest.in" "conftest.in" >"conftest.tmp"
5082 mv "conftest.tmp" "conftest.in"
5083 cp "conftest.in" "conftest.nl"
5084 $as_echo 'EGREP' >> "conftest.nl"
5085 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5086 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5087 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5088 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5089 # Best one so far, save it but keep looking for a better one
5090 ac_cv_path_EGREP
="$ac_path_EGREP"
5091 ac_path_EGREP_max
=$ac_count
5093 # 10*(2^10) chars as input seems more than enough
5094 test $ac_count -gt 10 && break
5096 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5099 $ac_path_EGREP_found && break 3
5104 if test -z "$ac_cv_path_EGREP"; then
5105 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5108 ac_cv_path_EGREP
=$EGREP
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5114 $as_echo "$ac_cv_path_EGREP" >&6; }
5115 EGREP
="$ac_cv_path_EGREP"
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5119 $as_echo_n "checking for fgrep... " >&6; }
5120 if test "${ac_cv_path_FGREP+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5123 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5124 then ac_cv_path_FGREP
="$GREP -F"
5126 if test -z "$FGREP"; then
5127 ac_path_FGREP_found
=false
5128 # Loop through the user's path and test for each of PROGNAME-LIST
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_prog
in fgrep
; do
5135 for ac_exec_ext
in '' $ac_executable_extensions; do
5136 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5137 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5138 # Check for GNU ac_path_FGREP and select it if it is found.
5139 # Check for GNU $ac_path_FGREP
5140 case `"$ac_path_FGREP" --version 2>&1` in
5142 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5145 $as_echo_n 0123456789 >"conftest.in"
5148 cat "conftest.in" "conftest.in" >"conftest.tmp"
5149 mv "conftest.tmp" "conftest.in"
5150 cp "conftest.in" "conftest.nl"
5151 $as_echo 'FGREP' >> "conftest.nl"
5152 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5153 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5154 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5155 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5156 # Best one so far, save it but keep looking for a better one
5157 ac_cv_path_FGREP
="$ac_path_FGREP"
5158 ac_path_FGREP_max
=$ac_count
5160 # 10*(2^10) chars as input seems more than enough
5161 test $ac_count -gt 10 && break
5163 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5166 $ac_path_FGREP_found && break 3
5171 if test -z "$ac_cv_path_FGREP"; then
5172 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5175 ac_cv_path_FGREP
=$FGREP
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5181 $as_echo "$ac_cv_path_FGREP" >&6; }
5182 FGREP
="$ac_cv_path_FGREP"
5185 test -z "$GREP" && GREP
=grep
5205 # Check whether --with-gnu-ld was given.
5206 if test "${with_gnu_ld+set}" = set; then :
5207 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5213 if test "$GCC" = yes; then
5214 # Check if gcc -print-prog-name=ld gives a path.
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5216 $as_echo_n "checking for ld used by $CC... " >&6; }
5219 # gcc leaves a trailing carriage return which upsets mingw
5220 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5222 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5225 # Accept absolute paths.
5227 re_direlt
='/[^/][^/]*/\.\./'
5228 # Canonicalize the pathname of ld
5229 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5230 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5231 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5233 test -z "$LD" && LD
="$ac_prog"
5236 # If it fails, then pretend we aren't using GCC.
5240 # If it is relative, then search for the first ld in PATH.
5244 elif test "$with_gnu_ld" = yes; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5246 $as_echo_n "checking for GNU ld... " >&6; }
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5249 $as_echo_n "checking for non-GNU ld... " >&6; }
5251 if test "${lt_cv_path_LD+set}" = set; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -z "$LD"; then
5255 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5256 for ac_dir
in $PATH; do
5258 test -z "$ac_dir" && ac_dir
=.
5259 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5260 lt_cv_path_LD
="$ac_dir/$ac_prog"
5261 # Check to see if the program is GNU ld. I'd rather use --version,
5262 # but apparently some variants of GNU ld only accept -v.
5263 # Break only if it was the GNU/non-GNU ld that we prefer.
5264 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5265 *GNU
* |
*'with BFD'*)
5266 test "$with_gnu_ld" != no
&& break
5269 test "$with_gnu_ld" != yes && break
5276 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5281 if test -n "$LD"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5283 $as_echo "$LD" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5288 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5290 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5291 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5292 $as_echo_n "(cached) " >&6
5294 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5295 case `$LD -v 2>&1 </dev/null` in
5296 *GNU
* |
*'with BFD'*)
5297 lt_cv_prog_gnu_ld
=yes
5300 lt_cv_prog_gnu_ld
=no
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5305 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5306 with_gnu_ld
=$lt_cv_prog_gnu_ld
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5317 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5318 if test "${lt_cv_path_NM+set}" = set; then :
5319 $as_echo_n "(cached) " >&6
5321 if test -n "$NM"; then
5322 # Let the user override the test.
5325 lt_nm_to_check
="${ac_tool_prefix}nm"
5326 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5327 lt_nm_to_check
="$lt_nm_to_check nm"
5329 for lt_tmp_nm
in $lt_nm_to_check; do
5330 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5331 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5333 test -z "$ac_dir" && ac_dir
=.
5334 tmp_nm
="$ac_dir/$lt_tmp_nm"
5335 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5336 # Check to see if the nm accepts a BSD-compat flag.
5337 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5338 # nm: unknown option "B" ignored
5339 # Tru64's nm complains that /dev/null is an invalid object file
5340 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5341 */dev
/null
* |
*'Invalid file or object type'*)
5342 lt_cv_path_NM
="$tmp_nm -B"
5346 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5348 lt_cv_path_NM
="$tmp_nm -p"
5352 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5353 continue # so that we can try to find one that supports BSD flags
5362 : ${lt_cv_path_NM=no}
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5366 $as_echo "$lt_cv_path_NM" >&6; }
5367 if test "$lt_cv_path_NM" != "no"; then
5370 # Didn't find any BSD compatible name lister, look for dumpbin.
5371 if test -n "$DUMPBIN"; then :
5372 # Let the user override the test.
5374 if test -n "$ac_tool_prefix"; then
5375 for ac_prog
in dumpbin
"link -dump"
5377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5378 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5382 $as_echo_n "(cached) " >&6
5384 if test -n "$DUMPBIN"; then
5385 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5391 test -z "$as_dir" && as_dir
=.
5392 for ac_exec_ext
in '' $ac_executable_extensions; do
5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 DUMPBIN
=$ac_cv_prog_DUMPBIN
5405 if test -n "$DUMPBIN"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5407 $as_echo "$DUMPBIN" >&6; }
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5414 test -n "$DUMPBIN" && break
5417 if test -z "$DUMPBIN"; then
5418 ac_ct_DUMPBIN
=$DUMPBIN
5419 for ac_prog
in dumpbin
"link -dump"
5421 # Extract the first word of "$ac_prog", so it can be a program name with args.
5422 set dummy
$ac_prog; ac_word
=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5426 $as_echo_n "(cached) " >&6
5428 if test -n "$ac_ct_DUMPBIN"; then
5429 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_exec_ext
in '' $ac_executable_extensions; do
5437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5438 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5449 if test -n "$ac_ct_DUMPBIN"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5451 $as_echo "$ac_ct_DUMPBIN" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5458 test -n "$ac_ct_DUMPBIN" && break
5461 if test "x$ac_ct_DUMPBIN" = x
; then
5464 case $cross_compiling:$ac_tool_warned in
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned
=yes ;;
5470 DUMPBIN
=$ac_ct_DUMPBIN
5474 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5476 DUMPBIN
="$DUMPBIN -symbols"
5484 if test "$DUMPBIN" != ":"; then
5488 test -z "$NM" && NM
=nm
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5496 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5497 if test "${lt_cv_nm_interface+set}" = set; then :
5498 $as_echo_n "(cached) " >&6
5500 lt_cv_nm_interface
="BSD nm"
5501 echo "int some_variable = 0;" > conftest.
$ac_ext
5502 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5503 (eval "$ac_compile" 2>conftest.err
)
5504 cat conftest.err
>&5
5505 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5506 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5507 cat conftest.err
>&5
5508 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5509 cat conftest.out
>&5
5510 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5511 lt_cv_nm_interface
="MS dumpbin"
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5516 $as_echo "$lt_cv_nm_interface" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5519 $as_echo_n "checking whether ln -s works... " >&6; }
5521 if test "$LN_S" = "ln -s"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5523 $as_echo "yes" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5526 $as_echo "no, using $LN_S" >&6; }
5529 # find the maximum length of command line arguments
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5531 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5532 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5533 $as_echo_n "(cached) " >&6
5540 # On DJGPP, this test can blow up pretty badly due to problems in libc
5541 # (any single argument exceeding 2000 bytes causes a buffer overrun
5542 # during glob expansion). Even if it were fixed, the result of this
5543 # check would be larger than it should be.
5544 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5548 # Under GNU Hurd, this test is not required because there is
5549 # no limit to the length of command line arguments.
5550 # Libtool will interpret -1 as no limit whatsoever
5551 lt_cv_sys_max_cmd_len
=-1;
5554 cygwin
* | mingw
* | cegcc
*)
5555 # On Win9x/ME, this test blows up -- it succeeds, but takes
5556 # about 5 minutes as the teststring grows exponentially.
5557 # Worse, since 9x/ME are not pre-emptively multitasking,
5558 # you end up with a "frozen" computer, even though with patience
5559 # the test eventually succeeds (with a max line length of 256k).
5560 # Instead, let's just punt: use the minimum linelength reported by
5561 # all of the supported platforms: 8192 (on NT/2K/XP).
5562 lt_cv_sys_max_cmd_len
=8192;
5566 # On MiNT this can take a long time and run out of memory.
5567 lt_cv_sys_max_cmd_len
=8192;
5571 # On AmigaOS with pdksh, this test takes hours, literally.
5572 # So we just punt and use a minimum line length of 8192.
5573 lt_cv_sys_max_cmd_len
=8192;
5576 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5577 # This has been around since 386BSD, at least. Likely further.
5578 if test -x /sbin
/sysctl
; then
5579 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5580 elif test -x /usr
/sbin
/sysctl
; then
5581 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5583 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5585 # And add a safety zone
5586 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5587 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5591 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5592 lt_cv_sys_max_cmd_len
=196608
5596 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5597 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5598 # nice to cause kernel panics so lets avoid the loop below.
5599 # First set a reasonable default.
5600 lt_cv_sys_max_cmd_len
=16384
5602 if test -x /sbin
/sysconfig
; then
5603 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5604 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5609 lt_cv_sys_max_cmd_len
=102400
5611 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5612 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5613 if test -n "$kargmax"; then
5614 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5616 lt_cv_sys_max_cmd_len
=32768
5620 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5621 if test -n "$lt_cv_sys_max_cmd_len"; then
5622 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5623 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5625 # Make teststring a little bigger before we do anything with it.
5626 # a 1K string should be a reasonable start.
5627 for i
in 1 2 3 4 5 6 7 8 ; do
5628 teststring
=$teststring$teststring
5630 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5631 # If test is not a shell built-in, we'll probably end up computing a
5632 # maximum length that is only half of the actual maximum length, but
5634 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5635 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5636 test $i != 17 # 1/2 MB should be enough
5639 teststring
=$teststring$teststring
5641 # Only check the string length outside the loop.
5642 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5644 # Add a significant safety factor because C++ compilers can tack on
5645 # massive amounts of additional arguments before passing them to the
5646 # linker. It appears as though 1/2 is a usable value.
5647 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5654 if test -n $lt_cv_sys_max_cmd_len ; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5656 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5659 $as_echo "none" >&6; }
5661 max_cmd_len
=$lt_cv_sys_max_cmd_len
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5673 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5674 # Try some XSI features
5677 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5679 && eval 'test $(( 1 + 1 )) -eq 2 \
5680 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5683 $as_echo "$xsi_shell" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5687 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5689 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5691 && lt_shell_append=yes
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5693 $as_echo "$lt_shell_append" >&6; }
5696 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5706 # test EBCDIC or ASCII
5707 case `echo X|tr X '\101'` in
5708 A) # ASCII based system
5709 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5710 lt_SP2NL='tr \040 \012'
5711 lt_NL2SP='tr \015\012 \040\040'
5713 *) # EBCDIC based system
5714 lt_SP2NL='tr \100 \n'
5715 lt_NL2SP='tr \r\n \100\100'
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5728 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5729 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5730 $as_echo_n "(cached
) " >&6
5732 lt_cv_ld_reload_flag='-r'
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5735 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5736 reload_flag=$lt_cv_ld_reload_flag
5737 case $reload_flag in
5739 *) reload_flag=" $reload_flag" ;;
5741 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5744 if test "$GCC" = yes; then
5745 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5747 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5760 if test -n "$ac_tool_prefix"; then
5761 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5762 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5764 $as_echo_n "checking
for $ac_word...
" >&6; }
5765 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5766 $as_echo_n "(cached
) " >&6
5768 if test -n "$OBJDUMP"; then
5769 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir=.
5776 for ac_exec_ext in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5788 OBJDUMP=$ac_cv_prog_OBJDUMP
5789 if test -n "$OBJDUMP"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5791 $as_echo "$OBJDUMP" >&6; }
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5794 $as_echo "no
" >&6; }
5799 if test -z "$ac_cv_prog_OBJDUMP"; then
5800 ac_ct_OBJDUMP=$OBJDUMP
5801 # Extract the first word of "objdump
", so it can be a program name with args.
5802 set dummy objdump; ac_word=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5804 $as_echo_n "checking
for $ac_word...
" >&6; }
5805 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5806 $as_echo_n "(cached
) " >&6
5808 if test -n "$ac_ct_OBJDUMP"; then
5809 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir=.
5816 for ac_exec_ext in '' $ac_executable_extensions; do
5817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5828 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5829 if test -n "$ac_ct_OBJDUMP"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5831 $as_echo "$ac_ct_OBJDUMP" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5834 $as_echo "no
" >&6; }
5837 if test "x
$ac_ct_OBJDUMP" = x; then
5840 case $cross_compiling:$ac_tool_warned in
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5843 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5844 ac_tool_warned=yes ;;
5846 OBJDUMP=$ac_ct_OBJDUMP
5849 OBJDUMP="$ac_cv_prog_OBJDUMP"
5852 test -z "$OBJDUMP" && OBJDUMP=objdump
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5863 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5864 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5865 $as_echo_n "(cached
) " >&6
5867 lt_cv_file_magic_cmd='$MAGIC_CMD'
5868 lt_cv_file_magic_test_file=
5869 lt_cv_deplibs_check_method='unknown'
5870 # Need to set the preceding variable on all platforms that support
5871 # interlibrary dependencies.
5872 # 'none' -- dependencies not supported.
5873 # `unknown' -- same as none, but documents that we really don't know.
5874 # 'pass_all' -- all dependencies passed with no checks.
5875 # 'test_compile' -- check by making test program.
5876 # 'file_magic [[regex]]' -- check by looking for files in library path
5877 # which responds to the $file_magic_cmd with a given extended regex.
5878 # If you have `file' or equivalent on your system and you're not sure
5879 # whether `pass_all' will *always* work, you probably want this one.
5883 lt_cv_deplibs_check_method=pass_all
5887 lt_cv_deplibs_check_method=pass_all
5891 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5892 lt_cv_file_magic_cmd='/usr/bin/file -L'
5893 lt_cv_file_magic_test_file=/shlib/libc.so
5897 # func_win32_libid is a shell function defined in ltmain.sh
5898 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5899 lt_cv_file_magic_cmd='func_win32_libid'
5903 # Base MSYS/MinGW do not provide the 'file' command needed by
5904 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5905 # unless we find 'file', for example because we are cross-compiling.
5906 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5907 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5908 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5909 lt_cv_file_magic_cmd='func_win32_libid'
5911 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5912 lt_cv_file_magic_cmd='$OBJDUMP -f'
5917 # use the weaker test based on 'objdump'. See mingw*.
5918 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5919 lt_cv_file_magic_cmd='$OBJDUMP -f'
5922 darwin* | rhapsody*)
5923 lt_cv_deplibs_check_method=pass_all
5926 freebsd* | dragonfly*)
5927 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5930 # Not sure whether the presence of OpenBSD here was a mistake.
5931 # Let's accept both of them until this is cleared up.
5932 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5933 lt_cv_file_magic_cmd=/usr/bin/file
5934 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5938 lt_cv_deplibs_check_method=pass_all
5943 lt_cv_deplibs_check_method=pass_all
5947 lt_cv_deplibs_check_method=pass_all
5950 hpux10.20* | hpux11*)
5951 lt_cv_file_magic_cmd=/usr/bin/file
5954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5955 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5958 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]'
5959 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5963 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5969 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5970 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5973 irix5* | irix6* | nonstopux*)
5975 *-32|*"-32 ") libmagic=32-bit;;
5976 *-n32|*"-n32 ") libmagic=N32;;
5977 *-64|*"-64 ") libmagic=64-bit;;
5978 *) libmagic=never-match;;
5980 lt_cv_deplibs_check_method=pass_all
5983 # This must be Linux ELF.
5984 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5985 lt_cv_deplibs_check_method=pass_all
5989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5992 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5997 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5998 lt_cv_file_magic_cmd=/usr/bin/file
5999 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6003 lt_cv_deplibs_check_method=pass_all
6007 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6014 osf3* | osf4* | osf5*)
6015 lt_cv_deplibs_check_method=pass_all
6019 lt_cv_deplibs_check_method=pass_all
6023 lt_cv_deplibs_check_method=pass_all
6026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6027 lt_cv_deplibs_check_method=pass_all
6031 case $host_vendor in
6033 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]'
6034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6037 lt_cv_deplibs_check_method=pass_all
6040 lt_cv_file_magic_cmd='/bin/file'
6041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6044 lt_cv_file_magic_cmd='/bin/file'
6045 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6046 lt_cv_file_magic_test_file=/lib/libc.so
6049 lt_cv_deplibs_check_method=pass_all
6052 lt_cv_deplibs_check_method=pass_all
6058 lt_cv_deplibs_check_method=pass_all
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6064 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6065 file_magic_cmd=$lt_cv_file_magic_cmd
6066 deplibs_check_method=$lt_cv_deplibs_check_method
6067 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6080 if test -n "$ac_tool_prefix"; then
6081 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6082 set dummy ${ac_tool_prefix}ar; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6084 $as_echo_n "checking
for $ac_word...
" >&6; }
6085 if test "${ac_cv_prog_AR+set}" = set; then :
6086 $as_echo_n "(cached
) " >&6
6088 if test -n "$AR"; then
6089 ac_cv_prog_AR="$AR" # Let the user override the test.
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098 ac_cv_prog_AR="${ac_tool_prefix}ar"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6109 if test -n "$AR"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6111 $as_echo "$AR" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6114 $as_echo "no
" >&6; }
6119 if test -z "$ac_cv_prog_AR"; then
6121 # Extract the first word of "ar", so it can be a program name with args.
6122 set dummy ar; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6124 $as_echo_n "checking
for $ac_word...
" >&6; }
6125 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6126 $as_echo_n "(cached
) " >&6
6128 if test -n "$ac_ct_AR"; then
6129 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138 ac_cv_prog_ac_ct_AR="ar"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6148 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6149 if test -n "$ac_ct_AR"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6151 $as_echo "$ac_ct_AR" >&6; }
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6154 $as_echo "no
" >&6; }
6157 if test "x
$ac_ct_AR" = x; then
6160 case $cross_compiling:$ac_tool_warned in
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6164 ac_tool_warned=yes ;;
6172 test -z "$AR" && AR=ar
6173 test -z "$AR_FLAGS" && AR_FLAGS=cru
6185 if test -n "$ac_tool_prefix"; then
6186 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6187 set dummy ${ac_tool_prefix}strip; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6189 $as_echo_n "checking
for $ac_word...
" >&6; }
6190 if test "${ac_cv_prog_STRIP+set}" = set; then :
6191 $as_echo_n "(cached
) " >&6
6193 if test -n "$STRIP"; then
6194 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6213 STRIP=$ac_cv_prog_STRIP
6214 if test -n "$STRIP"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6216 $as_echo "$STRIP" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6219 $as_echo "no
" >&6; }
6224 if test -z "$ac_cv_prog_STRIP"; then
6226 # Extract the first word of "strip
", so it can be a program name with args.
6227 set dummy strip; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6229 $as_echo_n "checking
for $ac_word...
" >&6; }
6230 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6231 $as_echo_n "(cached
) " >&6
6233 if test -n "$ac_ct_STRIP"; then
6234 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243 ac_cv_prog_ac_ct_STRIP="strip
"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6254 if test -n "$ac_ct_STRIP"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6256 $as_echo "$ac_ct_STRIP" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6259 $as_echo "no
" >&6; }
6262 if test "x
$ac_ct_STRIP" = x; then
6265 case $cross_compiling:$ac_tool_warned in
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6268 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6269 ac_tool_warned=yes ;;
6274 STRIP="$ac_cv_prog_STRIP"
6277 test -z "$STRIP" && STRIP=:
6284 if test -n "$ac_tool_prefix"; then
6285 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6288 $as_echo_n "checking
for $ac_word...
" >&6; }
6289 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6290 $as_echo_n "(cached
) " >&6
6292 if test -n "$RANLIB"; then
6293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6312 RANLIB=$ac_cv_prog_RANLIB
6313 if test -n "$RANLIB"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6315 $as_echo "$RANLIB" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6318 $as_echo "no
" >&6; }
6323 if test -z "$ac_cv_prog_RANLIB"; then
6324 ac_ct_RANLIB=$RANLIB
6325 # Extract the first word of "ranlib
", so it can be a program name with args.
6326 set dummy ranlib; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6328 $as_echo_n "checking
for $ac_word...
" >&6; }
6329 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6330 $as_echo_n "(cached
) " >&6
6332 if test -n "$ac_ct_RANLIB"; then
6333 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6352 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6353 if test -n "$ac_ct_RANLIB"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6355 $as_echo "$ac_ct_RANLIB" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6358 $as_echo "no
" >&6; }
6361 if test "x
$ac_ct_RANLIB" = x; then
6364 case $cross_compiling:$ac_tool_warned in
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6367 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6368 ac_tool_warned=yes ;;
6370 RANLIB=$ac_ct_RANLIB
6373 RANLIB="$ac_cv_prog_RANLIB"
6376 test -z "$RANLIB" && RANLIB=:
6383 # Determine commands to create old-style static archives.
6384 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6385 old_postinstall_cmds='chmod 644 $oldlib'
6386 old_postuninstall_cmds=
6388 if test -n "$RANLIB"; then
6391 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6394 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6397 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6402 lock_old_archive_extraction=yes ;;
6404 lock_old_archive_extraction=no ;;
6445 # If no C compiler was specified, use CC.
6448 # If no C compiler flags were specified, use CFLAGS.
6449 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6451 # Allow CC to be a program name with arguments.
6455 # Check for command to grab the raw symbol name followed by C symbol from nm.
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6457 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6458 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6459 $as_echo_n "(cached
) " >&6
6462 # These are sane defaults that work on at least a few old systems.
6463 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6465 # Character class describing NM global symbol codes.
6466 symcode='[BCDEGRST]'
6468 # Regexp to match symbols that can be accessed directly from C.
6469 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6471 # Define system-specific variables.
6476 cygwin* | mingw* | pw32* | cegcc*)
6477 symcode='[ABCDGISTW]'
6480 if test "$host_cpu" = ia64; then
6481 symcode='[ABCDEGRST]'
6485 symcode='[BCDEGRST]'
6488 symcode='[BCDEGQRST]'
6499 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6507 # If we're using GNU nm, then use its standard symbol codes.
6508 case `$NM -V 2>&1` in
6509 *GNU* | *'with BFD'*)
6510 symcode='[ABCDGIRSTW]' ;;
6513 # Transform an extracted symbol line into a proper C declaration.
6514 # Some systems (esp. on ia64) link data and code symbols differently,
6515 # so use this general approach.
6516 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6518 # Transform an extracted symbol line into symbol name and symbol address
6519 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6520 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'"
6522 # Handle CRLF in mingw tool chain
6526 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6530 # Try without a prefix underscore, then with it.
6531 for ac_symprfx in "" "_
"; do
6533 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6534 symxfrm="\\1 $ac_symprfx\\2 \\2"
6536 # Write the raw and C identifiers.
6537 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6538 # Fake it for dumpbin and say T for any non-static function
6539 # and D for any global variable.
6540 # Also find C++ and __fastcall symbols from MSVC++,
6541 # which start with @ or ?.
6542 lt_cv_sys_global_symbol_pipe="$AWK '"\
6543 " {last_section=section; section=\$ 3};"\
6544 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6545 " \$ 0!~/External *\|/{next};"\
6546 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6547 " {if(hide[section]) next};"\
6548 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6549 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6550 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6551 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6552 " ' prfx
=^
$ac_symprfx"
6554 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6557 # Check to see that the pipe works correctly.
6561 cat > conftest.$ac_ext <<_LT_EOF
6566 void nm_test_func(void);
6567 void nm_test_func(void){}
6571 int main(){nm_test_var='a';nm_test_func();return(0);}
6574 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575 (eval $ac_compile) 2>&5
6577 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6578 test $ac_status = 0; }; then
6579 # Now try to grab the symbols.
6581 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6582 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6585 test $ac_status = 0; } && test -s "$nlist"; then
6586 # Try sorting and uniquifying the output.
6587 if sort "$nlist" | uniq > "$nlist"T; then
6588 mv -f "$nlist"T "$nlist"
6593 # Make sure that we snagged all the symbols we need.
6594 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6595 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6596 cat <<_LT_EOF > conftest.$ac_ext
6602 # Now generate the symbol file.
6603 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6605 cat <<_LT_EOF >> conftest.$ac_ext
6607 /* The mapping between symbol names and symbols. */
6612 lt__PROGRAM__LTX_preloaded_symbols[] =
6614 { "@PROGRAM@
", (void *) 0 },
6616 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6617 cat <<\_LT_EOF >> conftest.$ac_ext
6621 /* This works around a problem in FreeBSD linker */
6622 #ifdef FREEBSD_WORKAROUND
6623 static const void *lt_preloaded_setup() {
6624 return lt__PROGRAM__LTX_preloaded_symbols;
6632 # Now try linking the two files.
6633 mv conftest.$ac_objext conftstm.$ac_objext
6634 lt_save_LIBS="$LIBS"
6635 lt_save_CFLAGS="$CFLAGS"
6636 LIBS="conftstm.
$ac_objext"
6637 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6638 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6639 (eval $ac_link) 2>&5
6641 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6642 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6645 LIBS="$lt_save_LIBS"
6646 CFLAGS="$lt_save_CFLAGS"
6648 echo "cannot
find nm_test_func
in $nlist" >&5
6651 echo "cannot
find nm_test_var
in $nlist" >&5
6654 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6657 echo "$progname: failed program was
:" >&5
6658 cat conftest.$ac_ext >&5
6660 rm -rf conftest* conftst*
6662 # Do not use the global_symbol_pipe unless it works.
6663 if test "$pipe_works" = yes; then
6666 lt_cv_sys_global_symbol_pipe=
6672 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6673 lt_cv_sys_global_symbol_to_cdecl=
6675 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6677 $as_echo "failed
" >&6; }
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6680 $as_echo "ok
" >&6; }
6704 # Check whether --enable-libtool-lock was given.
6705 if test "${enable_libtool_lock+set}" = set; then :
6706 enableval=$enable_libtool_lock;
6709 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6711 # Some flags need to be propagated to the compiler or linker for good
6715 # Find out which ABI we are using.
6716 echo 'int i;' > conftest.$ac_ext
6717 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6718 (eval $ac_compile) 2>&5
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6721 test $ac_status = 0; }; then
6722 case `/usr/bin/file conftest.$ac_objext` in
6734 # Find out which ABI we are using.
6735 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6736 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6737 (eval $ac_compile) 2>&5
6739 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6740 test $ac_status = 0; }; then
6741 if test "$lt_cv_prog_gnu_ld" = yes; then
6742 case `/usr/bin/file conftest.$ac_objext` in
6744 LD="${LD-ld} -melf32bsmip"
6747 LD="${LD-ld} -melf32bmipn32"
6750 LD="${LD-ld} -melf64bmip"
6754 case `/usr/bin/file conftest.$ac_objext` in
6770 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6771 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6772 # Find out which ABI we are using.
6773 echo 'int i;' > conftest.$ac_ext
6774 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775 (eval $ac_compile) 2>&5
6777 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6778 test $ac_status = 0; }; then
6779 case `/usr/bin/file conftest.o` in
6782 x86_64-*kfreebsd*-gnu)
6783 LD="${LD-ld} -m elf_i386_fbsd
"
6786 LD="${LD-ld} -m elf_i386
"
6788 ppc64-*linux*|powerpc64-*linux*)
6789 LD="${LD-ld} -m elf32ppclinux
"
6792 LD="${LD-ld} -m elf_s390
"
6795 LD="${LD-ld} -m elf32_sparc
"
6801 x86_64-*kfreebsd*-gnu)
6802 LD="${LD-ld} -m elf_x86_64_fbsd
"
6805 LD="${LD-ld} -m elf_x86_64
"
6807 ppc*-*linux*|powerpc*-*linux*)
6808 LD="${LD-ld} -m elf64ppc
"
6810 s390*-*linux*|s390*-*tpf*)
6811 LD="${LD-ld} -m elf64_s390
"
6814 LD="${LD-ld} -m elf64_sparc
"
6824 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6825 SAVE_CFLAGS="$CFLAGS"
6826 CFLAGS="$CFLAGS -belf"
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6828 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6829 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6830 $as_echo_n "(cached
) " >&6
6833 ac_cpp='$CPP $CPPFLAGS'
6834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6838 if test x$gcc_no_link = xyes; then
6839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6852 if ac_fn_c_try_link "$LINENO"; then :
6853 lt_cv_cc_needs_belf=yes
6855 lt_cv_cc_needs_belf=no
6857 rm -f core conftest.err conftest.$ac_objext \
6858 conftest$ac_exeext conftest.$ac_ext
6860 ac_cpp='$CPP $CPPFLAGS'
6861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6867 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6868 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6869 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6870 CFLAGS="$SAVE_CFLAGS"
6874 # Find out which ABI we are using.
6875 echo 'int i;' > conftest.$ac_ext
6876 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6877 (eval $ac_compile) 2>&5
6879 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6880 test $ac_status = 0; }; then
6881 case `/usr/bin/file conftest.o` in
6883 case $lt_cv_prog_gnu_ld in
6884 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6886 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6898 need_locks="$enable_libtool_lock"
6902 rhapsody* | darwin*)
6903 if test -n "$ac_tool_prefix"; then
6904 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6905 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6907 $as_echo_n "checking
for $ac_word...
" >&6; }
6908 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6909 $as_echo_n "(cached
) " >&6
6911 if test -n "$DSYMUTIL"; then
6912 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 test -z "$as_dir" && as_dir=.
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6921 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6931 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6932 if test -n "$DSYMUTIL"; then
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6934 $as_echo "$DSYMUTIL" >&6; }
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6937 $as_echo "no
" >&6; }
6942 if test -z "$ac_cv_prog_DSYMUTIL"; then
6943 ac_ct_DSYMUTIL=$DSYMUTIL
6944 # Extract the first word of "dsymutil
", so it can be a program name with args.
6945 set dummy dsymutil; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6947 $as_echo_n "checking
for $ac_word...
" >&6; }
6948 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6949 $as_echo_n "(cached
) " >&6
6951 if test -n "$ac_ct_DSYMUTIL"; then
6952 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6971 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6972 if test -n "$ac_ct_DSYMUTIL"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6974 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6977 $as_echo "no
" >&6; }
6980 if test "x
$ac_ct_DSYMUTIL" = x; then
6983 case $cross_compiling:$ac_tool_warned in
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6986 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6987 ac_tool_warned=yes ;;
6989 DSYMUTIL=$ac_ct_DSYMUTIL
6992 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6995 if test -n "$ac_tool_prefix"; then
6996 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6999 $as_echo_n "checking
for $ac_word...
" >&6; }
7000 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7001 $as_echo_n "(cached
) " >&6
7003 if test -n "$NMEDIT"; then
7004 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7023 NMEDIT=$ac_cv_prog_NMEDIT
7024 if test -n "$NMEDIT"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7026 $as_echo "$NMEDIT" >&6; }
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7029 $as_echo "no
" >&6; }
7034 if test -z "$ac_cv_prog_NMEDIT"; then
7035 ac_ct_NMEDIT=$NMEDIT
7036 # Extract the first word of "nmedit
", so it can be a program name with args.
7037 set dummy nmedit; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7039 $as_echo_n "checking
for $ac_word...
" >&6; }
7040 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7041 $as_echo_n "(cached
) " >&6
7043 if test -n "$ac_ct_NMEDIT"; then
7044 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7063 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7064 if test -n "$ac_ct_NMEDIT"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7066 $as_echo "$ac_ct_NMEDIT" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7069 $as_echo "no
" >&6; }
7072 if test "x
$ac_ct_NMEDIT" = x; then
7075 case $cross_compiling:$ac_tool_warned in
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7078 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7079 ac_tool_warned=yes ;;
7081 NMEDIT=$ac_ct_NMEDIT
7084 NMEDIT="$ac_cv_prog_NMEDIT"
7087 if test -n "$ac_tool_prefix"; then
7088 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7089 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7091 $as_echo_n "checking
for $ac_word...
" >&6; }
7092 if test "${ac_cv_prog_LIPO+set}" = set; then :
7093 $as_echo_n "(cached
) " >&6
7095 if test -n "$LIPO"; then
7096 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7115 LIPO=$ac_cv_prog_LIPO
7116 if test -n "$LIPO"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7118 $as_echo "$LIPO" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7121 $as_echo "no
" >&6; }
7126 if test -z "$ac_cv_prog_LIPO"; then
7128 # Extract the first word of "lipo
", so it can be a program name with args.
7129 set dummy lipo; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7131 $as_echo_n "checking
for $ac_word...
" >&6; }
7132 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7133 $as_echo_n "(cached
) " >&6
7135 if test -n "$ac_ct_LIPO"; then
7136 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 test -z "$as_dir" && as_dir=.
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145 ac_cv_prog_ac_ct_LIPO="lipo
"
7146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7155 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7156 if test -n "$ac_ct_LIPO"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7158 $as_echo "$ac_ct_LIPO" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7161 $as_echo "no
" >&6; }
7164 if test "x
$ac_ct_LIPO" = x; then
7167 case $cross_compiling:$ac_tool_warned in
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7170 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7171 ac_tool_warned=yes ;;
7176 LIPO="$ac_cv_prog_LIPO"
7179 if test -n "$ac_tool_prefix"; then
7180 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7181 set dummy ${ac_tool_prefix}otool; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7183 $as_echo_n "checking
for $ac_word...
" >&6; }
7184 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7185 $as_echo_n "(cached
) " >&6
7187 if test -n "$OTOOL"; then
7188 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 test -z "$as_dir" && as_dir=.
7195 for ac_exec_ext in '' $ac_executable_extensions; do
7196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7197 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7207 OTOOL=$ac_cv_prog_OTOOL
7208 if test -n "$OTOOL"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7210 $as_echo "$OTOOL" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7213 $as_echo "no
" >&6; }
7218 if test -z "$ac_cv_prog_OTOOL"; then
7220 # Extract the first word of "otool
", so it can be a program name with args.
7221 set dummy otool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7223 $as_echo_n "checking
for $ac_word...
" >&6; }
7224 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7225 $as_echo_n "(cached
) " >&6
7227 if test -n "$ac_ct_OTOOL"; then
7228 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir=.
7235 for ac_exec_ext in '' $ac_executable_extensions; do
7236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237 ac_cv_prog_ac_ct_OTOOL="otool
"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7247 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7248 if test -n "$ac_ct_OTOOL"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7250 $as_echo "$ac_ct_OTOOL" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7253 $as_echo "no
" >&6; }
7256 if test "x
$ac_ct_OTOOL" = x; then
7259 case $cross_compiling:$ac_tool_warned in
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7262 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7263 ac_tool_warned=yes ;;
7268 OTOOL="$ac_cv_prog_OTOOL"
7271 if test -n "$ac_tool_prefix"; then
7272 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7273 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7275 $as_echo_n "checking
for $ac_word...
" >&6; }
7276 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7277 $as_echo_n "(cached
) " >&6
7279 if test -n "$OTOOL64"; then
7280 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7299 OTOOL64=$ac_cv_prog_OTOOL64
7300 if test -n "$OTOOL64"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7302 $as_echo "$OTOOL64" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7305 $as_echo "no
" >&6; }
7310 if test -z "$ac_cv_prog_OTOOL64"; then
7311 ac_ct_OTOOL64=$OTOOL64
7312 # Extract the first word of "otool64
", so it can be a program name with args.
7313 set dummy otool64; ac_word=$2
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7315 $as_echo_n "checking
for $ac_word...
" >&6; }
7316 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7317 $as_echo_n "(cached
) " >&6
7319 if test -n "$ac_ct_OTOOL64"; then
7320 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7329 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7339 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7340 if test -n "$ac_ct_OTOOL64"; then
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7342 $as_echo "$ac_ct_OTOOL64" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7345 $as_echo "no
" >&6; }
7348 if test "x
$ac_ct_OTOOL64" = x; then
7351 case $cross_compiling:$ac_tool_warned in
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7354 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7355 ac_tool_warned=yes ;;
7357 OTOOL64=$ac_ct_OTOOL64
7360 OTOOL64="$ac_cv_prog_OTOOL64"
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7390 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7391 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7392 $as_echo_n "(cached
) " >&6
7394 lt_cv_apple_cc_single_mod=no
7395 if test -z "${LT_MULTI_MODULE}"; then
7396 # By default we will add the -single_module flag. You can override
7397 # by either setting the environment variable LT_MULTI_MODULE
7398 # non-empty at configure time, or by adding -multi_module to the
7400 rm -rf libconftest.dylib*
7401 echo "int foo
(void
){return 1;}" > conftest.c
7402 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7403 -dynamiclib -Wl,-single_module conftest.c
" >&5
7404 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7405 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7407 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7408 lt_cv_apple_cc_single_mod=yes
7410 cat conftest.err >&5
7412 rm -rf libconftest.dylib*
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7417 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7419 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7420 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7421 $as_echo_n "(cached
) " >&6
7423 lt_cv_ld_exported_symbols_list=no
7424 save_LDFLAGS=$LDFLAGS
7425 echo "_main
" > conftest.sym
7426 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7427 if test x$gcc_no_link = xyes; then
7428 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h. */
7441 if ac_fn_c_try_link "$LINENO"; then :
7442 lt_cv_ld_exported_symbols_list=yes
7444 lt_cv_ld_exported_symbols_list=no
7446 rm -f core conftest.err conftest.$ac_objext \
7447 conftest$ac_exeext conftest.$ac_ext
7448 LDFLAGS="$save_LDFLAGS"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7452 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7454 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7455 if test "${lt_cv_ld_force_load+set}" = set; then :
7456 $as_echo_n "(cached
) " >&6
7458 lt_cv_ld_force_load=no
7459 cat > conftest.c << _LT_EOF
7460 int forced_loaded() { return 2;}
7462 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7463 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7464 echo "$AR cru libconftest.a conftest.o
" >&5
7465 $AR cru libconftest.a conftest.o 2>&5
7466 cat > conftest.c << _LT_EOF
7467 int main() { return 0;}
7469 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7470 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7472 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7473 lt_cv_ld_force_load=yes
7475 cat conftest.err >&5
7477 rm -f conftest.err libconftest.a conftest conftest.c
7478 rm -rf conftest.dSYM
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7482 $as_echo "$lt_cv_ld_force_load" >&6; }
7484 rhapsody* | darwin1.[012])
7485 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7487 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7488 darwin*) # darwin 5.x on
7489 # if running on 10.5 or later, the deployment target defaults
7490 # to the OS version, if on x86, and 10.4, the deployment
7491 # target defaults to 10.4. Don't you love it?
7492 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7493 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7494 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7496 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7498 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7502 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7503 _lt_dar_single_mod='$single_module'
7505 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7506 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7508 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7510 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7511 _lt_dsymutil='~$DSYMUTIL $lib || :'
7519 ac_cpp='$CPP $CPPFLAGS'
7520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7524 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7525 # On Suns, sometimes $CPP names a directory.
7526 if test -n "$CPP" && test -d "$CPP"; then
7529 if test -z "$CPP"; then
7530 if test "${ac_cv_prog_CPP+set}" = set; then :
7531 $as_echo_n "(cached
) " >&6
7533 # Double quotes because CPP needs to be expanded
7534 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7537 for ac_c_preproc_warn_flag in '' yes
7539 # Use a header file that comes with gcc, so configuring glibc
7540 # with a fresh cross-compiler works.
7541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7542 # <limits.h> exists even on freestanding compilers.
7543 # On the NeXT, cc -E runs the code through the compiler's parser,
7544 # not just through cpp. "Syntax error
" is here to catch this case.
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7548 # include <limits.h>
7550 # include <assert.h>
7554 if ac_fn_c_try_cpp "$LINENO"; then :
7557 # Broken: fails on valid input.
7560 rm -f conftest.err conftest.$ac_ext
7562 # OK, works on sane cases. Now check whether nonexistent headers
7563 # can be detected and how.
7564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7566 #include <ac_nonexistent.h>
7568 if ac_fn_c_try_cpp "$LINENO"; then :
7569 # Broken: success on invalid input.
7572 # Passes both tests.
7576 rm -f conftest.err conftest.$ac_ext
7579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7580 rm -f conftest.err conftest.$ac_ext
7581 if $ac_preproc_ok; then :
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7594 $as_echo "$CPP" >&6; }
7596 for ac_c_preproc_warn_flag in '' yes
7598 # Use a header file that comes with gcc, so configuring glibc
7599 # with a fresh cross-compiler works.
7600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7601 # <limits.h> exists even on freestanding compilers.
7602 # On the NeXT, cc -E runs the code through the compiler's parser,
7603 # not just through cpp. "Syntax error
" is here to catch this case.
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7607 # include <limits.h>
7609 # include <assert.h>
7613 if ac_fn_c_try_cpp "$LINENO"; then :
7616 # Broken: fails on valid input.
7619 rm -f conftest.err conftest.$ac_ext
7621 # OK, works on sane cases. Now check whether nonexistent headers
7622 # can be detected and how.
7623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7625 #include <ac_nonexistent.h>
7627 if ac_fn_c_try_cpp "$LINENO"; then :
7628 # Broken: success on invalid input.
7631 # Passes both tests.
7635 rm -f conftest.err conftest.$ac_ext
7638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7639 rm -f conftest.err conftest.$ac_ext
7640 if $ac_preproc_ok; then :
7643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7645 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7646 See \`config.log' for more details.
" "$LINENO" 5; }
7650 ac_cpp='$CPP $CPPFLAGS'
7651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7657 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7658 if test "${ac_cv_header_stdc+set}" = set; then :
7659 $as_echo_n "(cached
) " >&6
7661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662 /* end confdefs.h. */
7676 if ac_fn_c_try_compile "$LINENO"; then :
7677 ac_cv_header_stdc=yes
7679 ac_cv_header_stdc=no
7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7683 if test $ac_cv_header_stdc = yes; then
7684 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7690 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7691 $EGREP "memchr
" >/dev/null 2>&1; then :
7694 ac_cv_header_stdc=no
7700 if test $ac_cv_header_stdc = yes; then
7701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h. */
7707 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7708 $EGREP "free
" >/dev/null 2>&1; then :
7711 ac_cv_header_stdc=no
7717 if test $ac_cv_header_stdc = yes; then
7718 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7719 if test "$cross_compiling" = yes; then :
7722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7726 #if ((' ' & 0x0FF) == 0x020)
7727 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7728 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7730 # define ISLOWER(c) \
7731 (('a' <= (c) && (c) <= 'i') \
7732 || ('j' <= (c) && (c) <= 'r') \
7733 || ('s' <= (c) && (c) <= 'z'))
7734 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7737 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7742 for (i = 0; i < 256; i++)
7743 if (XOR (islower (i), ISLOWER (i))
7744 || toupper (i) != TOUPPER (i))
7749 if ac_fn_c_try_run "$LINENO"; then :
7752 ac_cv_header_stdc=no
7754 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7755 conftest.$ac_objext conftest.beam conftest.$ac_ext
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7761 $as_echo "$ac_cv_header_stdc" >&6; }
7762 if test $ac_cv_header_stdc = yes; then
7764 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7768 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7769 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7770 inttypes.h stdint.h unistd.h
7772 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7773 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7775 eval as_val
=\$
$as_ac_Header
7776 if test "x$as_val" = x
""yes; then :
7777 cat >>confdefs.h
<<_ACEOF
7778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7786 for ac_header
in dlfcn.h
7788 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7790 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7791 cat >>confdefs.h
<<_ACEOF
7792 #define HAVE_DLFCN_H 1
7811 # Check whether --enable-shared was given.
7812 if test "${enable_shared+set}" = set; then :
7813 enableval
=$enable_shared; p
=${PACKAGE-default}
7815 yes) enable_shared
=yes ;;
7816 no
) enable_shared
=no
;;
7819 # Look at the argument we got. We use all the common list separators.
7820 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7821 for pkg
in $enableval; do
7823 if test "X$pkg" = "X$p"; then
7842 # Check whether --enable-static was given.
7843 if test "${enable_static+set}" = set; then :
7844 enableval
=$enable_static; p
=${PACKAGE-default}
7846 yes) enable_static
=yes ;;
7847 no
) enable_static
=no
;;
7850 # Look at the argument we got. We use all the common list separators.
7851 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7852 for pkg
in $enableval; do
7854 if test "X$pkg" = "X$p"; then
7874 # Check whether --with-pic was given.
7875 if test "${with_pic+set}" = set; then :
7876 withval
=$with_pic; pic_mode
="$withval"
7882 test -z "$pic_mode" && pic_mode
=default
7890 # Check whether --enable-fast-install was given.
7891 if test "${enable_fast_install+set}" = set; then :
7892 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7894 yes) enable_fast_install
=yes ;;
7895 no
) enable_fast_install
=no
;;
7897 enable_fast_install
=no
7898 # Look at the argument we got. We use all the common list separators.
7899 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7900 for pkg
in $enableval; do
7902 if test "X$pkg" = "X$p"; then
7903 enable_fast_install
=yes
7910 enable_fast_install
=yes
7923 # This can be used to rebuild libtool when needed
7924 LIBTOOL_DEPS
="$ltmain"
7926 # Always use our own libtool.
7927 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7954 test -z "$LN_S" && LN_S
="ln -s"
7969 if test -n "${ZSH_VERSION+set}" ; then
7970 setopt NO_GLOB_SUBST
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7974 $as_echo_n "checking for objdir... " >&6; }
7975 if test "${lt_cv_objdir+set}" = set; then :
7976 $as_echo_n "(cached) " >&6
7978 rm -f .libs
2>/dev
/null
7979 mkdir .libs
2>/dev
/null
7980 if test -d .libs
; then
7983 # MS-DOS does not allow filenames that begin with a dot.
7986 rmdir .libs
2>/dev
/null
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7989 $as_echo "$lt_cv_objdir" >&6; }
7990 objdir
=$lt_cv_objdir
7996 cat >>confdefs.h
<<_ACEOF
7997 #define LT_OBJDIR "$lt_cv_objdir/"
8005 # AIX sometimes has problems with the GCC collect2 program. For some
8006 # reason, if we set the COLLECT_NAMES environment variable, the problems
8007 # vanish in a puff of smoke.
8008 if test "X${COLLECT_NAMES+set}" != Xset
; then
8010 export COLLECT_NAMES
8017 can_build_shared
=yes
8019 # All known linkers require a `.a' archive for static linking (except MSVC,
8020 # which needs '.lib').
8023 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8026 old_CFLAGS
="$CFLAGS"
8028 # Set sane defaults for various variables
8029 test -z "$CC" && CC
=cc
8030 test -z "$LTCC" && LTCC
=$CC
8031 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8032 test -z "$LD" && LD
=ld
8033 test -z "$ac_objext" && ac_objext
=o
8035 for cc_temp
in $compiler""; do
8037 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8038 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8043 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8046 # Only perform the check for file, if the check method requires it
8047 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8048 case $deplibs_check_method in
8050 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8052 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8053 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8054 $as_echo_n "(cached) " >&6
8058 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8061 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8062 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8063 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8064 for ac_dir
in $ac_dummy; do
8066 test -z "$ac_dir" && ac_dir
=.
8067 if test -f $ac_dir/${ac_tool_prefix}file; then
8068 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8069 if test -n "$file_magic_test_file"; then
8070 case $deplibs_check_method in
8072 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8073 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8074 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8075 $EGREP "$file_magic_regex" > /dev
/null
; then
8080 *** Warning: the command libtool uses to detect shared libraries,
8081 *** $file_magic_cmd, produces output that libtool cannot recognize.
8082 *** The result is that libtool may fail to recognize shared libraries
8083 *** as such. This will affect the creation of libtool libraries that
8084 *** depend on shared libraries, but programs linked with such libtool
8085 *** libraries will work regardless of this problem. Nevertheless, you
8086 *** may want to report the problem to your system manager and/or to
8087 *** bug-libtool@gnu.org
8097 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8102 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8103 if test -n "$MAGIC_CMD"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8105 $as_echo "$MAGIC_CMD" >&6; }
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8115 if test -z "$lt_cv_path_MAGIC_CMD"; then
8116 if test -n "$ac_tool_prefix"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8118 $as_echo_n "checking for file... " >&6; }
8119 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8120 $as_echo_n "(cached) " >&6
8124 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8127 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8128 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8129 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8130 for ac_dir
in $ac_dummy; do
8132 test -z "$ac_dir" && ac_dir
=.
8133 if test -f $ac_dir/file; then
8134 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8135 if test -n "$file_magic_test_file"; then
8136 case $deplibs_check_method in
8138 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8139 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8140 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8141 $EGREP "$file_magic_regex" > /dev
/null
; then
8146 *** Warning: the command libtool uses to detect shared libraries,
8147 *** $file_magic_cmd, produces output that libtool cannot recognize.
8148 *** The result is that libtool may fail to recognize shared libraries
8149 *** as such. This will affect the creation of libtool libraries that
8150 *** depend on shared libraries, but programs linked with such libtool
8151 *** libraries will work regardless of this problem. Nevertheless, you
8152 *** may want to report the problem to your system manager and/or to
8153 *** bug-libtool@gnu.org
8163 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8168 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8169 if test -n "$MAGIC_CMD"; then
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8171 $as_echo "$MAGIC_CMD" >&6; }
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174 $as_echo "no" >&6; }
8187 # Use C for the default configuration in the libtool script
8191 ac_cpp
='$CPP $CPPFLAGS'
8192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8197 # Source file extension for C test sources.
8200 # Object file extension for compiled C test sources.
8204 # Code to be used in simple compile tests
8205 lt_simple_compile_test_code
="int some_variable = 0;"
8207 # Code to be used in simple link tests
8208 lt_simple_link_test_code
='int main(){return(0);}'
8216 # If no C compiler was specified, use CC.
8219 # If no C compiler flags were specified, use CFLAGS.
8220 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8222 # Allow CC to be a program name with arguments.
8225 # Save the default compiler, since it gets overwritten when the other
8226 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8227 compiler_DEFAULT
=$CC
8229 # save warnings/boilerplate of simple test code
8230 ac_outfile
=conftest.
$ac_objext
8231 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8232 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8233 _lt_compiler_boilerplate
=`cat conftest.err`
8236 ac_outfile
=conftest.
$ac_objext
8237 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8238 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8239 _lt_linker_boilerplate
=`cat conftest.err`
8244 ## There is no encapsulation within the following macros, do not change
8245 ## the running order or otherwise move them around unless you know exactly
8246 ## what you are doing...
8247 if test -n "$compiler"; then
8249 lt_prog_compiler_no_builtin_flag
=
8251 if test "$GCC" = yes; then
8252 case $cc_basename in
8254 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8256 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8260 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8261 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8262 $as_echo_n "(cached) " >&6
8264 lt_cv_prog_compiler_rtti_exceptions
=no
8265 ac_outfile
=conftest.
$ac_objext
8266 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8267 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8268 # Insert the option either (1) after the last *FLAGS variable, or
8269 # (2) before a word containing "conftest.", or (3) at the end.
8270 # Note that $ac_compile itself does not contain backslashes and begins
8271 # with a dollar sign (not a hyphen), so the echo should work correctly.
8272 # The option is referenced via a variable to avoid confusing sed.
8273 lt_compile
=`echo "$ac_compile" | $SED \
8274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8276 -e 's:$: $lt_compiler_flag:'`
8277 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8278 (eval "$lt_compile" 2>conftest.err
)
8280 cat conftest.err
>&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 if (exit $ac_status) && test -s "$ac_outfile"; then
8283 # The compiler can only warn and ignore the option if not recognized
8284 # So say no if there are warnings other than the usual output.
8285 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8286 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8287 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8288 lt_cv_prog_compiler_rtti_exceptions
=yes
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8295 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8297 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8298 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8310 lt_prog_compiler_wl
=
8311 lt_prog_compiler_pic
=
8312 lt_prog_compiler_static
=
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8315 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8317 if test "$GCC" = yes; then
8318 lt_prog_compiler_wl
='-Wl,'
8319 lt_prog_compiler_static
='-static'
8323 # All AIX code is PIC.
8324 if test "$host_cpu" = ia64
; then
8325 # AIX 5 now supports IA64 processor
8326 lt_prog_compiler_static
='-Bstatic'
8333 # see comment about AmigaOS4 .so support
8334 lt_prog_compiler_pic
='-fPIC'
8337 # FIXME: we need at least 68020 code to build shared libraries, but
8338 # adding the `-m68020' flag to GCC prevents building anything better,
8340 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8345 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8346 # PIC is the default for these OSes.
8349 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8350 # This hack is so that the source file can tell whether it is being
8351 # built for inclusion in a dll (and should export symbols for example).
8352 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8353 # (--disable-auto-import) libraries
8354 lt_prog_compiler_pic
='-DDLL_EXPORT'
8357 darwin
* | rhapsody
*)
8358 # PIC is the default on this platform
8359 # Common symbols not allowed in MH_DYLIB files
8360 lt_prog_compiler_pic
='-fno-common'
8364 # PIC is the default for Haiku.
8365 # The "-static" flag exists, but is broken.
8366 lt_prog_compiler_static
=
8370 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8371 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8372 # sets the default TLS model and affects inlining.
8378 lt_prog_compiler_pic
='-fPIC'
8384 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8385 # Instead, we relocate shared libraries at runtime.
8389 # Just because we use GCC doesn't mean we suddenly get shared libraries
8390 # on systems that don't support them.
8391 lt_prog_compiler_can_build_shared
=no
8396 # QNX uses GNU C++, but need to define -shared option too, otherwise
8398 lt_prog_compiler_pic
='-fPIC -shared'
8402 if test -d /usr
/nec
; then
8403 lt_prog_compiler_pic
=-Kconform_pic
8408 lt_prog_compiler_pic
='-fPIC'
8412 case $cc_basename in
8413 nvcc
*) # Cuda Compiler Driver 2.2
8414 lt_prog_compiler_wl
='-Xlinker '
8415 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8419 # PORTME Check for flag to pass linker flags through the system compiler.
8422 lt_prog_compiler_wl
='-Wl,'
8423 if test "$host_cpu" = ia64
; then
8424 # AIX 5 now supports IA64 processor
8425 lt_prog_compiler_static
='-Bstatic'
8427 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8431 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8432 # This hack is so that the source file can tell whether it is being
8433 # built for inclusion in a dll (and should export symbols for example).
8434 lt_prog_compiler_pic
='-DDLL_EXPORT'
8437 hpux9
* | hpux10
* | hpux11
*)
8438 lt_prog_compiler_wl
='-Wl,'
8439 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8446 lt_prog_compiler_pic
='+Z'
8449 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8450 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8453 irix5
* | irix6
* | nonstopux
*)
8454 lt_prog_compiler_wl
='-Wl,'
8455 # PIC (with -KPIC) is the default.
8456 lt_prog_compiler_static
='-non_shared'
8459 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8460 case $cc_basename in
8461 # old Intel for x86_64 which still supported -KPIC.
8463 lt_prog_compiler_wl
='-Wl,'
8464 lt_prog_compiler_pic
='-KPIC'
8465 lt_prog_compiler_static
='-static'
8467 # icc used to be incompatible with GCC.
8468 # ICC 10 doesn't accept -KPIC any more.
8470 lt_prog_compiler_wl
='-Wl,'
8471 lt_prog_compiler_pic
='-fPIC'
8472 lt_prog_compiler_static
='-static'
8474 # Lahey Fortran 8.1.
8476 lt_prog_compiler_wl
='-Wl,'
8477 lt_prog_compiler_pic
='--shared'
8478 lt_prog_compiler_static
='--static'
8480 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8481 # Portland Group compilers (*not* the Pentium gcc compiler,
8482 # which looks to be a dead project)
8483 lt_prog_compiler_wl
='-Wl,'
8484 lt_prog_compiler_pic
='-fpic'
8485 lt_prog_compiler_static
='-Bstatic'
8488 lt_prog_compiler_wl
='-Wl,'
8489 # All Alpha code is PIC.
8490 lt_prog_compiler_static
='-non_shared'
8492 xl
* | bgxl
* | bgf
* | mpixl
*)
8493 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8494 lt_prog_compiler_wl
='-Wl,'
8495 lt_prog_compiler_pic
='-qpic'
8496 lt_prog_compiler_static
='-qstaticlink'
8499 case `$CC -V 2>&1 | sed 5q` in
8500 *Sun\ F
* |
*Sun
*Fortran
*)
8501 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8502 lt_prog_compiler_pic
='-KPIC'
8503 lt_prog_compiler_static
='-Bstatic'
8504 lt_prog_compiler_wl
=''
8508 lt_prog_compiler_pic
='-KPIC'
8509 lt_prog_compiler_static
='-Bstatic'
8510 lt_prog_compiler_wl
='-Wl,'
8518 lt_prog_compiler_pic
='-KPIC'
8519 lt_prog_compiler_static
='-Bstatic'
8523 # QNX uses GNU C++, but need to define -shared option too, otherwise
8525 lt_prog_compiler_pic
='-fPIC -shared'
8528 osf3
* | osf4
* | osf5
*)
8529 lt_prog_compiler_wl
='-Wl,'
8530 # All OSF/1 code is PIC.
8531 lt_prog_compiler_static
='-non_shared'
8535 lt_prog_compiler_static
='-non_shared'
8539 lt_prog_compiler_pic
='-KPIC'
8540 lt_prog_compiler_static
='-Bstatic'
8541 case $cc_basename in
8543 lt_prog_compiler_wl
='-Qoption ld ';;
8545 lt_prog_compiler_wl
='-Wl,';;
8550 lt_prog_compiler_wl
='-Qoption ld '
8551 lt_prog_compiler_pic
='-PIC'
8552 lt_prog_compiler_static
='-Bstatic'
8555 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8556 lt_prog_compiler_wl
='-Wl,'
8557 lt_prog_compiler_pic
='-KPIC'
8558 lt_prog_compiler_static
='-Bstatic'
8562 if test -d /usr
/nec
;then
8563 lt_prog_compiler_pic
='-Kconform_pic'
8564 lt_prog_compiler_static
='-Bstatic'
8568 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8569 lt_prog_compiler_wl
='-Wl,'
8570 lt_prog_compiler_pic
='-KPIC'
8571 lt_prog_compiler_static
='-Bstatic'
8575 lt_prog_compiler_wl
='-Wl,'
8576 lt_prog_compiler_can_build_shared
=no
8580 lt_prog_compiler_pic
='-pic'
8581 lt_prog_compiler_static
='-Bstatic'
8585 lt_prog_compiler_can_build_shared
=no
8591 # For platforms which do not support PIC, -DPIC is meaningless:
8593 lt_prog_compiler_pic
=
8596 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8600 $as_echo "$lt_prog_compiler_pic" >&6; }
8608 # Check to make sure the PIC flag actually works.
8610 if test -n "$lt_prog_compiler_pic"; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8612 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8613 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8614 $as_echo_n "(cached) " >&6
8616 lt_cv_prog_compiler_pic_works
=no
8617 ac_outfile
=conftest.
$ac_objext
8618 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8619 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8620 # Insert the option either (1) after the last *FLAGS variable, or
8621 # (2) before a word containing "conftest.", or (3) at the end.
8622 # Note that $ac_compile itself does not contain backslashes and begins
8623 # with a dollar sign (not a hyphen), so the echo should work correctly.
8624 # The option is referenced via a variable to avoid confusing sed.
8625 lt_compile
=`echo "$ac_compile" | $SED \
8626 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8627 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8628 -e 's:$: $lt_compiler_flag:'`
8629 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8630 (eval "$lt_compile" 2>conftest.err
)
8632 cat conftest.err
>&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 if (exit $ac_status) && test -s "$ac_outfile"; then
8635 # The compiler can only warn and ignore the option if not recognized
8636 # So say no if there are warnings other than the usual output.
8637 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8638 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8639 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8640 lt_cv_prog_compiler_pic_works
=yes
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8647 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8649 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8650 case $lt_prog_compiler_pic in
8652 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8655 lt_prog_compiler_pic
=
8656 lt_prog_compiler_can_build_shared
=no
8667 # Check to make sure the static flag actually works.
8669 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8671 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8672 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8673 $as_echo_n "(cached) " >&6
8675 lt_cv_prog_compiler_static_works
=no
8676 save_LDFLAGS
="$LDFLAGS"
8677 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8678 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8679 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8680 # The linker can only warn and ignore the option if not recognized
8681 # So say no if there are warnings
8682 if test -s conftest.err
; then
8683 # Append any errors to the config.log.
8684 cat conftest.err
1>&5
8685 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8686 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8687 if diff conftest.exp conftest.er2
>/dev
/null
; then
8688 lt_cv_prog_compiler_static_works
=yes
8691 lt_cv_prog_compiler_static_works
=yes
8695 LDFLAGS
="$save_LDFLAGS"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8699 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8701 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8704 lt_prog_compiler_static
=
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8714 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8715 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8716 $as_echo_n "(cached) " >&6
8718 lt_cv_prog_compiler_c_o
=no
8719 $RM -r conftest
2>/dev
/null
8723 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8725 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8726 # Insert the option either (1) after the last *FLAGS variable, or
8727 # (2) before a word containing "conftest.", or (3) at the end.
8728 # Note that $ac_compile itself does not contain backslashes and begins
8729 # with a dollar sign (not a hyphen), so the echo should work correctly.
8730 lt_compile
=`echo "$ac_compile" | $SED \
8731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8733 -e 's:$: $lt_compiler_flag:'`
8734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8735 (eval "$lt_compile" 2>out
/conftest.err
)
8737 cat out
/conftest.err
>&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8741 # The compiler can only warn and ignore the option if not recognized
8742 # So say no if there are warnings
8743 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8744 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8745 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8746 lt_cv_prog_compiler_c_o
=yes
8751 # SGI C++ compiler will create directory out/ii_files/ for
8752 # template instantiation
8753 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8754 $RM out
/* && rmdir out
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8761 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8769 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8770 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8771 $as_echo_n "(cached) " >&6
8773 lt_cv_prog_compiler_c_o
=no
8774 $RM -r conftest
2>/dev
/null
8778 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8780 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8781 # Insert the option either (1) after the last *FLAGS variable, or
8782 # (2) before a word containing "conftest.", or (3) at the end.
8783 # Note that $ac_compile itself does not contain backslashes and begins
8784 # with a dollar sign (not a hyphen), so the echo should work correctly.
8785 lt_compile
=`echo "$ac_compile" | $SED \
8786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8788 -e 's:$: $lt_compiler_flag:'`
8789 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8790 (eval "$lt_compile" 2>out
/conftest.err
)
8792 cat out
/conftest.err
>&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8796 # The compiler can only warn and ignore the option if not recognized
8797 # So say no if there are warnings
8798 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8799 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8800 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8801 lt_cv_prog_compiler_c_o
=yes
8806 # SGI C++ compiler will create directory out/ii_files/ for
8807 # template instantiation
8808 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8809 $RM out
/* && rmdir out
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8816 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8821 hard_links
="nottested"
8822 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8823 # do not overwrite the value of need_locks provided by the user
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8825 $as_echo_n "checking if we can lock with hard links... " >&6; }
8828 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8830 ln conftest.a conftest.b
2>&5 || hard_links
=no
8831 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8833 $as_echo "$hard_links" >&6; }
8834 if test "$hard_links" = no
; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8836 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8849 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8852 allow_undefined_flag
=
8853 always_export_symbols
=no
8855 archive_expsym_cmds
=
8856 compiler_needs_object
=no
8857 enable_shared_with_static_runtimes
=no
8858 export_dynamic_flag_spec
=
8859 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8860 hardcode_automatic
=no
8862 hardcode_direct_absolute
=no
8863 hardcode_libdir_flag_spec
=
8864 hardcode_libdir_flag_spec_ld
=
8865 hardcode_libdir_separator
=
8867 hardcode_shlibpath_var
=unsupported
8869 link_all_deplibs
=unknown
8872 old_archive_from_new_cmds
=
8873 old_archive_from_expsyms_cmds
=
8874 thread_safe_flag_spec
=
8875 whole_archive_flag_spec
=
8876 # include_expsyms should be a list of space-separated symbols to be *always*
8877 # included in the symbol list
8879 # exclude_expsyms can be an extended regexp of symbols to exclude
8880 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8881 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8882 # as well as any symbol that contains `d'.
8883 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8884 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8885 # platforms (ab)use it in PIC code, but their linkers get confused if
8886 # the symbol is explicitly referenced. Since portable code cannot
8887 # rely on this symbol name, it's probably fine to never include it in
8888 # preloaded symbol tables.
8889 # Exclude shared library initialization/finalization symbols.
8890 extract_expsyms_cmds
=
8893 cygwin
* | mingw
* | pw32
* | cegcc
*)
8894 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8895 # When not using gcc, we currently assume that we are using
8896 # Microsoft Visual C++.
8897 if test "$GCC" != yes; then
8902 # we just hope/assume this is gcc and not c89 (= MSVC++)
8912 # On some targets, GNU ld is compatible enough with the native linker
8913 # that we're better off using the native interface for both.
8914 lt_use_gnu_ld_interface
=no
8915 if test "$with_gnu_ld" = yes; then
8918 # The AIX port of GNU ld has always aspired to compatibility
8919 # with the native linker. However, as the warning in the GNU ld
8920 # block says, versions before 2.19.5* couldn't really create working
8921 # shared libraries, regardless of the interface used.
8922 case `$LD -v 2>&1` in
8923 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8924 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8925 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8927 lt_use_gnu_ld_interface
=yes
8932 lt_use_gnu_ld_interface
=yes
8937 if test "$lt_use_gnu_ld_interface" = yes; then
8938 # If archive_cmds runs LD, not CC, wlarc should be empty
8941 # Set some defaults for GNU ld with shared library support. These
8942 # are reset later if shared libraries are not supported. Putting them
8943 # here allows them to be overridden if necessary.
8944 runpath_var
=LD_RUN_PATH
8945 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8946 export_dynamic_flag_spec
='${wl}--export-dynamic'
8947 # ancient GNU ld didn't support --whole-archive et. al.
8948 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8949 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8951 whole_archive_flag_spec
=
8953 supports_anon_versioning
=no
8954 case `$LD -v 2>&1` in
8955 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8956 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8957 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8958 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8959 *\
2.11.
*) ;; # other 2.11 versions
8960 *) supports_anon_versioning
=yes ;;
8963 # See if GNU ld supports shared libraries.
8966 # On AIX/PPC, the GNU linker is very broken
8967 if test "$host_cpu" != ia64
; then
8971 *** Warning: the GNU linker, at least up to release 2.19, is reported
8972 *** to be unable to reliably create shared libraries on AIX.
8973 *** Therefore, libtool is disabling shared libraries support. If you
8974 *** really care for shared libraries, you may want to install binutils
8975 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8976 *** You will then need to restart the configuration process.
8985 # see comment about AmigaOS4 .so support
8986 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 archive_expsym_cmds
=''
8990 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)'
8991 hardcode_libdir_flag_spec
='-L$libdir'
8992 hardcode_minus_L
=yes
8998 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8999 allow_undefined_flag
=unsupported
9000 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9001 # support --undefined. This deserves some investigation. FIXME
9002 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 cygwin
* | mingw
* | pw32
* | cegcc
*)
9009 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9010 # as there is no search path for DLLs.
9011 hardcode_libdir_flag_spec
='-L$libdir'
9012 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9013 allow_undefined_flag
=unsupported
9014 always_export_symbols
=no
9015 enable_shared_with_static_runtimes
=yes
9016 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9018 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9019 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9020 # If the export-symbols file already is a .def file (1st line
9021 # is EXPORTS), use it as is; otherwise, prepend...
9022 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9023 cp $export_symbols $output_objdir/$soname.def;
9025 echo EXPORTS > $output_objdir/$soname.def;
9026 cat $export_symbols >> $output_objdir/$soname.def;
9028 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9035 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9036 link_all_deplibs
=yes
9041 hardcode_shlibpath_var
=no
9042 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9043 export_dynamic_flag_spec
='${wl}-E'
9044 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9045 # Instead, shared libraries are loaded at an image base (0x10000000 by
9046 # default) and relocated if they conflict, which is a slow very memory
9047 # consuming and fragmenting process. To avoid this, we pick a random,
9048 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9049 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9050 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9051 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'
9054 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9056 if test "$host_os" = linux-dietlibc
; then
9057 case $cc_basename in
9058 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9061 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9062 && test "$tmp_diet" = no
9065 tmp_sharedflag
='-shared'
9066 case $cc_basename,$host_cpu in
9067 pgcc
*) # Portland Group C compiler
9068 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'
9069 tmp_addflag
=' $pic_flag'
9071 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9072 # Portland Group f77 and f90 compilers
9073 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'
9074 tmp_addflag
=' $pic_flag -Mnomain' ;;
9075 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9076 tmp_addflag
=' -i_dynamic' ;;
9077 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9078 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9079 ifc
* | ifort
*) # Intel Fortran compiler
9080 tmp_addflag
=' -nofor_main' ;;
9081 lf95
*) # Lahey Fortran 8.1
9082 whole_archive_flag_spec
=
9083 tmp_sharedflag
='--shared' ;;
9084 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9085 tmp_sharedflag
='-qmkshrobj'
9087 nvcc
*) # Cuda Compiler Driver 2.2
9088 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'
9089 compiler_needs_object
=yes
9092 case `$CC -V 2>&1 | sed 5q` in
9093 *Sun\ C
*) # Sun C 5.9
9094 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'
9095 compiler_needs_object
=yes
9096 tmp_sharedflag
='-G' ;;
9097 *Sun\ F
*) # Sun Fortran 8.3
9098 tmp_sharedflag
='-G' ;;
9100 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9102 if test "x$supports_anon_versioning" = xyes
; then
9103 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9104 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9105 echo "local: *; };" >> $output_objdir/$libname.ver~
9106 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9109 case $cc_basename in
9110 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9111 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9112 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9113 hardcode_libdir_flag_spec
=
9114 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9115 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9116 if test "x$supports_anon_versioning" = xyes
; then
9117 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9118 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9119 echo "local: *; };" >> $output_objdir/$libname.ver~
9120 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9130 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9131 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9134 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9140 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9144 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9145 *** create shared libraries on Solaris systems. Therefore, libtool
9146 *** is disabling shared libraries support. We urge you to upgrade GNU
9147 *** binutils to release 2.9.1 or newer. Another option is to modify
9148 *** your PATH or compiler configuration so that the native linker is
9149 *** used, and then restart.
9152 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9153 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9154 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9160 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9161 case `$LD -v 2>&1` in
9162 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9166 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9167 *** reliably create shared libraries on SCO systems. Therefore, libtool
9168 *** is disabling shared libraries support. We urge you to upgrade GNU
9169 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9170 *** your PATH or compiler configuration so that the native linker is
9171 *** used, and then restart.
9176 # For security reasons, it is highly recommended that you always
9177 # use absolute paths for naming shared libraries, and exclude the
9178 # DT_RUNPATH tag from executables and libraries. But doing so
9179 # requires that you compile everything twice, which is a pain.
9180 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9181 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9182 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9183 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9192 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9195 hardcode_shlibpath_var
=no
9199 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9200 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9208 if test "$ld_shlibs" = no
; then
9210 hardcode_libdir_flag_spec
=
9211 export_dynamic_flag_spec
=
9212 whole_archive_flag_spec
=
9215 # PORTME fill in a description of your system's linker (not GNU ld)
9218 allow_undefined_flag
=unsupported
9219 always_export_symbols
=yes
9220 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'
9221 # Note: this linker hardcodes the directories in LIBPATH if there
9222 # are no directories specified by -L.
9223 hardcode_minus_L
=yes
9224 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9225 # Neither direct hardcoding nor static linking is supported with a
9227 hardcode_direct
=unsupported
9232 if test "$host_cpu" = ia64
; then
9233 # On IA64, the linker does run time linking by default, so we don't
9234 # have to do anything special.
9235 aix_use_runtimelinking
=no
9236 exp_sym_flag
='-Bexport'
9239 # If we're using GNU nm, then we don't want the "-C" option.
9240 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9241 # Also, AIX nm treats weak defined symbols like other global
9242 # defined symbols, whereas GNU nm marks them as "W".
9243 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9244 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'
9246 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'
9248 aix_use_runtimelinking
=no
9250 # Test if we are trying to use run time linking or normal
9251 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9252 # need to do runtime linking.
9253 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9254 for ld_flag
in $LDFLAGS; do
9255 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9256 aix_use_runtimelinking
=yes
9263 exp_sym_flag
='-bexport'
9264 no_entry_flag
='-bnoentry'
9267 # When large executables or shared objects are built, AIX ld can
9268 # have problems creating the table of contents. If linking a library
9269 # or program results in "error TOC overflow" add -mminimal-toc to
9270 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9271 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9275 hardcode_direct_absolute
=yes
9276 hardcode_libdir_separator
=':'
9277 link_all_deplibs
=yes
9278 file_list_spec
='${wl}-f,'
9280 if test "$GCC" = yes; then
9281 case $host_os in aix4.
[012]|aix4.
[012].
*)
9282 # We only want to do this on AIX 4.2 and lower, the check
9283 # below for broken collect2 doesn't work under 4.3+
9284 collect2name
=`${CC} -print-prog-name=collect2`
9285 if test -f "$collect2name" &&
9286 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9288 # We have reworked collect2
9291 # We have old collect2
9292 hardcode_direct
=unsupported
9293 # It fails to find uninstalled libraries when the uninstalled
9294 # path is not listed in the libpath. Setting hardcode_minus_L
9295 # to unsupported forces relinking
9296 hardcode_minus_L
=yes
9297 hardcode_libdir_flag_spec
='-L$libdir'
9298 hardcode_libdir_separator
=
9302 shared_flag
='-shared'
9303 if test "$aix_use_runtimelinking" = yes; then
9304 shared_flag
="$shared_flag "'${wl}-G'
9308 if test "$host_cpu" = ia64
; then
9309 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9310 # chokes on -Wl,-G. The following line is correct:
9313 if test "$aix_use_runtimelinking" = yes; then
9314 shared_flag
='${wl}-G'
9316 shared_flag
='${wl}-bM:SRE'
9321 export_dynamic_flag_spec
='${wl}-bexpall'
9322 # It seems that -bexpall does not export symbols beginning with
9323 # underscore (_), so it is better to generate a list of symbols to export.
9324 always_export_symbols
=yes
9325 if test "$aix_use_runtimelinking" = yes; then
9326 # Warning - without using the other runtime loading flags (-brtl),
9327 # -berok will link without error, but may produce a broken library.
9328 allow_undefined_flag
='-berok'
9329 # Determine the default libpath from the value encoded in an
9331 if test x
$gcc_no_link = xyes
; then
9332 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9345 if ac_fn_c_try_link
"$LINENO"; then :
9347 lt_aix_libpath_sed
='
9348 /Import File Strings/,/^$/ {
9354 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355 # Check for a 64-bit object if we didn't find anything.
9356 if test -z "$aix_libpath"; then
9357 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9360 rm -f core conftest.err conftest.
$ac_objext \
9361 conftest
$ac_exeext conftest.
$ac_ext
9362 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9364 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9365 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"
9367 if test "$host_cpu" = ia64
; then
9368 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9369 allow_undefined_flag
="-z nodefs"
9370 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"
9372 # Determine the default libpath from the value encoded in an
9374 if test x
$gcc_no_link = xyes
; then
9375 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9388 if ac_fn_c_try_link
"$LINENO"; then :
9390 lt_aix_libpath_sed
='
9391 /Import File Strings/,/^$/ {
9397 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9398 # Check for a 64-bit object if we didn't find anything.
9399 if test -z "$aix_libpath"; then
9400 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9403 rm -f core conftest.err conftest.
$ac_objext \
9404 conftest
$ac_exeext conftest.
$ac_ext
9405 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9407 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9408 # Warning - without using the other run time loading flags,
9409 # -berok will link without error, but may produce a broken library.
9410 no_undefined_flag
=' ${wl}-bernotok'
9411 allow_undefined_flag
=' ${wl}-berok'
9412 if test "$with_gnu_ld" = yes; then
9413 # We only use this code for GNU lds that support --whole-archive.
9414 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9416 # Exported symbols can be pulled into shared objects from archives
9417 whole_archive_flag_spec
='$convenience'
9419 archive_cmds_need_lc
=yes
9420 # This is similar to how AIX traditionally builds its shared libraries.
9421 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'
9429 # see comment about AmigaOS4 .so support
9430 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds
=''
9434 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)'
9435 hardcode_libdir_flag_spec
='-L$libdir'
9436 hardcode_minus_L
=yes
9442 export_dynamic_flag_spec
=-rdynamic
9445 cygwin
* | mingw
* | pw32
* | cegcc
*)
9446 # When not using gcc, we currently assume that we are using
9447 # Microsoft Visual C++.
9448 # hardcode_libdir_flag_spec is actually meaningless, as there is
9449 # no search path for DLLs.
9450 hardcode_libdir_flag_spec
=' '
9451 allow_undefined_flag
=unsupported
9452 # Tell ltmain to make .lib files, not .a files.
9454 # Tell ltmain to make .dll files, not .so files.
9456 # FIXME: Setting linknames here is a bad hack.
9457 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9458 # The linker will automatically build a .lib file if we build a DLL.
9459 old_archive_from_new_cmds
='true'
9460 # FIXME: Should let the user specify the lib program.
9461 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9462 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9463 enable_shared_with_static_runtimes
=yes
9466 darwin
* | rhapsody
*)
9469 archive_cmds_need_lc
=no
9471 hardcode_automatic
=yes
9472 hardcode_shlibpath_var
=unsupported
9473 if test "$lt_cv_ld_force_load" = "yes"; then
9474 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\"`'
9476 whole_archive_flag_spec
=''
9478 link_all_deplibs
=yes
9479 allow_undefined_flag
="$_lt_dar_allow_undefined"
9480 case $cc_basename in
9481 ifort
*) _lt_dar_can_shared
=yes ;;
9482 *) _lt_dar_can_shared
=$GCC ;;
9484 if test "$_lt_dar_can_shared" = "yes"; then
9485 output_verbose_link_cmd
=func_echo_all
9486 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9487 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9488 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}"
9489 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}"
9498 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9499 hardcode_libdir_flag_spec
='-L$libdir'
9500 hardcode_shlibpath_var
=no
9507 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9508 # support. Future versions do this automatically, but an explicit c++rt0.o
9509 # does not break anything, and helps significantly (at the cost of a little
9512 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9513 hardcode_libdir_flag_spec
='-R$libdir'
9515 hardcode_shlibpath_var
=no
9518 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9520 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9522 hardcode_minus_L
=yes
9523 hardcode_shlibpath_var
=no
9526 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9527 freebsd
* | dragonfly
*)
9528 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9529 hardcode_libdir_flag_spec
='-R$libdir'
9531 hardcode_shlibpath_var
=no
9535 if test "$GCC" = yes; then
9536 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'
9538 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'
9540 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9541 hardcode_libdir_separator
=:
9544 # hardcode_minus_L: Not really in the search PATH,
9545 # but as the default location of the library.
9546 hardcode_minus_L
=yes
9547 export_dynamic_flag_spec
='${wl}-E'
9551 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9552 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9556 if test "$with_gnu_ld" = no
; then
9557 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9558 hardcode_libdir_flag_spec_ld
='+b $libdir'
9559 hardcode_libdir_separator
=:
9561 hardcode_direct_absolute
=yes
9562 export_dynamic_flag_spec
='${wl}-E'
9563 # hardcode_minus_L: Not really in the search PATH,
9564 # but as the default location of the library.
9565 hardcode_minus_L
=yes
9570 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9573 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9585 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9588 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9592 # Older versions of the 11.00 compiler do not understand -b yet
9593 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9595 $as_echo_n "checking if $CC understands -b... " >&6; }
9596 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9597 $as_echo_n "(cached) " >&6
9599 lt_cv_prog_compiler__b
=no
9600 save_LDFLAGS
="$LDFLAGS"
9601 LDFLAGS
="$LDFLAGS -b"
9602 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9603 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9604 # The linker can only warn and ignore the option if not recognized
9605 # So say no if there are warnings
9606 if test -s conftest.err
; then
9607 # Append any errors to the config.log.
9608 cat conftest.err
1>&5
9609 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9610 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9611 if diff conftest.exp conftest.er2
>/dev
/null
; then
9612 lt_cv_prog_compiler__b
=yes
9615 lt_cv_prog_compiler__b
=yes
9619 LDFLAGS
="$save_LDFLAGS"
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9623 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9625 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9626 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9634 if test "$with_gnu_ld" = no
; then
9635 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9636 hardcode_libdir_separator
=:
9641 hardcode_shlibpath_var
=no
9645 hardcode_direct_absolute
=yes
9646 export_dynamic_flag_spec
='${wl}-E'
9648 # hardcode_minus_L: Not really in the search PATH,
9649 # but as the default location of the library.
9650 hardcode_minus_L
=yes
9656 irix5
* | irix6
* | nonstopux
*)
9657 if test "$GCC" = yes; then
9658 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'
9659 # Try to use the -exported_symbol ld option, if it does not
9660 # work, assume that -exports_file does not work either and
9661 # implicitly export all symbols.
9662 save_LDFLAGS
="$LDFLAGS"
9663 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9664 if test x
$gcc_no_link = xyes
; then
9665 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9671 if ac_fn_c_try_link
"$LINENO"; then :
9672 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'
9675 rm -f core conftest.err conftest.
$ac_objext \
9676 conftest
$ac_exeext conftest.
$ac_ext
9677 LDFLAGS
="$save_LDFLAGS"
9679 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'
9680 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'
9682 archive_cmds_need_lc
='no'
9683 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9684 hardcode_libdir_separator
=:
9686 link_all_deplibs
=yes
9690 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9691 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9693 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9695 hardcode_libdir_flag_spec
='-R$libdir'
9697 hardcode_shlibpath_var
=no
9701 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9704 hardcode_libdir_separator
=:
9705 hardcode_shlibpath_var
=no
9712 if test -f /usr
/libexec
/ld.so
; then
9714 hardcode_shlibpath_var
=no
9715 hardcode_direct_absolute
=yes
9716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9717 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9718 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9719 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9720 export_dynamic_flag_spec
='${wl}-E'
9723 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9724 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9725 hardcode_libdir_flag_spec
='-R$libdir'
9728 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9729 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9739 hardcode_libdir_flag_spec
='-L$libdir'
9740 hardcode_minus_L
=yes
9741 allow_undefined_flag
=unsupported
9742 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'
9743 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9747 if test "$GCC" = yes; then
9748 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9749 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'
9751 allow_undefined_flag
=' -expect_unresolved \*'
9752 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'
9754 archive_cmds_need_lc
='no'
9755 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9756 hardcode_libdir_separator
=:
9759 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9760 if test "$GCC" = yes; then
9761 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9762 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'
9763 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9765 allow_undefined_flag
=' -expect_unresolved \*'
9766 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'
9767 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~
9768 $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'
9770 # Both c and cxx compiler support -rpath directly
9771 hardcode_libdir_flag_spec
='-rpath $libdir'
9773 archive_cmds_need_lc
='no'
9774 hardcode_libdir_separator
=:
9778 no_undefined_flag
=' -z defs'
9779 if test "$GCC" = yes; then
9781 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9783 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9785 case `$CC -V 2>&1` in
9788 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9789 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9790 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9794 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9795 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9796 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9800 hardcode_libdir_flag_spec
='-R$libdir'
9801 hardcode_shlibpath_var
=no
9803 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9805 # The compiler driver will combine and reorder linker options,
9806 # but understands `-z linker_flag'. GCC discards it without `$wl',
9807 # but is careful enough not to reorder.
9808 # Supported since Solaris 2.6 (maybe 2.5.1?)
9809 if test "$GCC" = yes; then
9810 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9812 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9816 link_all_deplibs
=yes
9820 if test "x$host_vendor" = xsequent
; then
9821 # Use $CC to link under sequent, because it throws in some extra .o
9822 # files that make .init and .fini sections work.
9823 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9825 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_libdir_flag_spec
='-L$libdir'
9829 hardcode_minus_L
=yes
9830 hardcode_shlibpath_var
=no
9834 case $host_vendor in
9836 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9837 hardcode_direct
=yes # is this really true???
9840 ## LD is ld it makes a PLAMLIB
9841 ## CC just makes a GrossModule.
9842 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9843 reload_cmds
='$CC -r -o $output$reload_objs'
9847 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9848 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9851 runpath_var
='LD_RUN_PATH'
9852 hardcode_shlibpath_var
=no
9856 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9857 hardcode_shlibpath_var
=no
9858 export_dynamic_flag_spec
='-Bexport'
9862 if test -d /usr
/nec
; then
9863 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864 hardcode_shlibpath_var
=no
9865 runpath_var
=LD_RUN_PATH
9866 hardcode_runpath_var
=yes
9871 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9872 no_undefined_flag
='${wl}-z,text'
9873 archive_cmds_need_lc
=no
9874 hardcode_shlibpath_var
=no
9875 runpath_var
='LD_RUN_PATH'
9877 if test "$GCC" = yes; then
9878 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 sysv5
* | sco3.2v5
* | sco5v6
*)
9887 # Note: We can NOT use -z defs as we might desire, because we do not
9888 # link with -lc, and that would cause any symbols used from libc to
9889 # always be unresolved, which means just about no library would
9890 # ever link correctly. If we're not using GNU ld we use -z text
9891 # though, which does catch some bad symbols but isn't as heavy-handed
9893 no_undefined_flag
='${wl}-z,text'
9894 allow_undefined_flag
='${wl}-z,nodefs'
9895 archive_cmds_need_lc
=no
9896 hardcode_shlibpath_var
=no
9897 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9898 hardcode_libdir_separator
=':'
9899 link_all_deplibs
=yes
9900 export_dynamic_flag_spec
='${wl}-Bexport'
9901 runpath_var
='LD_RUN_PATH'
9903 if test "$GCC" = yes; then
9904 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914 hardcode_libdir_flag_spec
='-L$libdir'
9915 hardcode_shlibpath_var
=no
9923 if test x
$host_vendor = xsni
; then
9925 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9926 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9933 $as_echo "$ld_shlibs" >&6; }
9934 test "$ld_shlibs" = no
&& can_build_shared
=no
9936 with_gnu_ld
=$with_gnu_ld
9953 # Do we need to explicitly link libc?
9955 case "x$archive_cmds_need_lc" in
9957 # Assume -lc should be added
9958 archive_cmds_need_lc
=yes
9960 if test "$enable_shared" = yes && test "$GCC" = yes; then
9961 case $archive_cmds in
9963 # FIXME: we may have to deal with multi-command sequences.
9966 # Test whether the compiler implicitly links with -lc since on some
9967 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9968 # to ld, don't add -lc before -lgcc.
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9970 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9971 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9972 $as_echo_n "(cached) " >&6
9975 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9978 (eval $ac_compile) 2>&5
9980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9981 test $ac_status = 0; } 2>conftest.err
; then
9984 libobjs
=conftest.
$ac_objext
9986 wl
=$lt_prog_compiler_wl
9987 pic_flag
=$lt_prog_compiler_pic
9993 lt_save_allow_undefined_flag
=$allow_undefined_flag
9994 allow_undefined_flag
=
9995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9996 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9999 test $ac_status = 0; }
10001 lt_cv_archive_cmds_need_lc
=no
10003 lt_cv_archive_cmds_need_lc
=yes
10005 allow_undefined_flag
=$lt_save_allow_undefined_flag
10007 cat conftest.err
1>&5
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10013 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10014 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10178 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10180 if test "$GCC" = yes; then
10182 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10183 *) lt_awk_arg
="/^libraries:/" ;;
10186 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10187 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10189 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10190 case $lt_search_path_spec in
10192 # if the path contains ";" then we assume it to be the separator
10193 # otherwise default to the standard path separator (i.e. ":") - it is
10194 # assumed that no part of a normal pathname contains ";" but that should
10195 # okay in the real world where ";" in dirpaths is itself problematic.
10196 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10199 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10202 # Ok, now we have the path, separated by spaces, we can step through it
10203 # and add multilib dir if necessary.
10204 lt_tmp_lt_search_path_spec
=
10205 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10206 for lt_sys_path
in $lt_search_path_spec; do
10207 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10208 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10210 test -d "$lt_sys_path" && \
10211 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10214 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10215 BEGIN {RS=" "; FS="/|\n";} {
10218 for (lt_i = NF; lt_i > 0; lt_i--) {
10219 if ($lt_i != "" && $lt_i != ".") {
10220 if ($lt_i == "..") {
10223 if (lt_count == 0) {
10224 lt_foo="/" $lt_i lt_foo;
10231 if (lt_foo != "") { lt_freq[lt_foo]++; }
10232 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10234 # AWK program above erroneously prepends '/' to C:/dos/paths
10237 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10238 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10240 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10242 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10244 library_names_spec
=
10245 libname_spec
='lib$name'
10249 postuninstall_cmds
=
10253 shlibpath_overrides_runpath
=unknown
10255 dynamic_linker
="$host_os ld.so"
10256 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10257 need_lib_prefix
=unknown
10258 hardcode_into_libs
=no
10260 # when you set need_version to no, make sure it does not cause -set_version
10261 # flags to be left without arguments
10262 need_version
=unknown
10267 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10268 shlibpath_var
=LIBPATH
10270 # AIX 3 has no versioning support, so we append a major version to the name.
10271 soname_spec
='${libname}${release}${shared_ext}$major'
10278 hardcode_into_libs
=yes
10279 if test "$host_cpu" = ia64
; then
10280 # AIX 5 supports IA64
10281 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10282 shlibpath_var
=LD_LIBRARY_PATH
10284 # With GCC up to 2.95.x, collect2 would create an import file
10285 # for dependence libraries. The import file would start with
10286 # the line `#! .'. This would cause the generated library to
10287 # depend on `.', always an invalid library. This was fixed in
10288 # development snapshots of GCC prior to 3.0.
10290 aix4 | aix4.
[01] | aix4.
[01].
*)
10291 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10293 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10296 can_build_shared
=no
10300 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10301 # soname into executable. Probably we can add versioning support to
10302 # collect2, so additional links can be useful in future.
10303 if test "$aix_use_runtimelinking" = yes; then
10304 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10305 # instead of lib<name>.a to let people know that these are not
10306 # typical AIX shared libraries.
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309 # We preserve .a as extension for shared libraries through AIX4.2
10310 # and later when we are not doing run time linking.
10311 library_names_spec
='${libname}${release}.a $libname.a'
10312 soname_spec
='${libname}${release}${shared_ext}$major'
10314 shlibpath_var
=LIBPATH
10321 # Since July 2007 AmigaOS4 officially supports .so libraries.
10322 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10326 library_names_spec
='$libname.ixlibrary $libname.a'
10327 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10328 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'
10334 library_names_spec
='${libname}${shared_ext}'
10335 dynamic_linker
="$host_os ld.so"
10336 shlibpath_var
=LIBRARY_PATH
10342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 soname_spec
='${libname}${release}${shared_ext}$major'
10344 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10345 shlibpath_var
=LD_LIBRARY_PATH
10346 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10347 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10348 # the default ld.so.conf also contains /usr/contrib/lib and
10349 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10350 # libtool to hard-code these into programs
10353 cygwin
* | mingw
* | pw32
* | cegcc
*)
10354 version_type
=windows
10359 case $GCC,$host_os in
10360 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10361 library_names_spec
='$libname.dll.a'
10362 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10363 postinstall_cmds
='base_file=`basename \${file}`~
10364 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10365 dldir=$destdir/`dirname \$dlpath`~
10366 test -d \$dldir || mkdir -p \$dldir~
10367 $install_prog $dir/$dlname \$dldir/$dlname~
10368 chmod a+x \$dldir/$dlname~
10369 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10370 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10372 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10373 dlpath=$dir/\$dldll~
10375 shlibpath_overrides_runpath
=yes
10379 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10380 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10382 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10385 # MinGW DLLs use traditional 'lib' prefix
10386 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10389 # pw32 DLLs use 'pw' prefix rather than 'lib'
10390 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10396 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10399 dynamic_linker
='Win32 ld.exe'
10400 # FIXME: first we should search . and the directory the executable is in
10404 darwin
* | rhapsody
*)
10405 dynamic_linker
="$host_os dyld"
10406 version_type
=darwin
10409 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10410 soname_spec
='${libname}${release}${major}$shared_ext'
10411 shlibpath_overrides_runpath
=yes
10412 shlibpath_var
=DYLD_LIBRARY_PATH
10413 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10415 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10416 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10424 soname_spec
='${libname}${release}${shared_ext}$major'
10425 shlibpath_var
=LD_LIBRARY_PATH
10432 freebsd
* | dragonfly
*)
10433 # DragonFly does not have aout. When/if they implement a new
10434 # versioning mechanism, adjust this.
10435 if test -x /usr
/bin
/objformat
; then
10436 objformat
=`/usr/bin/objformat`
10439 freebsd
[123]*) objformat
=aout
;;
10440 *) objformat
=elf
;;
10443 version_type
=freebsd-
$objformat
10444 case $version_type in
10446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10451 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10455 shlibpath_var
=LD_LIBRARY_PATH
10458 shlibpath_overrides_runpath
=yes
10460 freebsd3.
[01]* | freebsdelf3.
[01]*)
10461 shlibpath_overrides_runpath
=yes
10462 hardcode_into_libs
=yes
10464 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10465 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10466 shlibpath_overrides_runpath
=no
10467 hardcode_into_libs
=yes
10469 *) # from 4.6 on, and DragonFly
10470 shlibpath_overrides_runpath
=yes
10471 hardcode_into_libs
=yes
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10481 soname_spec
='${libname}${release}${shared_ext}$major'
10482 shlibpath_var
=LD_LIBRARY_PATH
10483 hardcode_into_libs
=yes
10490 dynamic_linker
="$host_os runtime_loader"
10491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10492 soname_spec
='${libname}${release}${shared_ext}$major'
10493 shlibpath_var
=LIBRARY_PATH
10494 shlibpath_overrides_runpath
=yes
10495 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10496 hardcode_into_libs
=yes
10499 hpux9
* | hpux10
* | hpux11
*)
10500 # Give a soname corresponding to the major version so that dld.sl refuses to
10501 # link against other versions.
10508 hardcode_into_libs
=yes
10509 dynamic_linker
="$host_os dld.so"
10510 shlibpath_var
=LD_LIBRARY_PATH
10511 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 soname_spec
='${libname}${release}${shared_ext}$major'
10514 if test "X$HPUX_IA64_MODE" = X32
; then
10515 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10517 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10519 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10523 hardcode_into_libs
=yes
10524 dynamic_linker
="$host_os dld.sl"
10525 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10526 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 soname_spec
='${libname}${release}${shared_ext}$major'
10529 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10530 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10534 dynamic_linker
="$host_os dld.sl"
10535 shlibpath_var
=SHLIB_PATH
10536 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 soname_spec
='${libname}${release}${shared_ext}$major'
10541 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10542 postinstall_cmds
='chmod 555 $lib'
10543 # or fails outright, so override atomically:
10544 install_override_mode
=555
10551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10552 soname_spec
='${libname}${release}${shared_ext}$major'
10553 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10554 shlibpath_var
=LD_LIBRARY_PATH
10555 shlibpath_overrides_runpath
=no
10556 hardcode_into_libs
=yes
10559 irix5
* | irix6
* | nonstopux
*)
10561 nonstopux
*) version_type
=nonstopux
;;
10563 if test "$lt_cv_prog_gnu_ld" = yes; then
10571 soname_spec
='${libname}${release}${shared_ext}$major'
10572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10574 irix5
* | nonstopux
*)
10575 libsuff
= shlibsuff
=
10578 case $LD in # libtool.m4 will add one of these switches to LD
10579 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10580 libsuff
= shlibsuff
= libmagic
=32-bit;;
10581 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10582 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10583 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10584 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10585 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10589 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10590 shlibpath_overrides_runpath
=no
10591 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10592 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10593 hardcode_into_libs
=yes
10596 # No shared lib support for Linux oldld, aout, or coff.
10597 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10601 # This must be Linux ELF.
10602 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607 soname_spec
='${libname}${release}${shared_ext}$major'
10608 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10609 shlibpath_var
=LD_LIBRARY_PATH
10610 shlibpath_overrides_runpath
=no
10612 # Some binutils ld are patched to set DT_RUNPATH
10613 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10614 $as_echo_n "(cached) " >&6
10616 lt_cv_shlibpath_overrides_runpath
=no
10617 save_LDFLAGS
=$LDFLAGS
10618 save_libdir
=$libdir
10619 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10620 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10621 if test x
$gcc_no_link = xyes
; then
10622 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10635 if ac_fn_c_try_link
"$LINENO"; then :
10636 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10637 lt_cv_shlibpath_overrides_runpath
=yes
10640 rm -f core conftest.err conftest.
$ac_objext \
10641 conftest
$ac_exeext conftest.
$ac_ext
10642 LDFLAGS
=$save_LDFLAGS
10643 libdir
=$save_libdir
10647 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10649 # This implies no fast_install, which is unacceptable.
10650 # Some rework will be needed to allow for fast_install
10651 # before this can be enabled.
10652 hardcode_into_libs
=yes
10654 # Append ld.so.conf contents to the search path
10655 if test -f /etc
/ld.so.conf
; then
10656 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' ' '`
10657 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10660 # We used to test for /lib/ld.so.1 and disable shared libraries on
10661 # powerpc, because MkLinux only supported shared libraries with the
10662 # GNU dynamic linker. Since this was broken with cross compilers,
10663 # most powerpc-linux boxes support dynamic linking these days and
10664 # people can always --disable-shared, the test was removed, and we
10665 # assume the GNU/Linux dynamic linker is in use.
10666 dynamic_linker
='GNU/Linux ld.so'
10673 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10675 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10676 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
10682 shlibpath_var
=LD_LIBRARY_PATH
10683 shlibpath_overrides_runpath
=yes
10684 hardcode_into_libs
=yes
10689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690 shlibpath_var
=LD_LIBRARY_PATH
10691 shlibpath_overrides_runpath
=yes
10698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699 soname_spec
='${libname}${release}${shared_ext}$major'
10700 shlibpath_var
=LD_LIBRARY_PATH
10701 shlibpath_overrides_runpath
=no
10702 hardcode_into_libs
=yes
10703 dynamic_linker
='ldqnx.so'
10708 sys_lib_dlsearch_path_spec
="/usr/lib"
10710 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10712 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10713 *) need_version
=no
;;
10715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10716 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10717 shlibpath_var
=LD_LIBRARY_PATH
10718 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10720 openbsd2.
[89] | openbsd2.
[89].
*)
10721 shlibpath_overrides_runpath
=no
10724 shlibpath_overrides_runpath
=yes
10728 shlibpath_overrides_runpath
=yes
10733 libname_spec
='$name'
10736 library_names_spec
='$libname${shared_ext} $libname.a'
10737 dynamic_linker
='OS/2 ld.exe'
10738 shlibpath_var
=LIBPATH
10741 osf3
* | osf4
* | osf5
*)
10745 soname_spec
='${libname}${release}${shared_ext}$major'
10746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10747 shlibpath_var
=LD_LIBRARY_PATH
10748 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10749 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 soname_spec
='${libname}${release}${shared_ext}$major'
10762 shlibpath_var
=LD_LIBRARY_PATH
10763 shlibpath_overrides_runpath
=yes
10764 hardcode_into_libs
=yes
10765 # ldd complains unless libraries are executable
10766 postinstall_cmds
='chmod +x $lib'
10771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10772 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10773 shlibpath_var
=LD_LIBRARY_PATH
10774 shlibpath_overrides_runpath
=yes
10775 if test "$with_gnu_ld" = yes; then
10783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784 soname_spec
='${libname}${release}${shared_ext}$major'
10785 shlibpath_var
=LD_LIBRARY_PATH
10786 case $host_vendor in
10788 shlibpath_overrides_runpath
=no
10790 runpath_var
=LD_RUN_PATH
10798 shlibpath_overrides_runpath
=no
10799 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10805 if test -d /usr
/nec
;then
10807 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10808 soname_spec
='$libname${shared_ext}.$major'
10809 shlibpath_var
=LD_LIBRARY_PATH
10813 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10814 version_type
=freebsd-elf
10817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10818 soname_spec
='${libname}${release}${shared_ext}$major'
10819 shlibpath_var
=LD_LIBRARY_PATH
10820 shlibpath_overrides_runpath
=yes
10821 hardcode_into_libs
=yes
10822 if test "$with_gnu_ld" = yes; then
10823 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10825 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10828 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10832 sys_lib_dlsearch_path_spec
='/usr/lib'
10836 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841 shlibpath_var
=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath
=no
10843 hardcode_into_libs
=yes
10848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849 soname_spec
='${libname}${release}${shared_ext}$major'
10850 shlibpath_var
=LD_LIBRARY_PATH
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10858 $as_echo "$dynamic_linker" >&6; }
10859 test "$dynamic_linker" = no
&& can_build_shared
=no
10861 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10862 if test "$GCC" = yes; then
10863 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10866 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10867 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10869 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10870 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10965 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10967 if test -n "$hardcode_libdir_flag_spec" ||
10968 test -n "$runpath_var" ||
10969 test "X$hardcode_automatic" = "Xyes" ; then
10971 # We can hardcode non-existent directories.
10972 if test "$hardcode_direct" != no
&&
10973 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10974 # have to relink, otherwise we might link with an installed library
10975 # when we should be linking with a yet-to-be-installed one
10976 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10977 test "$hardcode_minus_L" != no
; then
10978 # Linking always hardcodes the temporary library directory.
10979 hardcode_action
=relink
10981 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10982 hardcode_action
=immediate
10985 # We cannot hardcode anything, or else we can only hardcode existing
10987 hardcode_action
=unsupported
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10990 $as_echo "$hardcode_action" >&6; }
10992 if test "$hardcode_action" = relink ||
10993 test "$inherit_rpath" = yes; then
10994 # Fast installation is not supported
10995 enable_fast_install
=no
10996 elif test "$shlibpath_overrides_runpath" = yes ||
10997 test "$enable_shared" = no
; then
10998 # Fast installation is not necessary
10999 enable_fast_install
=needless
11007 if test "x$enable_dlopen" != xyes
; then
11008 enable_dlopen
=unknown
11009 enable_dlopen_self
=unknown
11010 enable_dlopen_self_static
=unknown
11017 lt_cv_dlopen
="load_add_on"
11019 lt_cv_dlopen_self
=yes
11022 mingw
* | pw32
* | cegcc
*)
11023 lt_cv_dlopen
="LoadLibrary"
11028 lt_cv_dlopen
="dlopen"
11033 # if libdl is installed we need to link against it
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11035 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11036 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11037 $as_echo_n "(cached) " >&6
11039 ac_check_lib_save_LIBS
=$LIBS
11041 if test x
$gcc_no_link = xyes
; then
11042 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11062 if ac_fn_c_try_link
"$LINENO"; then :
11063 ac_cv_lib_dl_dlopen
=yes
11065 ac_cv_lib_dl_dlopen
=no
11067 rm -f core conftest.err conftest.
$ac_objext \
11068 conftest
$ac_exeext conftest.
$ac_ext
11069 LIBS
=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11072 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11073 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11074 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11077 lt_cv_dlopen
="dyld"
11079 lt_cv_dlopen_self
=yes
11086 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11087 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11088 lt_cv_dlopen
="shl_load"
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11091 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11092 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11093 $as_echo_n "(cached) " >&6
11095 ac_check_lib_save_LIBS
=$LIBS
11097 if test x
$gcc_no_link = xyes
; then
11098 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11113 return shl_load ();
11118 if ac_fn_c_try_link
"$LINENO"; then :
11119 ac_cv_lib_dld_shl_load
=yes
11121 ac_cv_lib_dld_shl_load
=no
11123 rm -f core conftest.err conftest.
$ac_objext \
11124 conftest
$ac_exeext conftest.
$ac_ext
11125 LIBS
=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11128 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11129 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11130 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11132 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11133 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11134 lt_cv_dlopen
="dlopen"
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11137 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11139 $as_echo_n "(cached) " >&6
11141 ac_check_lib_save_LIBS
=$LIBS
11143 if test x
$gcc_no_link = xyes
; then
11144 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11164 if ac_fn_c_try_link
"$LINENO"; then :
11165 ac_cv_lib_dl_dlopen
=yes
11167 ac_cv_lib_dl_dlopen
=no
11169 rm -f core conftest.err conftest.
$ac_objext \
11170 conftest
$ac_exeext conftest.
$ac_ext
11171 LIBS
=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11174 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11175 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11176 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11179 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11180 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11181 $as_echo_n "(cached) " >&6
11183 ac_check_lib_save_LIBS
=$LIBS
11184 LIBS
="-lsvld $LIBS"
11185 if test x
$gcc_no_link = xyes
; then
11186 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11206 if ac_fn_c_try_link
"$LINENO"; then :
11207 ac_cv_lib_svld_dlopen
=yes
11209 ac_cv_lib_svld_dlopen
=no
11211 rm -f core conftest.err conftest.
$ac_objext \
11212 conftest
$ac_exeext conftest.
$ac_ext
11213 LIBS
=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11216 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11217 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11218 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11221 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11222 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11223 $as_echo_n "(cached) " >&6
11225 ac_check_lib_save_LIBS
=$LIBS
11227 if test x
$gcc_no_link = xyes
; then
11228 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11243 return dld_link ();
11248 if ac_fn_c_try_link
"$LINENO"; then :
11249 ac_cv_lib_dld_dld_link
=yes
11251 ac_cv_lib_dld_dld_link
=no
11253 rm -f core conftest.err conftest.
$ac_objext \
11254 conftest
$ac_exeext conftest.
$ac_ext
11255 LIBS
=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11258 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11259 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11260 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11281 if test "x$lt_cv_dlopen" != xno
; then
11287 case $lt_cv_dlopen in
11289 save_CPPFLAGS
="$CPPFLAGS"
11290 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11292 save_LDFLAGS
="$LDFLAGS"
11293 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11296 LIBS
="$lt_cv_dlopen_libs $LIBS"
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11299 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11300 if test "${lt_cv_dlopen_self+set}" = set; then :
11301 $as_echo_n "(cached) " >&6
11303 if test "$cross_compiling" = yes; then :
11304 lt_cv_dlopen_self
=cross
11306 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11307 lt_status
=$lt_dlunknown
11308 cat > conftest.
$ac_ext <<_LT_EOF
11309 #line 11309 "configure"
11310 #include "confdefs.h"
11319 # define LT_DLGLOBAL RTLD_GLOBAL
11322 # define LT_DLGLOBAL DL_GLOBAL
11324 # define LT_DLGLOBAL 0
11328 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11329 find out it does not work in some platform. */
11330 #ifndef LT_DLLAZY_OR_NOW
11332 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11335 # define LT_DLLAZY_OR_NOW DL_LAZY
11338 # define LT_DLLAZY_OR_NOW RTLD_NOW
11341 # define LT_DLLAZY_OR_NOW DL_NOW
11343 # define LT_DLLAZY_OR_NOW 0
11350 /* When -fvisbility=hidden is used, assume the code has been annotated
11351 correspondingly for the symbols needed. */
11352 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11353 void fnord () __attribute__((visibility("default")));
11356 void fnord () { int i=42; }
11359 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11360 int status = $lt_dlunknown;
11364 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11367 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11368 else puts (dlerror ());
11370 /* dlclose (self); */
11378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11379 (eval $ac_link) 2>&5
11381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11382 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11383 (.
/conftest
; exit; ) >&5 2>/dev
/null
11385 case x
$lt_status in
11386 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11387 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11388 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11391 # compilation failed
11392 lt_cv_dlopen_self
=no
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11400 $as_echo "$lt_cv_dlopen_self" >&6; }
11402 if test "x$lt_cv_dlopen_self" = xyes
; then
11403 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11405 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11406 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11407 $as_echo_n "(cached) " >&6
11409 if test "$cross_compiling" = yes; then :
11410 lt_cv_dlopen_self_static
=cross
11412 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11413 lt_status
=$lt_dlunknown
11414 cat > conftest.
$ac_ext <<_LT_EOF
11415 #line 11415 "configure"
11416 #include "confdefs.h"
11425 # define LT_DLGLOBAL RTLD_GLOBAL
11428 # define LT_DLGLOBAL DL_GLOBAL
11430 # define LT_DLGLOBAL 0
11434 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11435 find out it does not work in some platform. */
11436 #ifndef LT_DLLAZY_OR_NOW
11438 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11441 # define LT_DLLAZY_OR_NOW DL_LAZY
11444 # define LT_DLLAZY_OR_NOW RTLD_NOW
11447 # define LT_DLLAZY_OR_NOW DL_NOW
11449 # define LT_DLLAZY_OR_NOW 0
11456 /* When -fvisbility=hidden is used, assume the code has been annotated
11457 correspondingly for the symbols needed. */
11458 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11459 void fnord () __attribute__((visibility("default")));
11462 void fnord () { int i=42; }
11465 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11466 int status = $lt_dlunknown;
11470 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11473 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11474 else puts (dlerror ());
11476 /* dlclose (self); */
11484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11485 (eval $ac_link) 2>&5
11487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11488 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11489 (.
/conftest
; exit; ) >&5 2>/dev
/null
11491 case x
$lt_status in
11492 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11493 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11494 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11497 # compilation failed
11498 lt_cv_dlopen_self_static
=no
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11506 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11509 CPPFLAGS
="$save_CPPFLAGS"
11510 LDFLAGS
="$save_LDFLAGS"
11515 case $lt_cv_dlopen_self in
11516 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11517 *) enable_dlopen_self
=unknown
;;
11520 case $lt_cv_dlopen_self_static in
11521 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11522 *) enable_dlopen_self_static
=unknown
;;
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11545 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11546 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11547 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11548 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11550 $as_echo "yes" >&6; }
11552 # FIXME - insert some real tests, host_os isn't really good enough
11555 if test -n "$STRIP" ; then
11556 striplib
="$STRIP -x"
11557 old_striplib
="$STRIP -S"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11559 $as_echo "yes" >&6; }
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11562 $as_echo "no" >&6; }
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11567 $as_echo "no" >&6; }
11583 # Report which library types will actually be built
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11585 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11587 $as_echo "$can_build_shared" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11590 $as_echo_n "checking whether to build shared libraries... " >&6; }
11591 test "$can_build_shared" = "no" && enable_shared
=no
11593 # On AIX, shared libraries and static libraries use the same namespace, and
11594 # are all built from PIC.
11597 test "$enable_shared" = yes && enable_static
=no
11598 if test -n "$RANLIB"; then
11599 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11600 postinstall_cmds
='$RANLIB $lib'
11605 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11606 test "$enable_shared" = yes && enable_static
=no
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11611 $as_echo "$enable_shared" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11614 $as_echo_n "checking whether to build static libraries... " >&6; }
11615 # Make sure either enable_shared or enable_static is yes.
11616 test "$enable_shared" = yes || enable_static
=yes
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11618 $as_echo "$enable_static" >&6; }
11625 ac_cpp
='$CPP $CPPFLAGS'
11626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11644 ac_config_commands
="$ac_config_commands libtool"
11649 # Only expand once:
11654 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11656 # We need gfortran to compile parts of the library
11657 #AC_PROG_FC(gfortran)
11659 ac_ext
=${ac_fc_srcext-f}
11660 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11661 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11662 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11663 if test -n "$ac_tool_prefix"; then
11664 for ac_prog
in gfortran
11666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11667 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11669 $as_echo_n "checking for $ac_word... " >&6; }
11670 if test "${ac_cv_prog_FC+set}" = set; then :
11671 $as_echo_n "(cached) " >&6
11673 if test -n "$FC"; then
11674 ac_cv_prog_FC
="$FC" # Let the user override the test.
11676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11677 for as_dir
in $PATH
11680 test -z "$as_dir" && as_dir
=.
11681 for ac_exec_ext
in '' $ac_executable_extensions; do
11682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11683 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11694 if test -n "$FC"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11696 $as_echo "$FC" >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699 $as_echo "no" >&6; }
11703 test -n "$FC" && break
11706 if test -z "$FC"; then
11708 for ac_prog
in gfortran
11710 # Extract the first word of "$ac_prog", so it can be a program name with args.
11711 set dummy
$ac_prog; ac_word
=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; }
11714 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11715 $as_echo_n "(cached) " >&6
11717 if test -n "$ac_ct_FC"; then
11718 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11721 for as_dir
in $PATH
11724 test -z "$as_dir" && as_dir
=.
11725 for ac_exec_ext
in '' $ac_executable_extensions; do
11726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11727 ac_cv_prog_ac_ct_FC
="$ac_prog"
11728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11737 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11738 if test -n "$ac_ct_FC"; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11740 $as_echo "$ac_ct_FC" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11747 test -n "$ac_ct_FC" && break
11750 if test "x$ac_ct_FC" = x
; then
11753 case $cross_compiling:$ac_tool_warned in
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11757 ac_tool_warned
=yes ;;
11764 # Provide some information about the compiler.
11765 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11768 for ac_option
in --version -v -V -qversion; do
11769 { { ac_try
="$ac_compiler $ac_option >&5"
11770 case "(($ac_try" in
11771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11772 *) ac_try_echo=$ac_try;;
11774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11775 $as_echo "$ac_try_echo"; } >&5
11776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11778 if test -s conftest.err; then
11780 ... rest of stderr output deleted ...
11781 10q' conftest.err >conftest.er1
11782 cat conftest.er1 >&5
11783 rm -f conftest.er1 conftest.err
11785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11786 test $ac_status = 0; }
11790 # If we don't use `.F
' as extension, the preprocessor is not run on the
11791 # input file. (Note that this only needs to work for GNU compilers.)
11792 ac_save_ext=$ac_ext
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11795 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11796 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11797 $as_echo_n "(cached) " >&6
11799 cat > conftest.$ac_ext <<_ACEOF
11807 if ac_fn_fc_try_compile "$LINENO"; then :
11808 ac_compiler_gnu=yes
11812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11813 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11817 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11818 ac_ext=$ac_save_ext
11819 ac_test_FCFLAGS=${FCFLAGS+set}
11820 ac_save_FCFLAGS=$FCFLAGS
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11823 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11824 if test "${ac_cv_prog_fc_g+set}" = set; then :
11825 $as_echo_n "(cached) " >&6
11828 cat > conftest.$ac_ext <<_ACEOF
11833 if ac_fn_fc_try_compile "$LINENO"; then :
11834 ac_cv_prog_fc_g=yes
11838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11842 $as_echo "$ac_cv_prog_fc_g" >&6; }
11843 if test "$ac_test_FCFLAGS" = set; then
11844 FCFLAGS=$ac_save_FCFLAGS
11845 elif test $ac_cv_prog_fc_g = yes; then
11846 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11852 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11860 ac_cpp='$CPP $CPPFLAGS'
11861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11862 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11865 ac_ext=${ac_fc_srcext-f}
11866 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11867 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11868 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11871 if test -z "$FC" || test "X$FC" = "Xno"; then
11875 archive_cmds_need_lc_FC=no
11876 allow_undefined_flag_FC=
11877 always_export_symbols_FC=no
11878 archive_expsym_cmds_FC=
11879 export_dynamic_flag_spec_FC=
11880 hardcode_direct_FC=no
11881 hardcode_direct_absolute_FC=no
11882 hardcode_libdir_flag_spec_FC=
11883 hardcode_libdir_flag_spec_ld_FC=
11884 hardcode_libdir_separator_FC=
11885 hardcode_minus_L_FC=no
11886 hardcode_automatic_FC=no
11887 inherit_rpath_FC=no
11889 module_expsym_cmds_FC=
11890 link_all_deplibs_FC=unknown
11891 old_archive_cmds_FC=$old_archive_cmds
11892 reload_flag_FC=$reload_flag
11893 reload_cmds_FC=$reload_cmds
11894 no_undefined_flag_FC=
11895 whole_archive_flag_spec_FC=
11896 enable_shared_with_static_runtimes_FC=no
11898 # Source file extension for fc test sources.
11899 ac_ext=${ac_fc_srcext-f}
11901 # Object file extension for compiled fc test sources.
11905 # No sense in running all these tests if we already determined that
11906 # the FC compiler isn't working. Some variables
(like enable_shared
)
11907 # are currently assumed to apply to all compilers on this platform,
11908 # and will be corrupted by setting them based on a non-working compiler.
11909 if test "$_lt_disable_FC" != yes; then
11910 # Code to be used in simple compile tests
11911 lt_simple_compile_test_code
="\
11917 # Code to be used in simple link tests
11918 lt_simple_link_test_code
="\
11923 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11930 # If no C compiler was specified, use CC.
11933 # If no C compiler flags were specified, use CFLAGS.
11934 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11936 # Allow CC to be a program name with arguments.
11940 # save warnings/boilerplate of simple test code
11941 ac_outfile
=conftest.
$ac_objext
11942 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11943 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11944 _lt_compiler_boilerplate
=`cat conftest.err`
11947 ac_outfile
=conftest.
$ac_objext
11948 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11949 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11950 _lt_linker_boilerplate
=`cat conftest.err`
11954 # Allow CC to be a program name with arguments.
11959 GCC
=$ac_cv_fc_compiler_gnu
11962 for cc_temp
in $compiler""; do
11964 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11965 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11970 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11973 if test -n "$compiler"; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11975 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11977 $as_echo "$can_build_shared" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11980 $as_echo_n "checking whether to build shared libraries... " >&6; }
11981 test "$can_build_shared" = "no" && enable_shared
=no
11983 # On AIX, shared libraries and static libraries use the same namespace, and
11984 # are all built from PIC.
11987 test "$enable_shared" = yes && enable_static
=no
11988 if test -n "$RANLIB"; then
11989 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11990 postinstall_cmds
='$RANLIB $lib'
11994 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11995 test "$enable_shared" = yes && enable_static
=no
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12000 $as_echo "$enable_shared" >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12003 $as_echo_n "checking whether to build static libraries... " >&6; }
12004 # Make sure either enable_shared or enable_static is yes.
12005 test "$enable_shared" = yes || enable_static
=yes
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12007 $as_echo "$enable_static" >&6; }
12009 GCC_FC
="$ac_cv_fc_compiler_gnu"
12013 ## There is no encapsulation within the following macros, do not change
12014 ## the running order or otherwise move them around unless you know exactly
12015 ## what you are doing...
12016 # Dependencies to place before and after the object being linked:
12018 postdep_objects_FC
=
12021 compiler_lib_search_path_FC
=
12023 cat > conftest.
$ac_ext <<_LT_EOF
12032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12033 (eval $ac_compile) 2>&5
12035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12036 test $ac_status = 0; }; then
12037 # Parse the compiler output and extract the necessary
12038 # objects, libraries and library flags.
12040 # Sentinel used to keep track of whether or not we are before
12041 # the conftest object file.
12042 pre_test_object_deps_done
=no
12044 for p
in `eval "$output_verbose_link_cmd"`; do
12048 # Some compilers place space between "-{L,R}" and the path.
12049 # Remove the space.
12050 if test $p = "-L" ||
12051 test $p = "-R"; then
12058 if test "$pre_test_object_deps_done" = no
; then
12061 # Internal compiler library paths should come after those
12062 # provided the user. The postdeps already come after the
12063 # user supplied libs so there is no need to process them.
12064 if test -z "$compiler_lib_search_path_FC"; then
12065 compiler_lib_search_path_FC
="${prev}${p}"
12067 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
12070 # The "-l" case would never come before the object being
12071 # linked, so don't bother handling this case.
12074 if test -z "$postdeps_FC"; then
12075 postdeps_FC
="${prev}${p}"
12077 postdeps_FC
="${postdeps_FC} ${prev}${p}"
12083 # This assumes that the test object file only shows up
12084 # once in the compiler output.
12085 if test "$p" = "conftest.$objext"; then
12086 pre_test_object_deps_done
=yes
12090 if test "$pre_test_object_deps_done" = no
; then
12091 if test -z "$predep_objects_FC"; then
12092 predep_objects_FC
="$p"
12094 predep_objects_FC
="$predep_objects_FC $p"
12097 if test -z "$postdep_objects_FC"; then
12098 postdep_objects_FC
="$p"
12100 postdep_objects_FC
="$postdep_objects_FC $p"
12105 *) ;; # Ignore the rest.
12113 echo "libtool.m4: error: problem compiling FC test program"
12116 $RM -f confest.
$objext
12118 # PORTME: override above test on systems where it is broken
12121 case " $postdeps_FC " in
12122 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
12124 compiler_lib_search_dirs_FC
=
12125 if test -n "${compiler_lib_search_path_FC}"; then
12126 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12159 lt_prog_compiler_wl_FC
=
12160 lt_prog_compiler_pic_FC
=
12161 lt_prog_compiler_static_FC
=
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12164 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12166 if test "$GCC" = yes; then
12167 lt_prog_compiler_wl_FC
='-Wl,'
12168 lt_prog_compiler_static_FC
='-static'
12172 # All AIX code is PIC.
12173 if test "$host_cpu" = ia64
; then
12174 # AIX 5 now supports IA64 processor
12175 lt_prog_compiler_static_FC
='-Bstatic'
12182 # see comment about AmigaOS4 .so support
12183 lt_prog_compiler_pic_FC
='-fPIC'
12186 # FIXME: we need at least 68020 code to build shared libraries, but
12187 # adding the `-m68020' flag to GCC prevents building anything better,
12189 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12194 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12195 # PIC is the default for these OSes.
12198 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12199 # This hack is so that the source file can tell whether it is being
12200 # built for inclusion in a dll (and should export symbols for example).
12201 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12202 # (--disable-auto-import) libraries
12203 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12206 darwin
* | rhapsody
*)
12207 # PIC is the default on this platform
12208 # Common symbols not allowed in MH_DYLIB files
12209 lt_prog_compiler_pic_FC
='-fno-common'
12213 # PIC is the default for Haiku.
12214 # The "-static" flag exists, but is broken.
12215 lt_prog_compiler_static_FC
=
12219 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12220 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12221 # sets the default TLS model and affects inlining.
12227 lt_prog_compiler_pic_FC
='-fPIC'
12233 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12234 # Instead, we relocate shared libraries at runtime.
12238 # Just because we use GCC doesn't mean we suddenly get shared libraries
12239 # on systems that don't support them.
12240 lt_prog_compiler_can_build_shared_FC
=no
12245 # QNX uses GNU C++, but need to define -shared option too, otherwise
12246 # it will coredump.
12247 lt_prog_compiler_pic_FC
='-fPIC -shared'
12251 if test -d /usr
/nec
; then
12252 lt_prog_compiler_pic_FC
=-Kconform_pic
12257 lt_prog_compiler_pic_FC
='-fPIC'
12261 case $cc_basename in
12262 nvcc
*) # Cuda Compiler Driver 2.2
12263 lt_prog_compiler_wl_FC
='-Xlinker '
12264 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12268 # PORTME Check for flag to pass linker flags through the system compiler.
12271 lt_prog_compiler_wl_FC
='-Wl,'
12272 if test "$host_cpu" = ia64
; then
12273 # AIX 5 now supports IA64 processor
12274 lt_prog_compiler_static_FC
='-Bstatic'
12276 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12280 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12281 # This hack is so that the source file can tell whether it is being
12282 # built for inclusion in a dll (and should export symbols for example).
12283 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12286 hpux9
* | hpux10
* | hpux11
*)
12287 lt_prog_compiler_wl_FC
='-Wl,'
12288 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12289 # not for PA HP-UX.
12295 lt_prog_compiler_pic_FC
='+Z'
12298 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12299 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12302 irix5
* | irix6
* | nonstopux
*)
12303 lt_prog_compiler_wl_FC
='-Wl,'
12304 # PIC (with -KPIC) is the default.
12305 lt_prog_compiler_static_FC
='-non_shared'
12308 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12309 case $cc_basename in
12310 # old Intel for x86_64 which still supported -KPIC.
12312 lt_prog_compiler_wl_FC
='-Wl,'
12313 lt_prog_compiler_pic_FC
='-KPIC'
12314 lt_prog_compiler_static_FC
='-static'
12316 # icc used to be incompatible with GCC.
12317 # ICC 10 doesn't accept -KPIC any more.
12319 lt_prog_compiler_wl_FC
='-Wl,'
12320 lt_prog_compiler_pic_FC
='-fPIC'
12321 lt_prog_compiler_static_FC
='-static'
12323 # Lahey Fortran 8.1.
12325 lt_prog_compiler_wl_FC
='-Wl,'
12326 lt_prog_compiler_pic_FC
='--shared'
12327 lt_prog_compiler_static_FC
='--static'
12329 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12330 # Portland Group compilers (*not* the Pentium gcc compiler,
12331 # which looks to be a dead project)
12332 lt_prog_compiler_wl_FC
='-Wl,'
12333 lt_prog_compiler_pic_FC
='-fpic'
12334 lt_prog_compiler_static_FC
='-Bstatic'
12337 lt_prog_compiler_wl_FC
='-Wl,'
12338 # All Alpha code is PIC.
12339 lt_prog_compiler_static_FC
='-non_shared'
12341 xl
* | bgxl
* | bgf
* | mpixl
*)
12342 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12343 lt_prog_compiler_wl_FC
='-Wl,'
12344 lt_prog_compiler_pic_FC
='-qpic'
12345 lt_prog_compiler_static_FC
='-qstaticlink'
12348 case `$CC -V 2>&1 | sed 5q` in
12349 *Sun\ F
* |
*Sun
*Fortran
*)
12350 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12351 lt_prog_compiler_pic_FC
='-KPIC'
12352 lt_prog_compiler_static_FC
='-Bstatic'
12353 lt_prog_compiler_wl_FC
=''
12357 lt_prog_compiler_pic_FC
='-KPIC'
12358 lt_prog_compiler_static_FC
='-Bstatic'
12359 lt_prog_compiler_wl_FC
='-Wl,'
12367 lt_prog_compiler_pic_FC
='-KPIC'
12368 lt_prog_compiler_static_FC
='-Bstatic'
12372 # QNX uses GNU C++, but need to define -shared option too, otherwise
12373 # it will coredump.
12374 lt_prog_compiler_pic_FC
='-fPIC -shared'
12377 osf3
* | osf4
* | osf5
*)
12378 lt_prog_compiler_wl_FC
='-Wl,'
12379 # All OSF/1 code is PIC.
12380 lt_prog_compiler_static_FC
='-non_shared'
12384 lt_prog_compiler_static_FC
='-non_shared'
12388 lt_prog_compiler_pic_FC
='-KPIC'
12389 lt_prog_compiler_static_FC
='-Bstatic'
12390 case $cc_basename in
12391 f77
* | f90
* | f95
*)
12392 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12394 lt_prog_compiler_wl_FC
='-Wl,';;
12399 lt_prog_compiler_wl_FC
='-Qoption ld '
12400 lt_prog_compiler_pic_FC
='-PIC'
12401 lt_prog_compiler_static_FC
='-Bstatic'
12404 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12405 lt_prog_compiler_wl_FC
='-Wl,'
12406 lt_prog_compiler_pic_FC
='-KPIC'
12407 lt_prog_compiler_static_FC
='-Bstatic'
12411 if test -d /usr
/nec
;then
12412 lt_prog_compiler_pic_FC
='-Kconform_pic'
12413 lt_prog_compiler_static_FC
='-Bstatic'
12417 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12418 lt_prog_compiler_wl_FC
='-Wl,'
12419 lt_prog_compiler_pic_FC
='-KPIC'
12420 lt_prog_compiler_static_FC
='-Bstatic'
12424 lt_prog_compiler_wl_FC
='-Wl,'
12425 lt_prog_compiler_can_build_shared_FC
=no
12429 lt_prog_compiler_pic_FC
='-pic'
12430 lt_prog_compiler_static_FC
='-Bstatic'
12434 lt_prog_compiler_can_build_shared_FC
=no
12440 # For platforms which do not support PIC, -DPIC is meaningless:
12442 lt_prog_compiler_pic_FC
=
12445 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12449 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12454 # Check to make sure the PIC flag actually works.
12456 if test -n "$lt_prog_compiler_pic_FC"; then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12458 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12459 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12460 $as_echo_n "(cached) " >&6
12462 lt_cv_prog_compiler_pic_works_FC
=no
12463 ac_outfile
=conftest.
$ac_objext
12464 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12465 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12466 # Insert the option either (1) after the last *FLAGS variable, or
12467 # (2) before a word containing "conftest.", or (3) at the end.
12468 # Note that $ac_compile itself does not contain backslashes and begins
12469 # with a dollar sign (not a hyphen), so the echo should work correctly.
12470 # The option is referenced via a variable to avoid confusing sed.
12471 lt_compile
=`echo "$ac_compile" | $SED \
12472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12474 -e 's:$: $lt_compiler_flag:'`
12475 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12476 (eval "$lt_compile" 2>conftest.err
)
12478 cat conftest.err
>&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 if (exit $ac_status) && test -s "$ac_outfile"; then
12481 # The compiler can only warn and ignore the option if not recognized
12482 # So say no if there are warnings other than the usual output.
12483 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12484 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12485 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12486 lt_cv_prog_compiler_pic_works_FC
=yes
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12493 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12495 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12496 case $lt_prog_compiler_pic_FC in
12498 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12501 lt_prog_compiler_pic_FC
=
12502 lt_prog_compiler_can_build_shared_FC
=no
12510 # Check to make sure the static flag actually works.
12512 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12514 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12515 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12516 $as_echo_n "(cached) " >&6
12518 lt_cv_prog_compiler_static_works_FC
=no
12519 save_LDFLAGS
="$LDFLAGS"
12520 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12521 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12522 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12523 # The linker can only warn and ignore the option if not recognized
12524 # So say no if there are warnings
12525 if test -s conftest.err
; then
12526 # Append any errors to the config.log.
12527 cat conftest.err
1>&5
12528 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12529 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12530 if diff conftest.exp conftest.er2
>/dev
/null
; then
12531 lt_cv_prog_compiler_static_works_FC
=yes
12534 lt_cv_prog_compiler_static_works_FC
=yes
12538 LDFLAGS
="$save_LDFLAGS"
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12542 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12544 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12547 lt_prog_compiler_static_FC
=
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12554 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12555 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12556 $as_echo_n "(cached) " >&6
12558 lt_cv_prog_compiler_c_o_FC
=no
12559 $RM -r conftest
2>/dev
/null
12563 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12565 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12566 # Insert the option either (1) after the last *FLAGS variable, or
12567 # (2) before a word containing "conftest.", or (3) at the end.
12568 # Note that $ac_compile itself does not contain backslashes and begins
12569 # with a dollar sign (not a hyphen), so the echo should work correctly.
12570 lt_compile
=`echo "$ac_compile" | $SED \
12571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12573 -e 's:$: $lt_compiler_flag:'`
12574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12575 (eval "$lt_compile" 2>out
/conftest.err
)
12577 cat out
/conftest.err
>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12581 # The compiler can only warn and ignore the option if not recognized
12582 # So say no if there are warnings
12583 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12584 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12585 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12586 lt_cv_prog_compiler_c_o_FC
=yes
12591 # SGI C++ compiler will create directory out/ii_files/ for
12592 # template instantiation
12593 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12594 $RM out
/* && rmdir out
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12601 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12607 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12608 $as_echo_n "(cached) " >&6
12610 lt_cv_prog_compiler_c_o_FC
=no
12611 $RM -r conftest
2>/dev
/null
12615 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12617 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12618 # Insert the option either (1) after the last *FLAGS variable, or
12619 # (2) before a word containing "conftest.", or (3) at the end.
12620 # Note that $ac_compile itself does not contain backslashes and begins
12621 # with a dollar sign (not a hyphen), so the echo should work correctly.
12622 lt_compile
=`echo "$ac_compile" | $SED \
12623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12625 -e 's:$: $lt_compiler_flag:'`
12626 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12627 (eval "$lt_compile" 2>out
/conftest.err
)
12629 cat out
/conftest.err
>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12633 # The compiler can only warn and ignore the option if not recognized
12634 # So say no if there are warnings
12635 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12636 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12637 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12638 lt_cv_prog_compiler_c_o_FC
=yes
12643 # SGI C++ compiler will create directory out/ii_files/ for
12644 # template instantiation
12645 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12646 $RM out
/* && rmdir out
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12653 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12658 hard_links
="nottested"
12659 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12660 # do not overwrite the value of need_locks provided by the user
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12662 $as_echo_n "checking if we can lock with hard links... " >&6; }
12665 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12667 ln conftest.a conftest.b
2>&5 || hard_links
=no
12668 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12670 $as_echo "$hard_links" >&6; }
12671 if test "$hard_links" = no
; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12673 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12683 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12686 allow_undefined_flag_FC
=
12687 always_export_symbols_FC
=no
12689 archive_expsym_cmds_FC
=
12690 compiler_needs_object_FC
=no
12691 enable_shared_with_static_runtimes_FC
=no
12692 export_dynamic_flag_spec_FC
=
12693 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12694 hardcode_automatic_FC
=no
12695 hardcode_direct_FC
=no
12696 hardcode_direct_absolute_FC
=no
12697 hardcode_libdir_flag_spec_FC
=
12698 hardcode_libdir_flag_spec_ld_FC
=
12699 hardcode_libdir_separator_FC
=
12700 hardcode_minus_L_FC
=no
12701 hardcode_shlibpath_var_FC
=unsupported
12702 inherit_rpath_FC
=no
12703 link_all_deplibs_FC
=unknown
12705 module_expsym_cmds_FC
=
12706 old_archive_from_new_cmds_FC
=
12707 old_archive_from_expsyms_cmds_FC
=
12708 thread_safe_flag_spec_FC
=
12709 whole_archive_flag_spec_FC
=
12710 # include_expsyms should be a list of space-separated symbols to be *always*
12711 # included in the symbol list
12712 include_expsyms_FC
=
12713 # exclude_expsyms can be an extended regexp of symbols to exclude
12714 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12715 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12716 # as well as any symbol that contains `d'.
12717 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12718 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12719 # platforms (ab)use it in PIC code, but their linkers get confused if
12720 # the symbol is explicitly referenced. Since portable code cannot
12721 # rely on this symbol name, it's probably fine to never include it in
12722 # preloaded symbol tables.
12723 # Exclude shared library initialization/finalization symbols.
12724 extract_expsyms_cmds
=
12727 cygwin
* | mingw
* | pw32
* | cegcc
*)
12728 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12729 # When not using gcc, we currently assume that we are using
12730 # Microsoft Visual C++.
12731 if test "$GCC" != yes; then
12736 # we just hope/assume this is gcc and not c89 (= MSVC++)
12746 # On some targets, GNU ld is compatible enough with the native linker
12747 # that we're better off using the native interface for both.
12748 lt_use_gnu_ld_interface
=no
12749 if test "$with_gnu_ld" = yes; then
12752 # The AIX port of GNU ld has always aspired to compatibility
12753 # with the native linker. However, as the warning in the GNU ld
12754 # block says, versions before 2.19.5* couldn't really create working
12755 # shared libraries, regardless of the interface used.
12756 case `$LD -v 2>&1` in
12757 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12758 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12759 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12761 lt_use_gnu_ld_interface
=yes
12766 lt_use_gnu_ld_interface
=yes
12771 if test "$lt_use_gnu_ld_interface" = yes; then
12772 # If archive_cmds runs LD, not CC, wlarc should be empty
12775 # Set some defaults for GNU ld with shared library support. These
12776 # are reset later if shared libraries are not supported. Putting them
12777 # here allows them to be overridden if necessary.
12778 runpath_var
=LD_RUN_PATH
12779 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12780 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12781 # ancient GNU ld didn't support --whole-archive et. al.
12782 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12783 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12785 whole_archive_flag_spec_FC
=
12787 supports_anon_versioning
=no
12788 case `$LD -v 2>&1` in
12789 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12790 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12791 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12792 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12793 *\
2.11.
*) ;; # other 2.11 versions
12794 *) supports_anon_versioning
=yes ;;
12797 # See if GNU ld supports shared libraries.
12800 # On AIX/PPC, the GNU linker is very broken
12801 if test "$host_cpu" != ia64
; then
12805 *** Warning: the GNU linker, at least up to release 2.19, is reported
12806 *** to be unable to reliably create shared libraries on AIX.
12807 *** Therefore, libtool is disabling shared libraries support. If you
12808 *** really care for shared libraries, you may want to install binutils
12809 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12810 *** You will then need to restart the configuration process.
12819 # see comment about AmigaOS4 .so support
12820 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 archive_expsym_cmds_FC
=''
12824 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)'
12825 hardcode_libdir_flag_spec_FC
='-L$libdir'
12826 hardcode_minus_L_FC
=yes
12832 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12833 allow_undefined_flag_FC
=unsupported
12834 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12835 # support --undefined. This deserves some investigation. FIXME
12836 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 cygwin
* | mingw
* | pw32
* | cegcc
*)
12843 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12844 # as there is no search path for DLLs.
12845 hardcode_libdir_flag_spec_FC
='-L$libdir'
12846 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
12847 allow_undefined_flag_FC
=unsupported
12848 always_export_symbols_FC
=no
12849 enable_shared_with_static_runtimes_FC
=yes
12850 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12852 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12853 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12854 # If the export-symbols file already is a .def file (1st line
12855 # is EXPORTS), use it as is; otherwise, prepend...
12856 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12857 cp $export_symbols $output_objdir/$soname.def;
12859 echo EXPORTS > $output_objdir/$soname.def;
12860 cat $export_symbols >> $output_objdir/$soname.def;
12862 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12869 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12870 link_all_deplibs_FC
=yes
12874 hardcode_direct_FC
=no
12875 hardcode_shlibpath_var_FC
=no
12876 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12877 export_dynamic_flag_spec_FC
='${wl}-E'
12878 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12879 # Instead, shared libraries are loaded at an image base (0x10000000 by
12880 # default) and relocated if they conflict, which is a slow very memory
12881 # consuming and fragmenting process. To avoid this, we pick a random,
12882 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12883 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12884 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'
12885 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'
12888 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12890 if test "$host_os" = linux-dietlibc
; then
12891 case $cc_basename in
12892 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12895 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12896 && test "$tmp_diet" = no
12899 tmp_sharedflag
='-shared'
12900 case $cc_basename,$host_cpu in
12901 pgcc
*) # Portland Group C compiler
12902 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'
12903 tmp_addflag
=' $pic_flag'
12905 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12906 # Portland Group f77 and f90 compilers
12907 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'
12908 tmp_addflag
=' $pic_flag -Mnomain' ;;
12909 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12910 tmp_addflag
=' -i_dynamic' ;;
12911 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12912 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12913 ifc
* | ifort
*) # Intel Fortran compiler
12914 tmp_addflag
=' -nofor_main' ;;
12915 lf95
*) # Lahey Fortran 8.1
12916 whole_archive_flag_spec_FC
=
12917 tmp_sharedflag
='--shared' ;;
12918 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12919 tmp_sharedflag
='-qmkshrobj'
12921 nvcc
*) # Cuda Compiler Driver 2.2
12922 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'
12923 compiler_needs_object_FC
=yes
12926 case `$CC -V 2>&1 | sed 5q` in
12927 *Sun\ C
*) # Sun C 5.9
12928 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'
12929 compiler_needs_object_FC
=yes
12930 tmp_sharedflag
='-G' ;;
12931 *Sun\ F
*) # Sun Fortran 8.3
12932 tmp_sharedflag
='-G' ;;
12934 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes
; then
12937 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12943 case $cc_basename in
12944 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12945 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12946 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12947 hardcode_libdir_flag_spec_FC
=
12948 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12949 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12950 if test "x$supports_anon_versioning" = xyes
; then
12951 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12952 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12953 echo "local: *; };" >> $output_objdir/$libname.ver~
12954 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12964 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12965 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12968 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12969 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12974 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12978 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12979 *** create shared libraries on Solaris systems. Therefore, libtool
12980 *** is disabling shared libraries support. We urge you to upgrade GNU
12981 *** binutils to release 2.9.1 or newer. Another option is to modify
12982 *** your PATH or compiler configuration so that the native linker is
12983 *** used, and then restart.
12986 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12987 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12988 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12994 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12995 case `$LD -v 2>&1` in
12996 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13000 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13001 *** reliably create shared libraries on SCO systems. Therefore, libtool
13002 *** is disabling shared libraries support. We urge you to upgrade GNU
13003 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13004 *** your PATH or compiler configuration so that the native linker is
13005 *** used, and then restart.
13010 # For security reasons, it is highly recommended that you always
13011 # use absolute paths for naming shared libraries, and exclude the
13012 # DT_RUNPATH tag from executables and libraries. But doing so
13013 # requires that you compile everything twice, which is a pain.
13014 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13015 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13016 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13017 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13026 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13028 hardcode_direct_FC
=yes
13029 hardcode_shlibpath_var_FC
=no
13033 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13034 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13035 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13042 if test "$ld_shlibs_FC" = no
; then
13044 hardcode_libdir_flag_spec_FC
=
13045 export_dynamic_flag_spec_FC
=
13046 whole_archive_flag_spec_FC
=
13049 # PORTME fill in a description of your system's linker (not GNU ld)
13052 allow_undefined_flag_FC
=unsupported
13053 always_export_symbols_FC
=yes
13054 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'
13055 # Note: this linker hardcodes the directories in LIBPATH if there
13056 # are no directories specified by -L.
13057 hardcode_minus_L_FC
=yes
13058 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13059 # Neither direct hardcoding nor static linking is supported with a
13061 hardcode_direct_FC
=unsupported
13066 if test "$host_cpu" = ia64
; then
13067 # On IA64, the linker does run time linking by default, so we don't
13068 # have to do anything special.
13069 aix_use_runtimelinking
=no
13070 exp_sym_flag
='-Bexport'
13073 # If we're using GNU nm, then we don't want the "-C" option.
13074 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13075 # Also, AIX nm treats weak defined symbols like other global
13076 # defined symbols, whereas GNU nm marks them as "W".
13077 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13078 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'
13080 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'
13082 aix_use_runtimelinking
=no
13084 # Test if we are trying to use run time linking or normal
13085 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13086 # need to do runtime linking.
13087 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13088 for ld_flag
in $LDFLAGS; do
13089 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13090 aix_use_runtimelinking
=yes
13097 exp_sym_flag
='-bexport'
13098 no_entry_flag
='-bnoentry'
13101 # When large executables or shared objects are built, AIX ld can
13102 # have problems creating the table of contents. If linking a library
13103 # or program results in "error TOC overflow" add -mminimal-toc to
13104 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13105 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13108 hardcode_direct_FC
=yes
13109 hardcode_direct_absolute_FC
=yes
13110 hardcode_libdir_separator_FC
=':'
13111 link_all_deplibs_FC
=yes
13112 file_list_spec_FC
='${wl}-f,'
13114 if test "$GCC" = yes; then
13115 case $host_os in aix4.
[012]|aix4.
[012].
*)
13116 # We only want to do this on AIX 4.2 and lower, the check
13117 # below for broken collect2 doesn't work under 4.3+
13118 collect2name
=`${CC} -print-prog-name=collect2`
13119 if test -f "$collect2name" &&
13120 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13122 # We have reworked collect2
13125 # We have old collect2
13126 hardcode_direct_FC
=unsupported
13127 # It fails to find uninstalled libraries when the uninstalled
13128 # path is not listed in the libpath. Setting hardcode_minus_L
13129 # to unsupported forces relinking
13130 hardcode_minus_L_FC
=yes
13131 hardcode_libdir_flag_spec_FC
='-L$libdir'
13132 hardcode_libdir_separator_FC
=
13136 shared_flag
='-shared'
13137 if test "$aix_use_runtimelinking" = yes; then
13138 shared_flag
="$shared_flag "'${wl}-G'
13142 if test "$host_cpu" = ia64
; then
13143 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13144 # chokes on -Wl,-G. The following line is correct:
13147 if test "$aix_use_runtimelinking" = yes; then
13148 shared_flag
='${wl}-G'
13150 shared_flag
='${wl}-bM:SRE'
13155 export_dynamic_flag_spec_FC
='${wl}-bexpall'
13156 # It seems that -bexpall does not export symbols beginning with
13157 # underscore (_), so it is better to generate a list of symbols to export.
13158 always_export_symbols_FC
=yes
13159 if test "$aix_use_runtimelinking" = yes; then
13160 # Warning - without using the other runtime loading flags (-brtl),
13161 # -berok will link without error, but may produce a broken library.
13162 allow_undefined_flag_FC
='-berok'
13163 # Determine the default libpath from the value encoded in an
13164 # empty executable.
13165 if test x
$gcc_no_link = xyes
; then
13166 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13168 cat > conftest.
$ac_ext <<_ACEOF
13173 if ac_fn_fc_try_link
"$LINENO"; then :
13175 lt_aix_libpath_sed
='
13176 /Import File Strings/,/^$/ {
13182 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13183 # Check for a 64-bit object if we didn't find anything.
13184 if test -z "$aix_libpath"; then
13185 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13188 rm -f core conftest.err conftest.
$ac_objext \
13189 conftest
$ac_exeext conftest.
$ac_ext
13190 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13192 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13193 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"
13195 if test "$host_cpu" = ia64
; then
13196 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13197 allow_undefined_flag_FC
="-z nodefs"
13198 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"
13200 # Determine the default libpath from the value encoded in an
13201 # empty executable.
13202 if test x
$gcc_no_link = xyes
; then
13203 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13205 cat > conftest.
$ac_ext <<_ACEOF
13210 if ac_fn_fc_try_link
"$LINENO"; then :
13212 lt_aix_libpath_sed
='
13213 /Import File Strings/,/^$/ {
13219 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13220 # Check for a 64-bit object if we didn't find anything.
13221 if test -z "$aix_libpath"; then
13222 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13225 rm -f core conftest.err conftest.
$ac_objext \
13226 conftest
$ac_exeext conftest.
$ac_ext
13227 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13229 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13230 # Warning - without using the other run time loading flags,
13231 # -berok will link without error, but may produce a broken library.
13232 no_undefined_flag_FC
=' ${wl}-bernotok'
13233 allow_undefined_flag_FC
=' ${wl}-berok'
13234 if test "$with_gnu_ld" = yes; then
13235 # We only use this code for GNU lds that support --whole-archive.
13236 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13238 # Exported symbols can be pulled into shared objects from archives
13239 whole_archive_flag_spec_FC
='$convenience'
13241 archive_cmds_need_lc_FC
=yes
13242 # This is similar to how AIX traditionally builds its shared libraries.
13243 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'
13251 # see comment about AmigaOS4 .so support
13252 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13253 archive_expsym_cmds_FC
=''
13256 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)'
13257 hardcode_libdir_flag_spec_FC
='-L$libdir'
13258 hardcode_minus_L_FC
=yes
13264 export_dynamic_flag_spec_FC
=-rdynamic
13267 cygwin
* | mingw
* | pw32
* | cegcc
*)
13268 # When not using gcc, we currently assume that we are using
13269 # Microsoft Visual C++.
13270 # hardcode_libdir_flag_spec is actually meaningless, as there is
13271 # no search path for DLLs.
13272 hardcode_libdir_flag_spec_FC
=' '
13273 allow_undefined_flag_FC
=unsupported
13274 # Tell ltmain to make .lib files, not .a files.
13276 # Tell ltmain to make .dll files, not .so files.
13278 # FIXME: Setting linknames here is a bad hack.
13279 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13280 # The linker will automatically build a .lib file if we build a DLL.
13281 old_archive_from_new_cmds_FC
='true'
13282 # FIXME: Should let the user specify the lib program.
13283 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13284 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13285 enable_shared_with_static_runtimes_FC
=yes
13288 darwin
* | rhapsody
*)
13291 archive_cmds_need_lc_FC
=no
13292 hardcode_direct_FC
=no
13293 hardcode_automatic_FC
=yes
13294 hardcode_shlibpath_var_FC
=unsupported
13295 if test "$lt_cv_ld_force_load" = "yes"; then
13296 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\"`'
13298 whole_archive_flag_spec_FC
=''
13300 link_all_deplibs_FC
=yes
13301 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13302 case $cc_basename in
13303 ifort
*) _lt_dar_can_shared
=yes ;;
13304 *) _lt_dar_can_shared
=$GCC ;;
13306 if test "$_lt_dar_can_shared" = "yes"; then
13307 output_verbose_link_cmd
=func_echo_all
13308 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}"
13309 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13310 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}"
13311 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}"
13320 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13321 hardcode_libdir_flag_spec_FC
='-L$libdir'
13322 hardcode_shlibpath_var_FC
=no
13329 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13330 # support. Future versions do this automatically, but an explicit c++rt0.o
13331 # does not break anything, and helps significantly (at the cost of a little
13334 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13335 hardcode_libdir_flag_spec_FC
='-R$libdir'
13336 hardcode_direct_FC
=yes
13337 hardcode_shlibpath_var_FC
=no
13340 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13342 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13343 hardcode_direct_FC
=yes
13344 hardcode_minus_L_FC
=yes
13345 hardcode_shlibpath_var_FC
=no
13348 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13349 freebsd
* | dragonfly
*)
13350 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13351 hardcode_libdir_flag_spec_FC
='-R$libdir'
13352 hardcode_direct_FC
=yes
13353 hardcode_shlibpath_var_FC
=no
13357 if test "$GCC" = yes; then
13358 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'
13360 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'
13362 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13363 hardcode_libdir_separator_FC
=:
13364 hardcode_direct_FC
=yes
13366 # hardcode_minus_L: Not really in the search PATH,
13367 # but as the default location of the library.
13368 hardcode_minus_L_FC
=yes
13369 export_dynamic_flag_spec_FC
='${wl}-E'
13373 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13374 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13376 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13378 if test "$with_gnu_ld" = no
; then
13379 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13380 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13381 hardcode_libdir_separator_FC
=:
13382 hardcode_direct_FC
=yes
13383 hardcode_direct_absolute_FC
=yes
13384 export_dynamic_flag_spec_FC
='${wl}-E'
13385 # hardcode_minus_L: Not really in the search PATH,
13386 # but as the default location of the library.
13387 hardcode_minus_L_FC
=yes
13392 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13395 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13398 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13401 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13407 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13410 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13413 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13417 if test "$with_gnu_ld" = no
; then
13418 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13419 hardcode_libdir_separator_FC
=:
13423 hardcode_direct_FC
=no
13424 hardcode_shlibpath_var_FC
=no
13427 hardcode_direct_FC
=yes
13428 hardcode_direct_absolute_FC
=yes
13429 export_dynamic_flag_spec_FC
='${wl}-E'
13431 # hardcode_minus_L: Not really in the search PATH,
13432 # but as the default location of the library.
13433 hardcode_minus_L_FC
=yes
13439 irix5
* | irix6
* | nonstopux
*)
13440 if test "$GCC" = yes; then
13441 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'
13442 # Try to use the -exported_symbol ld option, if it does not
13443 # work, assume that -exports_file does not work either and
13444 # implicitly export all symbols.
13445 save_LDFLAGS
="$LDFLAGS"
13446 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13447 if test x
$gcc_no_link = xyes
; then
13448 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13450 cat > conftest.
$ac_ext <<_ACEOF
13453 if ac_fn_fc_try_link
"$LINENO"; then :
13454 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'
13457 rm -f core conftest.err conftest.
$ac_objext \
13458 conftest
$ac_exeext conftest.
$ac_ext
13459 LDFLAGS
="$save_LDFLAGS"
13461 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'
13462 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'
13464 archive_cmds_need_lc_FC
='no'
13465 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13466 hardcode_libdir_separator_FC
=:
13467 inherit_rpath_FC
=yes
13468 link_all_deplibs_FC
=yes
13472 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13473 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13475 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13477 hardcode_libdir_flag_spec_FC
='-R$libdir'
13478 hardcode_direct_FC
=yes
13479 hardcode_shlibpath_var_FC
=no
13483 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13484 hardcode_direct_FC
=yes
13485 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13486 hardcode_libdir_separator_FC
=:
13487 hardcode_shlibpath_var_FC
=no
13494 if test -f /usr
/libexec
/ld.so
; then
13495 hardcode_direct_FC
=yes
13496 hardcode_shlibpath_var_FC
=no
13497 hardcode_direct_absolute_FC
=yes
13498 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13499 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13500 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13501 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13502 export_dynamic_flag_spec_FC
='${wl}-E'
13505 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13506 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13507 hardcode_libdir_flag_spec_FC
='-R$libdir'
13510 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13511 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13521 hardcode_libdir_flag_spec_FC
='-L$libdir'
13522 hardcode_minus_L_FC
=yes
13523 allow_undefined_flag_FC
=unsupported
13524 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'
13525 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13529 if test "$GCC" = yes; then
13530 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13531 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'
13533 allow_undefined_flag_FC
=' -expect_unresolved \*'
13534 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'
13536 archive_cmds_need_lc_FC
='no'
13537 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13538 hardcode_libdir_separator_FC
=:
13541 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13542 if test "$GCC" = yes; then
13543 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13544 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'
13545 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13547 allow_undefined_flag_FC
=' -expect_unresolved \*'
13548 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'
13549 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~
13550 $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'
13552 # Both c and cxx compiler support -rpath directly
13553 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13555 archive_cmds_need_lc_FC
='no'
13556 hardcode_libdir_separator_FC
=:
13560 no_undefined_flag_FC
=' -z defs'
13561 if test "$GCC" = yes; then
13563 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13564 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13565 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13567 case `$CC -V 2>&1` in
13570 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13571 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13572 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13576 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13577 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13578 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13582 hardcode_libdir_flag_spec_FC
='-R$libdir'
13583 hardcode_shlibpath_var_FC
=no
13585 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13587 # The compiler driver will combine and reorder linker options,
13588 # but understands `-z linker_flag'. GCC discards it without `$wl',
13589 # but is careful enough not to reorder.
13590 # Supported since Solaris 2.6 (maybe 2.5.1?)
13591 if test "$GCC" = yes; then
13592 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13594 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13598 link_all_deplibs_FC
=yes
13602 if test "x$host_vendor" = xsequent
; then
13603 # Use $CC to link under sequent, because it throws in some extra .o
13604 # files that make .init and .fini sections work.
13605 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13607 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13609 hardcode_libdir_flag_spec_FC
='-L$libdir'
13610 hardcode_direct_FC
=yes
13611 hardcode_minus_L_FC
=yes
13612 hardcode_shlibpath_var_FC
=no
13616 case $host_vendor in
13618 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13619 hardcode_direct_FC
=yes # is this really true???
13622 ## LD is ld it makes a PLAMLIB
13623 ## CC just makes a GrossModule.
13624 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13625 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13626 hardcode_direct_FC
=no
13629 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13630 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13633 runpath_var
='LD_RUN_PATH'
13634 hardcode_shlibpath_var_FC
=no
13638 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13639 hardcode_shlibpath_var_FC
=no
13640 export_dynamic_flag_spec_FC
='-Bexport'
13644 if test -d /usr
/nec
; then
13645 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13646 hardcode_shlibpath_var_FC
=no
13647 runpath_var
=LD_RUN_PATH
13648 hardcode_runpath_var
=yes
13653 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13654 no_undefined_flag_FC
='${wl}-z,text'
13655 archive_cmds_need_lc_FC
=no
13656 hardcode_shlibpath_var_FC
=no
13657 runpath_var
='LD_RUN_PATH'
13659 if test "$GCC" = yes; then
13660 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13661 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13663 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13664 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13668 sysv5
* | sco3.2v5
* | sco5v6
*)
13669 # Note: We can NOT use -z defs as we might desire, because we do not
13670 # link with -lc, and that would cause any symbols used from libc to
13671 # always be unresolved, which means just about no library would
13672 # ever link correctly. If we're not using GNU ld we use -z text
13673 # though, which does catch some bad symbols but isn't as heavy-handed
13675 no_undefined_flag_FC
='${wl}-z,text'
13676 allow_undefined_flag_FC
='${wl}-z,nodefs'
13677 archive_cmds_need_lc_FC
=no
13678 hardcode_shlibpath_var_FC
=no
13679 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13680 hardcode_libdir_separator_FC
=':'
13681 link_all_deplibs_FC
=yes
13682 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13683 runpath_var
='LD_RUN_PATH'
13685 if test "$GCC" = yes; then
13686 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13687 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13689 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13690 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13695 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13696 hardcode_libdir_flag_spec_FC
='-L$libdir'
13697 hardcode_shlibpath_var_FC
=no
13705 if test x
$host_vendor = xsni
; then
13707 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13708 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13715 $as_echo "$ld_shlibs_FC" >&6; }
13716 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13718 with_gnu_ld_FC
=$with_gnu_ld
13726 # Do we need to explicitly link libc?
13728 case "x$archive_cmds_need_lc_FC" in
13730 # Assume -lc should be added
13731 archive_cmds_need_lc_FC
=yes
13733 if test "$enable_shared" = yes && test "$GCC" = yes; then
13734 case $archive_cmds_FC in
13736 # FIXME: we may have to deal with multi-command sequences.
13739 # Test whether the compiler implicitly links with -lc since on some
13740 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13741 # to ld, don't add -lc before -lgcc.
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13743 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13744 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13748 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13750 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13751 (eval $ac_compile) 2>&5
13753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13754 test $ac_status = 0; } 2>conftest.err
; then
13757 libobjs
=conftest.
$ac_objext
13759 wl
=$lt_prog_compiler_wl_FC
13760 pic_flag
=$lt_prog_compiler_pic_FC
13766 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13767 allow_undefined_flag_FC
=
13768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13769 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13772 test $ac_status = 0; }
13774 lt_cv_archive_cmds_need_lc_FC
=no
13776 lt_cv_archive_cmds_need_lc_FC
=yes
13778 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13780 cat conftest.err
1>&5
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13786 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13787 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13858 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13860 library_names_spec
=
13861 libname_spec
='lib$name'
13865 postuninstall_cmds
=
13869 shlibpath_overrides_runpath
=unknown
13871 dynamic_linker
="$host_os ld.so"
13872 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13873 need_lib_prefix
=unknown
13874 hardcode_into_libs
=no
13876 # when you set need_version to no, make sure it does not cause -set_version
13877 # flags to be left without arguments
13878 need_version
=unknown
13883 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13884 shlibpath_var
=LIBPATH
13886 # AIX 3 has no versioning support, so we append a major version to the name.
13887 soname_spec
='${libname}${release}${shared_ext}$major'
13894 hardcode_into_libs
=yes
13895 if test "$host_cpu" = ia64
; then
13896 # AIX 5 supports IA64
13897 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13898 shlibpath_var
=LD_LIBRARY_PATH
13900 # With GCC up to 2.95.x, collect2 would create an import file
13901 # for dependence libraries. The import file would start with
13902 # the line `#! .'. This would cause the generated library to
13903 # depend on `.', always an invalid library. This was fixed in
13904 # development snapshots of GCC prior to 3.0.
13906 aix4 | aix4.
[01] | aix4.
[01].
*)
13907 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13909 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13912 can_build_shared
=no
13916 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13917 # soname into executable. Probably we can add versioning support to
13918 # collect2, so additional links can be useful in future.
13919 if test "$aix_use_runtimelinking" = yes; then
13920 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13921 # instead of lib<name>.a to let people know that these are not
13922 # typical AIX shared libraries.
13923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13925 # We preserve .a as extension for shared libraries through AIX4.2
13926 # and later when we are not doing run time linking.
13927 library_names_spec
='${libname}${release}.a $libname.a'
13928 soname_spec
='${libname}${release}${shared_ext}$major'
13930 shlibpath_var
=LIBPATH
13937 # Since July 2007 AmigaOS4 officially supports .so libraries.
13938 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13942 library_names_spec
='$libname.ixlibrary $libname.a'
13943 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13944 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'
13950 library_names_spec
='${libname}${shared_ext}'
13951 dynamic_linker
="$host_os ld.so"
13952 shlibpath_var
=LIBRARY_PATH
13958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13959 soname_spec
='${libname}${release}${shared_ext}$major'
13960 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13961 shlibpath_var
=LD_LIBRARY_PATH
13962 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13963 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13964 # the default ld.so.conf also contains /usr/contrib/lib and
13965 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13966 # libtool to hard-code these into programs
13969 cygwin
* | mingw
* | pw32
* | cegcc
*)
13970 version_type
=windows
13975 case $GCC,$host_os in
13976 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13977 library_names_spec
='$libname.dll.a'
13978 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13979 postinstall_cmds
='base_file=`basename \${file}`~
13980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13981 dldir=$destdir/`dirname \$dlpath`~
13982 test -d \$dldir || mkdir -p \$dldir~
13983 $install_prog $dir/$dlname \$dldir/$dlname~
13984 chmod a+x \$dldir/$dlname~
13985 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13986 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13988 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13989 dlpath=$dir/\$dldll~
13991 shlibpath_overrides_runpath
=yes
13995 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13996 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14000 # MinGW DLLs use traditional 'lib' prefix
14001 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14004 # pw32 DLLs use 'pw' prefix rather than 'lib'
14005 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14011 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14014 dynamic_linker
='Win32 ld.exe'
14015 # FIXME: first we should search . and the directory the executable is in
14019 darwin
* | rhapsody
*)
14020 dynamic_linker
="$host_os dyld"
14021 version_type
=darwin
14024 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14025 soname_spec
='${libname}${release}${major}$shared_ext'
14026 shlibpath_overrides_runpath
=yes
14027 shlibpath_var
=DYLD_LIBRARY_PATH
14028 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14030 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14038 soname_spec
='${libname}${release}${shared_ext}$major'
14039 shlibpath_var
=LD_LIBRARY_PATH
14046 freebsd
* | dragonfly
*)
14047 # DragonFly does not have aout. When/if they implement a new
14048 # versioning mechanism, adjust this.
14049 if test -x /usr
/bin
/objformat
; then
14050 objformat
=`/usr/bin/objformat`
14053 freebsd
[123]*) objformat
=aout
;;
14054 *) objformat
=elf
;;
14057 version_type
=freebsd-
$objformat
14058 case $version_type in
14060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14065 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14069 shlibpath_var
=LD_LIBRARY_PATH
14072 shlibpath_overrides_runpath
=yes
14074 freebsd3.
[01]* | freebsdelf3.
[01]*)
14075 shlibpath_overrides_runpath
=yes
14076 hardcode_into_libs
=yes
14078 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14079 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14080 shlibpath_overrides_runpath
=no
14081 hardcode_into_libs
=yes
14083 *) # from 4.6 on, and DragonFly
14084 shlibpath_overrides_runpath
=yes
14085 hardcode_into_libs
=yes
14094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14095 soname_spec
='${libname}${release}${shared_ext}$major'
14096 shlibpath_var
=LD_LIBRARY_PATH
14097 hardcode_into_libs
=yes
14104 dynamic_linker
="$host_os runtime_loader"
14105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14106 soname_spec
='${libname}${release}${shared_ext}$major'
14107 shlibpath_var
=LIBRARY_PATH
14108 shlibpath_overrides_runpath
=yes
14109 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14110 hardcode_into_libs
=yes
14113 hpux9
* | hpux10
* | hpux11
*)
14114 # Give a soname corresponding to the major version so that dld.sl refuses to
14115 # link against other versions.
14122 hardcode_into_libs
=yes
14123 dynamic_linker
="$host_os dld.so"
14124 shlibpath_var
=LD_LIBRARY_PATH
14125 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14127 soname_spec
='${libname}${release}${shared_ext}$major'
14128 if test "X$HPUX_IA64_MODE" = X32
; then
14129 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14131 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14133 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14137 hardcode_into_libs
=yes
14138 dynamic_linker
="$host_os dld.sl"
14139 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14140 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14142 soname_spec
='${libname}${release}${shared_ext}$major'
14143 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14144 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14148 dynamic_linker
="$host_os dld.sl"
14149 shlibpath_var
=SHLIB_PATH
14150 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14152 soname_spec
='${libname}${release}${shared_ext}$major'
14155 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14156 postinstall_cmds
='chmod 555 $lib'
14157 # or fails outright, so override atomically:
14158 install_override_mode
=555
14165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14166 soname_spec
='${libname}${release}${shared_ext}$major'
14167 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14168 shlibpath_var
=LD_LIBRARY_PATH
14169 shlibpath_overrides_runpath
=no
14170 hardcode_into_libs
=yes
14173 irix5
* | irix6
* | nonstopux
*)
14175 nonstopux
*) version_type
=nonstopux
;;
14177 if test "$lt_cv_prog_gnu_ld" = yes; then
14185 soname_spec
='${libname}${release}${shared_ext}$major'
14186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14188 irix5
* | nonstopux
*)
14189 libsuff
= shlibsuff
=
14192 case $LD in # libtool.m4 will add one of these switches to LD
14193 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14194 libsuff
= shlibsuff
= libmagic
=32-bit;;
14195 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14196 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14197 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14198 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14199 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14203 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14204 shlibpath_overrides_runpath
=no
14205 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14206 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14207 hardcode_into_libs
=yes
14210 # No shared lib support for Linux oldld, aout, or coff.
14211 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14215 # This must be Linux ELF.
14216 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14223 shlibpath_var
=LD_LIBRARY_PATH
14224 shlibpath_overrides_runpath
=no
14226 # Some binutils ld are patched to set DT_RUNPATH
14227 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14228 $as_echo_n "(cached) " >&6
14230 lt_cv_shlibpath_overrides_runpath
=no
14231 save_LDFLAGS
=$LDFLAGS
14232 save_libdir
=$libdir
14233 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14234 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14235 if test x
$gcc_no_link = xyes
; then
14236 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14238 cat > conftest.
$ac_ext <<_ACEOF
14243 if ac_fn_fc_try_link
"$LINENO"; then :
14244 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14245 lt_cv_shlibpath_overrides_runpath
=yes
14248 rm -f core conftest.err conftest.
$ac_objext \
14249 conftest
$ac_exeext conftest.
$ac_ext
14250 LDFLAGS
=$save_LDFLAGS
14251 libdir
=$save_libdir
14255 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14257 # This implies no fast_install, which is unacceptable.
14258 # Some rework will be needed to allow for fast_install
14259 # before this can be enabled.
14260 hardcode_into_libs
=yes
14262 # Append ld.so.conf contents to the search path
14263 if test -f /etc
/ld.so.conf
; then
14264 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' ' '`
14265 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14268 # We used to test for /lib/ld.so.1 and disable shared libraries on
14269 # powerpc, because MkLinux only supported shared libraries with the
14270 # GNU dynamic linker. Since this was broken with cross compilers,
14271 # most powerpc-linux boxes support dynamic linking these days and
14272 # people can always --disable-shared, the test was removed, and we
14273 # assume the GNU/Linux dynamic linker is in use.
14274 dynamic_linker
='GNU/Linux ld.so'
14281 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14283 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14284 dynamic_linker
='NetBSD (a.out) ld.so'
14286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14287 soname_spec
='${libname}${release}${shared_ext}$major'
14288 dynamic_linker
='NetBSD ld.elf_so'
14290 shlibpath_var
=LD_LIBRARY_PATH
14291 shlibpath_overrides_runpath
=yes
14292 hardcode_into_libs
=yes
14297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298 shlibpath_var
=LD_LIBRARY_PATH
14299 shlibpath_overrides_runpath
=yes
14306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14307 soname_spec
='${libname}${release}${shared_ext}$major'
14308 shlibpath_var
=LD_LIBRARY_PATH
14309 shlibpath_overrides_runpath
=no
14310 hardcode_into_libs
=yes
14311 dynamic_linker
='ldqnx.so'
14316 sys_lib_dlsearch_path_spec
="/usr/lib"
14318 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14320 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14321 *) need_version
=no
;;
14323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14324 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14325 shlibpath_var
=LD_LIBRARY_PATH
14326 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14328 openbsd2.
[89] | openbsd2.
[89].
*)
14329 shlibpath_overrides_runpath
=no
14332 shlibpath_overrides_runpath
=yes
14336 shlibpath_overrides_runpath
=yes
14341 libname_spec
='$name'
14344 library_names_spec
='$libname${shared_ext} $libname.a'
14345 dynamic_linker
='OS/2 ld.exe'
14346 shlibpath_var
=LIBPATH
14349 osf3
* | osf4
* | osf5
*)
14353 soname_spec
='${libname}${release}${shared_ext}$major'
14354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14355 shlibpath_var
=LD_LIBRARY_PATH
14356 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14357 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14369 soname_spec
='${libname}${release}${shared_ext}$major'
14370 shlibpath_var
=LD_LIBRARY_PATH
14371 shlibpath_overrides_runpath
=yes
14372 hardcode_into_libs
=yes
14373 # ldd complains unless libraries are executable
14374 postinstall_cmds
='chmod +x $lib'
14379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14380 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14381 shlibpath_var
=LD_LIBRARY_PATH
14382 shlibpath_overrides_runpath
=yes
14383 if test "$with_gnu_ld" = yes; then
14391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14392 soname_spec
='${libname}${release}${shared_ext}$major'
14393 shlibpath_var
=LD_LIBRARY_PATH
14394 case $host_vendor in
14396 shlibpath_overrides_runpath
=no
14398 runpath_var
=LD_RUN_PATH
14406 shlibpath_overrides_runpath
=no
14407 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14413 if test -d /usr
/nec
;then
14415 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14416 soname_spec
='$libname${shared_ext}.$major'
14417 shlibpath_var
=LD_LIBRARY_PATH
14421 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14422 version_type
=freebsd-elf
14425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14426 soname_spec
='${libname}${release}${shared_ext}$major'
14427 shlibpath_var
=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath
=yes
14429 hardcode_into_libs
=yes
14430 if test "$with_gnu_ld" = yes; then
14431 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14433 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14436 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14440 sys_lib_dlsearch_path_spec
='/usr/lib'
14444 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14449 shlibpath_var
=LD_LIBRARY_PATH
14450 shlibpath_overrides_runpath
=no
14451 hardcode_into_libs
=yes
14456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14457 soname_spec
='${libname}${release}${shared_ext}$major'
14458 shlibpath_var
=LD_LIBRARY_PATH
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14466 $as_echo "$dynamic_linker" >&6; }
14467 test "$dynamic_linker" = no
&& can_build_shared
=no
14469 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14470 if test "$GCC" = yes; then
14471 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14474 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14475 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14477 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14478 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14519 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14520 hardcode_action_FC
=
14521 if test -n "$hardcode_libdir_flag_spec_FC" ||
14522 test -n "$runpath_var_FC" ||
14523 test "X$hardcode_automatic_FC" = "Xyes" ; then
14525 # We can hardcode non-existent directories.
14526 if test "$hardcode_direct_FC" != no
&&
14527 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14528 # have to relink, otherwise we might link with an installed library
14529 # when we should be linking with a yet-to-be-installed one
14530 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14531 test "$hardcode_minus_L_FC" != no
; then
14532 # Linking always hardcodes the temporary library directory.
14533 hardcode_action_FC
=relink
14535 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14536 hardcode_action_FC
=immediate
14539 # We cannot hardcode anything, or else we can only hardcode existing
14541 hardcode_action_FC
=unsupported
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14544 $as_echo "$hardcode_action_FC" >&6; }
14546 if test "$hardcode_action_FC" = relink ||
14547 test "$inherit_rpath_FC" = yes; then
14548 # Fast installation is not supported
14549 enable_fast_install
=no
14550 elif test "$shlibpath_overrides_runpath" = yes ||
14551 test "$enable_shared" = no
; then
14552 # Fast installation is not necessary
14553 enable_fast_install
=needless
14562 fi # test -n "$compiler"
14566 fi # test "$_lt_disable_FC" != yes
14569 ac_cpp
='$CPP $CPPFLAGS'
14570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14576 # extra LD Flags which are required for targets
14579 # Darwin needs -single_module when linking libgfortran
14580 extra_ldflags_libgfortran
=-Wl,-single_module
14585 # We need a working compiler at that point, otherwise give a clear
14586 # error message and bail out.
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14589 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14590 ac_ext
=${ac_fc_srcext-f}
14591 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14592 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14593 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
14595 cat > conftest.
$ac_ext <<_ACEOF
14598 real, parameter :: bar = sin (12.34 / 2.5)
14601 if ac_fn_fc_try_compile
"$LINENO"; then :
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14603 $as_echo "yes" >&6; }
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14606 $as_echo "no" >&6; }
14607 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14612 ac_cpp
='$CPP $CPPFLAGS'
14613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14619 # Check whether --enable-largefile was given.
14620 if test "${enable_largefile+set}" = set; then :
14621 enableval
=$enable_largefile;
14624 if test "$enable_largefile" != no
; then
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14627 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14628 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14629 $as_echo_n "(cached) " >&6
14631 ac_cv_sys_largefile_CC
=no
14632 if test "$GCC" != yes; then
14635 # IRIX 6.2 and later do not support large files by default,
14636 # so use the C compiler's -n32 option if that helps.
14637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 #include <sys/types.h>
14640 /* Check that off_t can represent 2**63 - 1 correctly.
14641 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14642 since some C++ compilers masquerading as C compilers
14643 incorrectly reject 9223372036854775807. */
14644 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14645 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14646 && LARGE_OFF_T % 2147483647 == 1)
14656 if ac_fn_c_try_compile
"$LINENO"; then :
14659 rm -f core conftest.err conftest.
$ac_objext
14661 if ac_fn_c_try_compile
"$LINENO"; then :
14662 ac_cv_sys_largefile_CC
=' -n32'; break
14664 rm -f core conftest.err conftest.
$ac_objext
14668 rm -f conftest.
$ac_ext
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14672 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14673 if test "$ac_cv_sys_largefile_CC" != no
; then
14674 CC
=$CC$ac_cv_sys_largefile_CC
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14678 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14679 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14680 $as_echo_n "(cached) " >&6
14683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14685 #include <sys/types.h>
14686 /* Check that off_t can represent 2**63 - 1 correctly.
14687 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14688 since some C++ compilers masquerading as C compilers
14689 incorrectly reject 9223372036854775807. */
14690 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14691 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14692 && LARGE_OFF_T % 2147483647 == 1)
14702 if ac_fn_c_try_compile
"$LINENO"; then :
14703 ac_cv_sys_file_offset_bits
=no
; break
14705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14708 #define _FILE_OFFSET_BITS 64
14709 #include <sys/types.h>
14710 /* Check that off_t can represent 2**63 - 1 correctly.
14711 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14712 since some C++ compilers masquerading as C compilers
14713 incorrectly reject 9223372036854775807. */
14714 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14715 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14716 && LARGE_OFF_T % 2147483647 == 1)
14726 if ac_fn_c_try_compile
"$LINENO"; then :
14727 ac_cv_sys_file_offset_bits
=64; break
14729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14730 ac_cv_sys_file_offset_bits
=unknown
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14735 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14736 case $ac_cv_sys_file_offset_bits in #(
14739 cat >>confdefs.h
<<_ACEOF
14740 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14745 if test $ac_cv_sys_file_offset_bits = unknown
; then
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14747 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14748 if test "${ac_cv_sys_large_files+set}" = set; then :
14749 $as_echo_n "(cached) " >&6
14752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 #include <sys/types.h>
14755 /* Check that off_t can represent 2**63 - 1 correctly.
14756 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14757 since some C++ compilers masquerading as C compilers
14758 incorrectly reject 9223372036854775807. */
14759 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14760 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14761 && LARGE_OFF_T % 2147483647 == 1)
14771 if ac_fn_c_try_compile
"$LINENO"; then :
14772 ac_cv_sys_large_files
=no
; break
14774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14777 #define _LARGE_FILES 1
14778 #include <sys/types.h>
14779 /* Check that off_t can represent 2**63 - 1 correctly.
14780 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14781 since some C++ compilers masquerading as C compilers
14782 incorrectly reject 9223372036854775807. */
14783 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14784 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14785 && LARGE_OFF_T % 2147483647 == 1)
14795 if ac_fn_c_try_compile
"$LINENO"; then :
14796 ac_cv_sys_large_files
=1; break
14798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14799 ac_cv_sys_large_files
=unknown
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14804 $as_echo "$ac_cv_sys_large_files" >&6; }
14805 case $ac_cv_sys_large_files in #(
14808 cat >>confdefs.h
<<_ACEOF
14809 #define _LARGE_FILES $ac_cv_sys_large_files
14817 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14818 if test "x$ac_cv_type_off_t" = x
""yes; then :
14822 cat >>confdefs.h
<<_ACEOF
14823 #define off_t long int
14829 # check header files
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14831 $as_echo_n "checking for ANSI C header files... " >&6; }
14832 if test "${ac_cv_header_stdc+set}" = set; then :
14833 $as_echo_n "(cached) " >&6
14835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h. */
14837 #include <stdlib.h>
14838 #include <stdarg.h>
14839 #include <string.h>
14850 if ac_fn_c_try_compile
"$LINENO"; then :
14851 ac_cv_header_stdc
=yes
14853 ac_cv_header_stdc
=no
14855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14857 if test $ac_cv_header_stdc = yes; then
14858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 #include <string.h>
14864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14865 $EGREP "memchr" >/dev
/null
2>&1; then :
14868 ac_cv_header_stdc
=no
14874 if test $ac_cv_header_stdc = yes; then
14875 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 #include <stdlib.h>
14881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14882 $EGREP "free" >/dev
/null
2>&1; then :
14885 ac_cv_header_stdc
=no
14891 if test $ac_cv_header_stdc = yes; then
14892 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14893 if test "$cross_compiling" = yes; then :
14896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14899 #include <stdlib.h>
14900 #if ((' ' & 0x0FF) == 0x020)
14901 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14902 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14904 # define ISLOWER(c) \
14905 (('a' <= (c) && (c) <= 'i') \
14906 || ('j' <= (c) && (c) <= 'r') \
14907 || ('s' <= (c) && (c) <= 'z'))
14908 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14911 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14916 for (i = 0; i < 256; i++)
14917 if (XOR (islower (i), ISLOWER (i))
14918 || toupper (i) != TOUPPER (i))
14923 if ac_fn_c_try_run
"$LINENO"; then :
14926 ac_cv_header_stdc
=no
14928 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14929 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14935 $as_echo "$ac_cv_header_stdc" >&6; }
14936 if test $ac_cv_header_stdc = yes; then
14938 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14943 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14944 if test "${ac_cv_header_time+set}" = set; then :
14945 $as_echo_n "(cached) " >&6
14947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14949 #include <sys/types.h>
14950 #include <sys/time.h>
14956 if ((struct tm *) 0)
14962 if ac_fn_c_try_compile
"$LINENO"; then :
14963 ac_cv_header_time
=yes
14965 ac_cv_header_time
=no
14967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14970 $as_echo "$ac_cv_header_time" >&6; }
14971 if test $ac_cv_header_time = yes; then
14973 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14977 for ac_header
in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14979 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14980 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14981 eval as_val
=\$
$as_ac_Header
14982 if test "x$as_val" = x
""yes; then :
14983 cat >>confdefs.h
<<_ACEOF
14984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14991 for ac_header
in time.h sys
/time.h sys
/times.h sys
/resource.h
14993 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14994 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14995 eval as_val
=\$
$as_ac_Header
14996 if test "x$as_val" = x
""yes; then :
14997 cat >>confdefs.h
<<_ACEOF
14998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15005 for ac_header
in sys
/types.h sys
/stat.h sys
/wait.h floatingpoint.h ieeefp.h
15007 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15008 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15009 eval as_val
=\$
$as_ac_Header
15010 if test "x$as_val" = x
""yes; then :
15011 cat >>confdefs.h
<<_ACEOF
15012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15019 for ac_header
in fenv.h fptrap.h float.h execinfo.h
pwd.h
15021 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15022 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15023 eval as_val
=\$
$as_ac_Header
15024 if test "x$as_val" = x
""yes; then :
15025 cat >>confdefs.h
<<_ACEOF
15026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15033 ac_fn_c_check_header_mongrel
"$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15034 if test "x$ac_cv_header_complex_h" = x
""yes; then :
15036 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15043 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15045 acx_cv_header_stdint
=stddef.h
15046 acx_cv_header_stdint_kind
="(already complete)"
15047 for i
in stdint.h
$inttype_headers; do
15048 unset ac_cv_type_uintptr_t
15049 unset ac_cv_type_uintmax_t
15050 unset ac_cv_type_int_least32_t
15051 unset ac_cv_type_int_fast32_t
15052 unset ac_cv_type_uint64_t
15053 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15054 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15057 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15058 acx_cv_header_stdint
=$i
15063 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15066 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15069 acx_cv_header_stdint_kind
="(mostly complete)"
15072 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15075 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15078 acx_cv_header_stdint_kind
="(mostly complete)"
15081 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15084 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15087 acx_cv_header_stdint_kind
="(mostly complete)"
15090 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15093 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15096 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15101 if test "$acx_cv_header_stdint" = stddef.h
; then
15102 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15103 for i
in stdint.h
$inttype_headers; do
15104 unset ac_cv_type_uintptr_t
15105 unset ac_cv_type_uint32_t
15106 unset ac_cv_type_uint64_t
15107 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15108 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15111 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15112 acx_cv_header_stdint
=$i
15117 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15120 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15124 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15127 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15134 if test "$acx_cv_header_stdint" = stddef.h
; then
15135 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15136 for i
in sys
/types.h
$inttype_headers; do
15137 unset ac_cv_type_u_int32_t
15138 unset ac_cv_type_u_int64_t
15139 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15140 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15143 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15144 acx_cv_header_stdint
=$i
15149 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15152 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15159 if test "$acx_cv_header_stdint" = stddef.h
; then
15160 acx_cv_header_stdint_kind
="(using manual detection)"
15163 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15164 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15165 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15166 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15167 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15169 # ----------------- Summarize what we found so far
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15172 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15174 case `$as_basename -- gstdint.h ||
15175 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15176 Xgstdint.h : 'X\(//\)$' \| \
15177 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15178 $as_echo X/gstdint.h |
15179 sed '/^.*\/\([^/][^/]*\)\/*$/{
15192 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15193 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15194 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15195 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15200 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15202 # ----------------- done included file, check C basic types --------
15204 # Lacking an uintptr_t? Test size of void *
15205 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15206 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15209 # This bug is HP SR number 8606223364.
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15211 $as_echo_n "checking size of void *... " >&6; }
15212 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15213 $as_echo_n "(cached) " >&6
15215 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15218 if test "$ac_cv_type_void_p" = yes; then
15219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15221 { as_fn_set_status
77
15222 as_fn_error
"cannot compute sizeof (void *)
15223 See \`config.log' for more details." "$LINENO" 5; }; }
15225 ac_cv_sizeof_void_p
=0
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15231 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15235 cat >>confdefs.h
<<_ACEOF
15236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15242 # Lacking an uint64_t? Test size of long
15243 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15244 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15247 # This bug is HP SR number 8606223364.
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15249 $as_echo_n "checking size of long... " >&6; }
15250 if test "${ac_cv_sizeof_long+set}" = set; then :
15251 $as_echo_n "(cached) " >&6
15253 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15256 if test "$ac_cv_type_long" = yes; then
15257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15259 { as_fn_set_status
77
15260 as_fn_error
"cannot compute sizeof (long)
15261 See \`config.log' for more details." "$LINENO" 5; }; }
15263 ac_cv_sizeof_long
=0
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15269 $as_echo "$ac_cv_sizeof_long" >&6; }
15273 cat >>confdefs.h
<<_ACEOF
15274 #define SIZEOF_LONG $ac_cv_sizeof_long
15280 if test $acx_cv_header_stdint = stddef.h
; then
15281 # Lacking a good header? Test size of everything and deduce all types.
15282 # The cast to long int works around a bug in the HP C Compiler
15283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15285 # This bug is HP SR number 8606223364.
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15287 $as_echo_n "checking size of int... " >&6; }
15288 if test "${ac_cv_sizeof_int+set}" = set; then :
15289 $as_echo_n "(cached) " >&6
15291 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15294 if test "$ac_cv_type_int" = yes; then
15295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15297 { as_fn_set_status
77
15298 as_fn_error
"cannot compute sizeof (int)
15299 See \`config.log' for more details." "$LINENO" 5; }; }
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15307 $as_echo "$ac_cv_sizeof_int" >&6; }
15311 cat >>confdefs.h
<<_ACEOF
15312 #define SIZEOF_INT $ac_cv_sizeof_int
15316 # The cast to long int works around a bug in the HP C Compiler
15317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15319 # This bug is HP SR number 8606223364.
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15321 $as_echo_n "checking size of short... " >&6; }
15322 if test "${ac_cv_sizeof_short+set}" = set; then :
15323 $as_echo_n "(cached) " >&6
15325 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15328 if test "$ac_cv_type_short" = yes; then
15329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15331 { as_fn_set_status
77
15332 as_fn_error
"cannot compute sizeof (short)
15333 See \`config.log' for more details." "$LINENO" 5; }; }
15335 ac_cv_sizeof_short
=0
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15341 $as_echo "$ac_cv_sizeof_short" >&6; }
15345 cat >>confdefs.h
<<_ACEOF
15346 #define SIZEOF_SHORT $ac_cv_sizeof_short
15350 # The cast to long int works around a bug in the HP C Compiler
15351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15353 # This bug is HP SR number 8606223364.
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15355 $as_echo_n "checking size of char... " >&6; }
15356 if test "${ac_cv_sizeof_char+set}" = set; then :
15357 $as_echo_n "(cached) " >&6
15359 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15362 if test "$ac_cv_type_char" = yes; then
15363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15365 { as_fn_set_status
77
15366 as_fn_error
"cannot compute sizeof (char)
15367 See \`config.log' for more details." "$LINENO" 5; }; }
15369 ac_cv_sizeof_char
=0
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15375 $as_echo "$ac_cv_sizeof_char" >&6; }
15379 cat >>confdefs.h
<<_ACEOF
15380 #define SIZEOF_CHAR $ac_cv_sizeof_char
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15386 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15387 case "$ac_cv_sizeof_char" in
15388 1) acx_cv_type_int8_t
=char
;;
15389 *) { as_fn_set_status please report a bug
15390 as_fn_error
"no 8-bit type" "$LINENO" 5; }
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15393 $as_echo "$acx_cv_type_int8_t" >&6; }
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15396 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15397 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15398 2:*) acx_cv_type_int16_t
=int
;;
15399 *:2) acx_cv_type_int16_t
=short
;;
15400 *) { as_fn_set_status please report a bug
15401 as_fn_error
"no 16-bit type" "$LINENO" 5; }
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15404 $as_echo "$acx_cv_type_int16_t" >&6; }
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15407 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15408 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15409 4:*) acx_cv_type_int32_t
=int
;;
15410 *:4) acx_cv_type_int32_t
=long
;;
15411 *) { as_fn_set_status please report a bug
15412 as_fn_error
"no 32-bit type" "$LINENO" 5; }
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15415 $as_echo "$acx_cv_type_int32_t" >&6; }
15418 # These tests are here to make the output prettier
15420 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15421 case "$ac_cv_sizeof_long" in
15422 8) acx_cv_type_int64_t
=long
;;
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15425 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15427 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15430 # Now we can use the above types
15432 if test "$ac_cv_type_uintptr_t" != yes; then
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15434 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15435 case $ac_cv_sizeof_void_p in
15436 2) acx_cv_type_intptr_t
=int16_t
;;
15437 4) acx_cv_type_intptr_t
=int32_t
;;
15438 8) acx_cv_type_intptr_t
=int64_t
;;
15439 *) { as_fn_set_status please report a bug
15440 as_fn_error
"no equivalent for intptr_t" "$LINENO" 5; }
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15443 $as_echo "$acx_cv_type_intptr_t" >&6; }
15446 # ----------------- done all checks, emit header -------------
15447 ac_config_commands
="$ac_config_commands gstdint.h"
15452 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15453 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
15455 cat >>confdefs.h
<<_ACEOF
15456 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15462 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15463 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
15465 cat >>confdefs.h
<<_ACEOF
15466 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15472 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15473 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
15475 cat >>confdefs.h
<<_ACEOF
15476 #define HAVE_STRUCT_STAT_ST_RDEV 1
15483 # Check for library functions.
15484 for ac_func
in getrusage
times mkstemp strtof strtold snprintf ftruncate chsize
15486 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15487 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15488 eval as_val
=\$
$as_ac_var
15489 if test "x$as_val" = x
""yes; then :
15490 cat >>confdefs.h
<<_ACEOF
15491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15497 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
15499 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15500 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15501 eval as_val
=\$
$as_ac_var
15502 if test "x$as_val" = x
""yes; then :
15503 cat >>confdefs.h
<<_ACEOF
15504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15510 for ac_func
in sleep time ttyname signal alarm ctime
clock access fork execl
15512 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15513 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15514 eval as_val
=\$
$as_ac_var
15515 if test "x$as_val" = x
""yes; then :
15516 cat >>confdefs.h
<<_ACEOF
15517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15523 for ac_func
in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15525 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15526 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15527 eval as_val
=\$
$as_ac_var
15528 if test "x$as_val" = x
""yes; then :
15529 cat >>confdefs.h
<<_ACEOF
15530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15536 for ac_func
in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15538 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15539 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15540 eval as_val
=\$
$as_ac_var
15541 if test "x$as_val" = x
""yes; then :
15542 cat >>confdefs.h
<<_ACEOF
15543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15549 for ac_func
in localtime_r gmtime_r
15551 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15552 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15553 eval as_val
=\$
$as_ac_var
15554 if test "x$as_val" = x
""yes; then :
15555 cat >>confdefs.h
<<_ACEOF
15556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15563 # Check for glibc backtrace functions
15564 for ac_func
in backtrace backtrace_symbols
15566 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15567 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15568 eval as_val
=\$
$as_ac_var
15569 if test "x$as_val" = x
""yes; then :
15570 cat >>confdefs.h
<<_ACEOF
15571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15579 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15580 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15582 cat >>confdefs.h
<<_ACEOF
15583 #define HAVE_INTPTR_T 1
15589 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15590 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15592 cat >>confdefs.h
<<_ACEOF
15593 #define HAVE_UINTPTR_T 1
15600 # Check libc for getgid, getpid, getuid
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15602 $as_echo_n "checking for getgid in -lc... " >&6; }
15603 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15604 $as_echo_n "(cached) " >&6
15606 ac_check_lib_save_LIBS
=$LIBS
15608 if test x
$gcc_no_link = xyes
; then
15609 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15614 /* Override any GCC internal prototype to avoid an error.
15615 Use char because int might match the return type of a GCC
15616 builtin and then its argument prototype would still apply. */
15629 if ac_fn_c_try_link
"$LINENO"; then :
15630 ac_cv_lib_c_getgid
=yes
15632 ac_cv_lib_c_getgid
=no
15634 rm -f core conftest.err conftest.
$ac_objext \
15635 conftest
$ac_exeext conftest.
$ac_ext
15636 LIBS
=$ac_check_lib_save_LIBS
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15639 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15640 if test "x$ac_cv_lib_c_getgid" = x
""yes; then :
15642 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15647 $as_echo_n "checking for getpid in -lc... " >&6; }
15648 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15649 $as_echo_n "(cached) " >&6
15651 ac_check_lib_save_LIBS
=$LIBS
15653 if test x
$gcc_no_link = xyes
; then
15654 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15659 /* Override any GCC internal prototype to avoid an error.
15660 Use char because int might match the return type of a GCC
15661 builtin and then its argument prototype would still apply. */
15674 if ac_fn_c_try_link
"$LINENO"; then :
15675 ac_cv_lib_c_getpid
=yes
15677 ac_cv_lib_c_getpid
=no
15679 rm -f core conftest.err conftest.
$ac_objext \
15680 conftest
$ac_exeext conftest.
$ac_ext
15681 LIBS
=$ac_check_lib_save_LIBS
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15684 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15685 if test "x$ac_cv_lib_c_getpid" = x
""yes; then :
15687 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15692 $as_echo_n "checking for getppid in -lc... " >&6; }
15693 if test "${ac_cv_lib_c_getppid+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_getppid
=yes
15722 ac_cv_lib_c_getppid
=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_getppid" >&5
15729 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15730 if test "x$ac_cv_lib_c_getppid" = x
""yes; then :
15732 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15737 $as_echo_n "checking for getuid in -lc... " >&6; }
15738 if test "${ac_cv_lib_c_getuid+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_getuid
=yes
15767 ac_cv_lib_c_getuid
=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_getuid" >&5
15774 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15775 if test "x$ac_cv_lib_c_getuid" = x
""yes; then :
15777 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15782 $as_echo_n "checking for geteuid in -lc... " >&6; }
15783 if test "${ac_cv_lib_c_geteuid+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_geteuid
=yes
15812 ac_cv_lib_c_geteuid
=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_geteuid" >&5
15819 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15820 if test "x$ac_cv_lib_c_geteuid" = x
""yes; then :
15822 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15827 # Check for C99 (and other IEEE) math functions
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15829 $as_echo_n "checking for acosf in -lm... " >&6; }
15830 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15831 $as_echo_n "(cached) " >&6
15833 ac_check_lib_save_LIBS
=$LIBS
15835 if test x
$gcc_no_link = xyes
; then
15836 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15841 /* Override any GCC internal prototype to avoid an error.
15842 Use char because int might match the return type of a GCC
15843 builtin and then its argument prototype would still apply. */
15856 if ac_fn_c_try_link
"$LINENO"; then :
15857 ac_cv_lib_m_acosf
=yes
15859 ac_cv_lib_m_acosf
=no
15861 rm -f core conftest.err conftest.
$ac_objext \
15862 conftest
$ac_exeext conftest.
$ac_ext
15863 LIBS
=$ac_check_lib_save_LIBS
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15866 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15867 if test "x$ac_cv_lib_m_acosf" = x
""yes; then :
15869 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15874 $as_echo_n "checking for acos in -lm... " >&6; }
15875 if test "${ac_cv_lib_m_acos+set}" = set; then :
15876 $as_echo_n "(cached) " >&6
15878 ac_check_lib_save_LIBS
=$LIBS
15880 if test x
$gcc_no_link = xyes
; then
15881 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15886 /* Override any GCC internal prototype to avoid an error.
15887 Use char because int might match the return type of a GCC
15888 builtin and then its argument prototype would still apply. */
15901 if ac_fn_c_try_link
"$LINENO"; then :
15902 ac_cv_lib_m_acos
=yes
15904 ac_cv_lib_m_acos
=no
15906 rm -f core conftest.err conftest.
$ac_objext \
15907 conftest
$ac_exeext conftest.
$ac_ext
15908 LIBS
=$ac_check_lib_save_LIBS
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15911 $as_echo "$ac_cv_lib_m_acos" >&6; }
15912 if test "x$ac_cv_lib_m_acos" = x
""yes; then :
15914 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15919 $as_echo_n "checking for acosl in -lm... " >&6; }
15920 if test "${ac_cv_lib_m_acosl+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_acosl
=yes
15949 ac_cv_lib_m_acosl
=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_acosl" >&5
15956 $as_echo "$ac_cv_lib_m_acosl" >&6; }
15957 if test "x$ac_cv_lib_m_acosl" = x
""yes; then :
15959 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
15964 $as_echo_n "checking for acoshf in -lm... " >&6; }
15965 if test "${ac_cv_lib_m_acoshf+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_acoshf
=yes
15994 ac_cv_lib_m_acoshf
=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_acoshf" >&5
16001 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16002 if test "x$ac_cv_lib_m_acoshf" = x
""yes; then :
16004 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16009 $as_echo_n "checking for acosh in -lm... " >&6; }
16010 if test "${ac_cv_lib_m_acosh+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_acosh
=yes
16039 ac_cv_lib_m_acosh
=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_acosh" >&5
16046 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16047 if test "x$ac_cv_lib_m_acosh" = x
""yes; then :
16049 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16054 $as_echo_n "checking for acoshl in -lm... " >&6; }
16055 if test "${ac_cv_lib_m_acoshl+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_acoshl
=yes
16084 ac_cv_lib_m_acoshl
=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_acoshl" >&5
16091 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16092 if test "x$ac_cv_lib_m_acoshl" = x
""yes; then :
16094 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16099 $as_echo_n "checking for asinf in -lm... " >&6; }
16100 if test "${ac_cv_lib_m_asinf+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_asinf
=yes
16129 ac_cv_lib_m_asinf
=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_asinf" >&5
16136 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16137 if test "x$ac_cv_lib_m_asinf" = x
""yes; then :
16139 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16144 $as_echo_n "checking for asin in -lm... " >&6; }
16145 if test "${ac_cv_lib_m_asin+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_asin
=yes
16174 ac_cv_lib_m_asin
=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_asin" >&5
16181 $as_echo "$ac_cv_lib_m_asin" >&6; }
16182 if test "x$ac_cv_lib_m_asin" = x
""yes; then :
16184 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16189 $as_echo_n "checking for asinl in -lm... " >&6; }
16190 if test "${ac_cv_lib_m_asinl+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_asinl
=yes
16219 ac_cv_lib_m_asinl
=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_asinl" >&5
16226 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16227 if test "x$ac_cv_lib_m_asinl" = x
""yes; then :
16229 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16234 $as_echo_n "checking for asinhf in -lm... " >&6; }
16235 if test "${ac_cv_lib_m_asinhf+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_asinhf
=yes
16264 ac_cv_lib_m_asinhf
=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_asinhf" >&5
16271 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16272 if test "x$ac_cv_lib_m_asinhf" = x
""yes; then :
16274 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16279 $as_echo_n "checking for asinh in -lm... " >&6; }
16280 if test "${ac_cv_lib_m_asinh+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_asinh
=yes
16309 ac_cv_lib_m_asinh
=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_asinh" >&5
16316 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16317 if test "x$ac_cv_lib_m_asinh" = x
""yes; then :
16319 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16324 $as_echo_n "checking for asinhl in -lm... " >&6; }
16325 if test "${ac_cv_lib_m_asinhl+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_asinhl
=yes
16354 ac_cv_lib_m_asinhl
=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_asinhl" >&5
16361 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16362 if test "x$ac_cv_lib_m_asinhl" = x
""yes; then :
16364 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16369 $as_echo_n "checking for atan2f in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_atan2f+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_atan2f
=yes
16399 ac_cv_lib_m_atan2f
=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_atan2f" >&5
16406 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16407 if test "x$ac_cv_lib_m_atan2f" = x
""yes; then :
16409 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16414 $as_echo_n "checking for atan2 in -lm... " >&6; }
16415 if test "${ac_cv_lib_m_atan2+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_atan2
=yes
16444 ac_cv_lib_m_atan2
=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_atan2" >&5
16451 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16452 if test "x$ac_cv_lib_m_atan2" = x
""yes; then :
16454 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16459 $as_echo_n "checking for atan2l in -lm... " >&6; }
16460 if test "${ac_cv_lib_m_atan2l+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_atan2l
=yes
16489 ac_cv_lib_m_atan2l
=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_atan2l" >&5
16496 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16497 if test "x$ac_cv_lib_m_atan2l" = x
""yes; then :
16499 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16504 $as_echo_n "checking for atanf in -lm... " >&6; }
16505 if test "${ac_cv_lib_m_atanf+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_atanf
=yes
16534 ac_cv_lib_m_atanf
=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_atanf" >&5
16541 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16542 if test "x$ac_cv_lib_m_atanf" = x
""yes; then :
16544 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16549 $as_echo_n "checking for atan in -lm... " >&6; }
16550 if test "${ac_cv_lib_m_atan+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_atan
=yes
16579 ac_cv_lib_m_atan
=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_atan" >&5
16586 $as_echo "$ac_cv_lib_m_atan" >&6; }
16587 if test "x$ac_cv_lib_m_atan" = x
""yes; then :
16589 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16594 $as_echo_n "checking for atanl in -lm... " >&6; }
16595 if test "${ac_cv_lib_m_atanl+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_atanl
=yes
16624 ac_cv_lib_m_atanl
=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_atanl" >&5
16631 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16632 if test "x$ac_cv_lib_m_atanl" = x
""yes; then :
16634 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16639 $as_echo_n "checking for atanhf in -lm... " >&6; }
16640 if test "${ac_cv_lib_m_atanhf+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_atanhf
=yes
16669 ac_cv_lib_m_atanhf
=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_atanhf" >&5
16676 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16677 if test "x$ac_cv_lib_m_atanhf" = x
""yes; then :
16679 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16684 $as_echo_n "checking for atanh in -lm... " >&6; }
16685 if test "${ac_cv_lib_m_atanh+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_atanh
=yes
16714 ac_cv_lib_m_atanh
=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_atanh" >&5
16721 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16722 if test "x$ac_cv_lib_m_atanh" = x
""yes; then :
16724 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16729 $as_echo_n "checking for atanhl in -lm... " >&6; }
16730 if test "${ac_cv_lib_m_atanhl+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_atanhl
=yes
16759 ac_cv_lib_m_atanhl
=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_atanhl" >&5
16766 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16767 if test "x$ac_cv_lib_m_atanhl" = x
""yes; then :
16769 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16774 $as_echo_n "checking for cargf in -lm... " >&6; }
16775 if test "${ac_cv_lib_m_cargf+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_cargf
=yes
16804 ac_cv_lib_m_cargf
=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_cargf" >&5
16811 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16812 if test "x$ac_cv_lib_m_cargf" = x
""yes; then :
16814 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16819 $as_echo_n "checking for carg in -lm... " >&6; }
16820 if test "${ac_cv_lib_m_carg+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_carg
=yes
16849 ac_cv_lib_m_carg
=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_carg" >&5
16856 $as_echo "$ac_cv_lib_m_carg" >&6; }
16857 if test "x$ac_cv_lib_m_carg" = x
""yes; then :
16859 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16864 $as_echo_n "checking for cargl in -lm... " >&6; }
16865 if test "${ac_cv_lib_m_cargl+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_cargl
=yes
16894 ac_cv_lib_m_cargl
=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_cargl" >&5
16901 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16902 if test "x$ac_cv_lib_m_cargl" = x
""yes; then :
16904 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16909 $as_echo_n "checking for ceilf in -lm... " >&6; }
16910 if test "${ac_cv_lib_m_ceilf+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_ceilf
=yes
16939 ac_cv_lib_m_ceilf
=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_ceilf" >&5
16946 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
16947 if test "x$ac_cv_lib_m_ceilf" = x
""yes; then :
16949 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
16954 $as_echo_n "checking for ceil in -lm... " >&6; }
16955 if test "${ac_cv_lib_m_ceil+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_ceil
=yes
16984 ac_cv_lib_m_ceil
=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_ceil" >&5
16991 $as_echo "$ac_cv_lib_m_ceil" >&6; }
16992 if test "x$ac_cv_lib_m_ceil" = x
""yes; then :
16994 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
16999 $as_echo_n "checking for ceill in -lm... " >&6; }
17000 if test "${ac_cv_lib_m_ceill+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_ceill
=yes
17029 ac_cv_lib_m_ceill
=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_ceill" >&5
17036 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17037 if test "x$ac_cv_lib_m_ceill" = x
""yes; then :
17039 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17044 $as_echo_n "checking for copysignf in -lm... " >&6; }
17045 if test "${ac_cv_lib_m_copysignf+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. */
17066 return copysignf ();
17071 if ac_fn_c_try_link
"$LINENO"; then :
17072 ac_cv_lib_m_copysignf
=yes
17074 ac_cv_lib_m_copysignf
=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_copysignf" >&5
17081 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17082 if test "x$ac_cv_lib_m_copysignf" = x
""yes; then :
17084 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17089 $as_echo_n "checking for copysign in -lm... " >&6; }
17090 if test "${ac_cv_lib_m_copysign+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. */
17111 return copysign ();
17116 if ac_fn_c_try_link
"$LINENO"; then :
17117 ac_cv_lib_m_copysign
=yes
17119 ac_cv_lib_m_copysign
=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_copysign" >&5
17126 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17127 if test "x$ac_cv_lib_m_copysign" = x
""yes; then :
17129 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17134 $as_echo_n "checking for copysignl in -lm... " >&6; }
17135 if test "${ac_cv_lib_m_copysignl+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 copysignl ();
17161 if ac_fn_c_try_link
"$LINENO"; then :
17162 ac_cv_lib_m_copysignl
=yes
17164 ac_cv_lib_m_copysignl
=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_copysignl" >&5
17171 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17172 if test "x$ac_cv_lib_m_copysignl" = x
""yes; then :
17174 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17179 $as_echo_n "checking for cosf in -lm... " >&6; }
17180 if test "${ac_cv_lib_m_cosf+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. */
17206 if ac_fn_c_try_link
"$LINENO"; then :
17207 ac_cv_lib_m_cosf
=yes
17209 ac_cv_lib_m_cosf
=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_cosf" >&5
17216 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17217 if test "x$ac_cv_lib_m_cosf" = x
""yes; then :
17219 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17224 $as_echo_n "checking for cos in -lm... " >&6; }
17225 if test "${ac_cv_lib_m_cos+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. */
17251 if ac_fn_c_try_link
"$LINENO"; then :
17252 ac_cv_lib_m_cos
=yes
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_cos" >&5
17261 $as_echo "$ac_cv_lib_m_cos" >&6; }
17262 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
17264 $as_echo "#define HAVE_COS 1" >>confdefs.h
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17269 $as_echo_n "checking for cosl in -lm... " >&6; }
17270 if test "${ac_cv_lib_m_cosl+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_cosl
=yes
17299 ac_cv_lib_m_cosl
=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_cosl" >&5
17306 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17307 if test "x$ac_cv_lib_m_cosl" = x
""yes; then :
17309 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17314 $as_echo_n "checking for ccosf in -lm... " >&6; }
17315 if test "${ac_cv_lib_m_ccosf+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_ccosf
=yes
17344 ac_cv_lib_m_ccosf
=no
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_ccosf" >&5
17351 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17352 if test "x$ac_cv_lib_m_ccosf" = x
""yes; then :
17354 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17359 $as_echo_n "checking for ccos in -lm... " >&6; }
17360 if test "${ac_cv_lib_m_ccos+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_ccos
=yes
17389 ac_cv_lib_m_ccos
=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_ccos" >&5
17396 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17397 if test "x$ac_cv_lib_m_ccos" = x
""yes; then :
17399 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17404 $as_echo_n "checking for ccosl in -lm... " >&6; }
17405 if test "${ac_cv_lib_m_ccosl+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_ccosl
=yes
17434 ac_cv_lib_m_ccosl
=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_ccosl" >&5
17441 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17442 if test "x$ac_cv_lib_m_ccosl" = x
""yes; then :
17444 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17449 $as_echo_n "checking for coshf in -lm... " >&6; }
17450 if test "${ac_cv_lib_m_coshf+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_coshf
=yes
17479 ac_cv_lib_m_coshf
=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_coshf" >&5
17486 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17487 if test "x$ac_cv_lib_m_coshf" = x
""yes; then :
17489 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17494 $as_echo_n "checking for cosh in -lm... " >&6; }
17495 if test "${ac_cv_lib_m_cosh+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_cosh
=yes
17524 ac_cv_lib_m_cosh
=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_cosh" >&5
17531 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17532 if test "x$ac_cv_lib_m_cosh" = x
""yes; then :
17534 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17539 $as_echo_n "checking for coshl in -lm... " >&6; }
17540 if test "${ac_cv_lib_m_coshl+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_coshl
=yes
17569 ac_cv_lib_m_coshl
=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_coshl" >&5
17576 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17577 if test "x$ac_cv_lib_m_coshl" = x
""yes; then :
17579 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17584 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17585 if test "${ac_cv_lib_m_ccoshf+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_ccoshf
=yes
17614 ac_cv_lib_m_ccoshf
=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_ccoshf" >&5
17621 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17622 if test "x$ac_cv_lib_m_ccoshf" = x
""yes; then :
17624 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17629 $as_echo_n "checking for ccosh in -lm... " >&6; }
17630 if test "${ac_cv_lib_m_ccosh+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_ccosh
=yes
17659 ac_cv_lib_m_ccosh
=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_ccosh" >&5
17666 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17667 if test "x$ac_cv_lib_m_ccosh" = x
""yes; then :
17669 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17674 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17675 if test "${ac_cv_lib_m_ccoshl+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_ccoshl
=yes
17704 ac_cv_lib_m_ccoshl
=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_ccoshl" >&5
17711 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17712 if test "x$ac_cv_lib_m_ccoshl" = x
""yes; then :
17714 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17719 $as_echo_n "checking for expf in -lm... " >&6; }
17720 if test "${ac_cv_lib_m_expf+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_expf
=yes
17749 ac_cv_lib_m_expf
=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_expf" >&5
17756 $as_echo "$ac_cv_lib_m_expf" >&6; }
17757 if test "x$ac_cv_lib_m_expf" = x
""yes; then :
17759 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17764 $as_echo_n "checking for exp in -lm... " >&6; }
17765 if test "${ac_cv_lib_m_exp+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_exp
=yes
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_exp" >&5
17801 $as_echo "$ac_cv_lib_m_exp" >&6; }
17802 if test "x$ac_cv_lib_m_exp" = x
""yes; then :
17804 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17809 $as_echo_n "checking for expl in -lm... " >&6; }
17810 if test "${ac_cv_lib_m_expl+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_expl
=yes
17839 ac_cv_lib_m_expl
=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_expl" >&5
17846 $as_echo "$ac_cv_lib_m_expl" >&6; }
17847 if test "x$ac_cv_lib_m_expl" = x
""yes; then :
17849 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17854 $as_echo_n "checking for cexpf in -lm... " >&6; }
17855 if test "${ac_cv_lib_m_cexpf+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_cexpf
=yes
17884 ac_cv_lib_m_cexpf
=no
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_cexpf" >&5
17891 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17892 if test "x$ac_cv_lib_m_cexpf" = x
""yes; then :
17894 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17899 $as_echo_n "checking for cexp in -lm... " >&6; }
17900 if test "${ac_cv_lib_m_cexp+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_cexp
=yes
17929 ac_cv_lib_m_cexp
=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_cexp" >&5
17936 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17937 if test "x$ac_cv_lib_m_cexp" = x
""yes; then :
17939 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
17944 $as_echo_n "checking for cexpl in -lm... " >&6; }
17945 if test "${ac_cv_lib_m_cexpl+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_cexpl
=yes
17974 ac_cv_lib_m_cexpl
=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_cexpl" >&5
17981 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
17982 if test "x$ac_cv_lib_m_cexpl" = x
""yes; then :
17984 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
17989 $as_echo_n "checking for fabsf in -lm... " >&6; }
17990 if test "${ac_cv_lib_m_fabsf+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_fabsf
=yes
18019 ac_cv_lib_m_fabsf
=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_fabsf" >&5
18026 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18027 if test "x$ac_cv_lib_m_fabsf" = x
""yes; then :
18029 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18034 $as_echo_n "checking for fabs in -lm... " >&6; }
18035 if test "${ac_cv_lib_m_fabs+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_fabs
=yes
18064 ac_cv_lib_m_fabs
=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_fabs" >&5
18071 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18072 if test "x$ac_cv_lib_m_fabs" = x
""yes; then :
18074 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18079 $as_echo_n "checking for fabsl in -lm... " >&6; }
18080 if test "${ac_cv_lib_m_fabsl+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_fabsl
=yes
18109 ac_cv_lib_m_fabsl
=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_fabsl" >&5
18116 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18117 if test "x$ac_cv_lib_m_fabsl" = x
""yes; then :
18119 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18124 $as_echo_n "checking for cabsf in -lm... " >&6; }
18125 if test "${ac_cv_lib_m_cabsf+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_cabsf
=yes
18154 ac_cv_lib_m_cabsf
=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_cabsf" >&5
18161 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18162 if test "x$ac_cv_lib_m_cabsf" = x
""yes; then :
18164 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18169 $as_echo_n "checking for cabs in -lm... " >&6; }
18170 if test "${ac_cv_lib_m_cabs+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_cabs
=yes
18199 ac_cv_lib_m_cabs
=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_cabs" >&5
18206 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18207 if test "x$ac_cv_lib_m_cabs" = x
""yes; then :
18209 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18214 $as_echo_n "checking for cabsl in -lm... " >&6; }
18215 if test "${ac_cv_lib_m_cabsl+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_cabsl
=yes
18244 ac_cv_lib_m_cabsl
=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_cabsl" >&5
18251 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18252 if test "x$ac_cv_lib_m_cabsl" = x
""yes; then :
18254 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18259 $as_echo_n "checking for floorf in -lm... " >&6; }
18260 if test "${ac_cv_lib_m_floorf+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_floorf
=yes
18289 ac_cv_lib_m_floorf
=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_floorf" >&5
18296 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18297 if test "x$ac_cv_lib_m_floorf" = x
""yes; then :
18299 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18304 $as_echo_n "checking for floor in -lm... " >&6; }
18305 if test "${ac_cv_lib_m_floor+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_floor
=yes
18334 ac_cv_lib_m_floor
=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_floor" >&5
18341 $as_echo "$ac_cv_lib_m_floor" >&6; }
18342 if test "x$ac_cv_lib_m_floor" = x
""yes; then :
18344 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18349 $as_echo_n "checking for floorl in -lm... " >&6; }
18350 if test "${ac_cv_lib_m_floorl+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_floorl
=yes
18379 ac_cv_lib_m_floorl
=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_floorl" >&5
18386 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18387 if test "x$ac_cv_lib_m_floorl" = x
""yes; then :
18389 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18394 $as_echo_n "checking for fmodf in -lm... " >&6; }
18395 if test "${ac_cv_lib_m_fmodf+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_fmodf
=yes
18424 ac_cv_lib_m_fmodf
=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_fmodf" >&5
18431 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18432 if test "x$ac_cv_lib_m_fmodf" = x
""yes; then :
18434 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18439 $as_echo_n "checking for fmod in -lm... " >&6; }
18440 if test "${ac_cv_lib_m_fmod+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_fmod
=yes
18469 ac_cv_lib_m_fmod
=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_fmod" >&5
18476 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18477 if test "x$ac_cv_lib_m_fmod" = x
""yes; then :
18479 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18484 $as_echo_n "checking for fmodl in -lm... " >&6; }
18485 if test "${ac_cv_lib_m_fmodl+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_fmodl
=yes
18514 ac_cv_lib_m_fmodl
=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_fmodl" >&5
18521 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18522 if test "x$ac_cv_lib_m_fmodl" = x
""yes; then :
18524 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18529 $as_echo_n "checking for frexpf in -lm... " >&6; }
18530 if test "${ac_cv_lib_m_frexpf+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_frexpf
=yes
18559 ac_cv_lib_m_frexpf
=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_frexpf" >&5
18566 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18567 if test "x$ac_cv_lib_m_frexpf" = x
""yes; then :
18569 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18574 $as_echo_n "checking for frexp in -lm... " >&6; }
18575 if test "${ac_cv_lib_m_frexp+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_frexp
=yes
18604 ac_cv_lib_m_frexp
=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_frexp" >&5
18611 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18612 if test "x$ac_cv_lib_m_frexp" = x
""yes; then :
18614 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18619 $as_echo_n "checking for frexpl in -lm... " >&6; }
18620 if test "${ac_cv_lib_m_frexpl+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_frexpl
=yes
18649 ac_cv_lib_m_frexpl
=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_frexpl" >&5
18656 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18657 if test "x$ac_cv_lib_m_frexpl" = x
""yes; then :
18659 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18664 $as_echo_n "checking for hypotf in -lm... " >&6; }
18665 if test "${ac_cv_lib_m_hypotf+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_hypotf
=yes
18694 ac_cv_lib_m_hypotf
=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_hypotf" >&5
18701 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18702 if test "x$ac_cv_lib_m_hypotf" = x
""yes; then :
18704 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18709 $as_echo_n "checking for hypot in -lm... " >&6; }
18710 if test "${ac_cv_lib_m_hypot+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_hypot
=yes
18739 ac_cv_lib_m_hypot
=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_hypot" >&5
18746 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18747 if test "x$ac_cv_lib_m_hypot" = x
""yes; then :
18749 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18754 $as_echo_n "checking for hypotl in -lm... " >&6; }
18755 if test "${ac_cv_lib_m_hypotl+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_hypotl
=yes
18784 ac_cv_lib_m_hypotl
=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_hypotl" >&5
18791 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18792 if test "x$ac_cv_lib_m_hypotl" = x
""yes; then :
18794 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18799 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18800 if test "${ac_cv_lib_m_ldexpf+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_ldexpf
=yes
18829 ac_cv_lib_m_ldexpf
=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_ldexpf" >&5
18836 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18837 if test "x$ac_cv_lib_m_ldexpf" = x
""yes; then :
18839 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18844 $as_echo_n "checking for ldexp in -lm... " >&6; }
18845 if test "${ac_cv_lib_m_ldexp+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_ldexp
=yes
18874 ac_cv_lib_m_ldexp
=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_ldexp" >&5
18881 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18882 if test "x$ac_cv_lib_m_ldexp" = x
""yes; then :
18884 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18889 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18890 if test "${ac_cv_lib_m_ldexpl+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_ldexpl
=yes
18919 ac_cv_lib_m_ldexpl
=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_ldexpl" >&5
18926 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18927 if test "x$ac_cv_lib_m_ldexpl" = x
""yes; then :
18929 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18934 $as_echo_n "checking for logf in -lm... " >&6; }
18935 if test "${ac_cv_lib_m_logf+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_logf
=yes
18964 ac_cv_lib_m_logf
=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_logf" >&5
18971 $as_echo "$ac_cv_lib_m_logf" >&6; }
18972 if test "x$ac_cv_lib_m_logf" = x
""yes; then :
18974 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
18979 $as_echo_n "checking for log in -lm... " >&6; }
18980 if test "${ac_cv_lib_m_log+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_log
=yes
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_log" >&5
19016 $as_echo "$ac_cv_lib_m_log" >&6; }
19017 if test "x$ac_cv_lib_m_log" = x
""yes; then :
19019 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19024 $as_echo_n "checking for logl in -lm... " >&6; }
19025 if test "${ac_cv_lib_m_logl+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_logl
=yes
19054 ac_cv_lib_m_logl
=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_logl" >&5
19061 $as_echo "$ac_cv_lib_m_logl" >&6; }
19062 if test "x$ac_cv_lib_m_logl" = x
""yes; then :
19064 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19069 $as_echo_n "checking for clogf in -lm... " >&6; }
19070 if test "${ac_cv_lib_m_clogf+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_clogf
=yes
19099 ac_cv_lib_m_clogf
=no
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_clogf" >&5
19106 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19107 if test "x$ac_cv_lib_m_clogf" = x
""yes; then :
19109 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19114 $as_echo_n "checking for clog in -lm... " >&6; }
19115 if test "${ac_cv_lib_m_clog+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_clog
=yes
19144 ac_cv_lib_m_clog
=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_clog" >&5
19151 $as_echo "$ac_cv_lib_m_clog" >&6; }
19152 if test "x$ac_cv_lib_m_clog" = x
""yes; then :
19154 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19159 $as_echo_n "checking for clogl in -lm... " >&6; }
19160 if test "${ac_cv_lib_m_clogl+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_clogl
=yes
19189 ac_cv_lib_m_clogl
=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_clogl" >&5
19196 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19197 if test "x$ac_cv_lib_m_clogl" = x
""yes; then :
19199 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19204 $as_echo_n "checking for log10f in -lm... " >&6; }
19205 if test "${ac_cv_lib_m_log10f+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_log10f
=yes
19234 ac_cv_lib_m_log10f
=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_log10f" >&5
19241 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19242 if test "x$ac_cv_lib_m_log10f" = x
""yes; then :
19244 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19249 $as_echo_n "checking for log10 in -lm... " >&6; }
19250 if test "${ac_cv_lib_m_log10+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_log10
=yes
19279 ac_cv_lib_m_log10
=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_log10" >&5
19286 $as_echo "$ac_cv_lib_m_log10" >&6; }
19287 if test "x$ac_cv_lib_m_log10" = x
""yes; then :
19289 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19294 $as_echo_n "checking for log10l in -lm... " >&6; }
19295 if test "${ac_cv_lib_m_log10l+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_log10l
=yes
19324 ac_cv_lib_m_log10l
=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_log10l" >&5
19331 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19332 if test "x$ac_cv_lib_m_log10l" = x
""yes; then :
19334 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19339 $as_echo_n "checking for clog10f in -lm... " >&6; }
19340 if test "${ac_cv_lib_m_clog10f+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_clog10f
=yes
19369 ac_cv_lib_m_clog10f
=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_clog10f" >&5
19376 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19377 if test "x$ac_cv_lib_m_clog10f" = x
""yes; then :
19379 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19384 $as_echo_n "checking for clog10 in -lm... " >&6; }
19385 if test "${ac_cv_lib_m_clog10+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_clog10
=yes
19414 ac_cv_lib_m_clog10
=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_clog10" >&5
19421 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19422 if test "x$ac_cv_lib_m_clog10" = x
""yes; then :
19424 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19429 $as_echo_n "checking for clog10l in -lm... " >&6; }
19430 if test "${ac_cv_lib_m_clog10l+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_clog10l
=yes
19459 ac_cv_lib_m_clog10l
=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_clog10l" >&5
19466 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19467 if test "x$ac_cv_lib_m_clog10l" = x
""yes; then :
19469 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19474 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19475 if test "${ac_cv_lib_m_nextafterf+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. */
19492 char nextafterf ();
19496 return nextafterf ();
19501 if ac_fn_c_try_link
"$LINENO"; then :
19502 ac_cv_lib_m_nextafterf
=yes
19504 ac_cv_lib_m_nextafterf
=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_nextafterf" >&5
19511 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19512 if test "x$ac_cv_lib_m_nextafterf" = x
""yes; then :
19514 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19519 $as_echo_n "checking for nextafter in -lm... " >&6; }
19520 if test "${ac_cv_lib_m_nextafter+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. */
19541 return nextafter ();
19546 if ac_fn_c_try_link
"$LINENO"; then :
19547 ac_cv_lib_m_nextafter
=yes
19549 ac_cv_lib_m_nextafter
=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_nextafter" >&5
19556 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19557 if test "x$ac_cv_lib_m_nextafter" = x
""yes; then :
19559 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19564 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19565 if test "${ac_cv_lib_m_nextafterl+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 nextafterl ();
19586 return nextafterl ();
19591 if ac_fn_c_try_link
"$LINENO"; then :
19592 ac_cv_lib_m_nextafterl
=yes
19594 ac_cv_lib_m_nextafterl
=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_nextafterl" >&5
19601 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19602 if test "x$ac_cv_lib_m_nextafterl" = x
""yes; then :
19604 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19609 $as_echo_n "checking for powf in -lm... " >&6; }
19610 if test "${ac_cv_lib_m_powf+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. */
19636 if ac_fn_c_try_link
"$LINENO"; then :
19637 ac_cv_lib_m_powf
=yes
19639 ac_cv_lib_m_powf
=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_powf" >&5
19646 $as_echo "$ac_cv_lib_m_powf" >&6; }
19647 if test "x$ac_cv_lib_m_powf" = x
""yes; then :
19649 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19654 $as_echo_n "checking for pow in -lm... " >&6; }
19655 if test "${ac_cv_lib_m_pow+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. */
19681 if ac_fn_c_try_link
"$LINENO"; then :
19682 ac_cv_lib_m_pow
=yes
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_pow" >&5
19691 $as_echo "$ac_cv_lib_m_pow" >&6; }
19692 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
19694 $as_echo "#define HAVE_POW 1" >>confdefs.h
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19699 $as_echo_n "checking for powl in -lm... " >&6; }
19700 if test "${ac_cv_lib_m_powl+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_powl
=yes
19729 ac_cv_lib_m_powl
=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_powl" >&5
19736 $as_echo "$ac_cv_lib_m_powl" >&6; }
19737 if test "x$ac_cv_lib_m_powl" = x
""yes; then :
19739 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19744 $as_echo_n "checking for cpowf in -lm... " >&6; }
19745 if test "${ac_cv_lib_m_cpowf+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_cpowf
=yes
19774 ac_cv_lib_m_cpowf
=no
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_cpowf" >&5
19781 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19782 if test "x$ac_cv_lib_m_cpowf" = x
""yes; then :
19784 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19789 $as_echo_n "checking for cpow in -lm... " >&6; }
19790 if test "${ac_cv_lib_m_cpow+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_cpow
=yes
19819 ac_cv_lib_m_cpow
=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_cpow" >&5
19826 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19827 if test "x$ac_cv_lib_m_cpow" = x
""yes; then :
19829 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19834 $as_echo_n "checking for cpowl in -lm... " >&6; }
19835 if test "${ac_cv_lib_m_cpowl+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_cpowl
=yes
19864 ac_cv_lib_m_cpowl
=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_cpowl" >&5
19871 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19872 if test "x$ac_cv_lib_m_cpowl" = x
""yes; then :
19874 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19879 $as_echo_n "checking for roundf in -lm... " >&6; }
19880 if test "${ac_cv_lib_m_roundf+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_roundf
=yes
19909 ac_cv_lib_m_roundf
=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_roundf" >&5
19916 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19917 if test "x$ac_cv_lib_m_roundf" = x
""yes; then :
19919 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19924 $as_echo_n "checking for round in -lm... " >&6; }
19925 if test "${ac_cv_lib_m_round+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_round
=yes
19954 ac_cv_lib_m_round
=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_round" >&5
19961 $as_echo "$ac_cv_lib_m_round" >&6; }
19962 if test "x$ac_cv_lib_m_round" = x
""yes; then :
19964 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
19969 $as_echo_n "checking for roundl in -lm... " >&6; }
19970 if test "${ac_cv_lib_m_roundl+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_roundl
=yes
19999 ac_cv_lib_m_roundl
=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_roundl" >&5
20006 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20007 if test "x$ac_cv_lib_m_roundl" = x
""yes; then :
20009 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20014 $as_echo_n "checking for lroundf in -lm... " >&6; }
20015 if test "${ac_cv_lib_m_lroundf+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_lroundf
=yes
20044 ac_cv_lib_m_lroundf
=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_lroundf" >&5
20051 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20052 if test "x$ac_cv_lib_m_lroundf" = x
""yes; then :
20054 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20059 $as_echo_n "checking for lround in -lm... " >&6; }
20060 if test "${ac_cv_lib_m_lround+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_lround
=yes
20089 ac_cv_lib_m_lround
=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_lround" >&5
20096 $as_echo "$ac_cv_lib_m_lround" >&6; }
20097 if test "x$ac_cv_lib_m_lround" = x
""yes; then :
20099 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20104 $as_echo_n "checking for lroundl in -lm... " >&6; }
20105 if test "${ac_cv_lib_m_lroundl+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_lroundl
=yes
20134 ac_cv_lib_m_lroundl
=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_lroundl" >&5
20141 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20142 if test "x$ac_cv_lib_m_lroundl" = x
""yes; then :
20144 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20149 $as_echo_n "checking for llroundf in -lm... " >&6; }
20150 if test "${ac_cv_lib_m_llroundf+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. */
20171 return llroundf ();
20176 if ac_fn_c_try_link
"$LINENO"; then :
20177 ac_cv_lib_m_llroundf
=yes
20179 ac_cv_lib_m_llroundf
=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_llroundf" >&5
20186 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20187 if test "x$ac_cv_lib_m_llroundf" = x
""yes; then :
20189 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20194 $as_echo_n "checking for llround in -lm... " >&6; }
20195 if test "${ac_cv_lib_m_llround+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_llround
=yes
20224 ac_cv_lib_m_llround
=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_llround" >&5
20231 $as_echo "$ac_cv_lib_m_llround" >&6; }
20232 if test "x$ac_cv_lib_m_llround" = x
""yes; then :
20234 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20239 $as_echo_n "checking for llroundl in -lm... " >&6; }
20240 if test "${ac_cv_lib_m_llroundl+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 llroundl ();
20266 if ac_fn_c_try_link
"$LINENO"; then :
20267 ac_cv_lib_m_llroundl
=yes
20269 ac_cv_lib_m_llroundl
=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_llroundl" >&5
20276 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20277 if test "x$ac_cv_lib_m_llroundl" = x
""yes; then :
20279 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20284 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20285 if test "${ac_cv_lib_m_scalbnf+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_scalbnf
=yes
20314 ac_cv_lib_m_scalbnf
=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_scalbnf" >&5
20321 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20322 if test "x$ac_cv_lib_m_scalbnf" = x
""yes; then :
20324 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20329 $as_echo_n "checking for scalbn in -lm... " >&6; }
20330 if test "${ac_cv_lib_m_scalbn+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. */
20356 if ac_fn_c_try_link
"$LINENO"; then :
20357 ac_cv_lib_m_scalbn
=yes
20359 ac_cv_lib_m_scalbn
=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_scalbn" >&5
20366 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20367 if test "x$ac_cv_lib_m_scalbn" = x
""yes; then :
20369 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20374 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20375 if test "${ac_cv_lib_m_scalbnl+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_scalbnl
=yes
20404 ac_cv_lib_m_scalbnl
=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_scalbnl" >&5
20411 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20412 if test "x$ac_cv_lib_m_scalbnl" = x
""yes; then :
20414 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20419 $as_echo_n "checking for sinf in -lm... " >&6; }
20420 if test "${ac_cv_lib_m_sinf+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_sinf
=yes
20449 ac_cv_lib_m_sinf
=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_sinf" >&5
20456 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20457 if test "x$ac_cv_lib_m_sinf" = x
""yes; then :
20459 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20464 $as_echo_n "checking for sin in -lm... " >&6; }
20465 if test "${ac_cv_lib_m_sin+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_sin
=yes
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_sin" >&5
20501 $as_echo "$ac_cv_lib_m_sin" >&6; }
20502 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
20504 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20509 $as_echo_n "checking for sinl in -lm... " >&6; }
20510 if test "${ac_cv_lib_m_sinl+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_sinl
=yes
20539 ac_cv_lib_m_sinl
=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_sinl" >&5
20546 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20547 if test "x$ac_cv_lib_m_sinl" = x
""yes; then :
20549 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20554 $as_echo_n "checking for csinf in -lm... " >&6; }
20555 if test "${ac_cv_lib_m_csinf+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_csinf
=yes
20584 ac_cv_lib_m_csinf
=no
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_csinf" >&5
20591 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20592 if test "x$ac_cv_lib_m_csinf" = x
""yes; then :
20594 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20599 $as_echo_n "checking for csin in -lm... " >&6; }
20600 if test "${ac_cv_lib_m_csin+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_csin
=yes
20629 ac_cv_lib_m_csin
=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_csin" >&5
20636 $as_echo "$ac_cv_lib_m_csin" >&6; }
20637 if test "x$ac_cv_lib_m_csin" = x
""yes; then :
20639 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20644 $as_echo_n "checking for csinl in -lm... " >&6; }
20645 if test "${ac_cv_lib_m_csinl+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_csinl
=yes
20674 ac_cv_lib_m_csinl
=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_csinl" >&5
20681 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20682 if test "x$ac_cv_lib_m_csinl" = x
""yes; then :
20684 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20689 $as_echo_n "checking for sinhf in -lm... " >&6; }
20690 if test "${ac_cv_lib_m_sinhf+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_sinhf
=yes
20719 ac_cv_lib_m_sinhf
=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_sinhf" >&5
20726 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20727 if test "x$ac_cv_lib_m_sinhf" = x
""yes; then :
20729 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20734 $as_echo_n "checking for sinh in -lm... " >&6; }
20735 if test "${ac_cv_lib_m_sinh+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_sinh
=yes
20764 ac_cv_lib_m_sinh
=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_sinh" >&5
20771 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20772 if test "x$ac_cv_lib_m_sinh" = x
""yes; then :
20774 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20779 $as_echo_n "checking for sinhl in -lm... " >&6; }
20780 if test "${ac_cv_lib_m_sinhl+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_sinhl
=yes
20809 ac_cv_lib_m_sinhl
=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_sinhl" >&5
20816 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20817 if test "x$ac_cv_lib_m_sinhl" = x
""yes; then :
20819 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20824 $as_echo_n "checking for csinhf in -lm... " >&6; }
20825 if test "${ac_cv_lib_m_csinhf+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_csinhf
=yes
20854 ac_cv_lib_m_csinhf
=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_csinhf" >&5
20861 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20862 if test "x$ac_cv_lib_m_csinhf" = x
""yes; then :
20864 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20869 $as_echo_n "checking for csinh in -lm... " >&6; }
20870 if test "${ac_cv_lib_m_csinh+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_csinh
=yes
20899 ac_cv_lib_m_csinh
=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_csinh" >&5
20906 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20907 if test "x$ac_cv_lib_m_csinh" = x
""yes; then :
20909 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20914 $as_echo_n "checking for csinhl in -lm... " >&6; }
20915 if test "${ac_cv_lib_m_csinhl+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_csinhl
=yes
20944 ac_cv_lib_m_csinhl
=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_csinhl" >&5
20951 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
20952 if test "x$ac_cv_lib_m_csinhl" = x
""yes; then :
20954 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
20959 $as_echo_n "checking for sqrtf in -lm... " >&6; }
20960 if test "${ac_cv_lib_m_sqrtf+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_sqrtf
=yes
20989 ac_cv_lib_m_sqrtf
=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_sqrtf" >&5
20996 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
20997 if test "x$ac_cv_lib_m_sqrtf" = x
""yes; then :
20999 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21004 $as_echo_n "checking for sqrt in -lm... " >&6; }
21005 if test "${ac_cv_lib_m_sqrt+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_sqrt
=yes
21034 ac_cv_lib_m_sqrt
=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_sqrt" >&5
21041 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21042 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
21044 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21049 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21050 if test "${ac_cv_lib_m_sqrtl+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_sqrtl
=yes
21079 ac_cv_lib_m_sqrtl
=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_sqrtl" >&5
21086 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21087 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
21089 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21094 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21095 if test "${ac_cv_lib_m_csqrtf+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_csqrtf
=yes
21124 ac_cv_lib_m_csqrtf
=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_csqrtf" >&5
21131 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21132 if test "x$ac_cv_lib_m_csqrtf" = x
""yes; then :
21134 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21139 $as_echo_n "checking for csqrt in -lm... " >&6; }
21140 if test "${ac_cv_lib_m_csqrt+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_csqrt
=yes
21169 ac_cv_lib_m_csqrt
=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_csqrt" >&5
21176 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21177 if test "x$ac_cv_lib_m_csqrt" = x
""yes; then :
21179 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21184 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21185 if test "${ac_cv_lib_m_csqrtl+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_csqrtl
=yes
21214 ac_cv_lib_m_csqrtl
=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_csqrtl" >&5
21221 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21222 if test "x$ac_cv_lib_m_csqrtl" = x
""yes; then :
21224 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21229 $as_echo_n "checking for tanf in -lm... " >&6; }
21230 if test "${ac_cv_lib_m_tanf+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_tanf
=yes
21259 ac_cv_lib_m_tanf
=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_tanf" >&5
21266 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21267 if test "x$ac_cv_lib_m_tanf" = x
""yes; then :
21269 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21274 $as_echo_n "checking for tan in -lm... " >&6; }
21275 if test "${ac_cv_lib_m_tan+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_tan
=yes
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_tan" >&5
21311 $as_echo "$ac_cv_lib_m_tan" >&6; }
21312 if test "x$ac_cv_lib_m_tan" = x
""yes; then :
21314 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21319 $as_echo_n "checking for tanl in -lm... " >&6; }
21320 if test "${ac_cv_lib_m_tanl+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_tanl
=yes
21349 ac_cv_lib_m_tanl
=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_tanl" >&5
21356 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21357 if test "x$ac_cv_lib_m_tanl" = x
""yes; then :
21359 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21364 $as_echo_n "checking for ctanf in -lm... " >&6; }
21365 if test "${ac_cv_lib_m_ctanf+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_ctanf
=yes
21394 ac_cv_lib_m_ctanf
=no
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_ctanf" >&5
21401 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21402 if test "x$ac_cv_lib_m_ctanf" = x
""yes; then :
21404 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21409 $as_echo_n "checking for ctan in -lm... " >&6; }
21410 if test "${ac_cv_lib_m_ctan+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_ctan
=yes
21439 ac_cv_lib_m_ctan
=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_ctan" >&5
21446 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21447 if test "x$ac_cv_lib_m_ctan" = x
""yes; then :
21449 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21454 $as_echo_n "checking for ctanl in -lm... " >&6; }
21455 if test "${ac_cv_lib_m_ctanl+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_ctanl
=yes
21484 ac_cv_lib_m_ctanl
=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_ctanl" >&5
21491 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21492 if test "x$ac_cv_lib_m_ctanl" = x
""yes; then :
21494 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21499 $as_echo_n "checking for tanhf in -lm... " >&6; }
21500 if test "${ac_cv_lib_m_tanhf+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_tanhf
=yes
21529 ac_cv_lib_m_tanhf
=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_tanhf" >&5
21536 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21537 if test "x$ac_cv_lib_m_tanhf" = x
""yes; then :
21539 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21544 $as_echo_n "checking for tanh in -lm... " >&6; }
21545 if test "${ac_cv_lib_m_tanh+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_tanh
=yes
21574 ac_cv_lib_m_tanh
=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_tanh" >&5
21581 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21582 if test "x$ac_cv_lib_m_tanh" = x
""yes; then :
21584 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21589 $as_echo_n "checking for tanhl in -lm... " >&6; }
21590 if test "${ac_cv_lib_m_tanhl+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_tanhl
=yes
21619 ac_cv_lib_m_tanhl
=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_tanhl" >&5
21626 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21627 if test "x$ac_cv_lib_m_tanhl" = x
""yes; then :
21629 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21634 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21635 if test "${ac_cv_lib_m_ctanhf+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_ctanhf
=yes
21664 ac_cv_lib_m_ctanhf
=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_ctanhf" >&5
21671 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21672 if test "x$ac_cv_lib_m_ctanhf" = x
""yes; then :
21674 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21679 $as_echo_n "checking for ctanh in -lm... " >&6; }
21680 if test "${ac_cv_lib_m_ctanh+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_ctanh
=yes
21709 ac_cv_lib_m_ctanh
=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_ctanh" >&5
21716 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21717 if test "x$ac_cv_lib_m_ctanh" = x
""yes; then :
21719 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21724 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21725 if test "${ac_cv_lib_m_ctanhl+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_ctanhl
=yes
21754 ac_cv_lib_m_ctanhl
=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_ctanhl" >&5
21761 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21762 if test "x$ac_cv_lib_m_ctanhl" = x
""yes; then :
21764 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21769 $as_echo_n "checking for truncf in -lm... " >&6; }
21770 if test "${ac_cv_lib_m_truncf+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_truncf
=yes
21799 ac_cv_lib_m_truncf
=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_truncf" >&5
21806 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21807 if test "x$ac_cv_lib_m_truncf" = x
""yes; then :
21809 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21814 $as_echo_n "checking for trunc in -lm... " >&6; }
21815 if test "${ac_cv_lib_m_trunc+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_trunc
=yes
21844 ac_cv_lib_m_trunc
=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_trunc" >&5
21851 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21852 if test "x$ac_cv_lib_m_trunc" = x
""yes; then :
21854 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21859 $as_echo_n "checking for truncl in -lm... " >&6; }
21860 if test "${ac_cv_lib_m_truncl+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_truncl
=yes
21889 ac_cv_lib_m_truncl
=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_truncl" >&5
21896 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21897 if test "x$ac_cv_lib_m_truncl" = x
""yes; then :
21899 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21904 $as_echo_n "checking for erff in -lm... " >&6; }
21905 if test "${ac_cv_lib_m_erff+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_erff
=yes
21934 ac_cv_lib_m_erff
=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_erff" >&5
21941 $as_echo "$ac_cv_lib_m_erff" >&6; }
21942 if test "x$ac_cv_lib_m_erff" = x
""yes; then :
21944 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
21949 $as_echo_n "checking for erf in -lm... " >&6; }
21950 if test "${ac_cv_lib_m_erf+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_erf
=yes
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_erf" >&5
21986 $as_echo "$ac_cv_lib_m_erf" >&6; }
21987 if test "x$ac_cv_lib_m_erf" = x
""yes; then :
21989 $as_echo "#define HAVE_ERF 1" >>confdefs.h
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
21994 $as_echo_n "checking for erfl in -lm... " >&6; }
21995 if test "${ac_cv_lib_m_erfl+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_erfl
=yes
22024 ac_cv_lib_m_erfl
=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_erfl" >&5
22031 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22032 if test "x$ac_cv_lib_m_erfl" = x
""yes; then :
22034 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22039 $as_echo_n "checking for erfcf in -lm... " >&6; }
22040 if test "${ac_cv_lib_m_erfcf+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_erfcf
=yes
22069 ac_cv_lib_m_erfcf
=no
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_erfcf" >&5
22076 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22077 if test "x$ac_cv_lib_m_erfcf" = x
""yes; then :
22079 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22084 $as_echo_n "checking for erfc in -lm... " >&6; }
22085 if test "${ac_cv_lib_m_erfc+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_erfc
=yes
22114 ac_cv_lib_m_erfc
=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_erfc" >&5
22121 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22122 if test "x$ac_cv_lib_m_erfc" = x
""yes; then :
22124 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22129 $as_echo_n "checking for erfcl in -lm... " >&6; }
22130 if test "${ac_cv_lib_m_erfcl+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_erfcl
=yes
22159 ac_cv_lib_m_erfcl
=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_erfcl" >&5
22166 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22167 if test "x$ac_cv_lib_m_erfcl" = x
""yes; then :
22169 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22174 $as_echo_n "checking for j0f in -lm... " >&6; }
22175 if test "${ac_cv_lib_m_j0f+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_j0f
=yes
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_j0f" >&5
22211 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22212 if test "x$ac_cv_lib_m_j0f" = x
""yes; then :
22214 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22219 $as_echo_n "checking for j0 in -lm... " >&6; }
22220 if test "${ac_cv_lib_m_j0+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 :
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_j0" >&5
22256 $as_echo "$ac_cv_lib_m_j0" >&6; }
22257 if test "x$ac_cv_lib_m_j0" = x
""yes; then :
22259 $as_echo "#define HAVE_J0 1" >>confdefs.h
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22264 $as_echo_n "checking for j0l in -lm... " >&6; }
22265 if test "${ac_cv_lib_m_j0l+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_j0l
=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_j0l" >&5
22301 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22302 if test "x$ac_cv_lib_m_j0l" = x
""yes; then :
22304 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22309 $as_echo_n "checking for j1f in -lm... " >&6; }
22310 if test "${ac_cv_lib_m_j1f+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 :
22337 ac_cv_lib_m_j1f
=yes
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_j1f" >&5
22346 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22347 if test "x$ac_cv_lib_m_j1f" = x
""yes; then :
22349 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22354 $as_echo_n "checking for j1 in -lm... " >&6; }
22355 if test "${ac_cv_lib_m_j1+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 :
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_j1" >&5
22391 $as_echo "$ac_cv_lib_m_j1" >&6; }
22392 if test "x$ac_cv_lib_m_j1" = x
""yes; then :
22394 $as_echo "#define HAVE_J1 1" >>confdefs.h
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22399 $as_echo_n "checking for j1l in -lm... " >&6; }
22400 if test "${ac_cv_lib_m_j1l+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_j1l
=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_j1l" >&5
22436 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22437 if test "x$ac_cv_lib_m_j1l" = x
""yes; then :
22439 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22444 $as_echo_n "checking for jnf in -lm... " >&6; }
22445 if test "${ac_cv_lib_m_jnf+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 :
22472 ac_cv_lib_m_jnf
=yes
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_jnf" >&5
22481 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22482 if test "x$ac_cv_lib_m_jnf" = x
""yes; then :
22484 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22489 $as_echo_n "checking for jn in -lm... " >&6; }
22490 if test "${ac_cv_lib_m_jn+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 :
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_jn" >&5
22526 $as_echo "$ac_cv_lib_m_jn" >&6; }
22527 if test "x$ac_cv_lib_m_jn" = x
""yes; then :
22529 $as_echo "#define HAVE_JN 1" >>confdefs.h
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22534 $as_echo_n "checking for jnl in -lm... " >&6; }
22535 if test "${ac_cv_lib_m_jnl+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_jnl
=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_jnl" >&5
22571 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22572 if test "x$ac_cv_lib_m_jnl" = x
""yes; then :
22574 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22579 $as_echo_n "checking for y0f in -lm... " >&6; }
22580 if test "${ac_cv_lib_m_y0f+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 :
22607 ac_cv_lib_m_y0f
=yes
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_y0f" >&5
22616 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22617 if test "x$ac_cv_lib_m_y0f" = x
""yes; then :
22619 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22624 $as_echo_n "checking for y0 in -lm... " >&6; }
22625 if test "${ac_cv_lib_m_y0+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 :
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_y0" >&5
22661 $as_echo "$ac_cv_lib_m_y0" >&6; }
22662 if test "x$ac_cv_lib_m_y0" = x
""yes; then :
22664 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22669 $as_echo_n "checking for y0l in -lm... " >&6; }
22670 if test "${ac_cv_lib_m_y0l+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_y0l
=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_y0l" >&5
22706 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22707 if test "x$ac_cv_lib_m_y0l" = x
""yes; then :
22709 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22714 $as_echo_n "checking for y1f in -lm... " >&6; }
22715 if test "${ac_cv_lib_m_y1f+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 :
22742 ac_cv_lib_m_y1f
=yes
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_y1f" >&5
22751 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22752 if test "x$ac_cv_lib_m_y1f" = x
""yes; then :
22754 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22759 $as_echo_n "checking for y1 in -lm... " >&6; }
22760 if test "${ac_cv_lib_m_y1+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 :
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_y1" >&5
22796 $as_echo "$ac_cv_lib_m_y1" >&6; }
22797 if test "x$ac_cv_lib_m_y1" = x
""yes; then :
22799 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22804 $as_echo_n "checking for y1l in -lm... " >&6; }
22805 if test "${ac_cv_lib_m_y1l+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_y1l
=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_y1l" >&5
22841 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22842 if test "x$ac_cv_lib_m_y1l" = x
""yes; then :
22844 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22849 $as_echo_n "checking for ynf in -lm... " >&6; }
22850 if test "${ac_cv_lib_m_ynf+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 :
22877 ac_cv_lib_m_ynf
=yes
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_ynf" >&5
22886 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22887 if test "x$ac_cv_lib_m_ynf" = x
""yes; then :
22889 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22894 $as_echo_n "checking for yn in -lm... " >&6; }
22895 if test "${ac_cv_lib_m_yn+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 :
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_yn" >&5
22931 $as_echo "$ac_cv_lib_m_yn" >&6; }
22932 if test "x$ac_cv_lib_m_yn" = x
""yes; then :
22934 $as_echo "#define HAVE_YN 1" >>confdefs.h
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22939 $as_echo_n "checking for ynl in -lm... " >&6; }
22940 if test "${ac_cv_lib_m_ynl+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_ynl
=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_ynl" >&5
22976 $as_echo "$ac_cv_lib_m_ynl" >&6; }
22977 if test "x$ac_cv_lib_m_ynl" = x
""yes; then :
22979 $as_echo "#define HAVE_YNL 1" >>confdefs.h
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
22984 $as_echo_n "checking for tgamma in -lm... " >&6; }
22985 if test "${ac_cv_lib_m_tgamma+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 :
23012 ac_cv_lib_m_tgamma
=yes
23014 ac_cv_lib_m_tgamma
=no
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_tgamma" >&5
23021 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23022 if test "x$ac_cv_lib_m_tgamma" = x
""yes; then :
23024 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23029 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23030 if test "${ac_cv_lib_m_tgammaf+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_tgammaf
=yes
23059 ac_cv_lib_m_tgammaf
=no
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_tgammaf" >&5
23066 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23067 if test "x$ac_cv_lib_m_tgammaf" = x
""yes; then :
23069 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23074 $as_echo_n "checking for tgammal in -lm... " >&6; }
23075 if test "${ac_cv_lib_m_tgammal+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_tgammal
=yes
23104 ac_cv_lib_m_tgammal
=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_tgammal" >&5
23111 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23112 if test "x$ac_cv_lib_m_tgammal" = x
""yes; then :
23114 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23119 $as_echo_n "checking for lgamma in -lm... " >&6; }
23120 if test "${ac_cv_lib_m_lgamma+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_lgamma
=yes
23149 ac_cv_lib_m_lgamma
=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_lgamma" >&5
23156 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23157 if test "x$ac_cv_lib_m_lgamma" = x
""yes; then :
23159 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23164 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23165 if test "${ac_cv_lib_m_lgammaf+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_lgammaf
=yes
23194 ac_cv_lib_m_lgammaf
=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_lgammaf" >&5
23201 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23202 if test "x$ac_cv_lib_m_lgammaf" = x
""yes; then :
23204 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23209 $as_echo_n "checking for lgammal in -lm... " >&6; }
23210 if test "${ac_cv_lib_m_lgammal+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_lgammal
=yes
23239 ac_cv_lib_m_lgammal
=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_lgammal" >&5
23246 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23247 if test "x$ac_cv_lib_m_lgammal" = x
""yes; then :
23249 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23254 # Check for GFORTRAN_C99_1.1 funcs
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23256 $as_echo_n "checking for cacos in -lm... " >&6; }
23257 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23258 $as_echo_n "(cached) " >&6
23260 ac_check_lib_save_LIBS
=$LIBS
23262 if test x
$gcc_no_link = xyes
; then
23263 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h. */
23268 /* Override any GCC internal prototype to avoid an error.
23269 Use char because int might match the return type of a GCC
23270 builtin and then its argument prototype would still apply. */
23283 if ac_fn_c_try_link
"$LINENO"; then :
23284 ac_cv_lib_m_cacos
=yes
23286 ac_cv_lib_m_cacos
=no
23288 rm -f core conftest.err conftest.
$ac_objext \
23289 conftest
$ac_exeext conftest.
$ac_ext
23290 LIBS
=$ac_check_lib_save_LIBS
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23293 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23294 if test "x$ac_cv_lib_m_cacos" = x
""yes; then :
23296 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23301 $as_echo_n "checking for cacosf in -lm... " >&6; }
23302 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23303 $as_echo_n "(cached) " >&6
23305 ac_check_lib_save_LIBS
=$LIBS
23307 if test x
$gcc_no_link = xyes
; then
23308 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23311 /* end confdefs.h. */
23313 /* Override any GCC internal prototype to avoid an error.
23314 Use char because int might match the return type of a GCC
23315 builtin and then its argument prototype would still apply. */
23328 if ac_fn_c_try_link
"$LINENO"; then :
23329 ac_cv_lib_m_cacosf
=yes
23331 ac_cv_lib_m_cacosf
=no
23333 rm -f core conftest.err conftest.
$ac_objext \
23334 conftest
$ac_exeext conftest.
$ac_ext
23335 LIBS
=$ac_check_lib_save_LIBS
23337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23338 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23339 if test "x$ac_cv_lib_m_cacosf" = x
""yes; then :
23341 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23346 $as_echo_n "checking for cacosh in -lm... " >&6; }
23347 if test "${ac_cv_lib_m_cacosh+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_cacosh
=yes
23376 ac_cv_lib_m_cacosh
=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_cacosh" >&5
23383 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23384 if test "x$ac_cv_lib_m_cacosh" = x
""yes; then :
23386 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23391 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23392 if test "${ac_cv_lib_m_cacoshf+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_cacoshf
=yes
23421 ac_cv_lib_m_cacoshf
=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_cacoshf" >&5
23428 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23429 if test "x$ac_cv_lib_m_cacoshf" = x
""yes; then :
23431 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23436 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23437 if test "${ac_cv_lib_m_cacoshl+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_cacoshl
=yes
23466 ac_cv_lib_m_cacoshl
=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_cacoshl" >&5
23473 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23474 if test "x$ac_cv_lib_m_cacoshl" = x
""yes; then :
23476 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23481 $as_echo_n "checking for cacosl in -lm... " >&6; }
23482 if test "${ac_cv_lib_m_cacosl+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_cacosl
=yes
23511 ac_cv_lib_m_cacosl
=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_cacosl" >&5
23518 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23519 if test "x$ac_cv_lib_m_cacosl" = x
""yes; then :
23521 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23526 $as_echo_n "checking for casin in -lm... " >&6; }
23527 if test "${ac_cv_lib_m_casin+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_casin
=yes
23556 ac_cv_lib_m_casin
=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_casin" >&5
23563 $as_echo "$ac_cv_lib_m_casin" >&6; }
23564 if test "x$ac_cv_lib_m_casin" = x
""yes; then :
23566 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23571 $as_echo_n "checking for casinf in -lm... " >&6; }
23572 if test "${ac_cv_lib_m_casinf+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_casinf
=yes
23601 ac_cv_lib_m_casinf
=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_casinf" >&5
23608 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23609 if test "x$ac_cv_lib_m_casinf" = x
""yes; then :
23611 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23616 $as_echo_n "checking for casinh in -lm... " >&6; }
23617 if test "${ac_cv_lib_m_casinh+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_casinh
=yes
23646 ac_cv_lib_m_casinh
=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_casinh" >&5
23653 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23654 if test "x$ac_cv_lib_m_casinh" = x
""yes; then :
23656 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23661 $as_echo_n "checking for casinhf in -lm... " >&6; }
23662 if test "${ac_cv_lib_m_casinhf+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_casinhf
=yes
23691 ac_cv_lib_m_casinhf
=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_casinhf" >&5
23698 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23699 if test "x$ac_cv_lib_m_casinhf" = x
""yes; then :
23701 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23706 $as_echo_n "checking for casinhl in -lm... " >&6; }
23707 if test "${ac_cv_lib_m_casinhl+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_casinhl
=yes
23736 ac_cv_lib_m_casinhl
=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_casinhl" >&5
23743 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23744 if test "x$ac_cv_lib_m_casinhl" = x
""yes; then :
23746 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23751 $as_echo_n "checking for casinl in -lm... " >&6; }
23752 if test "${ac_cv_lib_m_casinl+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_casinl
=yes
23781 ac_cv_lib_m_casinl
=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_casinl" >&5
23788 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23789 if test "x$ac_cv_lib_m_casinl" = x
""yes; then :
23791 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23796 $as_echo_n "checking for catan in -lm... " >&6; }
23797 if test "${ac_cv_lib_m_catan+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_catan
=yes
23826 ac_cv_lib_m_catan
=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_catan" >&5
23833 $as_echo "$ac_cv_lib_m_catan" >&6; }
23834 if test "x$ac_cv_lib_m_catan" = x
""yes; then :
23836 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23841 $as_echo_n "checking for catanf in -lm... " >&6; }
23842 if test "${ac_cv_lib_m_catanf+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_catanf
=yes
23871 ac_cv_lib_m_catanf
=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_catanf" >&5
23878 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23879 if test "x$ac_cv_lib_m_catanf" = x
""yes; then :
23881 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23886 $as_echo_n "checking for catanh in -lm... " >&6; }
23887 if test "${ac_cv_lib_m_catanh+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_catanh
=yes
23916 ac_cv_lib_m_catanh
=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_catanh" >&5
23923 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23924 if test "x$ac_cv_lib_m_catanh" = x
""yes; then :
23926 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23931 $as_echo_n "checking for catanhf in -lm... " >&6; }
23932 if test "${ac_cv_lib_m_catanhf+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_catanhf
=yes
23961 ac_cv_lib_m_catanhf
=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_catanhf" >&5
23968 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
23969 if test "x$ac_cv_lib_m_catanhf" = x
""yes; then :
23971 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
23976 $as_echo_n "checking for catanhl in -lm... " >&6; }
23977 if test "${ac_cv_lib_m_catanhl+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_catanhl
=yes
24006 ac_cv_lib_m_catanhl
=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_catanhl" >&5
24013 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24014 if test "x$ac_cv_lib_m_catanhl" = x
""yes; then :
24016 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24021 $as_echo_n "checking for catanl in -lm... " >&6; }
24022 if test "${ac_cv_lib_m_catanl+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_catanl
=yes
24051 ac_cv_lib_m_catanl
=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_catanl" >&5
24058 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24059 if test "x$ac_cv_lib_m_catanl" = x
""yes; then :
24061 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24066 # On AIX, clog is present in libm as __clog
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24068 $as_echo_n "checking for __clog in -lm... " >&6; }
24069 if test "${ac_cv_lib_m___clog+set}" = set; then :
24070 $as_echo_n "(cached) " >&6
24072 ac_check_lib_save_LIBS
=$LIBS
24074 if test x
$gcc_no_link = xyes
; then
24075 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h. */
24080 /* Override any GCC internal prototype to avoid an error.
24081 Use char because int might match the return type of a GCC
24082 builtin and then its argument prototype would still apply. */
24095 if ac_fn_c_try_link
"$LINENO"; then :
24096 ac_cv_lib_m___clog
=yes
24098 ac_cv_lib_m___clog
=no
24100 rm -f core conftest.err conftest.
$ac_objext \
24101 conftest
$ac_exeext conftest.
$ac_ext
24102 LIBS
=$ac_check_lib_save_LIBS
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24105 $as_echo "$ac_cv_lib_m___clog" >&6; }
24106 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
24108 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24113 # Check for a isfinite macro that works on long doubles.
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
24116 $as_echo_n "checking whether isfinite is broken... " >&6; }
24117 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
24118 $as_echo_n "(cached) " >&6
24121 libgfor_check_for_broken_isfinite_save_LIBS
=$LIBS
24123 if test "$cross_compiling" = yes; then :
24125 case "${target}" in
24126 hppa
*-*-hpux*) libgfor_cv_have_broken_isfinite
=yes ;;
24127 *) libgfor_cv_have_broken_isfinite
=no
;;
24130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24131 /* end confdefs.h. */
24139 if (!isfinite(LDBL_MAX)) return 1;
24142 if (!isfinite(DBL_MAX)) return 1;
24148 if ac_fn_c_try_run
"$LINENO"; then :
24149 libgfor_cv_have_broken_isfinite
=no
24151 libgfor_cv_have_broken_isfinite
=yes
24153 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24154 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24157 LIBS
=$libgfor_check_for_broken_isfinite_save_LIBS
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
24160 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
24161 if test x
"$libgfor_cv_have_broken_isfinite" = xyes
; then
24163 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
24167 # Check for a isnan macro that works on long doubles.
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
24170 $as_echo_n "checking whether isnan is broken... " >&6; }
24171 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
24172 $as_echo_n "(cached) " >&6
24175 libgfor_check_for_broken_isnan_save_LIBS
=$LIBS
24177 if test "$cross_compiling" = yes; then :
24179 case "${target}" in
24180 hppa
*-*-hpux*) libgfor_cv_have_broken_isnan
=yes ;;
24181 *) libgfor_cv_have_broken_isnan
=no
;;
24184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24185 /* end confdefs.h. */
24195 x = __builtin_nanl ("");
24196 if (!isnan(x)) return 1;
24197 if (isnan(LDBL_MAX)) return 1;
24199 x = (long double) NAN;
24200 if (!isnan(x)) return 1;
24207 y = __builtin_nan ("");
24208 if (!isnan(y)) return 1;
24209 if (isnan(DBL_MAX)) return 1;
24212 if (!isnan(y)) return 1;
24220 if ac_fn_c_try_run
"$LINENO"; then :
24221 libgfor_cv_have_broken_isnan
=no
24223 libgfor_cv_have_broken_isnan
=yes
24225 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24226 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24229 LIBS
=$libgfor_check_for_broken_isnan_save_LIBS
24231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
24232 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
24233 if test x
"$libgfor_cv_have_broken_isnan" = xyes
; then
24235 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
24239 # Check for a fpclassify macro that works on long doubles.
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
24242 $as_echo_n "checking whether fpclassify is broken... " >&6; }
24243 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
24244 $as_echo_n "(cached) " >&6
24247 libgfor_check_for_broken_fpclassify_save_LIBS
=$LIBS
24249 if test "$cross_compiling" = yes; then :
24251 case "${target}" in
24252 hppa
*-*-hpux*) libgfor_cv_have_broken_fpclassify
=yes ;;
24253 *) libgfor_cv_have_broken_fpclassify
=no
;;
24256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24257 /* end confdefs.h. */
24265 if (fpclassify(LDBL_MAX) == FP_NAN
24266 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
24269 if (fpclassify(DBL_MAX) == FP_NAN
24270 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
24276 if ac_fn_c_try_run
"$LINENO"; then :
24277 libgfor_cv_have_broken_fpclassify
=no
24279 libgfor_cv_have_broken_fpclassify
=yes
24281 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24282 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24285 LIBS
=$libgfor_check_for_broken_fpclassify_save_LIBS
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
24288 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
24289 if test x
"$libgfor_cv_have_broken_fpclassify" = xyes
; then
24291 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
24295 # Check whether the system has a working stat()
24297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24298 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24299 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24300 $as_echo_n "(cached) " >&6
24303 if test "$cross_compiling" = yes; then :
24305 case "${target}" in
24306 *mingw
*) libgfor_cv_have_working_stat
=no
;;
24307 *) libgfor_cv_have_working_stat
=yes;;
24310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24311 /* end confdefs.h. */
24314 #include <sys/types.h>
24315 #include <sys/stat.h>
24316 #include <unistd.h>
24321 struct stat st1, st2;
24323 f = fopen ("foo", "w");
24324 g = fopen ("bar", "w");
24325 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24327 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24334 if ac_fn_c_try_run
"$LINENO"; then :
24335 libgfor_cv_have_working_stat
=yes
24337 libgfor_cv_have_working_stat
=no
24339 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24340 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24345 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24346 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
24348 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24352 # Check whether __mingw_snprintf() is present
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24355 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24356 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24357 $as_echo_n "(cached) " >&6
24360 if test x
$gcc_no_link = xyes
; then
24361 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24364 /* end confdefs.h. */
24367 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24373 __mingw_snprintf (NULL, 0, "%d\n", 1);
24379 if ac_fn_c_try_link
"$LINENO"; then :
24380 eval "libgfor_cv_have_mingw_snprintf=yes"
24382 eval "libgfor_cv_have_mingw_snprintf=no"
24384 rm -f core conftest.err conftest.
$ac_objext \
24385 conftest
$ac_exeext conftest.
$ac_ext
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24389 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24390 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
24392 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24397 # Check for a broken powf implementation
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24400 $as_echo_n "checking whether powf is broken... " >&6; }
24401 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24402 $as_echo_n "(cached) " >&6
24405 case "${target}" in
24406 hppa
*64*-*-hpux*) libgfor_cv_have_broken_powf
=yes ;;
24407 *) libgfor_cv_have_broken_powf
=no
;;
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24411 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24412 if test x
"$libgfor_cv_have_broken_powf" = xyes
; then
24414 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24419 # Check for GNU libc feenableexcept
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24421 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24422 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24423 $as_echo_n "(cached) " >&6
24425 ac_check_lib_save_LIBS
=$LIBS
24427 if test x
$gcc_no_link = xyes
; then
24428 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24431 /* end confdefs.h. */
24433 /* Override any GCC internal prototype to avoid an error.
24434 Use char because int might match the return type of a GCC
24435 builtin and then its argument prototype would still apply. */
24439 char feenableexcept ();
24443 return feenableexcept ();
24448 if ac_fn_c_try_link
"$LINENO"; then :
24449 ac_cv_lib_m_feenableexcept
=yes
24451 ac_cv_lib_m_feenableexcept
=no
24453 rm -f core conftest.err conftest.
$ac_objext \
24454 conftest
$ac_exeext conftest.
$ac_ext
24455 LIBS
=$ac_check_lib_save_LIBS
24457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24458 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24459 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
24460 have_feenableexcept
=yes
24461 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24466 # Check for SysV fpsetmask
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24469 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24470 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24471 $as_echo_n "(cached) " >&6
24474 if test x
$gcc_no_link = xyes
; then
24475 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24478 /* end confdefs.h. */
24480 #if HAVE_FLOATINGPOINT_H
24481 # include <floatingpoint.h>
24482 #endif /* HAVE_FLOATINGPOINT_H */
24484 # include <ieeefp.h>
24485 #endif /* HAVE_IEEEFP_H */
24494 if ac_fn_c_try_link
"$LINENO"; then :
24495 eval "libgfor_cv_have_fpsetmask=yes"
24497 eval "libgfor_cv_have_fpsetmask=no"
24499 rm -f core conftest.err conftest.
$ac_objext \
24500 conftest
$ac_exeext conftest.
$ac_ext
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24504 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24505 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
24507 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24512 # Check for AIX fp_trap and fp_enable
24513 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24514 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
24516 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24520 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24521 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
24523 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24528 # Runs configure.host to set up necessary host-dependent shell variables.
24529 # We then display a message about it, and propagate them through the
24531 .
${srcdir}/configure.
host
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24533 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24534 FPU_HOST_HEADER
=config
/${fpu_host}.h
24537 # Some targets require additional compiler options for IEEE compatibility.
24538 IEEE_FLAGS
="${ieee_flags}"
24541 # Check out attribute support.
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24544 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24545 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24546 $as_echo_n "(cached) " >&6
24549 save_CFLAGS
="$CFLAGS"
24550 CFLAGS
="$CFLAGS -Werror"
24551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24552 /* end confdefs.h. */
24553 void __attribute__((visibility("hidden"))) foo(void) { }
24562 if ac_fn_c_try_compile
"$LINENO"; then :
24563 libgfor_cv_have_attribute_visibility
=yes
24565 libgfor_cv_have_attribute_visibility
=no
24567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24568 CFLAGS
="$save_CFLAGS"
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24571 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24572 if test $libgfor_cv_have_attribute_visibility = yes; then
24574 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24579 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24580 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24581 $as_echo_n "(cached) " >&6
24584 save_CFLAGS
="$CFLAGS"
24585 CFLAGS
="$CFLAGS -Werror"
24586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24587 /* end confdefs.h. */
24588 void __attribute__((dllexport)) foo(void) { }
24597 if ac_fn_c_try_compile
"$LINENO"; then :
24598 libgfor_cv_have_attribute_dllexport
=yes
24600 libgfor_cv_have_attribute_dllexport
=no
24602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24603 CFLAGS
="$save_CFLAGS"
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24606 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24607 if test $libgfor_cv_have_attribute_dllexport = yes; then
24609 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24614 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24615 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24616 $as_echo_n "(cached) " >&6
24619 if test x
$gcc_no_link = xyes
; then
24620 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24623 /* end confdefs.h. */
24626 extern void bar(void) __attribute__((alias("foo")));
24635 if ac_fn_c_try_link
"$LINENO"; then :
24636 libgfor_cv_have_attribute_alias
=yes
24638 libgfor_cv_have_attribute_alias
=no
24640 rm -f core conftest.err conftest.
$ac_objext \
24641 conftest
$ac_exeext conftest.
$ac_ext
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24644 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24645 if test $libgfor_cv_have_attribute_alias = yes; then
24647 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24651 # Check out sync builtins support.
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24654 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24655 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24656 $as_echo_n "(cached) " >&6
24659 if test x
$gcc_no_link = xyes
; then
24660 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24663 /* end confdefs.h. */
24669 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24670 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24675 if ac_fn_c_try_link
"$LINENO"; then :
24676 libgfor_cv_have_sync_fetch_and_add
=yes
24678 libgfor_cv_have_sync_fetch_and_add
=no
24680 rm -f core conftest.err conftest.
$ac_objext \
24681 conftest
$ac_exeext conftest.
$ac_ext
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24684 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24685 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24687 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24691 # Check out thread support.
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24694 $as_echo_n "checking configured target thread model... " >&6; }
24695 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24696 $as_echo_n "(cached) " >&6
24699 libgfor_cv_target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24702 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24704 if test $libgfor_cv_target_thread_file != single
; then
24706 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24710 # Check out #pragma weak.
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24713 $as_echo_n "checking whether pragma weak works... " >&6; }
24714 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24715 $as_echo_n "(cached) " >&6
24718 gfor_save_CFLAGS
="$CFLAGS"
24719 CFLAGS
="$CFLAGS -Wunknown-pragmas"
24720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24721 /* end confdefs.h. */
24732 if ac_fn_c_try_compile
"$LINENO"; then :
24733 libgfor_cv_have_pragma_weak
=yes
24735 libgfor_cv_have_pragma_weak
=no
24737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24740 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24741 if test $libgfor_cv_have_pragma_weak = yes; then
24743 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24747 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
24749 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24754 # Various other checks on target
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24757 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24758 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24759 $as_echo_n "(cached) " >&6
24762 if test "$cross_compiling" = yes; then :
24764 case "${target}" in
24765 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
24766 *) libgfor_cv_have_unlink_open_file
=yes;;
24769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24770 /* end confdefs.h. */
24774 #include <unistd.h>
24775 #include <sys/stat.h>
24781 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24784 if (unlink ("testfile") == -1)
24786 write (fd, "This is a test\n", 15);
24789 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24795 if ac_fn_c_try_run
"$LINENO"; then :
24796 libgfor_cv_have_unlink_open_file
=yes
24798 libgfor_cv_have_unlink_open_file
=no
24800 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24801 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24806 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24807 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
24809 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24813 # Check whether line terminator is LF or CRLF
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24816 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24817 if test "${libgfor_cv_have_crlf+set}" = set; then :
24818 $as_echo_n "(cached) " >&6
24821 if test "$cross_compiling" = yes; then :
24823 case "${target}" in
24824 *mingw
*) libgfor_cv_have_crlf
=yes ;;
24825 *) libgfor_cv_have_crlf
=no
;;
24828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24829 /* end confdefs.h. */
24831 /* This test program should exit with status 0 if system uses a CRLF as
24832 line terminator, and status 1 otherwise.
24833 Since it is used to check for mingw systems, and should return 0 in any
24834 other case, in case of a failure we will not use CRLF. */
24835 #include <sys/stat.h>
24836 #include <stdlib.h>
24848 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24851 if (write (fd, "\n", 1) < 0)
24856 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24858 bytes = read (fd, buff, 5);
24859 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24866 if ac_fn_c_try_run
"$LINENO"; then :
24867 libgfor_cv_have_crlf
=yes
24869 libgfor_cv_have_crlf
=no
24871 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24872 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24877 $as_echo "$libgfor_cv_have_crlf" >&6; }
24878 if test x
"$libgfor_cv_have_crlf" = xyes
; then
24880 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24884 cat >confcache
<<\_ACEOF
24885 # This file is a shell script that caches the results of configure
24886 # tests run on this system so they can be shared between configure
24887 # scripts and configure runs, see configure's option --config-cache.
24888 # It is not useful on other systems. If it contains results you don't
24889 # want to keep, you may remove or edit it.
24891 # config.status only pays attention to the cache file if you give it
24892 # the --recheck option to rerun configure.
24894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24896 # following values.
24900 # The following way of writing the cache mishandles newlines in values,
24901 # but we know of no workaround that is simple, portable, and efficient.
24902 # So, we kill variables containing newlines.
24903 # Ultrix sh set writes to stderr and can't be redirected directly,
24904 # and sets the high bit in the cache file unless we assign to the vars.
24906 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24907 eval ac_val
=\$
$ac_var
24911 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24915 _ | IFS | as_nl
) ;; #(
24916 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24917 *) { eval $ac_var=; unset $ac_var;} ;;
24923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24924 *${as_nl}ac_space
=\
*)
24925 # `set' does not quote correctly, so add quotes: double-quote
24926 # substitution turns \\\\ into \\, and sed turns \\ into \.
24929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24932 # `set' quotes correctly as required by POSIX, so do not add quotes.
24933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24946 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24947 if test -w "$cache_file"; then
24948 test "x$cache_file" != "x/dev/null" &&
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24950 $as_echo "$as_me: updating cache $cache_file" >&6;}
24951 cat confcache
>$cache_file
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24954 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24959 if test ${multilib} = yes; then
24960 multilib_arg
="--enable-multilib"
24965 # Write our Makefile.
24966 ac_config_files
="$ac_config_files Makefile"
24968 cat >confcache
<<\_ACEOF
24969 # This file is a shell script that caches the results of configure
24970 # tests run on this system so they can be shared between configure
24971 # scripts and configure runs, see configure's option --config-cache.
24972 # It is not useful on other systems. If it contains results you don't
24973 # want to keep, you may remove or edit it.
24975 # config.status only pays attention to the cache file if you give it
24976 # the --recheck option to rerun configure.
24978 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24979 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24980 # following values.
24984 # The following way of writing the cache mishandles newlines in values,
24985 # but we know of no workaround that is simple, portable, and efficient.
24986 # So, we kill variables containing newlines.
24987 # Ultrix sh set writes to stderr and can't be redirected directly,
24988 # and sets the high bit in the cache file unless we assign to the vars.
24990 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24991 eval ac_val
=\$
$ac_var
24995 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24996 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24999 _ | IFS | as_nl
) ;; #(
25000 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25001 *) { eval $ac_var=; unset $ac_var;} ;;
25007 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25008 *${as_nl}ac_space
=\
*)
25009 # `set' does not quote correctly, so add quotes: double-quote
25010 # substitution turns \\\\ into \\, and sed turns \\ into \.
25013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25016 # `set' quotes correctly as required by POSIX, so do not add quotes.
25017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25026 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25028 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25030 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25031 if test -w "$cache_file"; then
25032 test "x$cache_file" != "x/dev/null" &&
25033 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25034 $as_echo "$as_me: updating cache $cache_file" >&6;}
25035 cat confcache
>$cache_file
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25038 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25043 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25044 # Let make expand exec_prefix.
25045 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25047 DEFS
=-DHAVE_CONFIG_H
25051 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25052 # 1. Remove the extension, and $U if already installed.
25053 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25054 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25055 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25056 # will be set to the directory where LIBOBJS objects are built.
25057 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25058 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25060 LIBOBJS
=$ac_libobjs
25062 LTLIBOBJS
=$ac_ltlibobjs
25065 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25066 as_fn_error
"conditional \"onestep\" was never defined.
25067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25069 if test -n "$EXEEXT"; then
25071 am__EXEEXT_FALSE
='#'
25073 am__EXEEXT_TRUE
='#'
25077 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25078 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
25079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25081 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25082 as_fn_error
"conditional \"AMDEP\" was never defined.
25083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25085 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25086 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25089 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25090 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25094 : ${CONFIG_STATUS=./config.status}
25096 ac_clean_files_save
=$ac_clean_files
25097 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25099 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25101 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25103 # Generated by $as_me.
25104 # Run this file to recreate the current configuration.
25105 # Compiler output produced by configure, useful for debugging
25106 # configure, is in config.log if it exists.
25109 ac_cs_recheck=false
25112 SHELL=\${CONFIG_SHELL-$SHELL}
25115 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25116 ## -------------------- ##
25117 ## M4sh Initialization. ##
25118 ## -------------------- ##
25120 # Be more Bourne compatible
25121 DUALCASE
=1; export DUALCASE
# for MKS sh
25122 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25125 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25126 # is contrary to our usage. Disable this feature.
25127 alias -g '${1+"$@"}'='"$@"'
25128 setopt NO_GLOB_SUBST
25130 case `(set -o) 2>/dev/null` in #(
25142 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25143 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25144 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25146 # Prefer a ksh shell builtin over an external printf program on Solaris,
25147 # but without wasting forks for bash or zsh.
25148 if test -z "$BASH_VERSION$ZSH_VERSION" \
25149 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25150 as_echo='print
-r --'
25151 as_echo_n='print
-rn --'
25152 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25153 as_echo='printf %s
\n'
25154 as_echo_n='printf %s
'
25156 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25157 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25158 as_echo_n='/usr
/ucb
/echo -n'
25160 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25161 as_echo_n_body='eval
25165 expr "X$arg" : "X\\(.*\\)$as_nl";
25166 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25168 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25170 export as_echo_n_body
25171 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25173 export as_echo_body
25174 as_echo='sh
-c $as_echo_body as_echo
'
25177 # The user is always right.
25178 if test "${PATH_SEPARATOR+set}" != set; then
25180 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25181 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25188 # We need space, tab and new line, in precisely that order. Quoting is
25189 # there to prevent editors from complaining about space-tab.
25190 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25191 # splitting by setting IFS to empty value.)
25194 # Find who we are. Look in the path if we contain no directory separator.
25196 *[\\/]* ) as_myself=$0 ;;
25197 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25198 for as_dir in $PATH
25201 test -z "$as_dir" && as_dir=.
25202 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25208 # We did not find ourselves, most probably we were run as `sh COMMAND'
25209 # in which case we are not to be found in the path.
25210 if test "x$as_myself" = x
; then
25213 if test ! -f "$as_myself"; then
25214 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25218 # Unset variables that we do not need and which cause bugs (e.g. in
25219 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25220 # suppresses any "Segmentation fault" message there. '((' could
25221 # trigger a bug in pdksh 5.2.14.
25222 for as_var
in BASH_ENV ENV MAIL MAILPATH
25223 do eval test x\
${$as_var+set} = xset \
25224 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25237 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25240 # as_fn_error ERROR [LINENO LOG_FD]
25241 # ---------------------------------
25242 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25243 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25244 # script with status $?, using 1 if that was 0.
25247 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25249 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25250 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25252 $as_echo "$as_me: error: $1" >&2
25253 as_fn_exit
$as_status
25257 # as_fn_set_status STATUS
25258 # -----------------------
25259 # Set $? to STATUS, without forking.
25260 as_fn_set_status
()
25263 } # as_fn_set_status
25265 # as_fn_exit STATUS
25266 # -----------------
25267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25271 as_fn_set_status
$1
25277 # Portably unset VAR.
25280 { eval $1=; unset $1;}
25282 as_unset
=as_fn_unset
25283 # as_fn_append VAR VALUE
25284 # ----------------------
25285 # Append the text in VALUE to the end of the definition contained in VAR. Take
25286 # advantage of any shell optimizations that allow amortized linear growth over
25287 # repeated appends, instead of the typical quadratic growth present in naive
25289 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25290 eval 'as_fn_append ()
25301 # as_fn_arith ARG...
25302 # ------------------
25303 # Perform arithmetic evaluation on the ARGs, and store the result in the
25304 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25305 # must be portable across $(()) and expr.
25306 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25307 eval 'as_fn_arith ()
25314 as_val
=`expr "$@" || test $? -eq 1`
25319 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25320 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25326 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25327 as_basename
=basename
25332 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25338 as_me
=`$as_basename -- "$0" ||
25339 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25340 X"$0" : 'X\(//\)$' \| \
25341 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25343 sed '/^.*\/\([^/][^/]*\)\/*$/{
25357 # Avoid depending upon Character Ranges.
25358 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25359 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25360 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25361 as_cr_digits
='0123456789'
25362 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25364 ECHO_C
= ECHO_N
= ECHO_T
=
25365 case `echo -n x` in #(((((
25367 case `echo 'xy\c'` in
25368 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25370 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25377 rm -f conf$$ conf$$.exe conf$$.
file
25378 if test -d conf$$.dir
; then
25379 rm -f conf$$.dir
/conf$$.
file
25382 mkdir conf$$.dir
2>/dev
/null
25384 if (echo >conf$$.
file) 2>/dev
/null
; then
25385 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25387 # ... but there are two gotchas:
25388 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25389 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25390 # In both cases, we have to default to `cp -p'.
25391 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25393 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25401 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25402 rmdir conf$$.dir
2>/dev
/null
25407 # Create "$as_dir" as a directory, including parents if necessary.
25412 -*) as_dir
=.
/$as_dir;;
25414 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25418 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25419 *) as_qdir
=$as_dir;;
25421 as_dirs
="'$as_qdir' $as_dirs"
25422 as_dir
=`$as_dirname -- "$as_dir" ||
25423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25424 X"$as_dir" : 'X\(//\)[^/]' \| \
25425 X"$as_dir" : 'X\(//\)$' \| \
25426 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25427 $as_echo X"$as_dir" |
25428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25432 /^X\(\/\/\)[^/].*/{
25445 test -d "$as_dir" && break
25447 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25448 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25452 if mkdir
-p .
2>/dev
/null
; then
25453 as_mkdir_p
='mkdir -p "$as_dir"'
25455 test -d .
/-p && rmdir .
/-p
25459 if test -x / >/dev
/null
2>&1; then
25460 as_test_x
='test -x'
25462 if ls -dL / >/dev
/null
2>&1; then
25469 if test -d "$1"; then
25475 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25476 ???[sx]*):;;*)false;;esac;fi
25480 as_executable_p
=$as_test_x
25482 # Sed expression to map a string onto a valid CPP name.
25483 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25485 # Sed expression to map a string onto a valid variable name.
25486 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25490 ## ----------------------------------- ##
25491 ## Main body of $CONFIG_STATUS script. ##
25492 ## ----------------------------------- ##
25494 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25497 # Save the log message, to keep $0 and so on meaningful, and to
25498 # report actual input values of CONFIG_FILES etc. instead of their
25499 # values after options handling.
25501 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25502 generated by GNU Autoconf 2.64. Invocation command line was
25504 CONFIG_FILES = $CONFIG_FILES
25505 CONFIG_HEADERS = $CONFIG_HEADERS
25506 CONFIG_LINKS = $CONFIG_LINKS
25507 CONFIG_COMMANDS = $CONFIG_COMMANDS
25510 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25515 case $ac_config_files in *"
25516 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25519 case $ac_config_headers in *"
25520 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25525 # Files that config.status was made for.
25526 config_files="$ac_config_files"
25527 config_headers="$ac_config_headers"
25528 config_commands="$ac_config_commands"
25532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25534 \`$as_me' instantiates files and other configuration actions
25535 from templates according to the current configuration. Unless the files
25536 and actions are specified as TAGs, all are instantiated by default.
25538 Usage: $0 [OPTION]... [TAG]...
25540 -h, --help print this help, then exit
25541 -V, --version print version number and configuration settings, then exit
25542 -q, --quiet, --silent
25543 do not print progress messages
25544 -d, --debug don't remove temporary files
25545 --recheck update $as_me by reconfiguring in the same conditions
25546 --file=FILE[:TEMPLATE]
25547 instantiate the configuration file FILE
25548 --header=FILE[:TEMPLATE]
25549 instantiate the configuration header FILE
25551 Configuration files:
25554 Configuration headers:
25557 Configuration commands:
25560 Report bugs to the package provider.
25561 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25562 General help using GNU software: <http://www.gnu.org/gethelp/>."
25565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25567 GNU Fortran Runtime Library config.status 0.3
25568 configured by $0, generated by GNU Autoconf 2.64,
25569 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25571 Copyright (C) 2009 Free Software Foundation, Inc.
25572 This config.status script is free software; the Free Software Foundation
25573 gives unlimited permission to copy, distribute and modify it."
25580 test -n "\$AWK" || AWK=awk
25583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25584 # The default lists apply if the user does not specify any file.
25590 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25591 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25602 # Handling of the options.
25603 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25605 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25606 $as_echo "$ac_cs_version"; exit ;;
25607 --debug |
--debu |
--deb |
--de |
--d |
-d )
25609 --file |
--fil |
--fi |
--f )
25612 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25614 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25615 ac_need_defaults
=false
;;
25616 --header |
--heade |
--head |
--hea )
25619 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25621 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25622 ac_need_defaults
=false
;;
25624 # Conflict between --help and --header
25625 as_fn_error
"ambiguous option: \`$1'
25626 Try \`$0 --help' for more information.";;
25627 --help |
--hel |
-h )
25628 $as_echo "$ac_cs_usage"; exit ;;
25629 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25630 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25633 # This is an error.
25634 -*) as_fn_error
"unrecognized option: \`$1'
25635 Try \`$0 --help' for more information." ;;
25637 *) as_fn_append ac_config_targets
" $1"
25638 ac_need_defaults
=false
;;
25644 ac_configure_extra_args
=
25646 if $ac_cs_silent; then
25648 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25653 if \$ac_cs_recheck; then
25654 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25656 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25657 CONFIG_SHELL='$SHELL'
25658 export CONFIG_SHELL
25663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25667 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25668 ## Running $as_me. ##
25674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25682 with_multisubdir="$with_multisubdir"
25683 with_multisrctop="$with_multisrctop"
25684 with_target_subdir="$with_target_subdir"
25685 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25686 multi_basedir="$multi_basedir"
25687 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25690 GFORTRAN="$GFORTRAN"
25692 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25695 # The HP-UX ksh and POSIX shell print the target directory to stdout
25696 # if CDPATH is set.
25697 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25699 sed_quote_subst='$sed_quote_subst'
25700 double_quote_subst='$double_quote_subst'
25701 delay_variable_subst='$delay_variable_subst'
25702 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25703 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25704 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25705 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25706 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25707 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25708 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25709 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25710 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25711 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25712 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25713 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25714 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25715 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25716 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25717 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25718 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25719 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25720 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25721 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25722 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25723 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25724 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25725 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25726 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25727 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25728 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25729 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25730 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25731 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25732 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25733 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25734 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25735 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25736 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25737 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25738 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25739 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25740 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25741 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25742 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25743 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25744 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25745 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25746 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25747 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25748 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25749 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25750 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"`'
25751 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25752 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25753 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25754 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25755 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25756 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25757 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25758 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25759 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25760 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25761 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25762 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25763 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25764 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25765 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25766 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25767 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25768 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25769 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25770 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25771 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25772 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25773 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25774 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25775 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25776 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25777 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25778 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25779 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25780 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25781 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25782 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25783 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25784 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25785 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25786 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25787 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25788 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25789 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25790 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25791 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25792 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25793 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25794 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25795 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25796 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25797 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25798 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25799 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25800 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25801 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25802 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25803 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25804 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25805 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25806 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25807 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25808 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25809 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25810 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25811 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25812 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25813 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25814 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25815 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25816 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25817 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25818 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25819 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25820 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25821 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25822 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25823 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25824 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25825 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25826 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25827 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25828 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25829 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25830 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25831 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25832 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25833 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25834 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25835 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25836 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25837 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25838 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25839 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25840 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25841 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25842 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25843 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25844 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25845 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25846 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25847 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25848 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25849 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25850 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25851 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25852 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25853 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25854 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25855 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25856 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25857 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25858 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25859 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25860 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25861 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25862 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25863 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25864 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25865 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25866 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25867 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25868 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25869 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25870 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25871 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25872 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25873 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25874 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25875 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25876 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25879 LTCFLAGS='$LTCFLAGS'
25880 compiler='$compiler_DEFAULT'
25882 # A function that is used when there is no print builtin or printf.
25883 func_fallback_echo ()
25885 eval 'cat <<_LTECHO_EOF
25890 # Quote evaled strings.
25904 deplibs_check_method \
25913 lt_cv_sys_global_symbol_pipe \
25914 lt_cv_sys_global_symbol_to_cdecl \
25915 lt_cv_sys_global_symbol_to_c_name_address \
25916 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25917 lt_prog_compiler_no_builtin_flag \
25918 lt_prog_compiler_wl \
25919 lt_prog_compiler_pic \
25920 lt_prog_compiler_static \
25921 lt_cv_prog_compiler_c_o \
25929 export_dynamic_flag_spec \
25930 whole_archive_flag_spec \
25931 compiler_needs_object \
25933 allow_undefined_flag \
25934 no_undefined_flag \
25935 hardcode_libdir_flag_spec \
25936 hardcode_libdir_flag_spec_ld \
25937 hardcode_libdir_separator \
25942 variables_saved_for_relink \
25944 library_names_spec \
25946 install_override_mode \
25950 compiler_lib_search_dirs \
25955 compiler_lib_search_path \
25959 lt_prog_compiler_no_builtin_flag_FC \
25960 lt_prog_compiler_wl_FC \
25961 lt_prog_compiler_pic_FC \
25962 lt_prog_compiler_static_FC \
25963 lt_cv_prog_compiler_c_o_FC \
25964 export_dynamic_flag_spec_FC \
25965 whole_archive_flag_spec_FC \
25966 compiler_needs_object_FC \
25968 allow_undefined_flag_FC \
25969 no_undefined_flag_FC \
25970 hardcode_libdir_flag_spec_FC \
25971 hardcode_libdir_flag_spec_ld_FC \
25972 hardcode_libdir_separator_FC \
25973 fix_srcfile_path_FC \
25974 exclude_expsyms_FC \
25975 include_expsyms_FC \
25976 file_list_spec_FC \
25977 compiler_lib_search_dirs_FC \
25978 predep_objects_FC \
25979 postdep_objects_FC \
25982 compiler_lib_search_path_FC; do
25983 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25984 *[\\\\\\\`\\"\\\$]*)
25985 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25988 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25993 # Double-quote double-evaled strings.
25994 for var in reload_cmds \
25995 old_postinstall_cmds \
25996 old_postuninstall_cmds \
25998 extract_expsyms_cmds \
25999 old_archive_from_new_cmds \
26000 old_archive_from_expsyms_cmds \
26002 archive_expsym_cmds \
26004 module_expsym_cmds \
26005 export_symbols_cmds \
26008 postuninstall_cmds \
26010 sys_lib_search_path_spec \
26011 sys_lib_dlsearch_path_spec \
26013 old_archive_cmds_FC \
26014 old_archive_from_new_cmds_FC \
26015 old_archive_from_expsyms_cmds_FC \
26017 archive_expsym_cmds_FC \
26019 module_expsym_cmds_FC \
26020 export_symbols_cmds_FC \
26021 prelink_cmds_FC; do
26022 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26023 *[\\\\\\\`\\"\\\$]*)
26024 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26027 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26032 ac_aux_dir='$ac_aux_dir'
26033 xsi_shell='$xsi_shell'
26034 lt_shell_append='$lt_shell_append'
26036 # See if we are running on zsh, and set the options which allow our
26037 # commands through without removal of \ escapes INIT.
26038 if test -n "\${ZSH_VERSION+set}" ; then
26039 setopt NO_GLOB_SUBST
26045 TIMESTAMP='$TIMESTAMP'
26056 acx_cv_header_stdint="$acx_cv_header_stdint"
26057 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26058 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26059 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26060 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26061 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26062 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26063 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26064 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26065 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26066 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26067 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26068 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26069 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26076 # Handling of arguments.
26077 for ac_config_target
in $ac_config_targets
26079 case $ac_config_target in
26080 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
26081 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26082 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26083 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26084 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
26085 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26087 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26092 # If the user did not use the arguments to specify the items to instantiate,
26093 # then the envvar interface is used. Set only those that are not.
26094 # We use the long form for the default assignment because of an extremely
26095 # bizarre bug on SunOS 4.1.3.
26096 if $ac_need_defaults; then
26097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26099 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26102 # Have a temporary directory for convenience. Make it in the build tree
26103 # simply because there is no reason against having it here, and in addition,
26104 # creating and moving files from /tmp can sometimes cause problems.
26105 # Hook for its removal unless debugging.
26106 # Note that there is a small window in which the directory will not be cleaned:
26107 # after its creation but before its name has been assigned to `$tmp'.
26111 trap 'exit_status=$?
26112 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26114 trap 'as_fn_exit 1' 1 2 13 15
26116 # Create a (secure) tmp directory for tmp files.
26119 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26120 test -n "$tmp" && test -d "$tmp"
26123 tmp
=.
/conf$$
-$RANDOM
26124 (umask 077 && mkdir
"$tmp")
26125 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26127 # Set up the scripts for CONFIG_FILES section.
26128 # No need to generate them if there are no CONFIG_FILES.
26129 # This happens for instance with `./config.status config.h'.
26130 if test -n "$CONFIG_FILES"; then
26133 ac_cr
=`echo X | tr X '\015'`
26134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26135 # But we know of no other shell where ac_cr would be empty at this
26136 # point, so we can use a bashism as a fallback.
26137 if test "x$ac_cr" = x
; then
26138 eval ac_cr
=\$
\'\\r
\'
26140 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26144 ac_cs_awk_cr
=$ac_cr
26147 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26152 echo "cat >conf$$subs.awk <<_ACEOF" &&
26153 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26155 } >conf$$subs.sh ||
26156 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26159 for ac_last_try in false false false false false :; do
26160 . ./conf$$subs.sh ||
26161 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26163 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26164 if test $ac_delim_n = $ac_delim_num; then
26166 elif $ac_last_try; then
26167 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26169 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26172 rm -f conf$$subs.sh
26174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26175 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26179 s/^/S["/; s
/!.
*/"]=/
26189 s/\(.\{148\}\).*/\1/
26191 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26196 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26203 s/\(.\{148\}\).*/\1/
26205 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26209 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26214 ' <conf$$subs.awk | sed '
26219 ' >>$CONFIG_STATUS || ac_write_fail=1
26220 rm -f conf$$subs.awk
26221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26223 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26224 for (key in S) S_is_set[key] = 1
26230 nfields = split(line, field, "@
")
26232 len = length(field[1])
26233 for (i = 2; i < nfields; i++) {
26235 keylen = length(key)
26236 if (S_is_set[key]) {
26238 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26239 len += length(value) + length(field[++i])
26250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26251 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26252 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26255 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26256 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26261 # trailing colons and then remove the whole line if VPATH becomes empty
26262 # (actually we leave an empty line to preserve line numbers).
26263 if test "x
$srcdir" = x.; then
26264 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26265 s/:*\$(srcdir):*/:/
26266 s/:*\${srcdir}:*/:/
26268 s/^\([^=]*=[ ]*\):*/\1/
26274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26275 fi # test -n "$CONFIG_FILES"
26277 # Set up the scripts for CONFIG_HEADERS section.
26278 # No need to generate them if there are no CONFIG_HEADERS.
26279 # This happens for instance with `./config.status Makefile'.
26280 if test -n "$CONFIG_HEADERS"; then
26281 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26285 # Transform confdefs.h into an awk script `defines.awk', embedded as
26286 # here-document in config.status, that substitutes the proper values into
26287 # config.h.in to produce config.h.
26289 # Create a delimiter string that does not exist in confdefs.h, to ease
26290 # handling of long lines.
26292 for ac_last_try in false false :; do
26293 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26294 if test -z "$ac_t"; then
26296 elif $ac_last_try; then
26297 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26299 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26303 # For the awk script, D is an array of macro values keyed by name,
26304 # likewise P contains macro parameters if any. Preserve backslash
26305 # newline sequences.
26307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26309 s/.\{148\}/&'"$ac_delim"'/g
26312 s/^[ ]*#[ ]*define[ ][ ]*/ /
26319 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26321 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26326 D["\
1"]=" \
3\\\\\\n
"\\/p
26328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26333 s/.\{148\}/&'"$ac_delim"'/g
26338 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26341 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26343 ' <confdefs.h | sed '
26344 s/'"$ac_delim"'/"\\\
26345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26348 for (key in D) D_is_set[key] = 1
26351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26353 split(line, arg, " ")
26354 if (arg[1] == "#") {
26358 defundef
= substr
(arg
[1], 2)
26361 split(mac1
, mac2
, "(") #)
26363 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26364 if (D_is_set
[macro
]) {
26365 # Preserve the white space surrounding the "#".
26366 print prefix
"define", macro P
[macro
] D
[macro
]
26369 # Replace #undef with comments. This is necessary, for example,
26370 # in the case of _POSIX_SOURCE, which is predefined and required
26371 # on some systems where configure will not decide to define it.
26372 if (defundef
== "undef") {
26373 print
"/*", prefix defundef
, macro
, "*/"
26381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26382 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26383 fi # test -n "$CONFIG_HEADERS"
26386 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26391 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26393 case $ac_mode$ac_tag in
26395 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26396 :[FH
]-) ac_tag
=-:-;;
26397 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26414 -) ac_f
="$tmp/stdin";;
26415 *) # Look for the file first in the build tree, then in the source tree
26416 # (if the path is not absolute). The absolute path cannot be DOS-style,
26417 # because $ac_f cannot contain `:'.
26421 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26423 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26425 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26426 as_fn_append ac_file_inputs
" '$ac_f'"
26429 # Let's still pretend it is `configure' which instantiates (i.e., don't
26430 # use $as_me), people would be surprised to read:
26431 # /* config.h. Generated by config.status. */
26432 configure_input
='Generated from '`
26433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26435 if test x
"$ac_file" != x-
; then
26436 configure_input
="$ac_file. $configure_input"
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26438 $as_echo "$as_me: creating $ac_file" >&6;}
26440 # Neutralize special characters interpreted by sed in replacement strings.
26441 case $configure_input in #(
26442 *\
&* |
*\|
* |
*\\* )
26443 ac_sed_conf_input
=`$as_echo "$configure_input" |
26444 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26445 *) ac_sed_conf_input
=$configure_input;;
26449 *:-:* |
*:-) cat >"$tmp/stdin" \
26450 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26455 ac_dir
=`$as_dirname -- "$ac_file" ||
26456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26457 X"$ac_file" : 'X\(//\)[^/]' \| \
26458 X"$ac_file" : 'X\(//\)$' \| \
26459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26460 $as_echo X"$ac_file" |
26461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26465 /^X\(\/\/\)[^/].*/{
26478 as_dir
="$ac_dir"; as_fn_mkdir_p
26482 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26484 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26485 # A ".." for each directory in $ac_dir_suffix.
26486 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26487 case $ac_top_builddir_sub in
26488 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26489 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26492 ac_abs_top_builddir
=$ac_pwd
26493 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26494 # for backward compatibility:
26495 ac_top_builddir
=$ac_top_build_prefix
26498 .
) # We are building in place.
26500 ac_top_srcdir
=$ac_top_builddir_sub
26501 ac_abs_top_srcdir
=$ac_pwd ;;
26502 [\\/]* | ?
:[\\/]* ) # Absolute name.
26503 ac_srcdir
=$srcdir$ac_dir_suffix;
26504 ac_top_srcdir
=$srcdir
26505 ac_abs_top_srcdir
=$srcdir ;;
26506 *) # Relative name.
26507 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26508 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26509 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26511 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26521 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26522 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26524 ac_MKDIR_P
=$MKDIR_P
26526 [\\/$
]* | ?
:[\\/]* ) ;;
26527 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26532 # If the template does not know about datarootdir, expand it.
26533 # FIXME: This hack should be removed a few years after 2.60.
26534 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26546 *datarootdir
*) ac_datarootdir_seen
=yes;;
26547 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26549 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26552 ac_datarootdir_hack='
26553 s&@datadir@&$datadir&g
26554 s&@docdir@&$docdir&g
26555 s&@infodir@&$infodir&g
26556 s&@localedir@&$localedir&g
26557 s&@mandir@&$mandir&g
26558 s&\\\${datarootdir}&$datarootdir&g' ;;
26562 # Neutralize VPATH when `$srcdir' = `.'.
26563 # Shell code in configure.ac might set extrasub.
26564 # FIXME: do we really want to maintain this feature?
26565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26566 ac_sed_extra="$ac_vpsub
26569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26571 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26572 s|@configure_input@|
$ac_sed_conf_input|
;t t
26573 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26574 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26575 s
&@srcdir@
&$ac_srcdir&;t t
26576 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26577 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26578 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26579 s
&@builddir@
&$ac_builddir&;t t
26580 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26581 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26582 s
&@INSTALL@
&$ac_INSTALL&;t t
26583 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26584 $ac_datarootdir_hack
26586 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26587 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26589 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26590 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26591 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26593 which seems to be undefined. Please make sure it is defined." >&5
26594 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26595 which seems to be undefined. Please make sure it is defined." >&2;}
26599 -) cat "$tmp/out" && rm -f "$tmp/out";;
26600 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26602 || as_fn_error "could not create $ac_file" "$LINENO" 5
26608 if test x"$ac_file" != x-; then
26610 $as_echo "/* $configure_input */" \
26611 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26612 } >"$tmp/config.h" \
26613 || as_fn_error "could not create $ac_file" "$LINENO" 5
26614 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26616 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26619 mv "$tmp/config.h" "$ac_file" \
26620 || as_fn_error "could not create $ac_file" "$LINENO" 5
26623 $as_echo "/* $configure_input */" \
26624 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26625 || as_fn_error "could not create -" "$LINENO" 5
26627 # Compute "$ac_file"'s index
in $config_headers.
26630 for _am_header
in $config_headers :; do
26631 case $_am_header in
26632 $_am_arg |
$_am_arg:* )
26635 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26638 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26639 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26640 X"$_am_arg" : 'X\(//\)[^/]' \| \
26641 X"$_am_arg" : 'X\(//\)$' \| \
26642 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26643 $as_echo X"$_am_arg" |
26644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26648 /^X\(\/\/\)[^/].*/{
26660 s/.*/./; q'`/stamp-h
$_am_stamp_count
26663 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26664 $as_echo "$as_me: executing $ac_file commands" >&6;}
26669 case $ac_file$ac_mode in
26671 # Only add multilib support code if we just rebuilt the top-level
26673 case " $CONFIG_FILES " in
26675 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26678 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26679 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26680 # are listed without --file. Let's play safe and only enable the eval
26681 # if we detect the quoting.
26682 case $CONFIG_FILES in
26683 *\'*) eval set x
"$CONFIG_FILES" ;;
26684 *) set x
$CONFIG_FILES ;;
26689 # Strip MF so we end up with the name of the file.
26690 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26691 # Check whether this is an Automake generated Makefile or not.
26692 # We used to match only the files named `Makefile.in', but
26693 # some people rename them; so instead we look at the file content.
26694 # Grep'ing the first line is not enough: some people post-process
26695 # each Makefile.in and add a new line on top of each file to say so.
26696 # Grep'ing the whole file is not good either: AIX grep has a line
26697 # limit of 2048, but all sed's we know have understand at least 4000.
26698 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26699 dirpart
=`$as_dirname -- "$mf" ||
26700 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26701 X"$mf" : 'X\(//\)[^/]' \| \
26702 X"$mf" : 'X\(//\)$' \| \
26703 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26709 /^X\(\/\/\)[^/].*/{
26725 # Extract the definition of DEPDIR, am__include, and am__quote
26726 # from the Makefile without running `make'.
26727 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26728 test -z "$DEPDIR" && continue
26729 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26730 test -z "am__include" && continue
26731 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26732 # When using ansi2knr, U may be empty or an underscore; expand it
26733 U
=`sed -n 's/^U = //p' < "$mf"`
26734 # Find all dependency output files, they are included files with
26735 # $(DEPDIR) in their names. We invoke sed twice because it is the
26736 # simplest approach to changing $(DEPDIR) to its actual value in the
26738 for file in `sed -n "
26739 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26740 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26741 # Make sure the directory exists.
26742 test -f "$dirpart/$file" && continue
26743 fdir
=`$as_dirname -- "$file" ||
26744 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26745 X"$file" : 'X\(//\)[^/]' \| \
26746 X"$file" : 'X\(//\)$' \| \
26747 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26748 $as_echo X"$file" |
26749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26753 /^X\(\/\/\)[^/].*/{
26766 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26767 # echo "creating $dirpart/$file"
26768 echo '# dummy' > "$dirpart/$file"
26775 # See if we are running on zsh, and set the options which allow our
26776 # commands through without removal of \ escapes.
26777 if test -n "${ZSH_VERSION+set}" ; then
26778 setopt NO_GLOB_SUBST
26781 cfgfile
="${ofile}T"
26782 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26785 cat <<_LT_EOF >> "$cfgfile"
26788 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26789 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26790 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26791 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26793 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26794 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26795 # Written by Gordon Matzigkeit, 1996
26797 # This file is part of GNU Libtool.
26799 # GNU Libtool is free software; you can redistribute it and/or
26800 # modify it under the terms of the GNU General Public License as
26801 # published by the Free Software Foundation; either version 2 of
26802 # the License, or (at your option) any later version.
26804 # As a special exception to the GNU General Public License,
26805 # if you distribute this file as part of a program or library that
26806 # is built using GNU Libtool, you may include this file under the
26807 # same distribution terms that you use for the rest of that program.
26809 # GNU Libtool is distributed in the hope that it will be useful,
26810 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26811 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26812 # GNU General Public License for more details.
26814 # You should have received a copy of the GNU General Public License
26815 # along with GNU Libtool; see the file COPYING. If not, a copy
26816 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26817 # obtained by writing to the Free Software Foundation, Inc.,
26818 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26821 # The names of the tagged configurations supported by this script.
26822 available_tags="FC "
26824 # ### BEGIN LIBTOOL CONFIG
26826 # Which release of libtool.m4 was used?
26827 macro_version=$macro_version
26828 macro_revision=$macro_revision
26830 # Whether or not to build shared libraries.
26831 build_libtool_libs=$enable_shared
26833 # Whether or not to build static libraries.
26834 build_old_libs=$enable_static
26836 # What type of objects to build.
26839 # Whether or not to optimize for fast installation.
26840 fast_install=$enable_fast_install
26842 # Shell to use when invoking shell scripts.
26845 # An echo program that protects backslashes.
26849 host_alias=$host_alias
26853 # The build system.
26854 build_alias=$build_alias
26858 # A sed program that does not truncate output.
26861 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26862 Xsed="\$SED -e 1s/^X//"
26864 # A grep program that handles long lines.
26870 # A literal string matcher.
26873 # A BSD- or MS-compatible name lister.
26876 # Whether we need soft or hard links.
26879 # What is the maximum length of a command?
26880 max_cmd_len=$max_cmd_len
26882 # Object file suffix (normally "o").
26885 # Executable file suffix (normally "").
26888 # whether the shell understands "unset".
26891 # turn spaces into newlines.
26894 # turn newlines into spaces.
26897 # An object symbol dumper.
26898 OBJDUMP=$lt_OBJDUMP
26900 # Method to check whether dependent libraries are shared objects.
26901 deplibs_check_method=$lt_deplibs_check_method
26903 # Command to use when deplibs_check_method == "file_magic".
26904 file_magic_cmd=$lt_file_magic_cmd
26908 AR_FLAGS=$lt_AR_FLAGS
26910 # A symbol stripping program.
26913 # Commands used to install an old-style archive.
26915 old_postinstall_cmds=$lt_old_postinstall_cmds
26916 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26918 # Whether to use a lock for old archive extraction.
26919 lock_old_archive_extraction=$lock_old_archive_extraction
26924 # LTCC compiler flags.
26925 LTCFLAGS=$lt_CFLAGS
26927 # Take the output of nm and produce a listing of raw symbols and C names.
26928 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26930 # Transform the output of nm in a proper C declaration.
26931 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26933 # Transform the output of nm in a C name address pair.
26934 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26936 # Transform the output of nm in a C name address pair when lib prefix is needed.
26937 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26939 # The name of the directory that contains temporary libtool files.
26942 # Used to examine libraries when file_magic_cmd begins with "file".
26943 MAGIC_CMD=$MAGIC_CMD
26945 # Must we lock files when doing compilation?
26946 need_locks=$lt_need_locks
26948 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26949 DSYMUTIL=$lt_DSYMUTIL
26951 # Tool to change global to local symbols on Mac OS X.
26954 # Tool to manipulate fat objects and archives on Mac OS X.
26957 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26960 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26961 OTOOL64=$lt_OTOOL64
26963 # Old archive suffix (normally "a").
26966 # Shared library suffix (normally ".so").
26967 shrext_cmds=$lt_shrext_cmds
26969 # The commands to extract the exported symbol list from a shared archive.
26970 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26972 # Variables whose values should be saved in libtool wrapper scripts and
26973 # restored at link time.
26974 variables_saved_for_relink=$lt_variables_saved_for_relink
26976 # Do we need the "lib" prefix for modules?
26977 need_lib_prefix=$need_lib_prefix
26979 # Do we need a version for libraries?
26980 need_version=$need_version
26982 # Library versioning type.
26983 version_type=$version_type
26985 # Shared library runtime path variable.
26986 runpath_var=$runpath_var
26988 # Shared library path variable.
26989 shlibpath_var=$shlibpath_var
26991 # Is shlibpath searched before the hard-coded library search path?
26992 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26994 # Format of library name prefix.
26995 libname_spec=$lt_libname_spec
26997 # List of archive names. First name is the real one, the rest are links.
26998 # The last name is the one that the linker finds with -lNAME
26999 library_names_spec=$lt_library_names_spec
27001 # The coded name of the library, if different from the real name.
27002 soname_spec=$lt_soname_spec
27004 # Permission mode override for installation of shared libraries.
27005 install_override_mode=$lt_install_override_mode
27007 # Command to use after installation of a shared archive.
27008 postinstall_cmds=$lt_postinstall_cmds
27010 # Command to use after uninstallation of a shared archive.
27011 postuninstall_cmds=$lt_postuninstall_cmds
27013 # Commands used to finish a libtool library installation in a directory.
27014 finish_cmds=$lt_finish_cmds
27016 # As "finish_cmds", except a single script fragment to be evaled but
27018 finish_eval=$lt_finish_eval
27020 # Whether we should hardcode library paths into libraries.
27021 hardcode_into_libs=$hardcode_into_libs
27023 # Compile-time system search path for libraries.
27024 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27026 # Run-time system search path for libraries.
27027 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27029 # Whether dlopen is supported.
27030 dlopen_support=$enable_dlopen
27032 # Whether dlopen of programs is supported.
27033 dlopen_self=$enable_dlopen_self
27035 # Whether dlopen of statically linked programs is supported.
27036 dlopen_self_static=$enable_dlopen_self_static
27038 # Commands to strip libraries.
27039 old_striplib=$lt_old_striplib
27040 striplib=$lt_striplib
27043 # The linker used to build libraries.
27046 # How to create reloadable object files.
27047 reload_flag=$lt_reload_flag
27048 reload_cmds=$lt_reload_cmds
27050 # Commands used to build an old-style archive.
27051 old_archive_cmds=$lt_old_archive_cmds
27053 # A language specific compiler.
27056 # Is the compiler the GNU compiler?
27059 # Compiler flag to turn off builtin functions.
27060 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27062 # How to pass a linker flag through the compiler.
27063 wl=$lt_lt_prog_compiler_wl
27065 # Additional compiler flags for building library objects.
27066 pic_flag=$lt_lt_prog_compiler_pic
27068 # Compiler flag to prevent dynamic linking.
27069 link_static_flag=$lt_lt_prog_compiler_static
27071 # Does compiler simultaneously support -c and -o options?
27072 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27074 # Whether or not to add -lc for building shared libraries.
27075 build_libtool_need_lc=$archive_cmds_need_lc
27077 # Whether or not to disallow shared libs when runtime libs are static.
27078 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27080 # Compiler flag to allow reflexive dlopens.
27081 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27083 # Compiler flag to generate shared objects directly from archives.
27084 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27086 # Whether the compiler copes with passing no objects directly.
27087 compiler_needs_object=$lt_compiler_needs_object
27089 # Create an old-style archive from a shared archive.
27090 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27092 # Create a temporary old-style archive to link instead of a shared archive.
27093 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27095 # Commands used to build a shared archive.
27096 archive_cmds=$lt_archive_cmds
27097 archive_expsym_cmds=$lt_archive_expsym_cmds
27099 # Commands used to build a loadable module if different from building
27100 # a shared archive.
27101 module_cmds=$lt_module_cmds
27102 module_expsym_cmds=$lt_module_expsym_cmds
27104 # Whether we are building with GNU ld or not.
27105 with_gnu_ld=$lt_with_gnu_ld
27107 # Flag that allows shared libraries with undefined symbols to be built.
27108 allow_undefined_flag=$lt_allow_undefined_flag
27110 # Flag that enforces no undefined symbols.
27111 no_undefined_flag=$lt_no_undefined_flag
27113 # Flag to hardcode \$libdir into a binary during linking.
27114 # This must work even if \$libdir does not exist
27115 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27117 # If ld is used when linking, flag to hardcode \$libdir into a binary
27118 # during linking. This must work even if \$libdir does not exist.
27119 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27121 # Whether we need a single "-rpath" flag with a separated argument.
27122 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27124 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27125 # DIR into the resulting binary.
27126 hardcode_direct=$hardcode_direct
27128 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27129 # DIR into the resulting binary and the resulting library dependency is
27130 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27131 # library is relocated.
27132 hardcode_direct_absolute=$hardcode_direct_absolute
27134 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27135 # into the resulting binary.
27136 hardcode_minus_L=$hardcode_minus_L
27138 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27139 # into the resulting binary.
27140 hardcode_shlibpath_var=$hardcode_shlibpath_var
27142 # Set to "yes" if building a shared library automatically hardcodes DIR
27143 # into the library and all subsequent libraries and executables linked
27145 hardcode_automatic=$hardcode_automatic
27147 # Set to yes if linker adds runtime paths of dependent libraries
27148 # to runtime path list.
27149 inherit_rpath=$inherit_rpath
27151 # Whether libtool must link a program against all its dependency libraries.
27152 link_all_deplibs=$link_all_deplibs
27154 # Fix the shell variable \$srcfile for the compiler.
27155 fix_srcfile_path=$lt_fix_srcfile_path
27157 # Set to "yes" if exported symbols are required.
27158 always_export_symbols=$always_export_symbols
27160 # The commands to list exported symbols.
27161 export_symbols_cmds=$lt_export_symbols_cmds
27163 # Symbols that should not be listed in the preloaded symbols.
27164 exclude_expsyms=$lt_exclude_expsyms
27166 # Symbols that must always be exported.
27167 include_expsyms=$lt_include_expsyms
27169 # Commands necessary for linking programs (against libraries) with templates.
27170 prelink_cmds=$lt_prelink_cmds
27172 # Specify filename containing input files.
27173 file_list_spec=$lt_file_list_spec
27175 # How to hardcode a shared library path into an executable.
27176 hardcode_action=$hardcode_action
27178 # The directories searched by this compiler when creating a shared library.
27179 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27181 # Dependencies to place before and after the objects being linked to
27182 # create a shared library.
27183 predep_objects=$lt_predep_objects
27184 postdep_objects=$lt_postdep_objects
27185 predeps=$lt_predeps
27186 postdeps=$lt_postdeps
27188 # The library search path used internally by the compiler when linking
27189 # a shared library.
27190 compiler_lib_search_path=$lt_compiler_lib_search_path
27192 # ### END LIBTOOL CONFIG
27198 cat <<\_LT_EOF
>> "$cfgfile"
27199 # AIX sometimes has problems with the GCC collect2 program. For some
27200 # reason, if we set the COLLECT_NAMES environment variable, the problems
27201 # vanish in a puff of smoke.
27202 if test "X${COLLECT_NAMES+set}" != Xset
; then
27204 export COLLECT_NAMES
27211 ltmain
="$ac_aux_dir/ltmain.sh"
27214 # We use sed instead of cat because bash on DJGPP gets confused if
27215 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27216 # text mode, it properly converts lines to CR/LF. This bash problem
27217 # is reportedly fixed, but why not run on old versions too?
27218 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27219 ||
(rm -f "$cfgfile"; exit 1)
27223 cat << \_LT_EOF
>> "$cfgfile"
27225 # func_dirname file append nondir_replacement
27226 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27227 # otherwise set result to NONDIR_REPLACEMENT.
27231 */*) func_dirname_result
="${1%/*}${2}" ;;
27232 * ) func_dirname_result
="${3}" ;;
27236 # func_basename file
27239 func_basename_result
="${1##*/}"
27242 # func_dirname_and_basename file append nondir_replacement
27243 # perform func_basename and func_dirname in a single function
27245 # dirname: Compute the dirname of FILE. If nonempty,
27246 # add APPEND to the result, otherwise set result
27247 # to NONDIR_REPLACEMENT.
27248 # value returned in "$func_dirname_result"
27249 # basename: Compute filename of FILE.
27250 # value retuned in "$func_basename_result"
27251 # Implementation must be kept synchronized with func_dirname
27252 # and func_basename. For efficiency, we do not delegate to
27253 # those functions but instead duplicate the functionality here.
27254 func_dirname_and_basename
()
27257 */*) func_dirname_result
="${1%/*}${2}" ;;
27258 * ) func_dirname_result
="${3}" ;;
27260 func_basename_result
="${1##*/}"
27263 # func_stripname prefix suffix name
27264 # strip PREFIX and SUFFIX off of NAME.
27265 # PREFIX and SUFFIX must not contain globbing or regex special
27266 # characters, hashes, percent signs, but SUFFIX may contain a leading
27267 # dot (in which case that matches only a dot).
27270 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27271 # positional parameters, so assign one to ordinary parameter first.
27272 func_stripname_result
=${3}
27273 func_stripname_result
=${func_stripname_result#"${1}"}
27274 func_stripname_result
=${func_stripname_result%"${2}"}
27280 func_opt_split_opt
=${1%%=*}
27281 func_opt_split_arg
=${1#*=}
27288 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27289 *) func_lo2o_result
=${1} ;;
27293 # func_xform libobj-or-source
27296 func_xform_result
=${1%.*}.lo
27299 # func_arith arithmetic-term...
27302 func_arith_result
=$
(( $
* ))
27306 # STRING may not start with a hyphen.
27309 func_len_result
=${#1}
27314 *) # Bourne compatible functions.
27315 cat << \_LT_EOF
>> "$cfgfile"
27317 # func_dirname file append nondir_replacement
27318 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27319 # otherwise set result to NONDIR_REPLACEMENT.
27322 # Extract subdirectory from the argument.
27323 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27324 if test "X$func_dirname_result" = "X${1}"; then
27325 func_dirname_result
="${3}"
27327 func_dirname_result
="$func_dirname_result${2}"
27331 # func_basename file
27334 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27338 # func_stripname prefix suffix name
27339 # strip PREFIX and SUFFIX off of NAME.
27340 # PREFIX and SUFFIX must not contain globbing or regex special
27341 # characters, hashes, percent signs, but SUFFIX may contain a leading
27342 # dot (in which case that matches only a dot).
27343 # func_strip_suffix prefix name
27347 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27348 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27353 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27354 my_sed_long_arg
='1s/^-[^=]*=//'
27359 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27360 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27366 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27369 # func_xform libobj-or-source
27372 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27375 # func_arith arithmetic-term...
27378 func_arith_result
=`expr "$@"`
27382 # STRING may not start with a hyphen.
27385 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27391 case $lt_shell_append in
27393 cat << \_LT_EOF
>> "$cfgfile"
27395 # func_append var value
27396 # Append VALUE to the end of shell variable VAR.
27404 cat << \_LT_EOF
>> "$cfgfile"
27406 # func_append var value
27407 # Append VALUE to the end of shell variable VAR.
27418 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27419 ||
(rm -f "$cfgfile"; exit 1)
27421 mv -f "$cfgfile" "$ofile" ||
27422 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27426 cat <<_LT_EOF >> "$ofile"
27428 # ### BEGIN LIBTOOL TAG CONFIG: FC
27430 # The linker used to build libraries.
27433 # How to create reloadable object files.
27434 reload_flag=$lt_reload_flag_FC
27435 reload_cmds=$lt_reload_cmds_FC
27437 # Commands used to build an old-style archive.
27438 old_archive_cmds=$lt_old_archive_cmds_FC
27440 # A language specific compiler.
27443 # Is the compiler the GNU compiler?
27446 # Compiler flag to turn off builtin functions.
27447 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27449 # How to pass a linker flag through the compiler.
27450 wl=$lt_lt_prog_compiler_wl_FC
27452 # Additional compiler flags for building library objects.
27453 pic_flag=$lt_lt_prog_compiler_pic_FC
27455 # Compiler flag to prevent dynamic linking.
27456 link_static_flag=$lt_lt_prog_compiler_static_FC
27458 # Does compiler simultaneously support -c and -o options?
27459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27461 # Whether or not to add -lc for building shared libraries.
27462 build_libtool_need_lc=$archive_cmds_need_lc_FC
27464 # Whether or not to disallow shared libs when runtime libs are static.
27465 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27467 # Compiler flag to allow reflexive dlopens.
27468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27470 # Compiler flag to generate shared objects directly from archives.
27471 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27473 # Whether the compiler copes with passing no objects directly.
27474 compiler_needs_object=$lt_compiler_needs_object_FC
27476 # Create an old-style archive from a shared archive.
27477 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27479 # Create a temporary old-style archive to link instead of a shared archive.
27480 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27482 # Commands used to build a shared archive.
27483 archive_cmds=$lt_archive_cmds_FC
27484 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27486 # Commands used to build a loadable module if different from building
27487 # a shared archive.
27488 module_cmds=$lt_module_cmds_FC
27489 module_expsym_cmds=$lt_module_expsym_cmds_FC
27491 # Whether we are building with GNU ld or not.
27492 with_gnu_ld=$lt_with_gnu_ld_FC
27494 # Flag that allows shared libraries with undefined symbols to be built.
27495 allow_undefined_flag=$lt_allow_undefined_flag_FC
27497 # Flag that enforces no undefined symbols.
27498 no_undefined_flag=$lt_no_undefined_flag_FC
27500 # Flag to hardcode \$libdir into a binary during linking.
27501 # This must work even if \$libdir does not exist
27502 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27504 # If ld is used when linking, flag to hardcode \$libdir into a binary
27505 # during linking. This must work even if \$libdir does not exist.
27506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27508 # Whether we need a single "-rpath" flag with a separated argument.
27509 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27512 # DIR into the resulting binary.
27513 hardcode_direct=$hardcode_direct_FC
27515 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27516 # DIR into the resulting binary and the resulting library dependency is
27517 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27518 # library is relocated.
27519 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27521 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27522 # into the resulting binary.
27523 hardcode_minus_L=$hardcode_minus_L_FC
27525 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27526 # into the resulting binary.
27527 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27529 # Set to "yes" if building a shared library automatically hardcodes DIR
27530 # into the library and all subsequent libraries and executables linked
27532 hardcode_automatic=$hardcode_automatic_FC
27534 # Set to yes if linker adds runtime paths of dependent libraries
27535 # to runtime path list.
27536 inherit_rpath=$inherit_rpath_FC
27538 # Whether libtool must link a program against all its dependency libraries.
27539 link_all_deplibs=$link_all_deplibs_FC
27541 # Fix the shell variable \$srcfile for the compiler.
27542 fix_srcfile_path=$lt_fix_srcfile_path_FC
27544 # Set to "yes" if exported symbols are required.
27545 always_export_symbols=$always_export_symbols_FC
27547 # The commands to list exported symbols.
27548 export_symbols_cmds=$lt_export_symbols_cmds_FC
27550 # Symbols that should not be listed in the preloaded symbols.
27551 exclude_expsyms=$lt_exclude_expsyms_FC
27553 # Symbols that must always be exported.
27554 include_expsyms=$lt_include_expsyms_FC
27556 # Commands necessary for linking programs (against libraries) with templates.
27557 prelink_cmds=$lt_prelink_cmds_FC
27559 # Specify filename containing input files.
27560 file_list_spec=$lt_file_list_spec_FC
27562 # How to hardcode a shared library path into an executable.
27563 hardcode_action=$hardcode_action_FC
27565 # The directories searched by this compiler when creating a shared library.
27566 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27568 # Dependencies to place before and after the objects being linked to
27569 # create a shared library.
27570 predep_objects=$lt_predep_objects_FC
27571 postdep_objects=$lt_postdep_objects_FC
27572 predeps=$lt_predeps_FC
27573 postdeps=$lt_postdeps_FC
27575 # The library search path used internally by the compiler when linking
27576 # a shared library.
27577 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27579 # ### END LIBTOOL TAG CONFIG: FC
27584 if test "$GCC" = yes; then
27585 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27587 echo "/* generated for $CC */" > tmp-stdint.h
27590 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27592 #ifndef GCC_GENERATED_STDINT_H
27593 #define GCC_GENERATED_STDINT_H 1
27595 #include <sys/types.h>
27598 if test "$acx_cv_header_stdint" != stdint.h
; then
27599 echo "#include <stddef.h>" >> tmp-stdint.h
27601 if test "$acx_cv_header_stdint" != stddef.h
; then
27602 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27605 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27606 /* glibc uses these symbols as guards to prevent redefinitions. */
27607 #ifdef __int8_t_defined
27612 #ifdef __uint32_t_defined
27618 # ----------------- done header, emit basic int types -------------
27619 if test "$acx_cv_header_stdint" = stddef.h
; then
27620 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27624 #ifndef __uint8_t_defined
27625 #define __uint8_t_defined
27627 typedef unsigned $acx_cv_type_int8_t uint8_t;
27634 #ifndef __uint16_t_defined
27635 #define __uint16_t_defined
27637 typedef unsigned $acx_cv_type_int16_t uint16_t;
27644 #ifndef __uint32_t_defined
27645 #define __uint32_t_defined
27647 typedef unsigned $acx_cv_type_int32_t uint32_t;
27654 #ifndef __int8_t_defined
27655 #define __int8_t_defined
27657 typedef $acx_cv_type_int8_t int8_t;
27664 #ifndef __int16_t_defined
27665 #define __int16_t_defined
27667 typedef $acx_cv_type_int16_t int16_t;
27674 #ifndef __int32_t_defined
27675 #define __int32_t_defined
27677 typedef $acx_cv_type_int32_t int32_t;
27682 elif test "$ac_cv_type_u_int32_t" = yes; then
27683 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27685 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27698 #ifndef __uint8_t_defined
27699 #define __uint8_t_defined
27701 typedef u_int8_t uint8_t;
27708 #ifndef __uint16_t_defined
27709 #define __uint16_t_defined
27711 typedef u_int16_t uint16_t;
27718 #ifndef __uint32_t_defined
27719 #define __uint32_t_defined
27721 typedef u_int32_t uint32_t;
27727 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27729 /* Some systems have guard macros to prevent redefinitions, define them. */
27751 # ------------- done basic int types, emit int64_t types ------------
27752 if test "$ac_cv_type_uint64_t" = yes; then
27753 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27755 /* system headers have good uint64_t and int64_t */
27763 elif test "$ac_cv_type_u_int64_t" = yes; then
27764 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27766 /* system headers have an u_int64_t (and int64_t) */
27772 #ifndef __uint64_t_defined
27773 #define __uint64_t_defined
27775 typedef u_int64_t uint64_t;
27780 elif test -n "$acx_cv_type_int64_t"; then
27781 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27783 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27787 typedef $acx_cv_type_int64_t int64_t;
27792 #ifndef __uint64_t_defined
27793 #define __uint64_t_defined
27795 typedef unsigned $acx_cv_type_int64_t uint64_t;
27801 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27803 /* some common heuristics for int64_t, using compiler-specific tests */
27804 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27807 #ifndef __int64_t_defined
27809 typedef long long int64_t;
27816 typedef unsigned long long uint64_t;
27820 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27821 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27822 does not implement __extension__. But that compiler doesn't define
27824 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27825 # define __extension__
27831 __extension__ typedef long long int64_t;
27837 __extension__ typedef unsigned long long uint64_t;
27841 #elif !defined __STRICT_ANSI__
27842 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27847 typedef __int64 int64_t;
27853 typedef unsigned __int64 uint64_t;
27856 # endif /* compiler */
27858 #endif /* ANSI version */
27862 # ------------- done int64_t types, emit intptr types ------------
27863 if test "$ac_cv_type_uintptr_t" != yes; then
27864 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27866 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27867 #ifndef __uintptr_t_defined
27869 typedef u$acx_cv_type_intptr_t uintptr_t;
27872 #ifndef __intptr_t_defined
27874 typedef $acx_cv_type_intptr_t intptr_t;
27880 # ------------- done intptr types, emit int_least types ------------
27881 if test "$ac_cv_type_int_least32_t" != yes; then
27882 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27884 /* Define int_least types */
27885 typedef int8_t int_least8_t;
27886 typedef int16_t int_least16_t;
27887 typedef int32_t int_least32_t;
27889 typedef int64_t int_least64_t;
27892 typedef uint8_t uint_least8_t;
27893 typedef uint16_t uint_least16_t;
27894 typedef uint32_t uint_least32_t;
27896 typedef uint64_t uint_least64_t;
27901 # ------------- done intptr types, emit int_fast types ------------
27902 if test "$ac_cv_type_int_fast32_t" != yes; then
27903 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27905 /* Define int_fast types. short is often slow */
27906 typedef int8_t int_fast8_t;
27907 typedef int int_fast16_t;
27908 typedef int32_t int_fast32_t;
27910 typedef int64_t int_fast64_t;
27913 typedef uint8_t uint_fast8_t;
27914 typedef unsigned int uint_fast16_t;
27915 typedef uint32_t uint_fast32_t;
27917 typedef uint64_t uint_fast64_t;
27922 if test "$ac_cv_type_uintmax_t" != yes; then
27923 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27925 /* Define intmax based on what we found */
27928 typedef int64_t intmax_t;
27930 typedef long intmax_t;
27935 typedef uint64_t uintmax_t;
27937 typedef unsigned long uintmax_t;
27943 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27945 #endif /* GCC_GENERATED_STDINT_H */
27948 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
27951 mv -f tmp-stdint.h gstdint.h
27962 ac_clean_files
=$ac_clean_files_save
27964 test $ac_write_fail = 0 ||
27965 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27968 # configure is writing to config.log, and then calls config.status.
27969 # config.status does its own redirection, appending to config.log.
27970 # Unfortunately, on DOS this fails, as config.log is still kept open
27971 # by configure, so config.status won't be able to write to it; its
27972 # output is simply discarded. So we exec the FD to /dev/null,
27973 # effectively closing config.log, so it can be properly (re)opened and
27974 # appended to by config.status. When coming back to configure, we
27975 # need to make the FD available again.
27976 if test "$no_create" != yes; then
27978 ac_config_status_args
=
27979 test "$silent" = yes &&
27980 ac_config_status_args
="$ac_config_status_args --quiet"
27982 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27984 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27985 # would make configure fail if this is the last instruction.
27986 $ac_cs_success || as_fn_exit $?
27988 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27990 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}