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 # no-dist: we don't want 'dist' and related rules.
2831 # -Wall: turns on all automake warnings...
2832 # -Wno-portability: ...except this one, since GNU make is required.
2833 am__api_version
='1.11'
2835 # Find a good install program. We prefer a C program (faster),
2836 # so one script is as good as another. But avoid the broken or
2837 # incompatible versions:
2838 # SysV /etc/install, /usr/sbin/install
2839 # SunOS /usr/etc/install
2840 # IRIX /sbin/install
2842 # AmigaOS /C/install, which installs bootblocks on floppy discs
2843 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2844 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2845 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2846 # OS/2's system install, which has a completely different semantic
2847 # ./install, which can be erroneously created by make from ./install.sh.
2848 # Reject install programs that cannot install multiple files.
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2850 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2851 if test -z "$INSTALL"; then
2852 if test "${ac_cv_path_install+set}" = set; then :
2853 $as_echo_n "(cached) " >&6
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 # Account for people who put trailing slashes in PATH elements.
2861 case $as_dir/ in #((
2862 .
/ | .
// |
/[cC
]/* | \
2863 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2864 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2867 # OSF1 and SCO ODT 3.0 have their own names for install.
2868 # Don't use installbsd from OSF since it installs stuff as root
2870 for ac_prog
in ginstall scoinst
install; do
2871 for ac_exec_ext
in '' $ac_executable_extensions; do
2872 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2873 if test $ac_prog = install &&
2874 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2875 # AIX install. It has an incompatible calling convention.
2877 elif test $ac_prog = install &&
2878 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2879 # program-specific install script used by HP pwplus--don't use.
2882 rm -rf conftest.one conftest.two conftest.dir
2883 echo one
> conftest.one
2884 echo two
> conftest.two
2886 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2887 test -s conftest.one
&& test -s conftest.two
&&
2888 test -s conftest.dir
/conftest.one
&&
2889 test -s conftest.dir
/conftest.two
2891 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2904 rm -rf conftest.one conftest.two conftest.dir
2907 if test "${ac_cv_path_install+set}" = set; then
2908 INSTALL
=$ac_cv_path_install
2910 # As a last resort, use the slow shell script. Don't cache a
2911 # value for INSTALL within a source directory, because that will
2912 # break other packages using the cache if that directory is
2913 # removed, or if the value is a relative name.
2914 INSTALL
=$ac_install_sh
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2918 $as_echo "$INSTALL" >&6; }
2920 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2921 # It thinks the first close brace ends the variable substitution.
2922 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2924 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2926 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2929 $as_echo_n "checking whether build environment is sane... " >&6; }
2932 echo timestamp
> conftest.
file
2933 # Reject unsafe characters in $srcdir or the absolute working directory
2934 # name. Accept space and tab only in the latter.
2938 *[\\\"\
#\$\&\'\`$am_lf]*)
2939 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2942 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2943 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2946 # Do `set' in a subshell so we don't clobber the current shell's
2947 # arguments. Must try -L first in case configure is actually a
2948 # symlink; some systems play weird games with the mod time of symlinks
2949 # (eg FreeBSD returns the mod time of the symlink's containing
2952 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2953 if test "$*" = "X"; then
2955 set X
`ls -t "$srcdir/configure" conftest.file`
2958 if test "$*" != "X $srcdir/configure conftest.file" \
2959 && test "$*" != "X conftest.file $srcdir/configure"; then
2961 # If neither matched, then we have a broken ls. This can happen
2962 # if, for instance, CONFIG_SHELL is bash and it inherits a
2963 # broken ls alias from the environment. This has actually
2964 # happened. Such a system could not be considered "sane".
2965 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2966 alias in your environment" "$LINENO" 5
2969 test "$2" = conftest.
file
2975 as_fn_error
"newly created file is older than distributed files!
2976 Check your system clock" "$LINENO" 5
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2979 $as_echo "yes" >&6; }
2980 test "$program_prefix" != NONE
&&
2981 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2982 # Use a double $ so make ignores it.
2983 test "$program_suffix" != NONE
&&
2984 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2985 # Double any \ or $.
2986 # By default was `s,x,x', remove it if useless.
2987 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2988 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2990 # expand $ac_aux_dir to an absolute path
2991 am_aux_dir
=`cd $ac_aux_dir && pwd`
2993 if test x
"${MISSING+set}" != xset
; then
2996 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2998 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3001 # Use eval to expand $SHELL
3002 if eval "$MISSING --run true"; then
3003 am_missing_run
="$MISSING --run "
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3007 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3010 if test x
"${install_sh}" != xset
; then
3013 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3015 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3019 # Installed binaries are usually stripped using `strip' when the user
3020 # run `make install-strip'. However `strip' might not be the right
3021 # tool to use in cross-compilation environments, therefore Automake
3022 # will honor the `STRIP' environment variable to overrule this program.
3023 if test "$cross_compiling" != no
; then
3024 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3026 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if test "${ac_cv_prog_STRIP+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$STRIP"; then
3033 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 STRIP
=$ac_cv_prog_STRIP
3053 if test -n "$STRIP"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3055 $as_echo "$STRIP" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3063 if test -z "$ac_cv_prog_STRIP"; then
3065 # Extract the first word of "strip", so it can be a program name with args.
3066 set dummy strip
; ac_word
=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3072 if test -n "$ac_ct_STRIP"; then
3073 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082 ac_cv_prog_ac_ct_STRIP
="strip"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3093 if test -n "$ac_ct_STRIP"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3095 $as_echo "$ac_ct_STRIP" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3101 if test "x$ac_ct_STRIP" = x
; then
3104 case $cross_compiling:$ac_tool_warned in
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3108 ac_tool_warned
=yes ;;
3113 STRIP
="$ac_cv_prog_STRIP"
3117 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3120 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3121 if test -z "$MKDIR_P"; then
3122 if test "${ac_cv_path_mkdir+set}" = set; then :
3123 $as_echo_n "(cached) " >&6
3125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3129 test -z "$as_dir" && as_dir
=.
3130 for ac_prog
in mkdir gmkdir
; do
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3133 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3134 'mkdir (GNU coreutils) '* | \
3135 'mkdir (coreutils) '* | \
3136 'mkdir (fileutils) '4.1*)
3137 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3147 if test "${ac_cv_path_mkdir+set}" = set; then
3148 MKDIR_P
="$ac_cv_path_mkdir -p"
3150 # As a last resort, use the slow shell script. Don't cache a
3151 # value for MKDIR_P within a source directory, because that will
3152 # break other packages using the cache if that directory is
3153 # removed, or if the value is a relative name.
3154 test -d .
/--version && rmdir .
/--version
3155 MKDIR_P
="$ac_install_sh -d"
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3159 $as_echo "$MKDIR_P" >&6; }
3163 [\\/$
]* | ?
:[\\/]*) ;;
3164 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3167 for ac_prog
in gawk mawk nawk
awk
3169 # Extract the first word of "$ac_prog", so it can be a program name with args.
3170 set dummy
$ac_prog; ac_word
=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if test "${ac_cv_prog_AWK+set}" = set; then :
3174 $as_echo_n "(cached) " >&6
3176 if test -n "$AWK"; then
3177 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir
=.
3184 for ac_exec_ext
in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186 ac_cv_prog_AWK
="$ac_prog"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$AWK"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3199 $as_echo "$AWK" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3206 test -n "$AWK" && break
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3210 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3212 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3213 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3214 $as_echo_n "(cached) " >&6
3216 cat >conftest.
make <<\_ACEOF
3219 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3222 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3224 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3226 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3230 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3237 SET_MAKE
="MAKE=${MAKE-make}"
3240 rm -rf .tst
2>/dev
/null
3241 mkdir .tst
2>/dev
/null
3242 if test -d .tst
; then
3247 rmdir .tst
2>/dev
/null
3249 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3250 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3251 # is not polluted with repeated "-I."
3252 am__isrc
=' -I$(srcdir)'
3253 # test to see if srcdir already configured
3254 if test -f $srcdir/config.status
; then
3255 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3259 # test whether we have cygpath
3260 if test -z "$CYGPATH_W"; then
3261 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3262 CYGPATH_W
='cygpath -w'
3269 # Define the identity of the package.
3270 PACKAGE
='libgfortran'
3274 # Some tools Automake needs.
3276 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3279 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3282 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3285 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3288 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3290 # We need awk for the "check" target. The system "awk" is bad on
3292 # Always define AMTAR for backward compatibility.
3294 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3296 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3305 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3306 # Check whether --enable-maintainer-mode was given.
3307 if test "${enable_maintainer_mode+set}" = set; then :
3308 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3310 USE_MAINTAINER_MODE
=no
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3314 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3315 if test $USE_MAINTAINER_MODE = yes; then
3316 MAINTAINER_MODE_TRUE
=
3317 MAINTAINER_MODE_FALSE
='#'
3319 MAINTAINER_MODE_TRUE
='#'
3320 MAINTAINER_MODE_FALSE
=
3323 MAINT
=$MAINTAINER_MODE_TRUE
3326 # Default to --enable-multilib
3327 # Check whether --enable-multilib was given.
3328 if test "${enable_multilib+set}" = set; then :
3329 enableval
=$enable_multilib; case "$enableval" in
3330 yes) multilib
=yes ;;
3332 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3339 # We may get other options which we leave undocumented:
3340 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3341 # See config-ml.in if you want the gory details.
3343 if test "$srcdir" = "."; then
3344 if test "$with_target_subdir" != "."; then
3345 multi_basedir
="$srcdir/$with_multisrctop../.."
3347 multi_basedir
="$srcdir/$with_multisrctop.."
3350 multi_basedir
="$srcdir/.."
3354 # Even if the default multilib is not a cross compilation,
3355 # it may be that some of the other multilibs are.
3356 if test $cross_compiling = no
&& test $multilib = yes \
3357 && test "x${with_multisubdir}" != x
; then
3358 cross_compiling
=maybe
3361 ac_config_commands
="$ac_config_commands default-1"
3364 # Handy for debugging:
3365 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3367 # Are we being configured with some form of cross compiler?
3368 # NB: We don't actually need to know this just now, but when, say, a test
3369 # suite is included, we'll have to know.
3370 if test "$build" != "$host"; then
3371 LIBGFOR_IS_NATIVE
=false
3374 LIBGFOR_IS_NATIVE
=true
3377 # Calculate toolexeclibdir
3378 # Also toolexecdir, though it's only used in toolexeclibdir
3379 case ${version_specific_libs} in
3381 # Need the gcc compiler version to know where to install libraries
3382 # and header files if --enable-version-specific-runtime-libs option
3384 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3385 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3388 if test -n "$with_cross_host" &&
3389 test x
"$with_cross_host" != x
"no"; then
3390 # Install a library built with a cross compiler in tooldir, not libdir.
3391 toolexecdir
='$(exec_prefix)/$(target_alias)'
3392 toolexeclibdir
='$(toolexecdir)/lib'
3394 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3395 toolexeclibdir
='$(libdir)'
3397 multi_os_directory
=`$CC -print-multi-os-directory`
3398 case $multi_os_directory in
3399 .
) ;; # Avoid trailing /.
3400 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3407 # Check the compiler.
3408 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3409 # We must force CC to /not/ be precious variables; otherwise
3410 # the wrong, non-multilib-adjusted value will be used in multilibs.
3411 # As a side effect, we have to subst CFLAGS ourselves.
3416 ac_cpp
='$CPP $CPPFLAGS'
3417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3420 if test -n "$ac_tool_prefix"; then
3421 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3422 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 $as_echo_n "checking for $ac_word... " >&6; }
3425 if test "${ac_cv_prog_CC+set}" = set; then :
3426 $as_echo_n "(cached) " >&6
3428 if test -n "$CC"; then
3429 ac_cv_prog_CC
="$CC" # Let the user override the test.
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3438 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 if test -n "$CC"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3451 $as_echo "$CC" >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3459 if test -z "$ac_cv_prog_CC"; then
3461 # Extract the first word of "gcc", so it can be a program name with args.
3462 set dummy gcc
; ac_word
=$2
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 $as_echo_n "checking for $ac_word... " >&6; }
3465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3466 $as_echo_n "(cached) " >&6
3468 if test -n "$ac_ct_CC"; then
3469 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir
=.
3476 for ac_exec_ext
in '' $ac_executable_extensions; do
3477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3478 ac_cv_prog_ac_ct_CC
="gcc"
3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3488 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3489 if test -n "$ac_ct_CC"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3491 $as_echo "$ac_ct_CC" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3497 if test "x$ac_ct_CC" = x
; then
3500 case $cross_compiling:$ac_tool_warned in
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3504 ac_tool_warned
=yes ;;
3512 if test -z "$CC"; then
3513 if test -n "$ac_tool_prefix"; then
3514 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3515 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if test "${ac_cv_prog_CC+set}" = set; then :
3519 $as_echo_n "(cached) " >&6
3521 if test -n "$CC"; then
3522 ac_cv_prog_CC
="$CC" # Let the user override the test.
3524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3528 test -z "$as_dir" && as_dir
=.
3529 for ac_exec_ext
in '' $ac_executable_extensions; do
3530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3531 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 if test -n "$CC"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544 $as_echo "$CC" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3553 if test -z "$CC"; then
3554 # Extract the first word of "cc", so it can be a program name with args.
3555 set dummy cc
; ac_word
=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if test "${ac_cv_prog_CC+set}" = set; then :
3559 $as_echo_n "(cached) " >&6
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC
="$CC" # Let the user override the test.
3565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir
=.
3570 for ac_exec_ext
in '' $ac_executable_extensions; do
3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3572 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3573 ac_prog_rejected
=yes
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 if test $ac_prog_rejected = yes; then
3585 # We found a bogon in the path, so make sure we never use it.
3586 set dummy
$ac_cv_prog_CC
3588 if test $# != 0; then
3589 # We chose a different compiler from the bogus one.
3590 # However, it has the same basename, so the bogon will be chosen
3591 # first if we set CC to just the basename; use the full file name.
3593 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3599 if test -n "$CC"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3601 $as_echo "$CC" >&6; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3609 if test -z "$CC"; then
3610 if test -n "$ac_tool_prefix"; then
3611 for ac_prog
in cl.exe
3613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3614 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if test "${ac_cv_prog_CC+set}" = set; then :
3618 $as_echo_n "(cached) " >&6
3620 if test -n "$CC"; then
3621 ac_cv_prog_CC
="$CC" # Let the user override the test.
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 if test -n "$CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3650 test -n "$CC" && break
3653 if test -z "$CC"; then
3655 for ac_prog
in cl.exe
3657 # Extract the first word of "$ac_prog", so it can be a program name with args.
3658 set dummy
$ac_prog; ac_word
=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3664 if test -n "$ac_ct_CC"; then
3665 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_ac_ct_CC
="$ac_prog"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3685 if test -n "$ac_ct_CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3687 $as_echo "$ac_ct_CC" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3694 test -n "$ac_ct_CC" && break
3697 if test "x$ac_ct_CC" = x
; then
3700 case $cross_compiling:$ac_tool_warned in
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3704 ac_tool_warned
=yes ;;
3713 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error
"no acceptable C compiler found in \$PATH
3716 See \`config.log' for more details." "$LINENO" 5; }
3718 # Provide some information about the compiler.
3719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3722 for ac_option
in --version -v -V -qversion; do
3723 { { ac_try
="$ac_compiler $ac_option >&5"
3725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729 $as_echo "$ac_try_echo"; } >&5
3730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3732 if test -s conftest.err; then
3734 ... rest of stderr output deleted ...
3735 10q' conftest.err >conftest.er1
3736 cat conftest.er1 >&5
3737 rm -f conftest.er1 conftest.err
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3756 (eval $ac_link) 2>&5
3758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3759 test $ac_status = 0; }; then :
3764 if test x$gcc_no_link = xyes; then
3765 # Setting cross_compile will disable run tests; it will
3766 # also disable AC_CHECK_FILE but that's generally
3767 # correct if we can't link.
3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3782 ac_clean_files_save=$ac_clean_files
3783 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3784 # Try to create an executable without -o first, disregard a.out.
3785 # It will help us diagnose broken compilers, and finding out an intuition
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3788 $as_echo_n "checking for C compiler default output file name... " >&6; }
3789 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3791 # The possible output files:
3792 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3795 for ac_file in $ac_files
3798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3799 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3804 if { { ac_try="$ac_link_default"
3806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3807 *) ac_try_echo
=$ac_try;;
3809 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811 (eval "$ac_link_default") 2>&5
3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3814 test $ac_status = 0; }; then :
3815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3818 # so that the user can short-circuit this test for compilers unknown to
3820 for ac_file
in $ac_files ''
3822 test -f "$ac_file" ||
continue
3824 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3827 # We found the default executable, but exeext='' is most
3831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3833 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3835 # We set ac_cv_exeext here because the later test for it is not
3836 # safe: cross compilers may not add the suffix if given an `-o'
3837 # argument, so we may need to know it at that point already.
3838 # Even if this section looks crufty: it has the advantage of
3845 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3851 $as_echo "$ac_file" >&6; }
3852 if test -z "$ac_file"; then :
3853 $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.
$ac_ext >&5
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 { as_fn_set_status
77
3859 as_fn_error
"C compiler cannot create executables
3860 See \`config.log' for more details." "$LINENO" 5; }; }
3862 ac_exeext
=$ac_cv_exeext
3864 # Check that the compiler produces executables we can run. If not, either
3865 # the compiler is broken, or we cross compile.
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3867 $as_echo_n "checking whether the C compiler works... " >&6; }
3868 # If not cross compiling, check that we can run a simple program.
3869 if test "$cross_compiling" != yes; then
3870 if { ac_try
='./$ac_file'
3871 { { case "(($ac_try" in
3872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876 $as_echo "$ac_try_echo"; } >&5
3877 (eval "$ac_try") 2>&5
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; }; then
3883 if test "$cross_compiling" = maybe; then
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error "cannot run C compiled programs.
3889 If you meant to cross compile
, use \
`--host'.
3890 See \`config.log
' for more details." "$LINENO" 5; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3895 $as_echo "yes" >&6; }
3897 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3898 ac_clean_files=$ac_clean_files_save
3899 # Check that the compiler produces executables we can run. If not, either
3900 # the compiler is broken, or we cross compile.
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3902 $as_echo_n "checking whether we are cross compiling... " >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3904 $as_echo "$cross_compiling" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3907 $as_echo_n "checking for suffix of executables... " >&6; }
3908 if { { ac_try="$ac_link"
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3914 $as_echo "$ac_try_echo"; } >&5
3915 (eval "$ac_link") 2>&5
3917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3918 test $ac_status = 0; }; then :
3919 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3920 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3921 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3923 for ac_file
in conftest.exe conftest conftest.
*; do
3924 test -f "$ac_file" ||
continue
3926 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3927 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3935 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3936 See \`config.log' for more details." "$LINENO" 5; }
3938 rm -f conftest
$ac_cv_exeext
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3940 $as_echo "$ac_cv_exeext" >&6; }
3942 rm -f conftest.
$ac_ext
3943 EXEEXT
=$ac_cv_exeext
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3947 $as_echo_n "checking for suffix of object files... " >&6; }
3948 if test "${ac_cv_objext+set}" = set; then :
3949 $as_echo_n "(cached) " >&6
3951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3962 rm -f conftest.o conftest.obj
3963 if { { ac_try
="$ac_compile"
3965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 $as_echo "$ac_try_echo"; } >&5
3970 (eval "$ac_compile") 2>&5
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 for ac_file in conftest.o conftest.obj conftest.*; do
3975 test -f "$ac_file" || continue;
3977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3978 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3983 $as_echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.$ac_ext >&5
3986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3988 as_fn_error "cannot compute suffix of object files
: cannot compile
3989 See \
`config.log' for more details." "$LINENO" 5; }
3991 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3994 $as_echo "$ac_cv_objext" >&6; }
3995 OBJEXT=$ac_cv_objext
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3998 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3999 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4000 $as_echo_n "(cached) " >&6
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4016 if ac_fn_c_try_compile "$LINENO"; then :
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4026 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4027 if test $ac_compiler_gnu = yes; then
4032 ac_test_CFLAGS=${CFLAGS+set}
4033 ac_save_CFLAGS=$CFLAGS
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4035 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4036 if test "${ac_cv_prog_cc_g+set}" = set; then :
4037 $as_echo_n "(cached) " >&6
4039 ac_save_c_werror_flag=$ac_c_werror_flag
4040 ac_c_werror_flag=yes
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4054 if ac_fn_c_try_compile "$LINENO"; then :
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4069 if ac_fn_c_try_compile "$LINENO"; then :
4072 ac_c_werror_flag=$ac_save_c_werror_flag
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4085 if ac_fn_c_try_compile "$LINENO"; then :
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4093 ac_c_werror_flag=$ac_save_c_werror_flag
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4096 $as_echo "$ac_cv_prog_cc_g" >&6; }
4097 if test "$ac_test_CFLAGS" = set; then
4098 CFLAGS=$ac_save_CFLAGS
4099 elif test $ac_cv_prog_cc_g = yes; then
4100 if test "$GCC" = yes; then
4106 if test "$GCC" = yes; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4113 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4114 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4117 ac_cv_prog_cc_c89=no
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4123 #include <sys/types.h>
4124 #include <sys/stat.h>
4125 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4126 struct buf { int x; };
4127 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4128 static char *e (p, i)
4134 static char *f (char * (*g) (char **, int), char **p, ...)
4139 s = g (p, va_arg (v,int));
4144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4145 function prototypes and stuff, but not '\xHH' hex character constants.
4146 These don't provoke an error unfortunately, instead are silently treated
4147 as 'x'. The following induces an error, until -std is added to get
4148 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4149 array size at least. It's necessary to write '\x00'==0 to get something
4150 that's true only with -std. */
4151 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4154 inside strings and character constants. */
4156 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4158 int test (int i, double x);
4159 struct s1 {int (*f) (int a);};
4160 struct s2 {int (*f) (double a);};
4161 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4172 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4173 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4175 CC="$ac_save_CC $ac_arg"
4176 if ac_fn_c_try_compile "$LINENO"; then :
4177 ac_cv_prog_cc_c89=$ac_arg
4179 rm -f core conftest.err conftest.$ac_objext
4180 test "x$ac_cv_prog_cc_c89" != "xno" && break
4182 rm -f conftest.$ac_ext
4187 case "x$ac_cv_prog_cc_c89" in
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4190 $as_echo "none needed" >&6; } ;;
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4193 $as_echo "unsupported" >&6; } ;;
4195 CC="$CC $ac_cv_prog_cc_c89"
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4197 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4199 if test "x$ac_cv_prog_cc_c89" != xno; then :
4204 ac_cpp='$CPP $CPPFLAGS'
4205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4208 DEPDIR="${am__leading_dot}deps"
4210 ac_config_commands="$ac_config_commands depfiles"
4213 am_make=${MAKE-make}
4214 cat > confinc << 'END'
4216 @echo this is the am__doit target
4219 # If we don't find an include directive, just comment out the code.
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4221 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4225 # First try GNU make style include.
4226 echo "include confinc" > confmf
4227 # Ignore all kinds of additional output from `make'.
4228 case `$am_make -s -f confmf 2> /dev/null` in #(
4229 *the\ am__doit\ target*)
4235 # Now try BSD make style include.
4236 if test "$am__include" = "#"; then
4237 echo '.include
"confinc"' > confmf
4238 case `$am_make -s -f confmf 2> /dev/null` in #(
4239 *the\ am__doit\ target*)
4240 am__include=.include
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4249 $as_echo "$_am_result" >&6; }
4250 rm -f confinc confmf
4252 # Check whether --enable-dependency-tracking was given.
4253 if test "${enable_dependency_tracking+set}" = set; then :
4254 enableval=$enable_dependency_tracking;
4257 if test "x$enable_dependency_tracking" != xno; then
4258 am_depcomp="$ac_aux_dir/depcomp"
4261 if test "x$enable_dependency_tracking" != xno
; then
4271 depcc
="$CC" am_compiler_list
=
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4274 $as_echo_n "checking dependency style of $depcc... " >&6; }
4275 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4279 # We make a subdir and do the tests there. Otherwise we can end up
4280 # making bogus files that we don't know about and never remove. For
4281 # instance it was reported that on HP-UX the gcc test will end up
4282 # making a dummy file named `D' -- because `-MD' means `put the output
4285 # Copy depcomp to subdir because otherwise we won't find it if we're
4286 # using a relative directory.
4287 cp "$am_depcomp" conftest.dir
4289 # We will build objects and dependencies in a subdirectory because
4290 # it helps to detect inapplicable dependency modes. For instance
4291 # both Tru64's cc and ICC support -MD to output dependencies as a
4292 # side effect of compilation, but ICC will put the dependencies in
4293 # the current directory while Tru64 will put them in the object
4297 am_cv_CC_dependencies_compiler_type
=none
4298 if test "$am_compiler_list" = ""; then
4299 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4302 case " $depcc " in #(
4303 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4306 for depmode
in $am_compiler_list; do
4307 # Setup a source with many dependencies, because some compilers
4308 # like to wrap large dependency lists on column 80 (with \), and
4309 # we should not choose a depcomp mode which is confused by this.
4311 # We need to recreate these files for each test, as the compiler may
4312 # overwrite some of them when testing with obscure command lines.
4313 # This happens at least with the AIX C compiler.
4315 for i
in 1 2 3 4 5 6; do
4316 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4317 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4318 # Solaris 8's {/usr,}/bin/sh.
4319 touch sub
/conftst
$i.h
4321 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4323 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4324 # mode. It turns out that the SunPro C++ compiler does not properly
4325 # handle `-M -o', and we need to detect this. Also, some Intel
4326 # versions had trouble with output in subdirs
4327 am__obj
=sub
/conftest.
${OBJEXT-o}
4328 am__minus_obj
="-o $am__obj"
4331 # This depmode causes a compiler race in universal mode.
4332 test "$am__universal" = false ||
continue
4335 # after this tag, mechanisms are not by side-effect, so they'll
4336 # only be used when explicitly requested
4337 if test "x$enable_dependency_tracking" = xyes
; then
4343 msvisualcpp | msvcmsys
)
4344 # This compiler won't grok `-c -o', but also, the minuso test has
4345 # not run yet. These depmodes are late enough in the game, and
4346 # so weak that their functioning should not be impacted.
4347 am__obj
=conftest.
${OBJEXT-o}
4352 if depmode
=$depmode \
4353 source=sub
/conftest.c object
=$am__obj \
4354 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4355 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4356 >/dev
/null
2>conftest.err
&&
4357 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4358 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4359 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4360 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4361 # icc doesn't choke on unknown options, it will just issue warnings
4362 # or remarks (even with -Werror). So we grep stderr for any message
4363 # that says an option was ignored or not supported.
4364 # When given -MP, icc 7.0 and 7.1 complain thusly:
4365 # icc: Command line warning: ignoring option '-M'; no argument required
4366 # The diagnosis changed in icc 8.0:
4367 # icc: Command line remark: option '-MP' not supported
4368 if (grep 'ignoring option' conftest.err ||
4369 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4370 am_cv_CC_dependencies_compiler_type
=$depmode
4379 am_cv_CC_dependencies_compiler_type
=none
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4384 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4385 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4388 test "x$enable_dependency_tracking" != xno \
4389 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4391 am__fastdepCC_FALSE
='#'
4393 am__fastdepCC_TRUE
='#'
4394 am__fastdepCC_FALSE
=
4400 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4401 if test "x$GCC" = "xyes"; then
4402 AM_FCFLAGS
="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4403 ## We like to use C99 routines when available. This makes sure that
4404 ## __STDC_VERSION__ is set such that libc includes make them available.
4405 AM_CFLAGS
="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4406 ## Compile the following tests with the same system header contents
4407 ## that we'll encounter when compiling our own source files.
4408 CFLAGS
="-std=gnu99 $CFLAGS"
4414 # Check for symbol versioning (copied from libssp).
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4416 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4417 cat > conftest.map
<<EOF
4419 global: *foo*; bar; local: *;
4422 save_LDFLAGS
="$LDFLAGS"
4423 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4425 if test x
$gcc_no_link = xyes
; then
4426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4439 if ac_fn_c_try_link
"$LINENO"; then :
4440 gfortran_use_symver
=yes
4442 gfortran_use_symver
=no
4444 rm -f core conftest.err conftest.
$ac_objext \
4445 conftest
$ac_exeext conftest.
$ac_ext
4446 LDFLAGS
="$save_LDFLAGS"
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4448 $as_echo "$gfortran_use_symver" >&6; }
4449 if test "x$gfortran_use_symver" = xyes
; then
4450 LIBGFOR_USE_SYMVER_TRUE
=
4451 LIBGFOR_USE_SYMVER_FALSE
='#'
4453 LIBGFOR_USE_SYMVER_TRUE
='#'
4454 LIBGFOR_USE_SYMVER_FALSE
=
4458 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4459 # similarly to how libstdc++ does it
4460 ac_test_CFLAGS
="${CFLAGS+set}"
4461 ac_save_CFLAGS
="$CFLAGS"
4463 # Check for -ffunction-sections -fdata-sections
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4465 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4466 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
4467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4478 if ac_fn_c_try_compile
"$LINENO"; then :
4483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4484 if test "$ac_test_CFLAGS" = set; then
4485 CFLAGS
="$ac_save_CFLAGS"
4487 # this is the suspicious part
4490 if test x
"$ac_fdsections" = x
"yes"; then
4491 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4494 $as_echo "$ac_fdsections" >&6; }
4497 # Find other programs we need.
4498 if test -n "$ac_tool_prefix"; then
4499 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4500 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4502 $as_echo_n "checking for $ac_word... " >&6; }
4503 if test "${ac_cv_prog_AS+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4506 if test -n "$AS"; then
4507 ac_cv_prog_AS
="$AS" # Let the user override the test.
4509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir
=.
4514 for ac_exec_ext
in '' $ac_executable_extensions; do
4515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516 ac_cv_prog_AS
="${ac_tool_prefix}as"
4517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 if test -n "$AS"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4529 $as_echo "$AS" >&6; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4537 if test -z "$ac_cv_prog_AS"; then
4539 # Extract the first word of "as", so it can be a program name with args.
4540 set dummy as
; ac_word
=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4544 $as_echo_n "(cached) " >&6
4546 if test -n "$ac_ct_AS"; then
4547 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir
=.
4554 for ac_exec_ext
in '' $ac_executable_extensions; do
4555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556 ac_cv_prog_ac_ct_AS
="as"
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4567 if test -n "$ac_ct_AS"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4569 $as_echo "$ac_ct_AS" >&6; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4575 if test "x$ac_ct_AS" = x
; then
4578 case $cross_compiling:$ac_tool_warned in
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4582 ac_tool_warned
=yes ;;
4590 if test -n "$ac_tool_prefix"; then
4591 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4592 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if test "${ac_cv_prog_AR+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$AR"; then
4599 ac_cv_prog_AR
="$AR" # Let the user override the test.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4608 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 if test -n "$AR"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4621 $as_echo "$AR" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4629 if test -z "$ac_cv_prog_AR"; then
4631 # Extract the first word of "ar", so it can be a program name with args.
4632 set dummy
ar; ac_word
=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4636 $as_echo_n "(cached) " >&6
4638 if test -n "$ac_ct_AR"; then
4639 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4645 test -z "$as_dir" && as_dir
=.
4646 for ac_exec_ext
in '' $ac_executable_extensions; do
4647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4648 ac_cv_prog_ac_ct_AR
="ar"
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4659 if test -n "$ac_ct_AR"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4661 $as_echo "$ac_ct_AR" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4667 if test "x$ac_ct_AR" = x
; then
4670 case $cross_compiling:$ac_tool_warned in
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4674 ac_tool_warned
=yes ;;
4682 if test -n "$ac_tool_prefix"; then
4683 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4684 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4688 $as_echo_n "(cached) " >&6
4690 if test -n "$RANLIB"; then
4691 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir
=.
4698 for ac_exec_ext
in '' $ac_executable_extensions; do
4699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4700 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 RANLIB
=$ac_cv_prog_RANLIB
4711 if test -n "$RANLIB"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4713 $as_echo "$RANLIB" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4721 if test -z "$ac_cv_prog_RANLIB"; then
4722 ac_ct_RANLIB
=$RANLIB
4723 # Extract the first word of "ranlib", so it can be a program name with args.
4724 set dummy ranlib
; ac_word
=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4730 if test -n "$ac_ct_RANLIB"; then
4731 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4737 test -z "$as_dir" && as_dir
=.
4738 for ac_exec_ext
in '' $ac_executable_extensions; do
4739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4740 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4750 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4751 if test -n "$ac_ct_RANLIB"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4753 $as_echo "$ac_ct_RANLIB" >&6; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4759 if test "x$ac_ct_RANLIB" = x
; then
4760 RANLIB
="ranlib-not-found-in-path-error"
4762 case $cross_compiling:$ac_tool_warned in
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4766 ac_tool_warned
=yes ;;
4768 RANLIB
=$ac_ct_RANLIB
4771 RANLIB
="$ac_cv_prog_RANLIB"
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4775 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4777 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4778 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4779 $as_echo_n "(cached) " >&6
4781 cat >conftest.
make <<\_ACEOF
4784 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4787 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4789 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4791 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4795 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4797 $as_echo "yes" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4802 SET_MAKE
="MAKE=${MAKE-make}"
4808 #AC_MSG_NOTICE([====== Starting libtool configuration])
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4816 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4821 macro_version
='2.2.7a'
4822 macro_revision
='1.3134'
4836 ltmain
="$ac_aux_dir/ltmain.sh"
4838 # Backslashify metacharacters that are still active within
4839 # double-quoted strings.
4840 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4842 # Same as above, but do not quote variable references.
4843 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4845 # Sed substitution to delay expansion of an escaped shell variable in a
4846 # double_quote_subst'ed string.
4847 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4849 # Sed substitution to delay expansion of an escaped single quote.
4850 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4852 # Sed substitution to avoid accidental globbing in evaled expressions
4853 no_glob_subst
='s/\*/\\\*/g'
4855 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4856 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4857 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4860 $as_echo_n "checking how to print strings... " >&6; }
4861 # Test print first, because it will be a builtin if present.
4862 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4863 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4865 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4868 # Use this function as a fallback that always works.
4869 func_fallback_echo ()
4871 eval 'cat <<_LTECHO_EOF
4875 ECHO='func_fallback_echo
'
4878 # func_echo_all arg...
4879 # Invoke $ECHO with all args, space-separated.
4886 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4887 $as_echo "printf" >&6; } ;;
4888 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4889 $as_echo "print -r" >&6; } ;;
4890 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4891 $as_echo "cat" >&6; } ;;
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4908 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4909 if test "${ac_cv_path_SED+set}" = set; then :
4910 $as_echo_n "(cached) " >&6
4912 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4913 for ac_i in 1 2 3 4 5 6 7; do
4914 ac_script="$ac_script$as_nl$ac_script"
4916 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4917 { ac_script=; unset ac_script;}
4918 if test -z "$SED"; then
4919 ac_path_SED_found=false
4920 # Loop through the user's path and
test for each of PROGNAME-LIST
4921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir
=.
4926 for ac_prog
in sed gsed
; do
4927 for ac_exec_ext
in '' $ac_executable_extensions; do
4928 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4929 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4930 # Check for GNU ac_path_SED and select it if it is found.
4931 # Check for GNU $ac_path_SED
4932 case `"$ac_path_SED" --version 2>&1` in
4934 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4937 $as_echo_n 0123456789 >"conftest.in"
4940 cat "conftest.in" "conftest.in" >"conftest.tmp"
4941 mv "conftest.tmp" "conftest.in"
4942 cp "conftest.in" "conftest.nl"
4943 $as_echo '' >> "conftest.nl"
4944 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4945 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4946 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4947 if test $ac_count -gt ${ac_path_SED_max-0}; then
4948 # Best one so far, save it but keep looking for a better one
4949 ac_cv_path_SED
="$ac_path_SED"
4950 ac_path_SED_max
=$ac_count
4952 # 10*(2^10) chars as input seems more than enough
4953 test $ac_count -gt 10 && break
4955 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4958 $ac_path_SED_found && break 3
4963 if test -z "$ac_cv_path_SED"; then
4964 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4972 $as_echo "$ac_cv_path_SED" >&6; }
4973 SED
="$ac_cv_path_SED"
4976 test -z "$SED" && SED
=sed
4977 Xsed
="$SED -e 1s/^X//"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4990 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4991 if test "${ac_cv_path_GREP+set}" = set; then :
4992 $as_echo_n "(cached) " >&6
4994 if test -z "$GREP"; then
4995 ac_path_GREP_found
=false
4996 # Loop through the user's path and test for each of PROGNAME-LIST
4997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5001 test -z "$as_dir" && as_dir
=.
5002 for ac_prog
in grep ggrep
; do
5003 for ac_exec_ext
in '' $ac_executable_extensions; do
5004 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5005 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5006 # Check for GNU ac_path_GREP and select it if it is found.
5007 # Check for GNU $ac_path_GREP
5008 case `"$ac_path_GREP" --version 2>&1` in
5010 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5013 $as_echo_n 0123456789 >"conftest.in"
5016 cat "conftest.in" "conftest.in" >"conftest.tmp"
5017 mv "conftest.tmp" "conftest.in"
5018 cp "conftest.in" "conftest.nl"
5019 $as_echo 'GREP' >> "conftest.nl"
5020 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5021 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5022 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5023 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5024 # Best one so far, save it but keep looking for a better one
5025 ac_cv_path_GREP
="$ac_path_GREP"
5026 ac_path_GREP_max
=$ac_count
5028 # 10*(2^10) chars as input seems more than enough
5029 test $ac_count -gt 10 && break
5031 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5034 $ac_path_GREP_found && break 3
5039 if test -z "$ac_cv_path_GREP"; then
5040 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5043 ac_cv_path_GREP
=$GREP
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5048 $as_echo "$ac_cv_path_GREP" >&6; }
5049 GREP
="$ac_cv_path_GREP"
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5053 $as_echo_n "checking for egrep... " >&6; }
5054 if test "${ac_cv_path_EGREP+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5057 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5058 then ac_cv_path_EGREP
="$GREP -E"
5060 if test -z "$EGREP"; then
5061 ac_path_EGREP_found
=false
5062 # Loop through the user's path and test for each of PROGNAME-LIST
5063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5064 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5067 test -z "$as_dir" && as_dir
=.
5068 for ac_prog
in egrep; do
5069 for ac_exec_ext
in '' $ac_executable_extensions; do
5070 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5071 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5072 # Check for GNU ac_path_EGREP and select it if it is found.
5073 # Check for GNU $ac_path_EGREP
5074 case `"$ac_path_EGREP" --version 2>&1` in
5076 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5079 $as_echo_n 0123456789 >"conftest.in"
5082 cat "conftest.in" "conftest.in" >"conftest.tmp"
5083 mv "conftest.tmp" "conftest.in"
5084 cp "conftest.in" "conftest.nl"
5085 $as_echo 'EGREP' >> "conftest.nl"
5086 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5087 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5088 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5089 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5090 # Best one so far, save it but keep looking for a better one
5091 ac_cv_path_EGREP
="$ac_path_EGREP"
5092 ac_path_EGREP_max
=$ac_count
5094 # 10*(2^10) chars as input seems more than enough
5095 test $ac_count -gt 10 && break
5097 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5100 $ac_path_EGREP_found && break 3
5105 if test -z "$ac_cv_path_EGREP"; then
5106 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5109 ac_cv_path_EGREP
=$EGREP
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5115 $as_echo "$ac_cv_path_EGREP" >&6; }
5116 EGREP
="$ac_cv_path_EGREP"
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5120 $as_echo_n "checking for fgrep... " >&6; }
5121 if test "${ac_cv_path_FGREP+set}" = set; then :
5122 $as_echo_n "(cached) " >&6
5124 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5125 then ac_cv_path_FGREP
="$GREP -F"
5127 if test -z "$FGREP"; then
5128 ac_path_FGREP_found
=false
5129 # Loop through the user's path and test for each of PROGNAME-LIST
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5131 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_prog
in fgrep
; do
5136 for ac_exec_ext
in '' $ac_executable_extensions; do
5137 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5138 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5139 # Check for GNU ac_path_FGREP and select it if it is found.
5140 # Check for GNU $ac_path_FGREP
5141 case `"$ac_path_FGREP" --version 2>&1` in
5143 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5146 $as_echo_n 0123456789 >"conftest.in"
5149 cat "conftest.in" "conftest.in" >"conftest.tmp"
5150 mv "conftest.tmp" "conftest.in"
5151 cp "conftest.in" "conftest.nl"
5152 $as_echo 'FGREP' >> "conftest.nl"
5153 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5154 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5155 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5156 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5157 # Best one so far, save it but keep looking for a better one
5158 ac_cv_path_FGREP
="$ac_path_FGREP"
5159 ac_path_FGREP_max
=$ac_count
5161 # 10*(2^10) chars as input seems more than enough
5162 test $ac_count -gt 10 && break
5164 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5167 $ac_path_FGREP_found && break 3
5172 if test -z "$ac_cv_path_FGREP"; then
5173 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5176 ac_cv_path_FGREP
=$FGREP
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5182 $as_echo "$ac_cv_path_FGREP" >&6; }
5183 FGREP
="$ac_cv_path_FGREP"
5186 test -z "$GREP" && GREP
=grep
5206 # Check whether --with-gnu-ld was given.
5207 if test "${with_gnu_ld+set}" = set; then :
5208 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5214 if test "$GCC" = yes; then
5215 # Check if gcc -print-prog-name=ld gives a path.
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5217 $as_echo_n "checking for ld used by $CC... " >&6; }
5220 # gcc leaves a trailing carriage return which upsets mingw
5221 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5223 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5226 # Accept absolute paths.
5228 re_direlt
='/[^/][^/]*/\.\./'
5229 # Canonicalize the pathname of ld
5230 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5231 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5232 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5234 test -z "$LD" && LD
="$ac_prog"
5237 # If it fails, then pretend we aren't using GCC.
5241 # If it is relative, then search for the first ld in PATH.
5245 elif test "$with_gnu_ld" = yes; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5247 $as_echo_n "checking for GNU ld... " >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5250 $as_echo_n "checking for non-GNU ld... " >&6; }
5252 if test "${lt_cv_path_LD+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -z "$LD"; then
5256 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5257 for ac_dir
in $PATH; do
5259 test -z "$ac_dir" && ac_dir
=.
5260 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5261 lt_cv_path_LD
="$ac_dir/$ac_prog"
5262 # Check to see if the program is GNU ld. I'd rather use --version,
5263 # but apparently some variants of GNU ld only accept -v.
5264 # Break only if it was the GNU/non-GNU ld that we prefer.
5265 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5266 *GNU
* |
*'with BFD'*)
5267 test "$with_gnu_ld" != no
&& break
5270 test "$with_gnu_ld" != yes && break
5277 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5282 if test -n "$LD"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5284 $as_echo "$LD" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5289 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5291 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5292 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5293 $as_echo_n "(cached) " >&6
5295 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5296 case `$LD -v 2>&1 </dev/null` in
5297 *GNU
* |
*'with BFD'*)
5298 lt_cv_prog_gnu_ld
=yes
5301 lt_cv_prog_gnu_ld
=no
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5306 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5307 with_gnu_ld
=$lt_cv_prog_gnu_ld
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5318 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5319 if test "${lt_cv_path_NM+set}" = set; then :
5320 $as_echo_n "(cached) " >&6
5322 if test -n "$NM"; then
5323 # Let the user override the test.
5326 lt_nm_to_check
="${ac_tool_prefix}nm"
5327 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5328 lt_nm_to_check
="$lt_nm_to_check nm"
5330 for lt_tmp_nm
in $lt_nm_to_check; do
5331 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5332 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5334 test -z "$ac_dir" && ac_dir
=.
5335 tmp_nm
="$ac_dir/$lt_tmp_nm"
5336 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5337 # Check to see if the nm accepts a BSD-compat flag.
5338 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5339 # nm: unknown option "B" ignored
5340 # Tru64's nm complains that /dev/null is an invalid object file
5341 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5342 */dev
/null
* |
*'Invalid file or object type'*)
5343 lt_cv_path_NM
="$tmp_nm -B"
5347 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5349 lt_cv_path_NM
="$tmp_nm -p"
5353 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5354 continue # so that we can try to find one that supports BSD flags
5363 : ${lt_cv_path_NM=no}
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5367 $as_echo "$lt_cv_path_NM" >&6; }
5368 if test "$lt_cv_path_NM" != "no"; then
5371 # Didn't find any BSD compatible name lister, look for dumpbin.
5372 if test -n "$DUMPBIN"; then :
5373 # Let the user override the test.
5375 if test -n "$ac_tool_prefix"; then
5376 for ac_prog
in dumpbin
"link -dump"
5378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5379 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5383 $as_echo_n "(cached) " >&6
5385 if test -n "$DUMPBIN"; then
5386 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5392 test -z "$as_dir" && as_dir
=.
5393 for ac_exec_ext
in '' $ac_executable_extensions; do
5394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5395 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 DUMPBIN
=$ac_cv_prog_DUMPBIN
5406 if test -n "$DUMPBIN"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5408 $as_echo "$DUMPBIN" >&6; }
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5415 test -n "$DUMPBIN" && break
5418 if test -z "$DUMPBIN"; then
5419 ac_ct_DUMPBIN
=$DUMPBIN
5420 for ac_prog
in dumpbin
"link -dump"
5422 # Extract the first word of "$ac_prog", so it can be a program name with args.
5423 set dummy
$ac_prog; ac_word
=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5427 $as_echo_n "(cached) " >&6
5429 if test -n "$ac_ct_DUMPBIN"; then
5430 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5436 test -z "$as_dir" && as_dir
=.
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5439 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5450 if test -n "$ac_ct_DUMPBIN"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5452 $as_echo "$ac_ct_DUMPBIN" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5459 test -n "$ac_ct_DUMPBIN" && break
5462 if test "x$ac_ct_DUMPBIN" = x
; then
5465 case $cross_compiling:$ac_tool_warned in
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned
=yes ;;
5471 DUMPBIN
=$ac_ct_DUMPBIN
5475 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5477 DUMPBIN
="$DUMPBIN -symbols"
5485 if test "$DUMPBIN" != ":"; then
5489 test -z "$NM" && NM
=nm
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5497 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5498 if test "${lt_cv_nm_interface+set}" = set; then :
5499 $as_echo_n "(cached) " >&6
5501 lt_cv_nm_interface
="BSD nm"
5502 echo "int some_variable = 0;" > conftest.
$ac_ext
5503 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5504 (eval "$ac_compile" 2>conftest.err
)
5505 cat conftest.err
>&5
5506 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5507 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5508 cat conftest.err
>&5
5509 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5510 cat conftest.out
>&5
5511 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5512 lt_cv_nm_interface
="MS dumpbin"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5517 $as_echo "$lt_cv_nm_interface" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5520 $as_echo_n "checking whether ln -s works... " >&6; }
5522 if test "$LN_S" = "ln -s"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5524 $as_echo "yes" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5527 $as_echo "no, using $LN_S" >&6; }
5530 # find the maximum length of command line arguments
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5532 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5533 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5534 $as_echo_n "(cached) " >&6
5541 # On DJGPP, this test can blow up pretty badly due to problems in libc
5542 # (any single argument exceeding 2000 bytes causes a buffer overrun
5543 # during glob expansion). Even if it were fixed, the result of this
5544 # check would be larger than it should be.
5545 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5549 # Under GNU Hurd, this test is not required because there is
5550 # no limit to the length of command line arguments.
5551 # Libtool will interpret -1 as no limit whatsoever
5552 lt_cv_sys_max_cmd_len
=-1;
5555 cygwin
* | mingw
* | cegcc
*)
5556 # On Win9x/ME, this test blows up -- it succeeds, but takes
5557 # about 5 minutes as the teststring grows exponentially.
5558 # Worse, since 9x/ME are not pre-emptively multitasking,
5559 # you end up with a "frozen" computer, even though with patience
5560 # the test eventually succeeds (with a max line length of 256k).
5561 # Instead, let's just punt: use the minimum linelength reported by
5562 # all of the supported platforms: 8192 (on NT/2K/XP).
5563 lt_cv_sys_max_cmd_len
=8192;
5567 # On MiNT this can take a long time and run out of memory.
5568 lt_cv_sys_max_cmd_len
=8192;
5572 # On AmigaOS with pdksh, this test takes hours, literally.
5573 # So we just punt and use a minimum line length of 8192.
5574 lt_cv_sys_max_cmd_len
=8192;
5577 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5578 # This has been around since 386BSD, at least. Likely further.
5579 if test -x /sbin
/sysctl
; then
5580 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5581 elif test -x /usr
/sbin
/sysctl
; then
5582 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5584 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5586 # And add a safety zone
5587 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5588 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5592 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5593 lt_cv_sys_max_cmd_len
=196608
5597 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5598 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5599 # nice to cause kernel panics so lets avoid the loop below.
5600 # First set a reasonable default.
5601 lt_cv_sys_max_cmd_len
=16384
5603 if test -x /sbin
/sysconfig
; then
5604 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5605 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5610 lt_cv_sys_max_cmd_len
=102400
5612 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5613 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5614 if test -n "$kargmax"; then
5615 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5617 lt_cv_sys_max_cmd_len
=32768
5621 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5622 if test -n "$lt_cv_sys_max_cmd_len"; then
5623 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5624 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5626 # Make teststring a little bigger before we do anything with it.
5627 # a 1K string should be a reasonable start.
5628 for i
in 1 2 3 4 5 6 7 8 ; do
5629 teststring
=$teststring$teststring
5631 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5632 # If test is not a shell built-in, we'll probably end up computing a
5633 # maximum length that is only half of the actual maximum length, but
5635 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5636 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5637 test $i != 17 # 1/2 MB should be enough
5640 teststring
=$teststring$teststring
5642 # Only check the string length outside the loop.
5643 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5645 # Add a significant safety factor because C++ compilers can tack on
5646 # massive amounts of additional arguments before passing them to the
5647 # linker. It appears as though 1/2 is a usable value.
5648 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5655 if test -n $lt_cv_sys_max_cmd_len ; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5657 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5660 $as_echo "none" >&6; }
5662 max_cmd_len
=$lt_cv_sys_max_cmd_len
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5674 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5675 # Try some XSI features
5678 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5680 && eval 'test $(( 1 + 1 )) -eq 2 \
5681 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5684 $as_echo "$xsi_shell" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5688 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5690 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5692 && lt_shell_append=yes
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5694 $as_echo "$lt_shell_append" >&6; }
5697 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5707 # test EBCDIC or ASCII
5708 case `echo X|tr X '\101'` in
5709 A) # ASCII based system
5710 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5711 lt_SP2NL='tr \040 \012'
5712 lt_NL2SP='tr \015\012 \040\040'
5714 *) # EBCDIC based system
5715 lt_SP2NL='tr \100 \n'
5716 lt_NL2SP='tr \r\n \100\100'
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5729 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5730 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5731 $as_echo_n "(cached
) " >&6
5733 lt_cv_ld_reload_flag='-r'
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5736 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5737 reload_flag=$lt_cv_ld_reload_flag
5738 case $reload_flag in
5740 *) reload_flag=" $reload_flag" ;;
5742 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5745 if test "$GCC" = yes; then
5746 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5748 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5761 if test -n "$ac_tool_prefix"; then
5762 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5763 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5765 $as_echo_n "checking
for $ac_word...
" >&6; }
5766 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5767 $as_echo_n "(cached
) " >&6
5769 if test -n "$OBJDUMP"; then
5770 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5779 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5789 OBJDUMP=$ac_cv_prog_OBJDUMP
5790 if test -n "$OBJDUMP"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5792 $as_echo "$OBJDUMP" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5795 $as_echo "no
" >&6; }
5800 if test -z "$ac_cv_prog_OBJDUMP"; then
5801 ac_ct_OBJDUMP=$OBJDUMP
5802 # Extract the first word of "objdump
", so it can be a program name with args.
5803 set dummy objdump; ac_word=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5805 $as_echo_n "checking
for $ac_word...
" >&6; }
5806 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5807 $as_echo_n "(cached
) " >&6
5809 if test -n "$ac_ct_OBJDUMP"; then
5810 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 test -z "$as_dir" && as_dir=.
5817 for ac_exec_ext in '' $ac_executable_extensions; do
5818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5819 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5829 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5830 if test -n "$ac_ct_OBJDUMP"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5832 $as_echo "$ac_ct_OBJDUMP" >&6; }
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5835 $as_echo "no
" >&6; }
5838 if test "x
$ac_ct_OBJDUMP" = x; then
5841 case $cross_compiling:$ac_tool_warned in
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5844 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5845 ac_tool_warned=yes ;;
5847 OBJDUMP=$ac_ct_OBJDUMP
5850 OBJDUMP="$ac_cv_prog_OBJDUMP"
5853 test -z "$OBJDUMP" && OBJDUMP=objdump
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5864 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5865 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5866 $as_echo_n "(cached
) " >&6
5868 lt_cv_file_magic_cmd='$MAGIC_CMD'
5869 lt_cv_file_magic_test_file=
5870 lt_cv_deplibs_check_method='unknown'
5871 # Need to set the preceding variable on all platforms that support
5872 # interlibrary dependencies.
5873 # 'none' -- dependencies not supported.
5874 # `unknown' -- same as none, but documents that we really don't know.
5875 # 'pass_all' -- all dependencies passed with no checks.
5876 # 'test_compile' -- check by making test program.
5877 # 'file_magic [[regex]]' -- check by looking for files in library path
5878 # which responds to the $file_magic_cmd with a given extended regex.
5879 # If you have `file' or equivalent on your system and you're not sure
5880 # whether `pass_all' will *always* work, you probably want this one.
5884 lt_cv_deplibs_check_method=pass_all
5888 lt_cv_deplibs_check_method=pass_all
5892 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5893 lt_cv_file_magic_cmd='/usr/bin/file -L'
5894 lt_cv_file_magic_test_file=/shlib/libc.so
5898 # func_win32_libid is a shell function defined in ltmain.sh
5899 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5900 lt_cv_file_magic_cmd='func_win32_libid'
5904 # Base MSYS/MinGW do not provide the 'file' command needed by
5905 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5906 # unless we find 'file', for example because we are cross-compiling.
5907 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5908 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5909 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5910 lt_cv_file_magic_cmd='func_win32_libid'
5912 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5913 lt_cv_file_magic_cmd='$OBJDUMP -f'
5918 # use the weaker test based on 'objdump'. See mingw*.
5919 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5920 lt_cv_file_magic_cmd='$OBJDUMP -f'
5923 darwin* | rhapsody*)
5924 lt_cv_deplibs_check_method=pass_all
5927 freebsd* | dragonfly*)
5928 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5931 # Not sure whether the presence of OpenBSD here was a mistake.
5932 # Let's accept both of them until this is cleared up.
5933 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5934 lt_cv_file_magic_cmd=/usr/bin/file
5935 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5939 lt_cv_deplibs_check_method=pass_all
5944 lt_cv_deplibs_check_method=pass_all
5948 lt_cv_deplibs_check_method=pass_all
5951 hpux10.20* | hpux11*)
5952 lt_cv_file_magic_cmd=/usr/bin/file
5955 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5956 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5959 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]'
5960 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5964 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5970 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5971 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5974 irix5* | irix6* | nonstopux*)
5976 *-32|*"-32 ") libmagic=32-bit;;
5977 *-n32|*"-n32 ") libmagic=N32;;
5978 *-64|*"-64 ") libmagic=64-bit;;
5979 *) libmagic=never-match;;
5981 lt_cv_deplibs_check_method=pass_all
5984 # This must be Linux ELF.
5985 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5986 lt_cv_deplibs_check_method=pass_all
5990 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5991 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5993 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5998 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5999 lt_cv_file_magic_cmd=/usr/bin/file
6000 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6004 lt_cv_deplibs_check_method=pass_all
6008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6011 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6015 osf3* | osf4* | osf5*)
6016 lt_cv_deplibs_check_method=pass_all
6020 lt_cv_deplibs_check_method=pass_all
6024 lt_cv_deplibs_check_method=pass_all
6027 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6028 lt_cv_deplibs_check_method=pass_all
6032 case $host_vendor in
6034 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]'
6035 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6038 lt_cv_deplibs_check_method=pass_all
6041 lt_cv_file_magic_cmd='/bin/file'
6042 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6045 lt_cv_file_magic_cmd='/bin/file'
6046 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6047 lt_cv_file_magic_test_file=/lib/libc.so
6050 lt_cv_deplibs_check_method=pass_all
6053 lt_cv_deplibs_check_method=pass_all
6059 lt_cv_deplibs_check_method=pass_all
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6065 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6066 file_magic_cmd=$lt_cv_file_magic_cmd
6067 deplibs_check_method=$lt_cv_deplibs_check_method
6068 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}ar; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6085 $as_echo_n "checking
for $ac_word...
" >&6; }
6086 if test "${ac_cv_prog_AR+set}" = set; then :
6087 $as_echo_n "(cached
) " >&6
6089 if test -n "$AR"; then
6090 ac_cv_prog_AR="$AR" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_AR="${ac_tool_prefix}ar"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6110 if test -n "$AR"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6112 $as_echo "$AR" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6115 $as_echo "no
" >&6; }
6120 if test -z "$ac_cv_prog_AR"; then
6122 # Extract the first word of "ar", so it can be a program name with args.
6123 set dummy ar; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6125 $as_echo_n "checking
for $ac_word...
" >&6; }
6126 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6127 $as_echo_n "(cached
) " >&6
6129 if test -n "$ac_ct_AR"; then
6130 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_ac_ct_AR="ar"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6150 if test -n "$ac_ct_AR"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6152 $as_echo "$ac_ct_AR" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6155 $as_echo "no
" >&6; }
6158 if test "x
$ac_ct_AR" = x; then
6161 case $cross_compiling:$ac_tool_warned in
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6164 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6165 ac_tool_warned=yes ;;
6173 test -z "$AR" && AR=ar
6174 test -z "$AR_FLAGS" && AR_FLAGS=cru
6186 if test -n "$ac_tool_prefix"; then
6187 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6188 set dummy ${ac_tool_prefix}strip; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6190 $as_echo_n "checking
for $ac_word...
" >&6; }
6191 if test "${ac_cv_prog_STRIP+set}" = set; then :
6192 $as_echo_n "(cached
) " >&6
6194 if test -n "$STRIP"; then
6195 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6214 STRIP=$ac_cv_prog_STRIP
6215 if test -n "$STRIP"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6217 $as_echo "$STRIP" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6220 $as_echo "no
" >&6; }
6225 if test -z "$ac_cv_prog_STRIP"; then
6227 # Extract the first word of "strip
", so it can be a program name with args.
6228 set dummy strip; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6230 $as_echo_n "checking
for $ac_word...
" >&6; }
6231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6232 $as_echo_n "(cached
) " >&6
6234 if test -n "$ac_ct_STRIP"; then
6235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 ac_cv_prog_ac_ct_STRIP="strip
"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6255 if test -n "$ac_ct_STRIP"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6257 $as_echo "$ac_ct_STRIP" >&6; }
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6260 $as_echo "no
" >&6; }
6263 if test "x
$ac_ct_STRIP" = x; then
6266 case $cross_compiling:$ac_tool_warned in
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6269 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6270 ac_tool_warned=yes ;;
6275 STRIP="$ac_cv_prog_STRIP"
6278 test -z "$STRIP" && STRIP=:
6285 if test -n "$ac_tool_prefix"; then
6286 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6287 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6289 $as_echo_n "checking
for $ac_word...
" >&6; }
6290 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6291 $as_echo_n "(cached
) " >&6
6293 if test -n "$RANLIB"; then
6294 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6313 RANLIB=$ac_cv_prog_RANLIB
6314 if test -n "$RANLIB"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6316 $as_echo "$RANLIB" >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6319 $as_echo "no
" >&6; }
6324 if test -z "$ac_cv_prog_RANLIB"; then
6325 ac_ct_RANLIB=$RANLIB
6326 # Extract the first word of "ranlib
", so it can be a program name with args.
6327 set dummy ranlib; ac_word=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6329 $as_echo_n "checking
for $ac_word...
" >&6; }
6330 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6331 $as_echo_n "(cached
) " >&6
6333 if test -n "$ac_ct_RANLIB"; then
6334 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 test -z "$as_dir" && as_dir=.
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6353 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6354 if test -n "$ac_ct_RANLIB"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6356 $as_echo "$ac_ct_RANLIB" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6359 $as_echo "no
" >&6; }
6362 if test "x
$ac_ct_RANLIB" = x; then
6365 case $cross_compiling:$ac_tool_warned in
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6368 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6369 ac_tool_warned=yes ;;
6371 RANLIB=$ac_ct_RANLIB
6374 RANLIB="$ac_cv_prog_RANLIB"
6377 test -z "$RANLIB" && RANLIB=:
6384 # Determine commands to create old-style static archives.
6385 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6386 old_postinstall_cmds='chmod 644 $oldlib'
6387 old_postuninstall_cmds=
6389 if test -n "$RANLIB"; then
6392 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6395 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6398 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6403 lock_old_archive_extraction=yes ;;
6405 lock_old_archive_extraction=no ;;
6446 # If no C compiler was specified, use CC.
6449 # If no C compiler flags were specified, use CFLAGS.
6450 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6452 # Allow CC to be a program name with arguments.
6456 # Check for command to grab the raw symbol name followed by C symbol from nm.
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6458 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6459 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6460 $as_echo_n "(cached
) " >&6
6463 # These are sane defaults that work on at least a few old systems.
6464 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6466 # Character class describing NM global symbol codes.
6467 symcode='[BCDEGRST]'
6469 # Regexp to match symbols that can be accessed directly from C.
6470 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6472 # Define system-specific variables.
6477 cygwin* | mingw* | pw32* | cegcc*)
6478 symcode='[ABCDGISTW]'
6481 if test "$host_cpu" = ia64; then
6482 symcode='[ABCDEGRST]'
6486 symcode='[BCDEGRST]'
6489 symcode='[BCDEGQRST]'
6500 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6508 # If we're using GNU nm, then use its standard symbol codes.
6509 case `$NM -V 2>&1` in
6510 *GNU* | *'with BFD'*)
6511 symcode='[ABCDGIRSTW]' ;;
6514 # Transform an extracted symbol line into a proper C declaration.
6515 # Some systems (esp. on ia64) link data and code symbols differently,
6516 # so use this general approach.
6517 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6519 # Transform an extracted symbol line into symbol name and symbol address
6520 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6521 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'"
6523 # Handle CRLF in mingw tool chain
6527 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6531 # Try without a prefix underscore, then with it.
6532 for ac_symprfx in "" "_
"; do
6534 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6535 symxfrm="\\1 $ac_symprfx\\2 \\2"
6537 # Write the raw and C identifiers.
6538 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6539 # Fake it for dumpbin and say T for any non-static function
6540 # and D for any global variable.
6541 # Also find C++ and __fastcall symbols from MSVC++,
6542 # which start with @ or ?.
6543 lt_cv_sys_global_symbol_pipe="$AWK '"\
6544 " {last_section=section; section=\$ 3};"\
6545 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6546 " \$ 0!~/External *\|/{next};"\
6547 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6548 " {if(hide[section]) next};"\
6549 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6550 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6551 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6552 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6553 " ' prfx
=^
$ac_symprfx"
6555 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6558 # Check to see that the pipe works correctly.
6562 cat > conftest.$ac_ext <<_LT_EOF
6567 void nm_test_func(void);
6568 void nm_test_func(void){}
6572 int main(){nm_test_var='a';nm_test_func();return(0);}
6575 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6576 (eval $ac_compile) 2>&5
6578 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6579 test $ac_status = 0; }; then
6580 # Now try to grab the symbols.
6582 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6583 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6585 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6586 test $ac_status = 0; } && test -s "$nlist"; then
6587 # Try sorting and uniquifying the output.
6588 if sort "$nlist" | uniq > "$nlist"T; then
6589 mv -f "$nlist"T "$nlist"
6594 # Make sure that we snagged all the symbols we need.
6595 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6596 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6597 cat <<_LT_EOF > conftest.$ac_ext
6603 # Now generate the symbol file.
6604 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6606 cat <<_LT_EOF >> conftest.$ac_ext
6608 /* The mapping between symbol names and symbols. */
6613 lt__PROGRAM__LTX_preloaded_symbols[] =
6615 { "@PROGRAM@
", (void *) 0 },
6617 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6618 cat <<\_LT_EOF >> conftest.$ac_ext
6622 /* This works around a problem in FreeBSD linker */
6623 #ifdef FREEBSD_WORKAROUND
6624 static const void *lt_preloaded_setup() {
6625 return lt__PROGRAM__LTX_preloaded_symbols;
6633 # Now try linking the two files.
6634 mv conftest.$ac_objext conftstm.$ac_objext
6635 lt_save_LIBS="$LIBS"
6636 lt_save_CFLAGS="$CFLAGS"
6637 LIBS="conftstm.
$ac_objext"
6638 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6639 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6640 (eval $ac_link) 2>&5
6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6643 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6646 LIBS="$lt_save_LIBS"
6647 CFLAGS="$lt_save_CFLAGS"
6649 echo "cannot
find nm_test_func
in $nlist" >&5
6652 echo "cannot
find nm_test_var
in $nlist" >&5
6655 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6658 echo "$progname: failed program was
:" >&5
6659 cat conftest.$ac_ext >&5
6661 rm -rf conftest* conftst*
6663 # Do not use the global_symbol_pipe unless it works.
6664 if test "$pipe_works" = yes; then
6667 lt_cv_sys_global_symbol_pipe=
6673 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6674 lt_cv_sys_global_symbol_to_cdecl=
6676 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6678 $as_echo "failed
" >&6; }
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6681 $as_echo "ok
" >&6; }
6705 # Check whether --enable-libtool-lock was given.
6706 if test "${enable_libtool_lock+set}" = set; then :
6707 enableval=$enable_libtool_lock;
6710 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6712 # Some flags need to be propagated to the compiler or linker for good
6716 # Find out which ABI we are using.
6717 echo 'int i;' > conftest.$ac_ext
6718 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6719 (eval $ac_compile) 2>&5
6721 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6722 test $ac_status = 0; }; then
6723 case `/usr/bin/file conftest.$ac_objext` in
6735 # Find out which ABI we are using.
6736 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6737 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6738 (eval $ac_compile) 2>&5
6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6741 test $ac_status = 0; }; then
6742 if test "$lt_cv_prog_gnu_ld" = yes; then
6743 case `/usr/bin/file conftest.$ac_objext` in
6745 LD="${LD-ld} -melf32bsmip"
6748 LD="${LD-ld} -melf32bmipn32"
6751 LD="${LD-ld} -melf64bmip"
6755 case `/usr/bin/file conftest.$ac_objext` in
6771 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6772 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6773 # Find out which ABI we are using.
6774 echo 'int i;' > conftest.$ac_ext
6775 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6776 (eval $ac_compile) 2>&5
6778 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6779 test $ac_status = 0; }; then
6780 case `/usr/bin/file conftest.o` in
6783 x86_64-*kfreebsd*-gnu)
6784 LD="${LD-ld} -m elf_i386_fbsd
"
6787 LD="${LD-ld} -m elf_i386
"
6789 ppc64-*linux*|powerpc64-*linux*)
6790 LD="${LD-ld} -m elf32ppclinux
"
6793 LD="${LD-ld} -m elf_s390
"
6796 LD="${LD-ld} -m elf32_sparc
"
6802 x86_64-*kfreebsd*-gnu)
6803 LD="${LD-ld} -m elf_x86_64_fbsd
"
6806 LD="${LD-ld} -m elf_x86_64
"
6808 ppc*-*linux*|powerpc*-*linux*)
6809 LD="${LD-ld} -m elf64ppc
"
6811 s390*-*linux*|s390*-*tpf*)
6812 LD="${LD-ld} -m elf64_s390
"
6815 LD="${LD-ld} -m elf64_sparc
"
6825 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6826 SAVE_CFLAGS="$CFLAGS"
6827 CFLAGS="$CFLAGS -belf"
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6829 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6830 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6831 $as_echo_n "(cached
) " >&6
6834 ac_cpp='$CPP $CPPFLAGS'
6835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6839 if test x$gcc_no_link = xyes; then
6840 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6853 if ac_fn_c_try_link "$LINENO"; then :
6854 lt_cv_cc_needs_belf=yes
6856 lt_cv_cc_needs_belf=no
6858 rm -f core conftest.err conftest.$ac_objext \
6859 conftest$ac_exeext conftest.$ac_ext
6861 ac_cpp='$CPP $CPPFLAGS'
6862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6868 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6869 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6870 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6871 CFLAGS="$SAVE_CFLAGS"
6875 # Find out which ABI we are using.
6876 echo 'int i;' > conftest.$ac_ext
6877 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6878 (eval $ac_compile) 2>&5
6880 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6881 test $ac_status = 0; }; then
6882 case `/usr/bin/file conftest.o` in
6884 case $lt_cv_prog_gnu_ld in
6885 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6887 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6899 need_locks="$enable_libtool_lock"
6903 rhapsody* | darwin*)
6904 if test -n "$ac_tool_prefix"; then
6905 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6906 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6908 $as_echo_n "checking
for $ac_word...
" >&6; }
6909 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6910 $as_echo_n "(cached
) " >&6
6912 if test -n "$DSYMUTIL"; then
6913 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6922 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6932 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6933 if test -n "$DSYMUTIL"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6935 $as_echo "$DSYMUTIL" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6938 $as_echo "no
" >&6; }
6943 if test -z "$ac_cv_prog_DSYMUTIL"; then
6944 ac_ct_DSYMUTIL=$DSYMUTIL
6945 # Extract the first word of "dsymutil
", so it can be a program name with args.
6946 set dummy dsymutil; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6948 $as_echo_n "checking
for $ac_word...
" >&6; }
6949 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6950 $as_echo_n "(cached
) " >&6
6952 if test -n "$ac_ct_DSYMUTIL"; then
6953 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6962 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6972 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6973 if test -n "$ac_ct_DSYMUTIL"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6975 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6978 $as_echo "no
" >&6; }
6981 if test "x
$ac_ct_DSYMUTIL" = x; then
6984 case $cross_compiling:$ac_tool_warned in
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6987 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6988 ac_tool_warned=yes ;;
6990 DSYMUTIL=$ac_ct_DSYMUTIL
6993 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6996 if test -n "$ac_tool_prefix"; then
6997 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6998 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7000 $as_echo_n "checking
for $ac_word...
" >&6; }
7001 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7002 $as_echo_n "(cached
) " >&6
7004 if test -n "$NMEDIT"; then
7005 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7014 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7024 NMEDIT=$ac_cv_prog_NMEDIT
7025 if test -n "$NMEDIT"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7027 $as_echo "$NMEDIT" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7030 $as_echo "no
" >&6; }
7035 if test -z "$ac_cv_prog_NMEDIT"; then
7036 ac_ct_NMEDIT=$NMEDIT
7037 # Extract the first word of "nmedit
", so it can be a program name with args.
7038 set dummy nmedit; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7040 $as_echo_n "checking
for $ac_word...
" >&6; }
7041 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7042 $as_echo_n "(cached
) " >&6
7044 if test -n "$ac_ct_NMEDIT"; then
7045 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir=.
7052 for ac_exec_ext in '' $ac_executable_extensions; do
7053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7054 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7064 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7065 if test -n "$ac_ct_NMEDIT"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7067 $as_echo "$ac_ct_NMEDIT" >&6; }
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7070 $as_echo "no
" >&6; }
7073 if test "x
$ac_ct_NMEDIT" = x; then
7076 case $cross_compiling:$ac_tool_warned in
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7079 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7080 ac_tool_warned=yes ;;
7082 NMEDIT=$ac_ct_NMEDIT
7085 NMEDIT="$ac_cv_prog_NMEDIT"
7088 if test -n "$ac_tool_prefix"; then
7089 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7090 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7092 $as_echo_n "checking
for $ac_word...
" >&6; }
7093 if test "${ac_cv_prog_LIPO+set}" = set; then :
7094 $as_echo_n "(cached
) " >&6
7096 if test -n "$LIPO"; then
7097 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7116 LIPO=$ac_cv_prog_LIPO
7117 if test -n "$LIPO"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7119 $as_echo "$LIPO" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7122 $as_echo "no
" >&6; }
7127 if test -z "$ac_cv_prog_LIPO"; then
7129 # Extract the first word of "lipo
", so it can be a program name with args.
7130 set dummy lipo; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7132 $as_echo_n "checking
for $ac_word...
" >&6; }
7133 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7134 $as_echo_n "(cached
) " >&6
7136 if test -n "$ac_ct_LIPO"; then
7137 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7146 ac_cv_prog_ac_ct_LIPO="lipo
"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7156 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7157 if test -n "$ac_ct_LIPO"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7159 $as_echo "$ac_ct_LIPO" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7162 $as_echo "no
" >&6; }
7165 if test "x
$ac_ct_LIPO" = x; then
7168 case $cross_compiling:$ac_tool_warned in
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7171 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7172 ac_tool_warned=yes ;;
7177 LIPO="$ac_cv_prog_LIPO"
7180 if test -n "$ac_tool_prefix"; then
7181 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7182 set dummy ${ac_tool_prefix}otool; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7184 $as_echo_n "checking
for $ac_word...
" >&6; }
7185 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7186 $as_echo_n "(cached
) " >&6
7188 if test -n "$OTOOL"; then
7189 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 test -z "$as_dir" && as_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7198 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7199 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7208 OTOOL=$ac_cv_prog_OTOOL
7209 if test -n "$OTOOL"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7211 $as_echo "$OTOOL" >&6; }
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7214 $as_echo "no
" >&6; }
7219 if test -z "$ac_cv_prog_OTOOL"; then
7221 # Extract the first word of "otool
", so it can be a program name with args.
7222 set dummy otool; ac_word=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7224 $as_echo_n "checking
for $ac_word...
" >&6; }
7225 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7226 $as_echo_n "(cached
) " >&6
7228 if test -n "$ac_ct_OTOOL"; then
7229 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 test -z "$as_dir" && as_dir=.
7236 for ac_exec_ext in '' $ac_executable_extensions; do
7237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7238 ac_cv_prog_ac_ct_OTOOL="otool
"
7239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7248 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7249 if test -n "$ac_ct_OTOOL"; then
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7251 $as_echo "$ac_ct_OTOOL" >&6; }
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7254 $as_echo "no
" >&6; }
7257 if test "x
$ac_ct_OTOOL" = x; then
7260 case $cross_compiling:$ac_tool_warned in
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7263 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7264 ac_tool_warned=yes ;;
7269 OTOOL="$ac_cv_prog_OTOOL"
7272 if test -n "$ac_tool_prefix"; then
7273 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7274 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7276 $as_echo_n "checking
for $ac_word...
" >&6; }
7277 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7278 $as_echo_n "(cached
) " >&6
7280 if test -n "$OTOOL64"; then
7281 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7300 OTOOL64=$ac_cv_prog_OTOOL64
7301 if test -n "$OTOOL64"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7303 $as_echo "$OTOOL64" >&6; }
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7306 $as_echo "no
" >&6; }
7311 if test -z "$ac_cv_prog_OTOOL64"; then
7312 ac_ct_OTOOL64=$OTOOL64
7313 # Extract the first word of "otool64
", so it can be a program name with args.
7314 set dummy otool64; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7316 $as_echo_n "checking
for $ac_word...
" >&6; }
7317 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7318 $as_echo_n "(cached
) " >&6
7320 if test -n "$ac_ct_OTOOL64"; then
7321 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7340 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7341 if test -n "$ac_ct_OTOOL64"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7343 $as_echo "$ac_ct_OTOOL64" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7346 $as_echo "no
" >&6; }
7349 if test "x
$ac_ct_OTOOL64" = x; then
7352 case $cross_compiling:$ac_tool_warned in
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7355 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7356 ac_tool_warned=yes ;;
7358 OTOOL64=$ac_ct_OTOOL64
7361 OTOOL64="$ac_cv_prog_OTOOL64"
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7391 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7392 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7393 $as_echo_n "(cached
) " >&6
7395 lt_cv_apple_cc_single_mod=no
7396 if test -z "${LT_MULTI_MODULE}"; then
7397 # By default we will add the -single_module flag. You can override
7398 # by either setting the environment variable LT_MULTI_MODULE
7399 # non-empty at configure time, or by adding -multi_module to the
7401 rm -rf libconftest.dylib*
7402 echo "int foo
(void
){return 1;}" > conftest.c
7403 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7404 -dynamiclib -Wl,-single_module conftest.c
" >&5
7405 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7406 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7408 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7409 lt_cv_apple_cc_single_mod=yes
7411 cat conftest.err >&5
7413 rm -rf libconftest.dylib*
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7418 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7420 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7421 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7422 $as_echo_n "(cached
) " >&6
7424 lt_cv_ld_exported_symbols_list=no
7425 save_LDFLAGS=$LDFLAGS
7426 echo "_main
" > conftest.sym
7427 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7428 if test x$gcc_no_link = xyes; then
7429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7432 /* end confdefs.h. */
7442 if ac_fn_c_try_link "$LINENO"; then :
7443 lt_cv_ld_exported_symbols_list=yes
7445 lt_cv_ld_exported_symbols_list=no
7447 rm -f core conftest.err conftest.$ac_objext \
7448 conftest$ac_exeext conftest.$ac_ext
7449 LDFLAGS="$save_LDFLAGS"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7453 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7455 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7456 if test "${lt_cv_ld_force_load+set}" = set; then :
7457 $as_echo_n "(cached
) " >&6
7459 lt_cv_ld_force_load=no
7460 cat > conftest.c << _LT_EOF
7461 int forced_loaded() { return 2;}
7463 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7464 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7465 echo "$AR cru libconftest.a conftest.o
" >&5
7466 $AR cru libconftest.a conftest.o 2>&5
7467 cat > conftest.c << _LT_EOF
7468 int main() { return 0;}
7470 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7471 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7473 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7474 lt_cv_ld_force_load=yes
7476 cat conftest.err >&5
7478 rm -f conftest.err libconftest.a conftest conftest.c
7479 rm -rf conftest.dSYM
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7483 $as_echo "$lt_cv_ld_force_load" >&6; }
7485 rhapsody* | darwin1.[012])
7486 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7488 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7489 darwin*) # darwin 5.x on
7490 # if running on 10.5 or later, the deployment target defaults
7491 # to the OS version, if on x86, and 10.4, the deployment
7492 # target defaults to 10.4. Don't you love it?
7493 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7494 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7495 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7497 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7499 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7503 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7504 _lt_dar_single_mod='$single_module'
7506 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7507 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7509 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7511 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7512 _lt_dsymutil='~$DSYMUTIL $lib || :'
7520 ac_cpp='$CPP $CPPFLAGS'
7521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7525 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7526 # On Suns, sometimes $CPP names a directory.
7527 if test -n "$CPP" && test -d "$CPP"; then
7530 if test -z "$CPP"; then
7531 if test "${ac_cv_prog_CPP+set}" = set; then :
7532 $as_echo_n "(cached
) " >&6
7534 # Double quotes because CPP needs to be expanded
7535 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7538 for ac_c_preproc_warn_flag in '' yes
7540 # Use a header file that comes with gcc, so configuring glibc
7541 # with a fresh cross-compiler works.
7542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7543 # <limits.h> exists even on freestanding compilers.
7544 # On the NeXT, cc -E runs the code through the compiler's parser,
7545 # not just through cpp. "Syntax error
" is here to catch this case.
7546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h. */
7549 # include <limits.h>
7551 # include <assert.h>
7555 if ac_fn_c_try_cpp "$LINENO"; then :
7558 # Broken: fails on valid input.
7561 rm -f conftest.err conftest.$ac_ext
7563 # OK, works on sane cases. Now check whether nonexistent headers
7564 # can be detected and how.
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7567 #include <ac_nonexistent.h>
7569 if ac_fn_c_try_cpp "$LINENO"; then :
7570 # Broken: success on invalid input.
7573 # Passes both tests.
7577 rm -f conftest.err conftest.$ac_ext
7580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7581 rm -f conftest.err conftest.$ac_ext
7582 if $ac_preproc_ok; then :
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7595 $as_echo "$CPP" >&6; }
7597 for ac_c_preproc_warn_flag in '' yes
7599 # Use a header file that comes with gcc, so configuring glibc
7600 # with a fresh cross-compiler works.
7601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7602 # <limits.h> exists even on freestanding compilers.
7603 # On the NeXT, cc -E runs the code through the compiler's parser,
7604 # not just through cpp. "Syntax error
" is here to catch this case.
7605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7606 /* end confdefs.h. */
7608 # include <limits.h>
7610 # include <assert.h>
7614 if ac_fn_c_try_cpp "$LINENO"; then :
7617 # Broken: fails on valid input.
7620 rm -f conftest.err conftest.$ac_ext
7622 # OK, works on sane cases. Now check whether nonexistent headers
7623 # can be detected and how.
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #include <ac_nonexistent.h>
7628 if ac_fn_c_try_cpp "$LINENO"; then :
7629 # Broken: success on invalid input.
7632 # Passes both tests.
7636 rm -f conftest.err conftest.$ac_ext
7639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7640 rm -f conftest.err conftest.$ac_ext
7641 if $ac_preproc_ok; then :
7644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7646 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7647 See \`config.log' for more details.
" "$LINENO" 5; }
7651 ac_cpp='$CPP $CPPFLAGS'
7652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7658 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7659 if test "${ac_cv_header_stdc+set}" = set; then :
7660 $as_echo_n "(cached
) " >&6
7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7677 if ac_fn_c_try_compile "$LINENO"; then :
7678 ac_cv_header_stdc=yes
7680 ac_cv_header_stdc=no
7682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7684 if test $ac_cv_header_stdc = yes; then
7685 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7687 /* end confdefs.h. */
7691 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7692 $EGREP "memchr
" >/dev/null 2>&1; then :
7695 ac_cv_header_stdc=no
7701 if test $ac_cv_header_stdc = yes; then
7702 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7708 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7709 $EGREP "free
" >/dev/null 2>&1; then :
7712 ac_cv_header_stdc=no
7718 if test $ac_cv_header_stdc = yes; then
7719 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7720 if test "$cross_compiling" = yes; then :
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7727 #if ((' ' & 0x0FF) == 0x020)
7728 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7729 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7731 # define ISLOWER(c) \
7732 (('a' <= (c) && (c) <= 'i') \
7733 || ('j' <= (c) && (c) <= 'r') \
7734 || ('s' <= (c) && (c) <= 'z'))
7735 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7738 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7743 for (i = 0; i < 256; i++)
7744 if (XOR (islower (i), ISLOWER (i))
7745 || toupper (i) != TOUPPER (i))
7750 if ac_fn_c_try_run "$LINENO"; then :
7753 ac_cv_header_stdc=no
7755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7756 conftest.$ac_objext conftest.beam conftest.$ac_ext
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7762 $as_echo "$ac_cv_header_stdc" >&6; }
7763 if test $ac_cv_header_stdc = yes; then
7765 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7769 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7770 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7771 inttypes.h stdint.h unistd.h
7773 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7774 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7776 eval as_val
=\$
$as_ac_Header
7777 if test "x$as_val" = x
""yes; then :
7778 cat >>confdefs.h
<<_ACEOF
7779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7787 for ac_header
in dlfcn.h
7789 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7791 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7792 cat >>confdefs.h
<<_ACEOF
7793 #define HAVE_DLFCN_H 1
7812 # Check whether --enable-shared was given.
7813 if test "${enable_shared+set}" = set; then :
7814 enableval
=$enable_shared; p
=${PACKAGE-default}
7816 yes) enable_shared
=yes ;;
7817 no
) enable_shared
=no
;;
7820 # Look at the argument we got. We use all the common list separators.
7821 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7822 for pkg
in $enableval; do
7824 if test "X$pkg" = "X$p"; then
7843 # Check whether --enable-static was given.
7844 if test "${enable_static+set}" = set; then :
7845 enableval
=$enable_static; p
=${PACKAGE-default}
7847 yes) enable_static
=yes ;;
7848 no
) enable_static
=no
;;
7851 # Look at the argument we got. We use all the common list separators.
7852 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7853 for pkg
in $enableval; do
7855 if test "X$pkg" = "X$p"; then
7875 # Check whether --with-pic was given.
7876 if test "${with_pic+set}" = set; then :
7877 withval
=$with_pic; pic_mode
="$withval"
7883 test -z "$pic_mode" && pic_mode
=default
7891 # Check whether --enable-fast-install was given.
7892 if test "${enable_fast_install+set}" = set; then :
7893 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7895 yes) enable_fast_install
=yes ;;
7896 no
) enable_fast_install
=no
;;
7898 enable_fast_install
=no
7899 # Look at the argument we got. We use all the common list separators.
7900 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7901 for pkg
in $enableval; do
7903 if test "X$pkg" = "X$p"; then
7904 enable_fast_install
=yes
7911 enable_fast_install
=yes
7924 # This can be used to rebuild libtool when needed
7925 LIBTOOL_DEPS
="$ltmain"
7927 # Always use our own libtool.
7928 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7955 test -z "$LN_S" && LN_S
="ln -s"
7970 if test -n "${ZSH_VERSION+set}" ; then
7971 setopt NO_GLOB_SUBST
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7975 $as_echo_n "checking for objdir... " >&6; }
7976 if test "${lt_cv_objdir+set}" = set; then :
7977 $as_echo_n "(cached) " >&6
7979 rm -f .libs
2>/dev
/null
7980 mkdir .libs
2>/dev
/null
7981 if test -d .libs
; then
7984 # MS-DOS does not allow filenames that begin with a dot.
7987 rmdir .libs
2>/dev
/null
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7990 $as_echo "$lt_cv_objdir" >&6; }
7991 objdir
=$lt_cv_objdir
7997 cat >>confdefs.h
<<_ACEOF
7998 #define LT_OBJDIR "$lt_cv_objdir/"
8006 # AIX sometimes has problems with the GCC collect2 program. For some
8007 # reason, if we set the COLLECT_NAMES environment variable, the problems
8008 # vanish in a puff of smoke.
8009 if test "X${COLLECT_NAMES+set}" != Xset
; then
8011 export COLLECT_NAMES
8018 can_build_shared
=yes
8020 # All known linkers require a `.a' archive for static linking (except MSVC,
8021 # which needs '.lib').
8024 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8027 old_CFLAGS
="$CFLAGS"
8029 # Set sane defaults for various variables
8030 test -z "$CC" && CC
=cc
8031 test -z "$LTCC" && LTCC
=$CC
8032 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8033 test -z "$LD" && LD
=ld
8034 test -z "$ac_objext" && ac_objext
=o
8036 for cc_temp
in $compiler""; do
8038 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8039 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8044 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8047 # Only perform the check for file, if the check method requires it
8048 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8049 case $deplibs_check_method in
8051 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8053 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8054 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8055 $as_echo_n "(cached) " >&6
8059 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8062 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8063 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8064 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8065 for ac_dir
in $ac_dummy; do
8067 test -z "$ac_dir" && ac_dir
=.
8068 if test -f $ac_dir/${ac_tool_prefix}file; then
8069 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8070 if test -n "$file_magic_test_file"; then
8071 case $deplibs_check_method in
8073 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8074 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8075 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8076 $EGREP "$file_magic_regex" > /dev
/null
; then
8081 *** Warning: the command libtool uses to detect shared libraries,
8082 *** $file_magic_cmd, produces output that libtool cannot recognize.
8083 *** The result is that libtool may fail to recognize shared libraries
8084 *** as such. This will affect the creation of libtool libraries that
8085 *** depend on shared libraries, but programs linked with such libtool
8086 *** libraries will work regardless of this problem. Nevertheless, you
8087 *** may want to report the problem to your system manager and/or to
8088 *** bug-libtool@gnu.org
8098 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8103 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8104 if test -n "$MAGIC_CMD"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8106 $as_echo "$MAGIC_CMD" >&6; }
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8116 if test -z "$lt_cv_path_MAGIC_CMD"; then
8117 if test -n "$ac_tool_prefix"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8119 $as_echo_n "checking for file... " >&6; }
8120 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8121 $as_echo_n "(cached) " >&6
8125 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8128 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8129 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8130 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8131 for ac_dir
in $ac_dummy; do
8133 test -z "$ac_dir" && ac_dir
=.
8134 if test -f $ac_dir/file; then
8135 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8136 if test -n "$file_magic_test_file"; then
8137 case $deplibs_check_method in
8139 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8140 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8141 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8142 $EGREP "$file_magic_regex" > /dev
/null
; then
8147 *** Warning: the command libtool uses to detect shared libraries,
8148 *** $file_magic_cmd, produces output that libtool cannot recognize.
8149 *** The result is that libtool may fail to recognize shared libraries
8150 *** as such. This will affect the creation of libtool libraries that
8151 *** depend on shared libraries, but programs linked with such libtool
8152 *** libraries will work regardless of this problem. Nevertheless, you
8153 *** may want to report the problem to your system manager and/or to
8154 *** bug-libtool@gnu.org
8164 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8169 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8170 if test -n "$MAGIC_CMD"; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8172 $as_echo "$MAGIC_CMD" >&6; }
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 $as_echo "no" >&6; }
8188 # Use C for the default configuration in the libtool script
8192 ac_cpp
='$CPP $CPPFLAGS'
8193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8198 # Source file extension for C test sources.
8201 # Object file extension for compiled C test sources.
8205 # Code to be used in simple compile tests
8206 lt_simple_compile_test_code
="int some_variable = 0;"
8208 # Code to be used in simple link tests
8209 lt_simple_link_test_code
='int main(){return(0);}'
8217 # If no C compiler was specified, use CC.
8220 # If no C compiler flags were specified, use CFLAGS.
8221 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8223 # Allow CC to be a program name with arguments.
8226 # Save the default compiler, since it gets overwritten when the other
8227 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8228 compiler_DEFAULT
=$CC
8230 # save warnings/boilerplate of simple test code
8231 ac_outfile
=conftest.
$ac_objext
8232 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8233 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8234 _lt_compiler_boilerplate
=`cat conftest.err`
8237 ac_outfile
=conftest.
$ac_objext
8238 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8239 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8240 _lt_linker_boilerplate
=`cat conftest.err`
8245 ## There is no encapsulation within the following macros, do not change
8246 ## the running order or otherwise move them around unless you know exactly
8247 ## what you are doing...
8248 if test -n "$compiler"; then
8250 lt_prog_compiler_no_builtin_flag
=
8252 if test "$GCC" = yes; then
8253 case $cc_basename in
8255 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8257 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8261 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8262 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8263 $as_echo_n "(cached) " >&6
8265 lt_cv_prog_compiler_rtti_exceptions
=no
8266 ac_outfile
=conftest.
$ac_objext
8267 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8268 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8269 # Insert the option either (1) after the last *FLAGS variable, or
8270 # (2) before a word containing "conftest.", or (3) at the end.
8271 # Note that $ac_compile itself does not contain backslashes and begins
8272 # with a dollar sign (not a hyphen), so the echo should work correctly.
8273 # The option is referenced via a variable to avoid confusing sed.
8274 lt_compile
=`echo "$ac_compile" | $SED \
8275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8277 -e 's:$: $lt_compiler_flag:'`
8278 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8279 (eval "$lt_compile" 2>conftest.err
)
8281 cat conftest.err
>&5
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 if (exit $ac_status) && test -s "$ac_outfile"; then
8284 # The compiler can only warn and ignore the option if not recognized
8285 # So say no if there are warnings other than the usual output.
8286 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8287 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8288 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8289 lt_cv_prog_compiler_rtti_exceptions
=yes
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8296 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8298 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8299 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8311 lt_prog_compiler_wl
=
8312 lt_prog_compiler_pic
=
8313 lt_prog_compiler_static
=
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8316 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8318 if test "$GCC" = yes; then
8319 lt_prog_compiler_wl
='-Wl,'
8320 lt_prog_compiler_static
='-static'
8324 # All AIX code is PIC.
8325 if test "$host_cpu" = ia64
; then
8326 # AIX 5 now supports IA64 processor
8327 lt_prog_compiler_static
='-Bstatic'
8334 # see comment about AmigaOS4 .so support
8335 lt_prog_compiler_pic
='-fPIC'
8338 # FIXME: we need at least 68020 code to build shared libraries, but
8339 # adding the `-m68020' flag to GCC prevents building anything better,
8341 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8346 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8347 # PIC is the default for these OSes.
8350 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8351 # This hack is so that the source file can tell whether it is being
8352 # built for inclusion in a dll (and should export symbols for example).
8353 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8354 # (--disable-auto-import) libraries
8355 lt_prog_compiler_pic
='-DDLL_EXPORT'
8358 darwin
* | rhapsody
*)
8359 # PIC is the default on this platform
8360 # Common symbols not allowed in MH_DYLIB files
8361 lt_prog_compiler_pic
='-fno-common'
8365 # PIC is the default for Haiku.
8366 # The "-static" flag exists, but is broken.
8367 lt_prog_compiler_static
=
8371 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8372 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8373 # sets the default TLS model and affects inlining.
8379 lt_prog_compiler_pic
='-fPIC'
8385 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8386 # Instead, we relocate shared libraries at runtime.
8390 # Just because we use GCC doesn't mean we suddenly get shared libraries
8391 # on systems that don't support them.
8392 lt_prog_compiler_can_build_shared
=no
8397 # QNX uses GNU C++, but need to define -shared option too, otherwise
8399 lt_prog_compiler_pic
='-fPIC -shared'
8403 if test -d /usr
/nec
; then
8404 lt_prog_compiler_pic
=-Kconform_pic
8409 lt_prog_compiler_pic
='-fPIC'
8413 case $cc_basename in
8414 nvcc
*) # Cuda Compiler Driver 2.2
8415 lt_prog_compiler_wl
='-Xlinker '
8416 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8420 # PORTME Check for flag to pass linker flags through the system compiler.
8423 lt_prog_compiler_wl
='-Wl,'
8424 if test "$host_cpu" = ia64
; then
8425 # AIX 5 now supports IA64 processor
8426 lt_prog_compiler_static
='-Bstatic'
8428 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8432 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8433 # This hack is so that the source file can tell whether it is being
8434 # built for inclusion in a dll (and should export symbols for example).
8435 lt_prog_compiler_pic
='-DDLL_EXPORT'
8438 hpux9
* | hpux10
* | hpux11
*)
8439 lt_prog_compiler_wl
='-Wl,'
8440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8447 lt_prog_compiler_pic
='+Z'
8450 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8451 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8454 irix5
* | irix6
* | nonstopux
*)
8455 lt_prog_compiler_wl
='-Wl,'
8456 # PIC (with -KPIC) is the default.
8457 lt_prog_compiler_static
='-non_shared'
8460 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8461 case $cc_basename in
8462 # old Intel for x86_64 which still supported -KPIC.
8464 lt_prog_compiler_wl
='-Wl,'
8465 lt_prog_compiler_pic
='-KPIC'
8466 lt_prog_compiler_static
='-static'
8468 # icc used to be incompatible with GCC.
8469 # ICC 10 doesn't accept -KPIC any more.
8471 lt_prog_compiler_wl
='-Wl,'
8472 lt_prog_compiler_pic
='-fPIC'
8473 lt_prog_compiler_static
='-static'
8475 # Lahey Fortran 8.1.
8477 lt_prog_compiler_wl
='-Wl,'
8478 lt_prog_compiler_pic
='--shared'
8479 lt_prog_compiler_static
='--static'
8481 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8482 # Portland Group compilers (*not* the Pentium gcc compiler,
8483 # which looks to be a dead project)
8484 lt_prog_compiler_wl
='-Wl,'
8485 lt_prog_compiler_pic
='-fpic'
8486 lt_prog_compiler_static
='-Bstatic'
8489 lt_prog_compiler_wl
='-Wl,'
8490 # All Alpha code is PIC.
8491 lt_prog_compiler_static
='-non_shared'
8493 xl
* | bgxl
* | bgf
* | mpixl
*)
8494 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8495 lt_prog_compiler_wl
='-Wl,'
8496 lt_prog_compiler_pic
='-qpic'
8497 lt_prog_compiler_static
='-qstaticlink'
8500 case `$CC -V 2>&1 | sed 5q` in
8501 *Sun\ F
* |
*Sun
*Fortran
*)
8502 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8503 lt_prog_compiler_pic
='-KPIC'
8504 lt_prog_compiler_static
='-Bstatic'
8505 lt_prog_compiler_wl
=''
8509 lt_prog_compiler_pic
='-KPIC'
8510 lt_prog_compiler_static
='-Bstatic'
8511 lt_prog_compiler_wl
='-Wl,'
8519 lt_prog_compiler_pic
='-KPIC'
8520 lt_prog_compiler_static
='-Bstatic'
8524 # QNX uses GNU C++, but need to define -shared option too, otherwise
8526 lt_prog_compiler_pic
='-fPIC -shared'
8529 osf3
* | osf4
* | osf5
*)
8530 lt_prog_compiler_wl
='-Wl,'
8531 # All OSF/1 code is PIC.
8532 lt_prog_compiler_static
='-non_shared'
8536 lt_prog_compiler_static
='-non_shared'
8540 lt_prog_compiler_pic
='-KPIC'
8541 lt_prog_compiler_static
='-Bstatic'
8542 case $cc_basename in
8544 lt_prog_compiler_wl
='-Qoption ld ';;
8546 lt_prog_compiler_wl
='-Wl,';;
8551 lt_prog_compiler_wl
='-Qoption ld '
8552 lt_prog_compiler_pic
='-PIC'
8553 lt_prog_compiler_static
='-Bstatic'
8556 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8557 lt_prog_compiler_wl
='-Wl,'
8558 lt_prog_compiler_pic
='-KPIC'
8559 lt_prog_compiler_static
='-Bstatic'
8563 if test -d /usr
/nec
;then
8564 lt_prog_compiler_pic
='-Kconform_pic'
8565 lt_prog_compiler_static
='-Bstatic'
8569 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8570 lt_prog_compiler_wl
='-Wl,'
8571 lt_prog_compiler_pic
='-KPIC'
8572 lt_prog_compiler_static
='-Bstatic'
8576 lt_prog_compiler_wl
='-Wl,'
8577 lt_prog_compiler_can_build_shared
=no
8581 lt_prog_compiler_pic
='-pic'
8582 lt_prog_compiler_static
='-Bstatic'
8586 lt_prog_compiler_can_build_shared
=no
8592 # For platforms which do not support PIC, -DPIC is meaningless:
8594 lt_prog_compiler_pic
=
8597 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8601 $as_echo "$lt_prog_compiler_pic" >&6; }
8609 # Check to make sure the PIC flag actually works.
8611 if test -n "$lt_prog_compiler_pic"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8613 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8614 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8615 $as_echo_n "(cached) " >&6
8617 lt_cv_prog_compiler_pic_works
=no
8618 ac_outfile
=conftest.
$ac_objext
8619 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8620 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8621 # Insert the option either (1) after the last *FLAGS variable, or
8622 # (2) before a word containing "conftest.", or (3) at the end.
8623 # Note that $ac_compile itself does not contain backslashes and begins
8624 # with a dollar sign (not a hyphen), so the echo should work correctly.
8625 # The option is referenced via a variable to avoid confusing sed.
8626 lt_compile
=`echo "$ac_compile" | $SED \
8627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8629 -e 's:$: $lt_compiler_flag:'`
8630 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8631 (eval "$lt_compile" 2>conftest.err
)
8633 cat conftest.err
>&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 if (exit $ac_status) && test -s "$ac_outfile"; then
8636 # The compiler can only warn and ignore the option if not recognized
8637 # So say no if there are warnings other than the usual output.
8638 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8639 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8640 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8641 lt_cv_prog_compiler_pic_works
=yes
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8648 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8650 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8651 case $lt_prog_compiler_pic in
8653 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8656 lt_prog_compiler_pic
=
8657 lt_prog_compiler_can_build_shared
=no
8668 # Check to make sure the static flag actually works.
8670 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8672 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8673 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8674 $as_echo_n "(cached) " >&6
8676 lt_cv_prog_compiler_static_works
=no
8677 save_LDFLAGS
="$LDFLAGS"
8678 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8679 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8680 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8681 # The linker can only warn and ignore the option if not recognized
8682 # So say no if there are warnings
8683 if test -s conftest.err
; then
8684 # Append any errors to the config.log.
8685 cat conftest.err
1>&5
8686 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8687 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8688 if diff conftest.exp conftest.er2
>/dev
/null
; then
8689 lt_cv_prog_compiler_static_works
=yes
8692 lt_cv_prog_compiler_static_works
=yes
8696 LDFLAGS
="$save_LDFLAGS"
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8700 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8702 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8705 lt_prog_compiler_static
=
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8715 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8716 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8717 $as_echo_n "(cached) " >&6
8719 lt_cv_prog_compiler_c_o
=no
8720 $RM -r conftest
2>/dev
/null
8724 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8726 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8727 # Insert the option either (1) after the last *FLAGS variable, or
8728 # (2) before a word containing "conftest.", or (3) at the end.
8729 # Note that $ac_compile itself does not contain backslashes and begins
8730 # with a dollar sign (not a hyphen), so the echo should work correctly.
8731 lt_compile
=`echo "$ac_compile" | $SED \
8732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8734 -e 's:$: $lt_compiler_flag:'`
8735 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8736 (eval "$lt_compile" 2>out
/conftest.err
)
8738 cat out
/conftest.err
>&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8742 # The compiler can only warn and ignore the option if not recognized
8743 # So say no if there are warnings
8744 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8745 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8746 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8747 lt_cv_prog_compiler_c_o
=yes
8752 # SGI C++ compiler will create directory out/ii_files/ for
8753 # template instantiation
8754 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8755 $RM out
/* && rmdir out
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8762 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8770 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8771 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8772 $as_echo_n "(cached) " >&6
8774 lt_cv_prog_compiler_c_o
=no
8775 $RM -r conftest
2>/dev
/null
8779 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8781 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8782 # Insert the option either (1) after the last *FLAGS variable, or
8783 # (2) before a word containing "conftest.", or (3) at the end.
8784 # Note that $ac_compile itself does not contain backslashes and begins
8785 # with a dollar sign (not a hyphen), so the echo should work correctly.
8786 lt_compile
=`echo "$ac_compile" | $SED \
8787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8789 -e 's:$: $lt_compiler_flag:'`
8790 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8791 (eval "$lt_compile" 2>out
/conftest.err
)
8793 cat out
/conftest.err
>&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8797 # The compiler can only warn and ignore the option if not recognized
8798 # So say no if there are warnings
8799 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8800 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8801 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8802 lt_cv_prog_compiler_c_o
=yes
8807 # SGI C++ compiler will create directory out/ii_files/ for
8808 # template instantiation
8809 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8810 $RM out
/* && rmdir out
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8817 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8822 hard_links
="nottested"
8823 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8824 # do not overwrite the value of need_locks provided by the user
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8826 $as_echo_n "checking if we can lock with hard links... " >&6; }
8829 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8831 ln conftest.a conftest.b
2>&5 || hard_links
=no
8832 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8834 $as_echo "$hard_links" >&6; }
8835 if test "$hard_links" = no
; then
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8837 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8850 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8853 allow_undefined_flag
=
8854 always_export_symbols
=no
8856 archive_expsym_cmds
=
8857 compiler_needs_object
=no
8858 enable_shared_with_static_runtimes
=no
8859 export_dynamic_flag_spec
=
8860 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8861 hardcode_automatic
=no
8863 hardcode_direct_absolute
=no
8864 hardcode_libdir_flag_spec
=
8865 hardcode_libdir_flag_spec_ld
=
8866 hardcode_libdir_separator
=
8868 hardcode_shlibpath_var
=unsupported
8870 link_all_deplibs
=unknown
8873 old_archive_from_new_cmds
=
8874 old_archive_from_expsyms_cmds
=
8875 thread_safe_flag_spec
=
8876 whole_archive_flag_spec
=
8877 # include_expsyms should be a list of space-separated symbols to be *always*
8878 # included in the symbol list
8880 # exclude_expsyms can be an extended regexp of symbols to exclude
8881 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8882 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8883 # as well as any symbol that contains `d'.
8884 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8885 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8886 # platforms (ab)use it in PIC code, but their linkers get confused if
8887 # the symbol is explicitly referenced. Since portable code cannot
8888 # rely on this symbol name, it's probably fine to never include it in
8889 # preloaded symbol tables.
8890 # Exclude shared library initialization/finalization symbols.
8891 extract_expsyms_cmds
=
8894 cygwin
* | mingw
* | pw32
* | cegcc
*)
8895 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8896 # When not using gcc, we currently assume that we are using
8897 # Microsoft Visual C++.
8898 if test "$GCC" != yes; then
8903 # we just hope/assume this is gcc and not c89 (= MSVC++)
8913 # On some targets, GNU ld is compatible enough with the native linker
8914 # that we're better off using the native interface for both.
8915 lt_use_gnu_ld_interface
=no
8916 if test "$with_gnu_ld" = yes; then
8919 # The AIX port of GNU ld has always aspired to compatibility
8920 # with the native linker. However, as the warning in the GNU ld
8921 # block says, versions before 2.19.5* couldn't really create working
8922 # shared libraries, regardless of the interface used.
8923 case `$LD -v 2>&1` in
8924 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8925 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8926 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8928 lt_use_gnu_ld_interface
=yes
8933 lt_use_gnu_ld_interface
=yes
8938 if test "$lt_use_gnu_ld_interface" = yes; then
8939 # If archive_cmds runs LD, not CC, wlarc should be empty
8942 # Set some defaults for GNU ld with shared library support. These
8943 # are reset later if shared libraries are not supported. Putting them
8944 # here allows them to be overridden if necessary.
8945 runpath_var
=LD_RUN_PATH
8946 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8947 export_dynamic_flag_spec
='${wl}--export-dynamic'
8948 # ancient GNU ld didn't support --whole-archive et. al.
8949 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8950 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8952 whole_archive_flag_spec
=
8954 supports_anon_versioning
=no
8955 case `$LD -v 2>&1` in
8956 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8957 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8958 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8959 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8960 *\
2.11.
*) ;; # other 2.11 versions
8961 *) supports_anon_versioning
=yes ;;
8964 # See if GNU ld supports shared libraries.
8967 # On AIX/PPC, the GNU linker is very broken
8968 if test "$host_cpu" != ia64
; then
8972 *** Warning: the GNU linker, at least up to release 2.19, is reported
8973 *** to be unable to reliably create shared libraries on AIX.
8974 *** Therefore, libtool is disabling shared libraries support. If you
8975 *** really care for shared libraries, you may want to install binutils
8976 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8977 *** You will then need to restart the configuration process.
8986 # see comment about AmigaOS4 .so support
8987 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8988 archive_expsym_cmds
=''
8991 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)'
8992 hardcode_libdir_flag_spec
='-L$libdir'
8993 hardcode_minus_L
=yes
8999 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9000 allow_undefined_flag
=unsupported
9001 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9002 # support --undefined. This deserves some investigation. FIXME
9003 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009 cygwin
* | mingw
* | pw32
* | cegcc
*)
9010 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9011 # as there is no search path for DLLs.
9012 hardcode_libdir_flag_spec
='-L$libdir'
9013 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9014 allow_undefined_flag
=unsupported
9015 always_export_symbols
=no
9016 enable_shared_with_static_runtimes
=yes
9017 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9019 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9020 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9021 # If the export-symbols file already is a .def file (1st line
9022 # is EXPORTS), use it as is; otherwise, prepend...
9023 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9024 cp $export_symbols $output_objdir/$soname.def;
9026 echo EXPORTS > $output_objdir/$soname.def;
9027 cat $export_symbols >> $output_objdir/$soname.def;
9029 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9036 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 link_all_deplibs
=yes
9042 hardcode_shlibpath_var
=no
9043 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9044 export_dynamic_flag_spec
='${wl}-E'
9045 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9046 # Instead, shared libraries are loaded at an image base (0x10000000 by
9047 # default) and relocated if they conflict, which is a slow very memory
9048 # consuming and fragmenting process. To avoid this, we pick a random,
9049 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9050 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9051 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9052 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'
9055 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9057 if test "$host_os" = linux-dietlibc
; then
9058 case $cc_basename in
9059 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9062 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9063 && test "$tmp_diet" = no
9066 tmp_sharedflag
='-shared'
9067 case $cc_basename,$host_cpu in
9068 pgcc
*) # Portland Group C compiler
9069 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'
9070 tmp_addflag
=' $pic_flag'
9072 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9073 # Portland Group f77 and f90 compilers
9074 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'
9075 tmp_addflag
=' $pic_flag -Mnomain' ;;
9076 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9077 tmp_addflag
=' -i_dynamic' ;;
9078 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9079 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9080 ifc
* | ifort
*) # Intel Fortran compiler
9081 tmp_addflag
=' -nofor_main' ;;
9082 lf95
*) # Lahey Fortran 8.1
9083 whole_archive_flag_spec
=
9084 tmp_sharedflag
='--shared' ;;
9085 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9086 tmp_sharedflag
='-qmkshrobj'
9088 nvcc
*) # Cuda Compiler Driver 2.2
9089 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'
9090 compiler_needs_object
=yes
9093 case `$CC -V 2>&1 | sed 5q` in
9094 *Sun\ C
*) # Sun C 5.9
9095 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'
9096 compiler_needs_object
=yes
9097 tmp_sharedflag
='-G' ;;
9098 *Sun\ F
*) # Sun Fortran 8.3
9099 tmp_sharedflag
='-G' ;;
9101 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9103 if test "x$supports_anon_versioning" = xyes
; then
9104 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9105 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9106 echo "local: *; };" >> $output_objdir/$libname.ver~
9107 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9110 case $cc_basename in
9111 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9112 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9113 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9114 hardcode_libdir_flag_spec
=
9115 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9116 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9117 if test "x$supports_anon_versioning" = xyes
; then
9118 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9119 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9120 echo "local: *; };" >> $output_objdir/$libname.ver~
9121 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9131 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9132 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9135 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9136 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9141 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9145 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9146 *** create shared libraries on Solaris systems. Therefore, libtool
9147 *** is disabling shared libraries support. We urge you to upgrade GNU
9148 *** binutils to release 2.9.1 or newer. Another option is to modify
9149 *** your PATH or compiler configuration so that the native linker is
9150 *** used, and then restart.
9153 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9154 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9155 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9161 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9162 case `$LD -v 2>&1` in
9163 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9167 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9168 *** reliably create shared libraries on SCO systems. Therefore, libtool
9169 *** is disabling shared libraries support. We urge you to upgrade GNU
9170 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9171 *** your PATH or compiler configuration so that the native linker is
9172 *** used, and then restart.
9177 # For security reasons, it is highly recommended that you always
9178 # use absolute paths for naming shared libraries, and exclude the
9179 # DT_RUNPATH tag from executables and libraries. But doing so
9180 # requires that you compile everything twice, which is a pain.
9181 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9182 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9183 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9193 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9196 hardcode_shlibpath_var
=no
9200 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9201 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9209 if test "$ld_shlibs" = no
; then
9211 hardcode_libdir_flag_spec
=
9212 export_dynamic_flag_spec
=
9213 whole_archive_flag_spec
=
9216 # PORTME fill in a description of your system's linker (not GNU ld)
9219 allow_undefined_flag
=unsupported
9220 always_export_symbols
=yes
9221 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'
9222 # Note: this linker hardcodes the directories in LIBPATH if there
9223 # are no directories specified by -L.
9224 hardcode_minus_L
=yes
9225 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9226 # Neither direct hardcoding nor static linking is supported with a
9228 hardcode_direct
=unsupported
9233 if test "$host_cpu" = ia64
; then
9234 # On IA64, the linker does run time linking by default, so we don't
9235 # have to do anything special.
9236 aix_use_runtimelinking
=no
9237 exp_sym_flag
='-Bexport'
9240 # If we're using GNU nm, then we don't want the "-C" option.
9241 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9242 # Also, AIX nm treats weak defined symbols like other global
9243 # defined symbols, whereas GNU nm marks them as "W".
9244 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9245 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'
9247 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'
9249 aix_use_runtimelinking
=no
9251 # Test if we are trying to use run time linking or normal
9252 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9253 # need to do runtime linking.
9254 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9255 for ld_flag
in $LDFLAGS; do
9256 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9257 aix_use_runtimelinking
=yes
9264 exp_sym_flag
='-bexport'
9265 no_entry_flag
='-bnoentry'
9268 # When large executables or shared objects are built, AIX ld can
9269 # have problems creating the table of contents. If linking a library
9270 # or program results in "error TOC overflow" add -mminimal-toc to
9271 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9272 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9276 hardcode_direct_absolute
=yes
9277 hardcode_libdir_separator
=':'
9278 link_all_deplibs
=yes
9279 file_list_spec
='${wl}-f,'
9281 if test "$GCC" = yes; then
9282 case $host_os in aix4.
[012]|aix4.
[012].
*)
9283 # We only want to do this on AIX 4.2 and lower, the check
9284 # below for broken collect2 doesn't work under 4.3+
9285 collect2name
=`${CC} -print-prog-name=collect2`
9286 if test -f "$collect2name" &&
9287 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9289 # We have reworked collect2
9292 # We have old collect2
9293 hardcode_direct
=unsupported
9294 # It fails to find uninstalled libraries when the uninstalled
9295 # path is not listed in the libpath. Setting hardcode_minus_L
9296 # to unsupported forces relinking
9297 hardcode_minus_L
=yes
9298 hardcode_libdir_flag_spec
='-L$libdir'
9299 hardcode_libdir_separator
=
9303 shared_flag
='-shared'
9304 if test "$aix_use_runtimelinking" = yes; then
9305 shared_flag
="$shared_flag "'${wl}-G'
9309 if test "$host_cpu" = ia64
; then
9310 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9311 # chokes on -Wl,-G. The following line is correct:
9314 if test "$aix_use_runtimelinking" = yes; then
9315 shared_flag
='${wl}-G'
9317 shared_flag
='${wl}-bM:SRE'
9322 export_dynamic_flag_spec
='${wl}-bexpall'
9323 # It seems that -bexpall does not export symbols beginning with
9324 # underscore (_), so it is better to generate a list of symbols to export.
9325 always_export_symbols
=yes
9326 if test "$aix_use_runtimelinking" = yes; then
9327 # Warning - without using the other runtime loading flags (-brtl),
9328 # -berok will link without error, but may produce a broken library.
9329 allow_undefined_flag
='-berok'
9330 # Determine the default libpath from the value encoded in an
9332 if test x
$gcc_no_link = xyes
; then
9333 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9346 if ac_fn_c_try_link
"$LINENO"; then :
9348 lt_aix_libpath_sed
='
9349 /Import File Strings/,/^$/ {
9355 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9356 # Check for a 64-bit object if we didn't find anything.
9357 if test -z "$aix_libpath"; then
9358 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9361 rm -f core conftest.err conftest.
$ac_objext \
9362 conftest
$ac_exeext conftest.
$ac_ext
9363 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9365 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9366 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"
9368 if test "$host_cpu" = ia64
; then
9369 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9370 allow_undefined_flag
="-z nodefs"
9371 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"
9373 # Determine the default libpath from the value encoded in an
9375 if test x
$gcc_no_link = xyes
; then
9376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9389 if ac_fn_c_try_link
"$LINENO"; then :
9391 lt_aix_libpath_sed
='
9392 /Import File Strings/,/^$/ {
9398 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9399 # Check for a 64-bit object if we didn't find anything.
9400 if test -z "$aix_libpath"; then
9401 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9404 rm -f core conftest.err conftest.
$ac_objext \
9405 conftest
$ac_exeext conftest.
$ac_ext
9406 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9408 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9409 # Warning - without using the other run time loading flags,
9410 # -berok will link without error, but may produce a broken library.
9411 no_undefined_flag
=' ${wl}-bernotok'
9412 allow_undefined_flag
=' ${wl}-berok'
9413 if test "$with_gnu_ld" = yes; then
9414 # We only use this code for GNU lds that support --whole-archive.
9415 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9417 # Exported symbols can be pulled into shared objects from archives
9418 whole_archive_flag_spec
='$convenience'
9420 archive_cmds_need_lc
=yes
9421 # This is similar to how AIX traditionally builds its shared libraries.
9422 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'
9430 # see comment about AmigaOS4 .so support
9431 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9432 archive_expsym_cmds
=''
9435 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)'
9436 hardcode_libdir_flag_spec
='-L$libdir'
9437 hardcode_minus_L
=yes
9443 export_dynamic_flag_spec
=-rdynamic
9446 cygwin
* | mingw
* | pw32
* | cegcc
*)
9447 # When not using gcc, we currently assume that we are using
9448 # Microsoft Visual C++.
9449 # hardcode_libdir_flag_spec is actually meaningless, as there is
9450 # no search path for DLLs.
9451 hardcode_libdir_flag_spec
=' '
9452 allow_undefined_flag
=unsupported
9453 # Tell ltmain to make .lib files, not .a files.
9455 # Tell ltmain to make .dll files, not .so files.
9457 # FIXME: Setting linknames here is a bad hack.
9458 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9459 # The linker will automatically build a .lib file if we build a DLL.
9460 old_archive_from_new_cmds
='true'
9461 # FIXME: Should let the user specify the lib program.
9462 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9463 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9464 enable_shared_with_static_runtimes
=yes
9467 darwin
* | rhapsody
*)
9470 archive_cmds_need_lc
=no
9472 hardcode_automatic
=yes
9473 hardcode_shlibpath_var
=unsupported
9474 if test "$lt_cv_ld_force_load" = "yes"; then
9475 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\"`'
9477 whole_archive_flag_spec
=''
9479 link_all_deplibs
=yes
9480 allow_undefined_flag
="$_lt_dar_allow_undefined"
9481 case $cc_basename in
9482 ifort
*) _lt_dar_can_shared
=yes ;;
9483 *) _lt_dar_can_shared
=$GCC ;;
9485 if test "$_lt_dar_can_shared" = "yes"; then
9486 output_verbose_link_cmd
=func_echo_all
9487 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9488 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9489 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}"
9490 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}"
9499 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9500 hardcode_libdir_flag_spec
='-L$libdir'
9501 hardcode_shlibpath_var
=no
9508 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9509 # support. Future versions do this automatically, but an explicit c++rt0.o
9510 # does not break anything, and helps significantly (at the cost of a little
9513 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9514 hardcode_libdir_flag_spec
='-R$libdir'
9516 hardcode_shlibpath_var
=no
9519 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9521 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9523 hardcode_minus_L
=yes
9524 hardcode_shlibpath_var
=no
9527 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9528 freebsd
* | dragonfly
*)
9529 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9530 hardcode_libdir_flag_spec
='-R$libdir'
9532 hardcode_shlibpath_var
=no
9536 if test "$GCC" = yes; then
9537 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'
9539 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'
9541 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9542 hardcode_libdir_separator
=:
9545 # hardcode_minus_L: Not really in the search PATH,
9546 # but as the default location of the library.
9547 hardcode_minus_L
=yes
9548 export_dynamic_flag_spec
='${wl}-E'
9552 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9553 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9557 if test "$with_gnu_ld" = no
; then
9558 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9559 hardcode_libdir_flag_spec_ld
='+b $libdir'
9560 hardcode_libdir_separator
=:
9562 hardcode_direct_absolute
=yes
9563 export_dynamic_flag_spec
='${wl}-E'
9564 # hardcode_minus_L: Not really in the search PATH,
9565 # but as the default location of the library.
9566 hardcode_minus_L
=yes
9571 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9574 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9577 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9586 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593 # Older versions of the 11.00 compiler do not understand -b yet
9594 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9596 $as_echo_n "checking if $CC understands -b... " >&6; }
9597 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9598 $as_echo_n "(cached) " >&6
9600 lt_cv_prog_compiler__b
=no
9601 save_LDFLAGS
="$LDFLAGS"
9602 LDFLAGS
="$LDFLAGS -b"
9603 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9604 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9605 # The linker can only warn and ignore the option if not recognized
9606 # So say no if there are warnings
9607 if test -s conftest.err
; then
9608 # Append any errors to the config.log.
9609 cat conftest.err
1>&5
9610 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9611 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9612 if diff conftest.exp conftest.er2
>/dev
/null
; then
9613 lt_cv_prog_compiler__b
=yes
9616 lt_cv_prog_compiler__b
=yes
9620 LDFLAGS
="$save_LDFLAGS"
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9624 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9626 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9627 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9629 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9635 if test "$with_gnu_ld" = no
; then
9636 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9637 hardcode_libdir_separator
=:
9642 hardcode_shlibpath_var
=no
9646 hardcode_direct_absolute
=yes
9647 export_dynamic_flag_spec
='${wl}-E'
9649 # hardcode_minus_L: Not really in the search PATH,
9650 # but as the default location of the library.
9651 hardcode_minus_L
=yes
9657 irix5
* | irix6
* | nonstopux
*)
9658 if test "$GCC" = yes; then
9659 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'
9660 # Try to use the -exported_symbol ld option, if it does not
9661 # work, assume that -exports_file does not work either and
9662 # implicitly export all symbols.
9663 save_LDFLAGS
="$LDFLAGS"
9664 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9665 if test x
$gcc_no_link = xyes
; then
9666 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9672 if ac_fn_c_try_link
"$LINENO"; then :
9673 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'
9676 rm -f core conftest.err conftest.
$ac_objext \
9677 conftest
$ac_exeext conftest.
$ac_ext
9678 LDFLAGS
="$save_LDFLAGS"
9680 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'
9681 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'
9683 archive_cmds_need_lc
='no'
9684 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9685 hardcode_libdir_separator
=:
9687 link_all_deplibs
=yes
9691 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9692 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9694 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9696 hardcode_libdir_flag_spec
='-R$libdir'
9698 hardcode_shlibpath_var
=no
9702 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9705 hardcode_libdir_separator
=:
9706 hardcode_shlibpath_var
=no
9713 if test -f /usr
/libexec
/ld.so
; then
9715 hardcode_shlibpath_var
=no
9716 hardcode_direct_absolute
=yes
9717 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9718 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9719 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9720 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9721 export_dynamic_flag_spec
='${wl}-E'
9724 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9725 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_libdir_flag_spec
='-R$libdir'
9729 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9730 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9740 hardcode_libdir_flag_spec
='-L$libdir'
9741 hardcode_minus_L
=yes
9742 allow_undefined_flag
=unsupported
9743 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'
9744 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9748 if test "$GCC" = yes; then
9749 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9750 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'
9752 allow_undefined_flag
=' -expect_unresolved \*'
9753 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'
9755 archive_cmds_need_lc
='no'
9756 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9757 hardcode_libdir_separator
=:
9760 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9761 if test "$GCC" = yes; then
9762 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9763 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'
9764 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9766 allow_undefined_flag
=' -expect_unresolved \*'
9767 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'
9768 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~
9769 $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'
9771 # Both c and cxx compiler support -rpath directly
9772 hardcode_libdir_flag_spec
='-rpath $libdir'
9774 archive_cmds_need_lc
='no'
9775 hardcode_libdir_separator
=:
9779 no_undefined_flag
=' -z defs'
9780 if test "$GCC" = yes; then
9782 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9783 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9784 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9786 case `$CC -V 2>&1` in
9789 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9790 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9791 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9795 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9796 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9797 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9801 hardcode_libdir_flag_spec
='-R$libdir'
9802 hardcode_shlibpath_var
=no
9804 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9806 # The compiler driver will combine and reorder linker options,
9807 # but understands `-z linker_flag'. GCC discards it without `$wl',
9808 # but is careful enough not to reorder.
9809 # Supported since Solaris 2.6 (maybe 2.5.1?)
9810 if test "$GCC" = yes; then
9811 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9813 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9817 link_all_deplibs
=yes
9821 if test "x$host_vendor" = xsequent
; then
9822 # Use $CC to link under sequent, because it throws in some extra .o
9823 # files that make .init and .fini sections work.
9824 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9826 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9828 hardcode_libdir_flag_spec
='-L$libdir'
9830 hardcode_minus_L
=yes
9831 hardcode_shlibpath_var
=no
9835 case $host_vendor in
9837 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9838 hardcode_direct
=yes # is this really true???
9841 ## LD is ld it makes a PLAMLIB
9842 ## CC just makes a GrossModule.
9843 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9844 reload_cmds
='$CC -r -o $output$reload_objs'
9848 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9849 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9852 runpath_var
='LD_RUN_PATH'
9853 hardcode_shlibpath_var
=no
9857 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9858 hardcode_shlibpath_var
=no
9859 export_dynamic_flag_spec
='-Bexport'
9863 if test -d /usr
/nec
; then
9864 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9865 hardcode_shlibpath_var
=no
9866 runpath_var
=LD_RUN_PATH
9867 hardcode_runpath_var
=yes
9872 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9873 no_undefined_flag
='${wl}-z,text'
9874 archive_cmds_need_lc
=no
9875 hardcode_shlibpath_var
=no
9876 runpath_var
='LD_RUN_PATH'
9878 if test "$GCC" = yes; then
9879 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 sysv5
* | sco3.2v5
* | sco5v6
*)
9888 # Note: We can NOT use -z defs as we might desire, because we do not
9889 # link with -lc, and that would cause any symbols used from libc to
9890 # always be unresolved, which means just about no library would
9891 # ever link correctly. If we're not using GNU ld we use -z text
9892 # though, which does catch some bad symbols but isn't as heavy-handed
9894 no_undefined_flag
='${wl}-z,text'
9895 allow_undefined_flag
='${wl}-z,nodefs'
9896 archive_cmds_need_lc
=no
9897 hardcode_shlibpath_var
=no
9898 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9899 hardcode_libdir_separator
=':'
9900 link_all_deplibs
=yes
9901 export_dynamic_flag_spec
='${wl}-Bexport'
9902 runpath_var
='LD_RUN_PATH'
9904 if test "$GCC" = yes; then
9905 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9906 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_libdir_flag_spec
='-L$libdir'
9916 hardcode_shlibpath_var
=no
9924 if test x
$host_vendor = xsni
; then
9926 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9927 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9934 $as_echo "$ld_shlibs" >&6; }
9935 test "$ld_shlibs" = no
&& can_build_shared
=no
9937 with_gnu_ld
=$with_gnu_ld
9954 # Do we need to explicitly link libc?
9956 case "x$archive_cmds_need_lc" in
9958 # Assume -lc should be added
9959 archive_cmds_need_lc
=yes
9961 if test "$enable_shared" = yes && test "$GCC" = yes; then
9962 case $archive_cmds in
9964 # FIXME: we may have to deal with multi-command sequences.
9967 # Test whether the compiler implicitly links with -lc since on some
9968 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9969 # to ld, don't add -lc before -lgcc.
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9971 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9972 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9973 $as_echo_n "(cached) " >&6
9976 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9979 (eval $ac_compile) 2>&5
9981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9982 test $ac_status = 0; } 2>conftest.err
; then
9985 libobjs
=conftest.
$ac_objext
9987 wl
=$lt_prog_compiler_wl
9988 pic_flag
=$lt_prog_compiler_pic
9994 lt_save_allow_undefined_flag
=$allow_undefined_flag
9995 allow_undefined_flag
=
9996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9997 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10000 test $ac_status = 0; }
10002 lt_cv_archive_cmds_need_lc
=no
10004 lt_cv_archive_cmds_need_lc
=yes
10006 allow_undefined_flag
=$lt_save_allow_undefined_flag
10008 cat conftest.err
1>&5
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10014 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10015 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10179 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10181 if test "$GCC" = yes; then
10183 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10184 *) lt_awk_arg
="/^libraries:/" ;;
10187 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10188 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10190 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10191 case $lt_search_path_spec in
10193 # if the path contains ";" then we assume it to be the separator
10194 # otherwise default to the standard path separator (i.e. ":") - it is
10195 # assumed that no part of a normal pathname contains ";" but that should
10196 # okay in the real world where ";" in dirpaths is itself problematic.
10197 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10200 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10203 # Ok, now we have the path, separated by spaces, we can step through it
10204 # and add multilib dir if necessary.
10205 lt_tmp_lt_search_path_spec
=
10206 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10207 for lt_sys_path
in $lt_search_path_spec; do
10208 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10209 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10211 test -d "$lt_sys_path" && \
10212 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10215 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10216 BEGIN {RS=" "; FS="/|\n";} {
10219 for (lt_i = NF; lt_i > 0; lt_i--) {
10220 if ($lt_i != "" && $lt_i != ".") {
10221 if ($lt_i == "..") {
10224 if (lt_count == 0) {
10225 lt_foo="/" $lt_i lt_foo;
10232 if (lt_foo != "") { lt_freq[lt_foo]++; }
10233 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10235 # AWK program above erroneously prepends '/' to C:/dos/paths
10238 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10239 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10241 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10243 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10245 library_names_spec
=
10246 libname_spec
='lib$name'
10250 postuninstall_cmds
=
10254 shlibpath_overrides_runpath
=unknown
10256 dynamic_linker
="$host_os ld.so"
10257 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10258 need_lib_prefix
=unknown
10259 hardcode_into_libs
=no
10261 # when you set need_version to no, make sure it does not cause -set_version
10262 # flags to be left without arguments
10263 need_version
=unknown
10268 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10269 shlibpath_var
=LIBPATH
10271 # AIX 3 has no versioning support, so we append a major version to the name.
10272 soname_spec
='${libname}${release}${shared_ext}$major'
10279 hardcode_into_libs
=yes
10280 if test "$host_cpu" = ia64
; then
10281 # AIX 5 supports IA64
10282 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10283 shlibpath_var
=LD_LIBRARY_PATH
10285 # With GCC up to 2.95.x, collect2 would create an import file
10286 # for dependence libraries. The import file would start with
10287 # the line `#! .'. This would cause the generated library to
10288 # depend on `.', always an invalid library. This was fixed in
10289 # development snapshots of GCC prior to 3.0.
10291 aix4 | aix4.
[01] | aix4.
[01].
*)
10292 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10294 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10297 can_build_shared
=no
10301 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10302 # soname into executable. Probably we can add versioning support to
10303 # collect2, so additional links can be useful in future.
10304 if test "$aix_use_runtimelinking" = yes; then
10305 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10306 # instead of lib<name>.a to let people know that these are not
10307 # typical AIX shared libraries.
10308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10310 # We preserve .a as extension for shared libraries through AIX4.2
10311 # and later when we are not doing run time linking.
10312 library_names_spec
='${libname}${release}.a $libname.a'
10313 soname_spec
='${libname}${release}${shared_ext}$major'
10315 shlibpath_var
=LIBPATH
10322 # Since July 2007 AmigaOS4 officially supports .so libraries.
10323 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327 library_names_spec
='$libname.ixlibrary $libname.a'
10328 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10329 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'
10335 library_names_spec
='${libname}${shared_ext}'
10336 dynamic_linker
="$host_os ld.so"
10337 shlibpath_var
=LIBRARY_PATH
10343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344 soname_spec
='${libname}${release}${shared_ext}$major'
10345 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10346 shlibpath_var
=LD_LIBRARY_PATH
10347 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10348 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10349 # the default ld.so.conf also contains /usr/contrib/lib and
10350 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10351 # libtool to hard-code these into programs
10354 cygwin
* | mingw
* | pw32
* | cegcc
*)
10355 version_type
=windows
10360 case $GCC,$host_os in
10361 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10362 library_names_spec
='$libname.dll.a'
10363 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10364 postinstall_cmds
='base_file=`basename \${file}`~
10365 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10366 dldir=$destdir/`dirname \$dlpath`~
10367 test -d \$dldir || mkdir -p \$dldir~
10368 $install_prog $dir/$dlname \$dldir/$dlname~
10369 chmod a+x \$dldir/$dlname~
10370 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10371 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10373 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10374 dlpath=$dir/\$dldll~
10376 shlibpath_overrides_runpath
=yes
10380 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10381 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10383 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10386 # MinGW DLLs use traditional 'lib' prefix
10387 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10390 # pw32 DLLs use 'pw' prefix rather than 'lib'
10391 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10397 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10400 dynamic_linker
='Win32 ld.exe'
10401 # FIXME: first we should search . and the directory the executable is in
10405 darwin
* | rhapsody
*)
10406 dynamic_linker
="$host_os dyld"
10407 version_type
=darwin
10410 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10411 soname_spec
='${libname}${release}${major}$shared_ext'
10412 shlibpath_overrides_runpath
=yes
10413 shlibpath_var
=DYLD_LIBRARY_PATH
10414 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10416 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10417 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10425 soname_spec
='${libname}${release}${shared_ext}$major'
10426 shlibpath_var
=LD_LIBRARY_PATH
10433 freebsd
* | dragonfly
*)
10434 # DragonFly does not have aout. When/if they implement a new
10435 # versioning mechanism, adjust this.
10436 if test -x /usr
/bin
/objformat
; then
10437 objformat
=`/usr/bin/objformat`
10440 freebsd
[123]*) objformat
=aout
;;
10441 *) objformat
=elf
;;
10444 version_type
=freebsd-
$objformat
10445 case $version_type in
10447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10452 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10456 shlibpath_var
=LD_LIBRARY_PATH
10459 shlibpath_overrides_runpath
=yes
10461 freebsd3.
[01]* | freebsdelf3.
[01]*)
10462 shlibpath_overrides_runpath
=yes
10463 hardcode_into_libs
=yes
10465 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10466 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10467 shlibpath_overrides_runpath
=no
10468 hardcode_into_libs
=yes
10470 *) # from 4.6 on, and DragonFly
10471 shlibpath_overrides_runpath
=yes
10472 hardcode_into_libs
=yes
10481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10482 soname_spec
='${libname}${release}${shared_ext}$major'
10483 shlibpath_var
=LD_LIBRARY_PATH
10484 hardcode_into_libs
=yes
10491 dynamic_linker
="$host_os runtime_loader"
10492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10493 soname_spec
='${libname}${release}${shared_ext}$major'
10494 shlibpath_var
=LIBRARY_PATH
10495 shlibpath_overrides_runpath
=yes
10496 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10497 hardcode_into_libs
=yes
10500 hpux9
* | hpux10
* | hpux11
*)
10501 # Give a soname corresponding to the major version so that dld.sl refuses to
10502 # link against other versions.
10509 hardcode_into_libs
=yes
10510 dynamic_linker
="$host_os dld.so"
10511 shlibpath_var
=LD_LIBRARY_PATH
10512 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514 soname_spec
='${libname}${release}${shared_ext}$major'
10515 if test "X$HPUX_IA64_MODE" = X32
; then
10516 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10518 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10520 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10524 hardcode_into_libs
=yes
10525 dynamic_linker
="$host_os dld.sl"
10526 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10527 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec
='${libname}${release}${shared_ext}$major'
10530 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10531 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10535 dynamic_linker
="$host_os dld.sl"
10536 shlibpath_var
=SHLIB_PATH
10537 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10539 soname_spec
='${libname}${release}${shared_ext}$major'
10542 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10543 postinstall_cmds
='chmod 555 $lib'
10544 # or fails outright, so override atomically:
10545 install_override_mode
=555
10552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10553 soname_spec
='${libname}${release}${shared_ext}$major'
10554 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10555 shlibpath_var
=LD_LIBRARY_PATH
10556 shlibpath_overrides_runpath
=no
10557 hardcode_into_libs
=yes
10560 irix5
* | irix6
* | nonstopux
*)
10562 nonstopux
*) version_type
=nonstopux
;;
10564 if test "$lt_cv_prog_gnu_ld" = yes; then
10572 soname_spec
='${libname}${release}${shared_ext}$major'
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10575 irix5
* | nonstopux
*)
10576 libsuff
= shlibsuff
=
10579 case $LD in # libtool.m4 will add one of these switches to LD
10580 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10581 libsuff
= shlibsuff
= libmagic
=32-bit;;
10582 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10583 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10584 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10585 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10586 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10590 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10591 shlibpath_overrides_runpath
=no
10592 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10593 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10594 hardcode_into_libs
=yes
10597 # No shared lib support for Linux oldld, aout, or coff.
10598 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10602 # This must be Linux ELF.
10603 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608 soname_spec
='${libname}${release}${shared_ext}$major'
10609 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10610 shlibpath_var
=LD_LIBRARY_PATH
10611 shlibpath_overrides_runpath
=no
10613 # Some binutils ld are patched to set DT_RUNPATH
10614 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10615 $as_echo_n "(cached) " >&6
10617 lt_cv_shlibpath_overrides_runpath
=no
10618 save_LDFLAGS
=$LDFLAGS
10619 save_libdir
=$libdir
10620 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10621 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10622 if test x
$gcc_no_link = xyes
; then
10623 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10636 if ac_fn_c_try_link
"$LINENO"; then :
10637 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10638 lt_cv_shlibpath_overrides_runpath
=yes
10641 rm -f core conftest.err conftest.
$ac_objext \
10642 conftest
$ac_exeext conftest.
$ac_ext
10643 LDFLAGS
=$save_LDFLAGS
10644 libdir
=$save_libdir
10648 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10650 # This implies no fast_install, which is unacceptable.
10651 # Some rework will be needed to allow for fast_install
10652 # before this can be enabled.
10653 hardcode_into_libs
=yes
10655 # Append ld.so.conf contents to the search path
10656 if test -f /etc
/ld.so.conf
; then
10657 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' ' '`
10658 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10661 # We used to test for /lib/ld.so.1 and disable shared libraries on
10662 # powerpc, because MkLinux only supported shared libraries with the
10663 # GNU dynamic linker. Since this was broken with cross compilers,
10664 # most powerpc-linux boxes support dynamic linking these days and
10665 # people can always --disable-shared, the test was removed, and we
10666 # assume the GNU/Linux dynamic linker is in use.
10667 dynamic_linker
='GNU/Linux ld.so'
10674 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10676 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10677 dynamic_linker
='NetBSD (a.out) ld.so'
10679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10680 soname_spec
='${libname}${release}${shared_ext}$major'
10681 dynamic_linker
='NetBSD ld.elf_so'
10683 shlibpath_var
=LD_LIBRARY_PATH
10684 shlibpath_overrides_runpath
=yes
10685 hardcode_into_libs
=yes
10690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10691 shlibpath_var
=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath
=yes
10699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10700 soname_spec
='${libname}${release}${shared_ext}$major'
10701 shlibpath_var
=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath
=no
10703 hardcode_into_libs
=yes
10704 dynamic_linker
='ldqnx.so'
10709 sys_lib_dlsearch_path_spec
="/usr/lib"
10711 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10713 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10714 *) need_version
=no
;;
10716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10717 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10718 shlibpath_var
=LD_LIBRARY_PATH
10719 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10721 openbsd2.
[89] | openbsd2.
[89].
*)
10722 shlibpath_overrides_runpath
=no
10725 shlibpath_overrides_runpath
=yes
10729 shlibpath_overrides_runpath
=yes
10734 libname_spec
='$name'
10737 library_names_spec
='$libname${shared_ext} $libname.a'
10738 dynamic_linker
='OS/2 ld.exe'
10739 shlibpath_var
=LIBPATH
10742 osf3
* | osf4
* | osf5
*)
10746 soname_spec
='${libname}${release}${shared_ext}$major'
10747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 shlibpath_var
=LD_LIBRARY_PATH
10749 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10750 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 soname_spec
='${libname}${release}${shared_ext}$major'
10763 shlibpath_var
=LD_LIBRARY_PATH
10764 shlibpath_overrides_runpath
=yes
10765 hardcode_into_libs
=yes
10766 # ldd complains unless libraries are executable
10767 postinstall_cmds
='chmod +x $lib'
10772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10773 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10774 shlibpath_var
=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath
=yes
10776 if test "$with_gnu_ld" = yes; then
10784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785 soname_spec
='${libname}${release}${shared_ext}$major'
10786 shlibpath_var
=LD_LIBRARY_PATH
10787 case $host_vendor in
10789 shlibpath_overrides_runpath
=no
10791 runpath_var
=LD_RUN_PATH
10799 shlibpath_overrides_runpath
=no
10800 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10806 if test -d /usr
/nec
;then
10808 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10809 soname_spec
='$libname${shared_ext}.$major'
10810 shlibpath_var
=LD_LIBRARY_PATH
10814 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10815 version_type
=freebsd-elf
10818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10819 soname_spec
='${libname}${release}${shared_ext}$major'
10820 shlibpath_var
=LD_LIBRARY_PATH
10821 shlibpath_overrides_runpath
=yes
10822 hardcode_into_libs
=yes
10823 if test "$with_gnu_ld" = yes; then
10824 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10826 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10829 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10833 sys_lib_dlsearch_path_spec
='/usr/lib'
10837 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842 shlibpath_var
=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath
=no
10844 hardcode_into_libs
=yes
10849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850 soname_spec
='${libname}${release}${shared_ext}$major'
10851 shlibpath_var
=LD_LIBRARY_PATH
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10859 $as_echo "$dynamic_linker" >&6; }
10860 test "$dynamic_linker" = no
&& can_build_shared
=no
10862 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10863 if test "$GCC" = yes; then
10864 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10867 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10868 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10870 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10871 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10966 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10968 if test -n "$hardcode_libdir_flag_spec" ||
10969 test -n "$runpath_var" ||
10970 test "X$hardcode_automatic" = "Xyes" ; then
10972 # We can hardcode non-existent directories.
10973 if test "$hardcode_direct" != no
&&
10974 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10975 # have to relink, otherwise we might link with an installed library
10976 # when we should be linking with a yet-to-be-installed one
10977 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10978 test "$hardcode_minus_L" != no
; then
10979 # Linking always hardcodes the temporary library directory.
10980 hardcode_action
=relink
10982 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10983 hardcode_action
=immediate
10986 # We cannot hardcode anything, or else we can only hardcode existing
10988 hardcode_action
=unsupported
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10991 $as_echo "$hardcode_action" >&6; }
10993 if test "$hardcode_action" = relink ||
10994 test "$inherit_rpath" = yes; then
10995 # Fast installation is not supported
10996 enable_fast_install
=no
10997 elif test "$shlibpath_overrides_runpath" = yes ||
10998 test "$enable_shared" = no
; then
10999 # Fast installation is not necessary
11000 enable_fast_install
=needless
11008 if test "x$enable_dlopen" != xyes
; then
11009 enable_dlopen
=unknown
11010 enable_dlopen_self
=unknown
11011 enable_dlopen_self_static
=unknown
11018 lt_cv_dlopen
="load_add_on"
11020 lt_cv_dlopen_self
=yes
11023 mingw
* | pw32
* | cegcc
*)
11024 lt_cv_dlopen
="LoadLibrary"
11029 lt_cv_dlopen
="dlopen"
11034 # if libdl is installed we need to link against it
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11036 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11037 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11038 $as_echo_n "(cached) " >&6
11040 ac_check_lib_save_LIBS
=$LIBS
11042 if test x
$gcc_no_link = xyes
; then
11043 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11048 /* Override any GCC internal prototype to avoid an error.
11049 Use char because int might match the return type of a GCC
11050 builtin and then its argument prototype would still apply. */
11063 if ac_fn_c_try_link
"$LINENO"; then :
11064 ac_cv_lib_dl_dlopen
=yes
11066 ac_cv_lib_dl_dlopen
=no
11068 rm -f core conftest.err conftest.
$ac_objext \
11069 conftest
$ac_exeext conftest.
$ac_ext
11070 LIBS
=$ac_check_lib_save_LIBS
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11073 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11074 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11075 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11078 lt_cv_dlopen
="dyld"
11080 lt_cv_dlopen_self
=yes
11087 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11088 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11089 lt_cv_dlopen
="shl_load"
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11092 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11093 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11094 $as_echo_n "(cached) " >&6
11096 ac_check_lib_save_LIBS
=$LIBS
11098 if test x
$gcc_no_link = xyes
; then
11099 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11114 return shl_load ();
11119 if ac_fn_c_try_link
"$LINENO"; then :
11120 ac_cv_lib_dld_shl_load
=yes
11122 ac_cv_lib_dld_shl_load
=no
11124 rm -f core conftest.err conftest.
$ac_objext \
11125 conftest
$ac_exeext conftest.
$ac_ext
11126 LIBS
=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11129 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11130 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11131 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11133 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11134 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11135 lt_cv_dlopen
="dlopen"
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11138 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11139 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11140 $as_echo_n "(cached) " >&6
11142 ac_check_lib_save_LIBS
=$LIBS
11144 if test x
$gcc_no_link = xyes
; then
11145 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11165 if ac_fn_c_try_link
"$LINENO"; then :
11166 ac_cv_lib_dl_dlopen
=yes
11168 ac_cv_lib_dl_dlopen
=no
11170 rm -f core conftest.err conftest.
$ac_objext \
11171 conftest
$ac_exeext conftest.
$ac_ext
11172 LIBS
=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11175 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11176 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11177 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11180 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11181 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11182 $as_echo_n "(cached) " >&6
11184 ac_check_lib_save_LIBS
=$LIBS
11185 LIBS
="-lsvld $LIBS"
11186 if test x
$gcc_no_link = xyes
; then
11187 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11192 /* Override any GCC internal prototype to avoid an error.
11193 Use char because int might match the return type of a GCC
11194 builtin and then its argument prototype would still apply. */
11207 if ac_fn_c_try_link
"$LINENO"; then :
11208 ac_cv_lib_svld_dlopen
=yes
11210 ac_cv_lib_svld_dlopen
=no
11212 rm -f core conftest.err conftest.
$ac_objext \
11213 conftest
$ac_exeext conftest.
$ac_ext
11214 LIBS
=$ac_check_lib_save_LIBS
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11217 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11218 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11219 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11222 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11223 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_lib_save_LIBS
=$LIBS
11228 if test x
$gcc_no_link = xyes
; then
11229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11244 return dld_link ();
11249 if ac_fn_c_try_link
"$LINENO"; then :
11250 ac_cv_lib_dld_dld_link
=yes
11252 ac_cv_lib_dld_dld_link
=no
11254 rm -f core conftest.err conftest.
$ac_objext \
11255 conftest
$ac_exeext conftest.
$ac_ext
11256 LIBS
=$ac_check_lib_save_LIBS
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11259 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11260 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11261 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11282 if test "x$lt_cv_dlopen" != xno
; then
11288 case $lt_cv_dlopen in
11290 save_CPPFLAGS
="$CPPFLAGS"
11291 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11293 save_LDFLAGS
="$LDFLAGS"
11294 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11297 LIBS
="$lt_cv_dlopen_libs $LIBS"
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11300 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11301 if test "${lt_cv_dlopen_self+set}" = set; then :
11302 $as_echo_n "(cached) " >&6
11304 if test "$cross_compiling" = yes; then :
11305 lt_cv_dlopen_self
=cross
11307 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11308 lt_status
=$lt_dlunknown
11309 cat > conftest.
$ac_ext <<_LT_EOF
11310 #line 11310 "configure"
11311 #include "confdefs.h"
11320 # define LT_DLGLOBAL RTLD_GLOBAL
11323 # define LT_DLGLOBAL DL_GLOBAL
11325 # define LT_DLGLOBAL 0
11329 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11330 find out it does not work in some platform. */
11331 #ifndef LT_DLLAZY_OR_NOW
11333 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11336 # define LT_DLLAZY_OR_NOW DL_LAZY
11339 # define LT_DLLAZY_OR_NOW RTLD_NOW
11342 # define LT_DLLAZY_OR_NOW DL_NOW
11344 # define LT_DLLAZY_OR_NOW 0
11351 /* When -fvisbility=hidden is used, assume the code has been annotated
11352 correspondingly for the symbols needed. */
11353 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11354 void fnord () __attribute__((visibility("default")));
11357 void fnord () { int i=42; }
11360 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11361 int status = $lt_dlunknown;
11365 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11368 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11369 else puts (dlerror ());
11371 /* dlclose (self); */
11379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11380 (eval $ac_link) 2>&5
11382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11383 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11384 (.
/conftest
; exit; ) >&5 2>/dev
/null
11386 case x
$lt_status in
11387 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11388 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11389 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11392 # compilation failed
11393 lt_cv_dlopen_self
=no
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11401 $as_echo "$lt_cv_dlopen_self" >&6; }
11403 if test "x$lt_cv_dlopen_self" = xyes
; then
11404 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11406 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11407 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11408 $as_echo_n "(cached) " >&6
11410 if test "$cross_compiling" = yes; then :
11411 lt_cv_dlopen_self_static
=cross
11413 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11414 lt_status
=$lt_dlunknown
11415 cat > conftest.
$ac_ext <<_LT_EOF
11416 #line 11416 "configure"
11417 #include "confdefs.h"
11426 # define LT_DLGLOBAL RTLD_GLOBAL
11429 # define LT_DLGLOBAL DL_GLOBAL
11431 # define LT_DLGLOBAL 0
11435 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11436 find out it does not work in some platform. */
11437 #ifndef LT_DLLAZY_OR_NOW
11439 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11442 # define LT_DLLAZY_OR_NOW DL_LAZY
11445 # define LT_DLLAZY_OR_NOW RTLD_NOW
11448 # define LT_DLLAZY_OR_NOW DL_NOW
11450 # define LT_DLLAZY_OR_NOW 0
11457 /* When -fvisbility=hidden is used, assume the code has been annotated
11458 correspondingly for the symbols needed. */
11459 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11460 void fnord () __attribute__((visibility("default")));
11463 void fnord () { int i=42; }
11466 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11467 int status = $lt_dlunknown;
11471 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11474 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11475 else puts (dlerror ());
11477 /* dlclose (self); */
11485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11486 (eval $ac_link) 2>&5
11488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11489 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11490 (.
/conftest
; exit; ) >&5 2>/dev
/null
11492 case x
$lt_status in
11493 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11494 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11495 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11498 # compilation failed
11499 lt_cv_dlopen_self_static
=no
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11507 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11510 CPPFLAGS
="$save_CPPFLAGS"
11511 LDFLAGS
="$save_LDFLAGS"
11516 case $lt_cv_dlopen_self in
11517 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11518 *) enable_dlopen_self
=unknown
;;
11521 case $lt_cv_dlopen_self_static in
11522 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11523 *) enable_dlopen_self_static
=unknown
;;
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11546 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11547 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11548 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11549 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11551 $as_echo "yes" >&6; }
11553 # FIXME - insert some real tests, host_os isn't really good enough
11556 if test -n "$STRIP" ; then
11557 striplib
="$STRIP -x"
11558 old_striplib
="$STRIP -S"
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11560 $as_echo "yes" >&6; }
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11563 $as_echo "no" >&6; }
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11568 $as_echo "no" >&6; }
11584 # Report which library types will actually be built
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11586 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11588 $as_echo "$can_build_shared" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11591 $as_echo_n "checking whether to build shared libraries... " >&6; }
11592 test "$can_build_shared" = "no" && enable_shared
=no
11594 # On AIX, shared libraries and static libraries use the same namespace, and
11595 # are all built from PIC.
11598 test "$enable_shared" = yes && enable_static
=no
11599 if test -n "$RANLIB"; then
11600 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11601 postinstall_cmds
='$RANLIB $lib'
11606 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11607 test "$enable_shared" = yes && enable_static
=no
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11612 $as_echo "$enable_shared" >&6; }
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11615 $as_echo_n "checking whether to build static libraries... " >&6; }
11616 # Make sure either enable_shared or enable_static is yes.
11617 test "$enable_shared" = yes || enable_static
=yes
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11619 $as_echo "$enable_static" >&6; }
11626 ac_cpp
='$CPP $CPPFLAGS'
11627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11645 ac_config_commands
="$ac_config_commands libtool"
11650 # Only expand once:
11655 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11657 # We need gfortran to compile parts of the library
11658 #AC_PROG_FC(gfortran)
11660 ac_ext
=${ac_fc_srcext-f}
11661 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11662 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11663 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11664 if test -n "$ac_tool_prefix"; then
11665 for ac_prog
in gfortran
11667 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11668 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11670 $as_echo_n "checking for $ac_word... " >&6; }
11671 if test "${ac_cv_prog_FC+set}" = set; then :
11672 $as_echo_n "(cached) " >&6
11674 if test -n "$FC"; then
11675 ac_cv_prog_FC
="$FC" # Let the user override the test.
11677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11678 for as_dir
in $PATH
11681 test -z "$as_dir" && as_dir
=.
11682 for ac_exec_ext
in '' $ac_executable_extensions; do
11683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11684 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11695 if test -n "$FC"; then
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11697 $as_echo "$FC" >&6; }
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11700 $as_echo "no" >&6; }
11704 test -n "$FC" && break
11707 if test -z "$FC"; then
11709 for ac_prog
in gfortran
11711 # Extract the first word of "$ac_prog", so it can be a program name with args.
11712 set dummy
$ac_prog; ac_word
=$2
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11714 $as_echo_n "checking for $ac_word... " >&6; }
11715 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11716 $as_echo_n "(cached) " >&6
11718 if test -n "$ac_ct_FC"; then
11719 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11722 for as_dir
in $PATH
11725 test -z "$as_dir" && as_dir
=.
11726 for ac_exec_ext
in '' $ac_executable_extensions; do
11727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11728 ac_cv_prog_ac_ct_FC
="$ac_prog"
11729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11738 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11739 if test -n "$ac_ct_FC"; then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11741 $as_echo "$ac_ct_FC" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11748 test -n "$ac_ct_FC" && break
11751 if test "x$ac_ct_FC" = x
; then
11754 case $cross_compiling:$ac_tool_warned in
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11758 ac_tool_warned
=yes ;;
11765 # Provide some information about the compiler.
11766 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11769 for ac_option
in --version -v -V -qversion; do
11770 { { ac_try
="$ac_compiler $ac_option >&5"
11771 case "(($ac_try" in
11772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11773 *) ac_try_echo=$ac_try;;
11775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11776 $as_echo "$ac_try_echo"; } >&5
11777 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11779 if test -s conftest.err; then
11781 ... rest of stderr output deleted ...
11782 10q' conftest.err >conftest.er1
11783 cat conftest.er1 >&5
11784 rm -f conftest.er1 conftest.err
11786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11787 test $ac_status = 0; }
11791 # If we don't use `.F
' as extension, the preprocessor is not run on the
11792 # input file. (Note that this only needs to work for GNU compilers.)
11793 ac_save_ext=$ac_ext
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11796 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11797 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11798 $as_echo_n "(cached) " >&6
11800 cat > conftest.$ac_ext <<_ACEOF
11808 if ac_fn_fc_try_compile "$LINENO"; then :
11809 ac_compiler_gnu=yes
11813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11814 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11818 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11819 ac_ext=$ac_save_ext
11820 ac_test_FCFLAGS=${FCFLAGS+set}
11821 ac_save_FCFLAGS=$FCFLAGS
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11824 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11825 if test "${ac_cv_prog_fc_g+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11829 cat > conftest.$ac_ext <<_ACEOF
11834 if ac_fn_fc_try_compile "$LINENO"; then :
11835 ac_cv_prog_fc_g=yes
11839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11843 $as_echo "$ac_cv_prog_fc_g" >&6; }
11844 if test "$ac_test_FCFLAGS" = set; then
11845 FCFLAGS=$ac_save_FCFLAGS
11846 elif test $ac_cv_prog_fc_g = yes; then
11847 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11853 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11861 ac_cpp='$CPP $CPPFLAGS'
11862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11863 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11866 ac_ext=${ac_fc_srcext-f}
11867 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11868 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11869 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11872 if test -z "$FC" || test "X$FC" = "Xno"; then
11876 archive_cmds_need_lc_FC=no
11877 allow_undefined_flag_FC=
11878 always_export_symbols_FC=no
11879 archive_expsym_cmds_FC=
11880 export_dynamic_flag_spec_FC=
11881 hardcode_direct_FC=no
11882 hardcode_direct_absolute_FC=no
11883 hardcode_libdir_flag_spec_FC=
11884 hardcode_libdir_flag_spec_ld_FC=
11885 hardcode_libdir_separator_FC=
11886 hardcode_minus_L_FC=no
11887 hardcode_automatic_FC=no
11888 inherit_rpath_FC=no
11890 module_expsym_cmds_FC=
11891 link_all_deplibs_FC=unknown
11892 old_archive_cmds_FC=$old_archive_cmds
11893 reload_flag_FC=$reload_flag
11894 reload_cmds_FC=$reload_cmds
11895 no_undefined_flag_FC=
11896 whole_archive_flag_spec_FC=
11897 enable_shared_with_static_runtimes_FC=no
11899 # Source file extension for fc test sources.
11900 ac_ext=${ac_fc_srcext-f}
11902 # Object file extension for compiled fc test sources.
11906 # No sense in running all these tests if we already determined that
11907 # the FC compiler isn't working. Some variables
(like enable_shared
)
11908 # are currently assumed to apply to all compilers on this platform,
11909 # and will be corrupted by setting them based on a non-working compiler.
11910 if test "$_lt_disable_FC" != yes; then
11911 # Code to be used in simple compile tests
11912 lt_simple_compile_test_code
="\
11918 # Code to be used in simple link tests
11919 lt_simple_link_test_code
="\
11924 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11931 # If no C compiler was specified, use CC.
11934 # If no C compiler flags were specified, use CFLAGS.
11935 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11937 # Allow CC to be a program name with arguments.
11941 # save warnings/boilerplate of simple test code
11942 ac_outfile
=conftest.
$ac_objext
11943 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11944 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11945 _lt_compiler_boilerplate
=`cat conftest.err`
11948 ac_outfile
=conftest.
$ac_objext
11949 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11950 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11951 _lt_linker_boilerplate
=`cat conftest.err`
11955 # Allow CC to be a program name with arguments.
11960 GCC
=$ac_cv_fc_compiler_gnu
11963 for cc_temp
in $compiler""; do
11965 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11966 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11971 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11974 if test -n "$compiler"; then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11976 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11978 $as_echo "$can_build_shared" >&6; }
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11981 $as_echo_n "checking whether to build shared libraries... " >&6; }
11982 test "$can_build_shared" = "no" && enable_shared
=no
11984 # On AIX, shared libraries and static libraries use the same namespace, and
11985 # are all built from PIC.
11988 test "$enable_shared" = yes && enable_static
=no
11989 if test -n "$RANLIB"; then
11990 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11991 postinstall_cmds
='$RANLIB $lib'
11995 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11996 test "$enable_shared" = yes && enable_static
=no
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12001 $as_echo "$enable_shared" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12004 $as_echo_n "checking whether to build static libraries... " >&6; }
12005 # Make sure either enable_shared or enable_static is yes.
12006 test "$enable_shared" = yes || enable_static
=yes
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12008 $as_echo "$enable_static" >&6; }
12010 GCC_FC
="$ac_cv_fc_compiler_gnu"
12014 ## There is no encapsulation within the following macros, do not change
12015 ## the running order or otherwise move them around unless you know exactly
12016 ## what you are doing...
12017 # Dependencies to place before and after the object being linked:
12019 postdep_objects_FC
=
12022 compiler_lib_search_path_FC
=
12024 cat > conftest.
$ac_ext <<_LT_EOF
12033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12034 (eval $ac_compile) 2>&5
12036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12037 test $ac_status = 0; }; then
12038 # Parse the compiler output and extract the necessary
12039 # objects, libraries and library flags.
12041 # Sentinel used to keep track of whether or not we are before
12042 # the conftest object file.
12043 pre_test_object_deps_done
=no
12045 for p
in `eval "$output_verbose_link_cmd"`; do
12049 # Some compilers place space between "-{L,R}" and the path.
12050 # Remove the space.
12051 if test $p = "-L" ||
12052 test $p = "-R"; then
12059 if test "$pre_test_object_deps_done" = no
; then
12062 # Internal compiler library paths should come after those
12063 # provided the user. The postdeps already come after the
12064 # user supplied libs so there is no need to process them.
12065 if test -z "$compiler_lib_search_path_FC"; then
12066 compiler_lib_search_path_FC
="${prev}${p}"
12068 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
12071 # The "-l" case would never come before the object being
12072 # linked, so don't bother handling this case.
12075 if test -z "$postdeps_FC"; then
12076 postdeps_FC
="${prev}${p}"
12078 postdeps_FC
="${postdeps_FC} ${prev}${p}"
12084 # This assumes that the test object file only shows up
12085 # once in the compiler output.
12086 if test "$p" = "conftest.$objext"; then
12087 pre_test_object_deps_done
=yes
12091 if test "$pre_test_object_deps_done" = no
; then
12092 if test -z "$predep_objects_FC"; then
12093 predep_objects_FC
="$p"
12095 predep_objects_FC
="$predep_objects_FC $p"
12098 if test -z "$postdep_objects_FC"; then
12099 postdep_objects_FC
="$p"
12101 postdep_objects_FC
="$postdep_objects_FC $p"
12106 *) ;; # Ignore the rest.
12114 echo "libtool.m4: error: problem compiling FC test program"
12117 $RM -f confest.
$objext
12119 # PORTME: override above test on systems where it is broken
12122 case " $postdeps_FC " in
12123 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
12125 compiler_lib_search_dirs_FC
=
12126 if test -n "${compiler_lib_search_path_FC}"; then
12127 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12160 lt_prog_compiler_wl_FC
=
12161 lt_prog_compiler_pic_FC
=
12162 lt_prog_compiler_static_FC
=
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12165 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12167 if test "$GCC" = yes; then
12168 lt_prog_compiler_wl_FC
='-Wl,'
12169 lt_prog_compiler_static_FC
='-static'
12173 # All AIX code is PIC.
12174 if test "$host_cpu" = ia64
; then
12175 # AIX 5 now supports IA64 processor
12176 lt_prog_compiler_static_FC
='-Bstatic'
12183 # see comment about AmigaOS4 .so support
12184 lt_prog_compiler_pic_FC
='-fPIC'
12187 # FIXME: we need at least 68020 code to build shared libraries, but
12188 # adding the `-m68020' flag to GCC prevents building anything better,
12190 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12195 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12196 # PIC is the default for these OSes.
12199 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12200 # This hack is so that the source file can tell whether it is being
12201 # built for inclusion in a dll (and should export symbols for example).
12202 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12203 # (--disable-auto-import) libraries
12204 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12207 darwin
* | rhapsody
*)
12208 # PIC is the default on this platform
12209 # Common symbols not allowed in MH_DYLIB files
12210 lt_prog_compiler_pic_FC
='-fno-common'
12214 # PIC is the default for Haiku.
12215 # The "-static" flag exists, but is broken.
12216 lt_prog_compiler_static_FC
=
12220 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12221 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12222 # sets the default TLS model and affects inlining.
12228 lt_prog_compiler_pic_FC
='-fPIC'
12234 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12235 # Instead, we relocate shared libraries at runtime.
12239 # Just because we use GCC doesn't mean we suddenly get shared libraries
12240 # on systems that don't support them.
12241 lt_prog_compiler_can_build_shared_FC
=no
12246 # QNX uses GNU C++, but need to define -shared option too, otherwise
12247 # it will coredump.
12248 lt_prog_compiler_pic_FC
='-fPIC -shared'
12252 if test -d /usr
/nec
; then
12253 lt_prog_compiler_pic_FC
=-Kconform_pic
12258 lt_prog_compiler_pic_FC
='-fPIC'
12262 case $cc_basename in
12263 nvcc
*) # Cuda Compiler Driver 2.2
12264 lt_prog_compiler_wl_FC
='-Xlinker '
12265 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12269 # PORTME Check for flag to pass linker flags through the system compiler.
12272 lt_prog_compiler_wl_FC
='-Wl,'
12273 if test "$host_cpu" = ia64
; then
12274 # AIX 5 now supports IA64 processor
12275 lt_prog_compiler_static_FC
='-Bstatic'
12277 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12281 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12282 # This hack is so that the source file can tell whether it is being
12283 # built for inclusion in a dll (and should export symbols for example).
12284 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12287 hpux9
* | hpux10
* | hpux11
*)
12288 lt_prog_compiler_wl_FC
='-Wl,'
12289 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12290 # not for PA HP-UX.
12296 lt_prog_compiler_pic_FC
='+Z'
12299 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12300 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12303 irix5
* | irix6
* | nonstopux
*)
12304 lt_prog_compiler_wl_FC
='-Wl,'
12305 # PIC (with -KPIC) is the default.
12306 lt_prog_compiler_static_FC
='-non_shared'
12309 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12310 case $cc_basename in
12311 # old Intel for x86_64 which still supported -KPIC.
12313 lt_prog_compiler_wl_FC
='-Wl,'
12314 lt_prog_compiler_pic_FC
='-KPIC'
12315 lt_prog_compiler_static_FC
='-static'
12317 # icc used to be incompatible with GCC.
12318 # ICC 10 doesn't accept -KPIC any more.
12320 lt_prog_compiler_wl_FC
='-Wl,'
12321 lt_prog_compiler_pic_FC
='-fPIC'
12322 lt_prog_compiler_static_FC
='-static'
12324 # Lahey Fortran 8.1.
12326 lt_prog_compiler_wl_FC
='-Wl,'
12327 lt_prog_compiler_pic_FC
='--shared'
12328 lt_prog_compiler_static_FC
='--static'
12330 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12331 # Portland Group compilers (*not* the Pentium gcc compiler,
12332 # which looks to be a dead project)
12333 lt_prog_compiler_wl_FC
='-Wl,'
12334 lt_prog_compiler_pic_FC
='-fpic'
12335 lt_prog_compiler_static_FC
='-Bstatic'
12338 lt_prog_compiler_wl_FC
='-Wl,'
12339 # All Alpha code is PIC.
12340 lt_prog_compiler_static_FC
='-non_shared'
12342 xl
* | bgxl
* | bgf
* | mpixl
*)
12343 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12344 lt_prog_compiler_wl_FC
='-Wl,'
12345 lt_prog_compiler_pic_FC
='-qpic'
12346 lt_prog_compiler_static_FC
='-qstaticlink'
12349 case `$CC -V 2>&1 | sed 5q` in
12350 *Sun\ F
* |
*Sun
*Fortran
*)
12351 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12352 lt_prog_compiler_pic_FC
='-KPIC'
12353 lt_prog_compiler_static_FC
='-Bstatic'
12354 lt_prog_compiler_wl_FC
=''
12358 lt_prog_compiler_pic_FC
='-KPIC'
12359 lt_prog_compiler_static_FC
='-Bstatic'
12360 lt_prog_compiler_wl_FC
='-Wl,'
12368 lt_prog_compiler_pic_FC
='-KPIC'
12369 lt_prog_compiler_static_FC
='-Bstatic'
12373 # QNX uses GNU C++, but need to define -shared option too, otherwise
12374 # it will coredump.
12375 lt_prog_compiler_pic_FC
='-fPIC -shared'
12378 osf3
* | osf4
* | osf5
*)
12379 lt_prog_compiler_wl_FC
='-Wl,'
12380 # All OSF/1 code is PIC.
12381 lt_prog_compiler_static_FC
='-non_shared'
12385 lt_prog_compiler_static_FC
='-non_shared'
12389 lt_prog_compiler_pic_FC
='-KPIC'
12390 lt_prog_compiler_static_FC
='-Bstatic'
12391 case $cc_basename in
12392 f77
* | f90
* | f95
*)
12393 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12395 lt_prog_compiler_wl_FC
='-Wl,';;
12400 lt_prog_compiler_wl_FC
='-Qoption ld '
12401 lt_prog_compiler_pic_FC
='-PIC'
12402 lt_prog_compiler_static_FC
='-Bstatic'
12405 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12406 lt_prog_compiler_wl_FC
='-Wl,'
12407 lt_prog_compiler_pic_FC
='-KPIC'
12408 lt_prog_compiler_static_FC
='-Bstatic'
12412 if test -d /usr
/nec
;then
12413 lt_prog_compiler_pic_FC
='-Kconform_pic'
12414 lt_prog_compiler_static_FC
='-Bstatic'
12418 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12419 lt_prog_compiler_wl_FC
='-Wl,'
12420 lt_prog_compiler_pic_FC
='-KPIC'
12421 lt_prog_compiler_static_FC
='-Bstatic'
12425 lt_prog_compiler_wl_FC
='-Wl,'
12426 lt_prog_compiler_can_build_shared_FC
=no
12430 lt_prog_compiler_pic_FC
='-pic'
12431 lt_prog_compiler_static_FC
='-Bstatic'
12435 lt_prog_compiler_can_build_shared_FC
=no
12441 # For platforms which do not support PIC, -DPIC is meaningless:
12443 lt_prog_compiler_pic_FC
=
12446 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12450 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12455 # Check to make sure the PIC flag actually works.
12457 if test -n "$lt_prog_compiler_pic_FC"; then
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12459 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12460 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12461 $as_echo_n "(cached) " >&6
12463 lt_cv_prog_compiler_pic_works_FC
=no
12464 ac_outfile
=conftest.
$ac_objext
12465 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12466 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12467 # Insert the option either (1) after the last *FLAGS variable, or
12468 # (2) before a word containing "conftest.", or (3) at the end.
12469 # Note that $ac_compile itself does not contain backslashes and begins
12470 # with a dollar sign (not a hyphen), so the echo should work correctly.
12471 # The option is referenced via a variable to avoid confusing sed.
12472 lt_compile
=`echo "$ac_compile" | $SED \
12473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12475 -e 's:$: $lt_compiler_flag:'`
12476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12477 (eval "$lt_compile" 2>conftest.err
)
12479 cat conftest.err
>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 if (exit $ac_status) && test -s "$ac_outfile"; then
12482 # The compiler can only warn and ignore the option if not recognized
12483 # So say no if there are warnings other than the usual output.
12484 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12485 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12486 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12487 lt_cv_prog_compiler_pic_works_FC
=yes
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12494 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12496 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12497 case $lt_prog_compiler_pic_FC in
12499 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12502 lt_prog_compiler_pic_FC
=
12503 lt_prog_compiler_can_build_shared_FC
=no
12511 # Check to make sure the static flag actually works.
12513 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12515 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12516 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12517 $as_echo_n "(cached) " >&6
12519 lt_cv_prog_compiler_static_works_FC
=no
12520 save_LDFLAGS
="$LDFLAGS"
12521 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12522 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12523 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12524 # The linker can only warn and ignore the option if not recognized
12525 # So say no if there are warnings
12526 if test -s conftest.err
; then
12527 # Append any errors to the config.log.
12528 cat conftest.err
1>&5
12529 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12530 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12531 if diff conftest.exp conftest.er2
>/dev
/null
; then
12532 lt_cv_prog_compiler_static_works_FC
=yes
12535 lt_cv_prog_compiler_static_works_FC
=yes
12539 LDFLAGS
="$save_LDFLAGS"
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12543 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12545 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12548 lt_prog_compiler_static_FC
=
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12555 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12556 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12557 $as_echo_n "(cached) " >&6
12559 lt_cv_prog_compiler_c_o_FC
=no
12560 $RM -r conftest
2>/dev
/null
12564 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12566 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12567 # Insert the option either (1) after the last *FLAGS variable, or
12568 # (2) before a word containing "conftest.", or (3) at the end.
12569 # Note that $ac_compile itself does not contain backslashes and begins
12570 # with a dollar sign (not a hyphen), so the echo should work correctly.
12571 lt_compile
=`echo "$ac_compile" | $SED \
12572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12574 -e 's:$: $lt_compiler_flag:'`
12575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12576 (eval "$lt_compile" 2>out
/conftest.err
)
12578 cat out
/conftest.err
>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12582 # The compiler can only warn and ignore the option if not recognized
12583 # So say no if there are warnings
12584 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12585 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12586 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12587 lt_cv_prog_compiler_c_o_FC
=yes
12592 # SGI C++ compiler will create directory out/ii_files/ for
12593 # template instantiation
12594 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12595 $RM out
/* && rmdir out
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12602 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12607 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12608 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12609 $as_echo_n "(cached) " >&6
12611 lt_cv_prog_compiler_c_o_FC
=no
12612 $RM -r conftest
2>/dev
/null
12616 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12618 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12619 # Insert the option either (1) after the last *FLAGS variable, or
12620 # (2) before a word containing "conftest.", or (3) at the end.
12621 # Note that $ac_compile itself does not contain backslashes and begins
12622 # with a dollar sign (not a hyphen), so the echo should work correctly.
12623 lt_compile
=`echo "$ac_compile" | $SED \
12624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12626 -e 's:$: $lt_compiler_flag:'`
12627 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12628 (eval "$lt_compile" 2>out
/conftest.err
)
12630 cat out
/conftest.err
>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12634 # The compiler can only warn and ignore the option if not recognized
12635 # So say no if there are warnings
12636 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12637 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12638 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12639 lt_cv_prog_compiler_c_o_FC
=yes
12644 # SGI C++ compiler will create directory out/ii_files/ for
12645 # template instantiation
12646 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12647 $RM out
/* && rmdir out
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12654 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12659 hard_links
="nottested"
12660 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12661 # do not overwrite the value of need_locks provided by the user
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12663 $as_echo_n "checking if we can lock with hard links... " >&6; }
12666 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12668 ln conftest.a conftest.b
2>&5 || hard_links
=no
12669 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12671 $as_echo "$hard_links" >&6; }
12672 if test "$hard_links" = no
; then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12674 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12684 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12687 allow_undefined_flag_FC
=
12688 always_export_symbols_FC
=no
12690 archive_expsym_cmds_FC
=
12691 compiler_needs_object_FC
=no
12692 enable_shared_with_static_runtimes_FC
=no
12693 export_dynamic_flag_spec_FC
=
12694 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12695 hardcode_automatic_FC
=no
12696 hardcode_direct_FC
=no
12697 hardcode_direct_absolute_FC
=no
12698 hardcode_libdir_flag_spec_FC
=
12699 hardcode_libdir_flag_spec_ld_FC
=
12700 hardcode_libdir_separator_FC
=
12701 hardcode_minus_L_FC
=no
12702 hardcode_shlibpath_var_FC
=unsupported
12703 inherit_rpath_FC
=no
12704 link_all_deplibs_FC
=unknown
12706 module_expsym_cmds_FC
=
12707 old_archive_from_new_cmds_FC
=
12708 old_archive_from_expsyms_cmds_FC
=
12709 thread_safe_flag_spec_FC
=
12710 whole_archive_flag_spec_FC
=
12711 # include_expsyms should be a list of space-separated symbols to be *always*
12712 # included in the symbol list
12713 include_expsyms_FC
=
12714 # exclude_expsyms can be an extended regexp of symbols to exclude
12715 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12716 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12717 # as well as any symbol that contains `d'.
12718 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12719 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12720 # platforms (ab)use it in PIC code, but their linkers get confused if
12721 # the symbol is explicitly referenced. Since portable code cannot
12722 # rely on this symbol name, it's probably fine to never include it in
12723 # preloaded symbol tables.
12724 # Exclude shared library initialization/finalization symbols.
12725 extract_expsyms_cmds
=
12728 cygwin
* | mingw
* | pw32
* | cegcc
*)
12729 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12730 # When not using gcc, we currently assume that we are using
12731 # Microsoft Visual C++.
12732 if test "$GCC" != yes; then
12737 # we just hope/assume this is gcc and not c89 (= MSVC++)
12747 # On some targets, GNU ld is compatible enough with the native linker
12748 # that we're better off using the native interface for both.
12749 lt_use_gnu_ld_interface
=no
12750 if test "$with_gnu_ld" = yes; then
12753 # The AIX port of GNU ld has always aspired to compatibility
12754 # with the native linker. However, as the warning in the GNU ld
12755 # block says, versions before 2.19.5* couldn't really create working
12756 # shared libraries, regardless of the interface used.
12757 case `$LD -v 2>&1` in
12758 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12759 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12760 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12762 lt_use_gnu_ld_interface
=yes
12767 lt_use_gnu_ld_interface
=yes
12772 if test "$lt_use_gnu_ld_interface" = yes; then
12773 # If archive_cmds runs LD, not CC, wlarc should be empty
12776 # Set some defaults for GNU ld with shared library support. These
12777 # are reset later if shared libraries are not supported. Putting them
12778 # here allows them to be overridden if necessary.
12779 runpath_var
=LD_RUN_PATH
12780 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12781 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12782 # ancient GNU ld didn't support --whole-archive et. al.
12783 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12784 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12786 whole_archive_flag_spec_FC
=
12788 supports_anon_versioning
=no
12789 case `$LD -v 2>&1` in
12790 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12791 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12792 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12793 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12794 *\
2.11.
*) ;; # other 2.11 versions
12795 *) supports_anon_versioning
=yes ;;
12798 # See if GNU ld supports shared libraries.
12801 # On AIX/PPC, the GNU linker is very broken
12802 if test "$host_cpu" != ia64
; then
12806 *** Warning: the GNU linker, at least up to release 2.19, is reported
12807 *** to be unable to reliably create shared libraries on AIX.
12808 *** Therefore, libtool is disabling shared libraries support. If you
12809 *** really care for shared libraries, you may want to install binutils
12810 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12811 *** You will then need to restart the configuration process.
12820 # see comment about AmigaOS4 .so support
12821 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12822 archive_expsym_cmds_FC
=''
12825 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)'
12826 hardcode_libdir_flag_spec_FC
='-L$libdir'
12827 hardcode_minus_L_FC
=yes
12833 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12834 allow_undefined_flag_FC
=unsupported
12835 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12836 # support --undefined. This deserves some investigation. FIXME
12837 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12843 cygwin
* | mingw
* | pw32
* | cegcc
*)
12844 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12845 # as there is no search path for DLLs.
12846 hardcode_libdir_flag_spec_FC
='-L$libdir'
12847 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
12848 allow_undefined_flag_FC
=unsupported
12849 always_export_symbols_FC
=no
12850 enable_shared_with_static_runtimes_FC
=yes
12851 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12853 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12854 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12855 # If the export-symbols file already is a .def file (1st line
12856 # is EXPORTS), use it as is; otherwise, prepend...
12857 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12858 cp $export_symbols $output_objdir/$soname.def;
12860 echo EXPORTS > $output_objdir/$soname.def;
12861 cat $export_symbols >> $output_objdir/$soname.def;
12863 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12870 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12871 link_all_deplibs_FC
=yes
12875 hardcode_direct_FC
=no
12876 hardcode_shlibpath_var_FC
=no
12877 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12878 export_dynamic_flag_spec_FC
='${wl}-E'
12879 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12880 # Instead, shared libraries are loaded at an image base (0x10000000 by
12881 # default) and relocated if they conflict, which is a slow very memory
12882 # consuming and fragmenting process. To avoid this, we pick a random,
12883 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12884 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12885 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'
12886 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'
12889 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12891 if test "$host_os" = linux-dietlibc
; then
12892 case $cc_basename in
12893 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12896 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12897 && test "$tmp_diet" = no
12900 tmp_sharedflag
='-shared'
12901 case $cc_basename,$host_cpu in
12902 pgcc
*) # Portland Group C compiler
12903 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'
12904 tmp_addflag
=' $pic_flag'
12906 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12907 # Portland Group f77 and f90 compilers
12908 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'
12909 tmp_addflag
=' $pic_flag -Mnomain' ;;
12910 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12911 tmp_addflag
=' -i_dynamic' ;;
12912 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12913 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12914 ifc
* | ifort
*) # Intel Fortran compiler
12915 tmp_addflag
=' -nofor_main' ;;
12916 lf95
*) # Lahey Fortran 8.1
12917 whole_archive_flag_spec_FC
=
12918 tmp_sharedflag
='--shared' ;;
12919 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12920 tmp_sharedflag
='-qmkshrobj'
12922 nvcc
*) # Cuda Compiler Driver 2.2
12923 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'
12924 compiler_needs_object_FC
=yes
12927 case `$CC -V 2>&1 | sed 5q` in
12928 *Sun\ C
*) # Sun C 5.9
12929 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'
12930 compiler_needs_object_FC
=yes
12931 tmp_sharedflag
='-G' ;;
12932 *Sun\ F
*) # Sun Fortran 8.3
12933 tmp_sharedflag
='-G' ;;
12935 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12937 if test "x$supports_anon_versioning" = xyes
; then
12938 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12939 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12940 echo "local: *; };" >> $output_objdir/$libname.ver~
12941 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12944 case $cc_basename in
12945 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12946 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12947 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12948 hardcode_libdir_flag_spec_FC
=
12949 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12950 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12951 if test "x$supports_anon_versioning" = xyes
; then
12952 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12953 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12954 echo "local: *; };" >> $output_objdir/$libname.ver~
12955 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12965 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12966 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12969 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12970 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12975 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12979 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12980 *** create shared libraries on Solaris systems. Therefore, libtool
12981 *** is disabling shared libraries support. We urge you to upgrade GNU
12982 *** binutils to release 2.9.1 or newer. Another option is to modify
12983 *** your PATH or compiler configuration so that the native linker is
12984 *** used, and then restart.
12987 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12988 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12989 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12995 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12996 case `$LD -v 2>&1` in
12997 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13001 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13002 *** reliably create shared libraries on SCO systems. Therefore, libtool
13003 *** is disabling shared libraries support. We urge you to upgrade GNU
13004 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13005 *** your PATH or compiler configuration so that the native linker is
13006 *** used, and then restart.
13011 # For security reasons, it is highly recommended that you always
13012 # use absolute paths for naming shared libraries, and exclude the
13013 # DT_RUNPATH tag from executables and libraries. But doing so
13014 # requires that you compile everything twice, which is a pain.
13015 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13016 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13017 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13018 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13027 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13029 hardcode_direct_FC
=yes
13030 hardcode_shlibpath_var_FC
=no
13034 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13035 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13036 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13043 if test "$ld_shlibs_FC" = no
; then
13045 hardcode_libdir_flag_spec_FC
=
13046 export_dynamic_flag_spec_FC
=
13047 whole_archive_flag_spec_FC
=
13050 # PORTME fill in a description of your system's linker (not GNU ld)
13053 allow_undefined_flag_FC
=unsupported
13054 always_export_symbols_FC
=yes
13055 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'
13056 # Note: this linker hardcodes the directories in LIBPATH if there
13057 # are no directories specified by -L.
13058 hardcode_minus_L_FC
=yes
13059 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13060 # Neither direct hardcoding nor static linking is supported with a
13062 hardcode_direct_FC
=unsupported
13067 if test "$host_cpu" = ia64
; then
13068 # On IA64, the linker does run time linking by default, so we don't
13069 # have to do anything special.
13070 aix_use_runtimelinking
=no
13071 exp_sym_flag
='-Bexport'
13074 # If we're using GNU nm, then we don't want the "-C" option.
13075 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13076 # Also, AIX nm treats weak defined symbols like other global
13077 # defined symbols, whereas GNU nm marks them as "W".
13078 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13079 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'
13081 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'
13083 aix_use_runtimelinking
=no
13085 # Test if we are trying to use run time linking or normal
13086 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13087 # need to do runtime linking.
13088 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13089 for ld_flag
in $LDFLAGS; do
13090 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13091 aix_use_runtimelinking
=yes
13098 exp_sym_flag
='-bexport'
13099 no_entry_flag
='-bnoentry'
13102 # When large executables or shared objects are built, AIX ld can
13103 # have problems creating the table of contents. If linking a library
13104 # or program results in "error TOC overflow" add -mminimal-toc to
13105 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13106 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13109 hardcode_direct_FC
=yes
13110 hardcode_direct_absolute_FC
=yes
13111 hardcode_libdir_separator_FC
=':'
13112 link_all_deplibs_FC
=yes
13113 file_list_spec_FC
='${wl}-f,'
13115 if test "$GCC" = yes; then
13116 case $host_os in aix4.
[012]|aix4.
[012].
*)
13117 # We only want to do this on AIX 4.2 and lower, the check
13118 # below for broken collect2 doesn't work under 4.3+
13119 collect2name
=`${CC} -print-prog-name=collect2`
13120 if test -f "$collect2name" &&
13121 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13123 # We have reworked collect2
13126 # We have old collect2
13127 hardcode_direct_FC
=unsupported
13128 # It fails to find uninstalled libraries when the uninstalled
13129 # path is not listed in the libpath. Setting hardcode_minus_L
13130 # to unsupported forces relinking
13131 hardcode_minus_L_FC
=yes
13132 hardcode_libdir_flag_spec_FC
='-L$libdir'
13133 hardcode_libdir_separator_FC
=
13137 shared_flag
='-shared'
13138 if test "$aix_use_runtimelinking" = yes; then
13139 shared_flag
="$shared_flag "'${wl}-G'
13143 if test "$host_cpu" = ia64
; then
13144 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13145 # chokes on -Wl,-G. The following line is correct:
13148 if test "$aix_use_runtimelinking" = yes; then
13149 shared_flag
='${wl}-G'
13151 shared_flag
='${wl}-bM:SRE'
13156 export_dynamic_flag_spec_FC
='${wl}-bexpall'
13157 # It seems that -bexpall does not export symbols beginning with
13158 # underscore (_), so it is better to generate a list of symbols to export.
13159 always_export_symbols_FC
=yes
13160 if test "$aix_use_runtimelinking" = yes; then
13161 # Warning - without using the other runtime loading flags (-brtl),
13162 # -berok will link without error, but may produce a broken library.
13163 allow_undefined_flag_FC
='-berok'
13164 # Determine the default libpath from the value encoded in an
13165 # empty executable.
13166 if test x
$gcc_no_link = xyes
; then
13167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13169 cat > conftest.
$ac_ext <<_ACEOF
13174 if ac_fn_fc_try_link
"$LINENO"; then :
13176 lt_aix_libpath_sed
='
13177 /Import File Strings/,/^$/ {
13183 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13184 # Check for a 64-bit object if we didn't find anything.
13185 if test -z "$aix_libpath"; then
13186 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13189 rm -f core conftest.err conftest.
$ac_objext \
13190 conftest
$ac_exeext conftest.
$ac_ext
13191 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13193 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13194 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"
13196 if test "$host_cpu" = ia64
; then
13197 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13198 allow_undefined_flag_FC
="-z nodefs"
13199 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"
13201 # Determine the default libpath from the value encoded in an
13202 # empty executable.
13203 if test x
$gcc_no_link = xyes
; then
13204 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13206 cat > conftest.
$ac_ext <<_ACEOF
13211 if ac_fn_fc_try_link
"$LINENO"; then :
13213 lt_aix_libpath_sed
='
13214 /Import File Strings/,/^$/ {
13220 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13221 # Check for a 64-bit object if we didn't find anything.
13222 if test -z "$aix_libpath"; then
13223 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13226 rm -f core conftest.err conftest.
$ac_objext \
13227 conftest
$ac_exeext conftest.
$ac_ext
13228 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13230 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13231 # Warning - without using the other run time loading flags,
13232 # -berok will link without error, but may produce a broken library.
13233 no_undefined_flag_FC
=' ${wl}-bernotok'
13234 allow_undefined_flag_FC
=' ${wl}-berok'
13235 if test "$with_gnu_ld" = yes; then
13236 # We only use this code for GNU lds that support --whole-archive.
13237 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13239 # Exported symbols can be pulled into shared objects from archives
13240 whole_archive_flag_spec_FC
='$convenience'
13242 archive_cmds_need_lc_FC
=yes
13243 # This is similar to how AIX traditionally builds its shared libraries.
13244 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'
13252 # see comment about AmigaOS4 .so support
13253 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13254 archive_expsym_cmds_FC
=''
13257 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)'
13258 hardcode_libdir_flag_spec_FC
='-L$libdir'
13259 hardcode_minus_L_FC
=yes
13265 export_dynamic_flag_spec_FC
=-rdynamic
13268 cygwin
* | mingw
* | pw32
* | cegcc
*)
13269 # When not using gcc, we currently assume that we are using
13270 # Microsoft Visual C++.
13271 # hardcode_libdir_flag_spec is actually meaningless, as there is
13272 # no search path for DLLs.
13273 hardcode_libdir_flag_spec_FC
=' '
13274 allow_undefined_flag_FC
=unsupported
13275 # Tell ltmain to make .lib files, not .a files.
13277 # Tell ltmain to make .dll files, not .so files.
13279 # FIXME: Setting linknames here is a bad hack.
13280 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13281 # The linker will automatically build a .lib file if we build a DLL.
13282 old_archive_from_new_cmds_FC
='true'
13283 # FIXME: Should let the user specify the lib program.
13284 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13285 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13286 enable_shared_with_static_runtimes_FC
=yes
13289 darwin
* | rhapsody
*)
13292 archive_cmds_need_lc_FC
=no
13293 hardcode_direct_FC
=no
13294 hardcode_automatic_FC
=yes
13295 hardcode_shlibpath_var_FC
=unsupported
13296 if test "$lt_cv_ld_force_load" = "yes"; then
13297 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\"`'
13299 whole_archive_flag_spec_FC
=''
13301 link_all_deplibs_FC
=yes
13302 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13303 case $cc_basename in
13304 ifort
*) _lt_dar_can_shared
=yes ;;
13305 *) _lt_dar_can_shared
=$GCC ;;
13307 if test "$_lt_dar_can_shared" = "yes"; then
13308 output_verbose_link_cmd
=func_echo_all
13309 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}"
13310 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13311 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}"
13312 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}"
13321 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13322 hardcode_libdir_flag_spec_FC
='-L$libdir'
13323 hardcode_shlibpath_var_FC
=no
13330 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13331 # support. Future versions do this automatically, but an explicit c++rt0.o
13332 # does not break anything, and helps significantly (at the cost of a little
13335 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13336 hardcode_libdir_flag_spec_FC
='-R$libdir'
13337 hardcode_direct_FC
=yes
13338 hardcode_shlibpath_var_FC
=no
13341 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13343 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13344 hardcode_direct_FC
=yes
13345 hardcode_minus_L_FC
=yes
13346 hardcode_shlibpath_var_FC
=no
13349 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13350 freebsd
* | dragonfly
*)
13351 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13352 hardcode_libdir_flag_spec_FC
='-R$libdir'
13353 hardcode_direct_FC
=yes
13354 hardcode_shlibpath_var_FC
=no
13358 if test "$GCC" = yes; then
13359 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'
13361 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'
13363 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13364 hardcode_libdir_separator_FC
=:
13365 hardcode_direct_FC
=yes
13367 # hardcode_minus_L: Not really in the search PATH,
13368 # but as the default location of the library.
13369 hardcode_minus_L_FC
=yes
13370 export_dynamic_flag_spec_FC
='${wl}-E'
13374 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13375 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13377 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13379 if test "$with_gnu_ld" = no
; then
13380 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13381 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13382 hardcode_libdir_separator_FC
=:
13383 hardcode_direct_FC
=yes
13384 hardcode_direct_absolute_FC
=yes
13385 export_dynamic_flag_spec_FC
='${wl}-E'
13386 # hardcode_minus_L: Not really in the search PATH,
13387 # but as the default location of the library.
13388 hardcode_minus_L_FC
=yes
13393 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13396 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13399 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13402 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13408 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13411 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13414 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13418 if test "$with_gnu_ld" = no
; then
13419 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13420 hardcode_libdir_separator_FC
=:
13424 hardcode_direct_FC
=no
13425 hardcode_shlibpath_var_FC
=no
13428 hardcode_direct_FC
=yes
13429 hardcode_direct_absolute_FC
=yes
13430 export_dynamic_flag_spec_FC
='${wl}-E'
13432 # hardcode_minus_L: Not really in the search PATH,
13433 # but as the default location of the library.
13434 hardcode_minus_L_FC
=yes
13440 irix5
* | irix6
* | nonstopux
*)
13441 if test "$GCC" = yes; then
13442 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'
13443 # Try to use the -exported_symbol ld option, if it does not
13444 # work, assume that -exports_file does not work either and
13445 # implicitly export all symbols.
13446 save_LDFLAGS
="$LDFLAGS"
13447 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13448 if test x
$gcc_no_link = xyes
; then
13449 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13451 cat > conftest.
$ac_ext <<_ACEOF
13454 if ac_fn_fc_try_link
"$LINENO"; then :
13455 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'
13458 rm -f core conftest.err conftest.
$ac_objext \
13459 conftest
$ac_exeext conftest.
$ac_ext
13460 LDFLAGS
="$save_LDFLAGS"
13462 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'
13463 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'
13465 archive_cmds_need_lc_FC
='no'
13466 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13467 hardcode_libdir_separator_FC
=:
13468 inherit_rpath_FC
=yes
13469 link_all_deplibs_FC
=yes
13473 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13474 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13476 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13478 hardcode_libdir_flag_spec_FC
='-R$libdir'
13479 hardcode_direct_FC
=yes
13480 hardcode_shlibpath_var_FC
=no
13484 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13485 hardcode_direct_FC
=yes
13486 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13487 hardcode_libdir_separator_FC
=:
13488 hardcode_shlibpath_var_FC
=no
13495 if test -f /usr
/libexec
/ld.so
; then
13496 hardcode_direct_FC
=yes
13497 hardcode_shlibpath_var_FC
=no
13498 hardcode_direct_absolute_FC
=yes
13499 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13500 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13501 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13502 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13503 export_dynamic_flag_spec_FC
='${wl}-E'
13506 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13507 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13508 hardcode_libdir_flag_spec_FC
='-R$libdir'
13511 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13512 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13522 hardcode_libdir_flag_spec_FC
='-L$libdir'
13523 hardcode_minus_L_FC
=yes
13524 allow_undefined_flag_FC
=unsupported
13525 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'
13526 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13530 if test "$GCC" = yes; then
13531 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13532 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'
13534 allow_undefined_flag_FC
=' -expect_unresolved \*'
13535 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'
13537 archive_cmds_need_lc_FC
='no'
13538 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13539 hardcode_libdir_separator_FC
=:
13542 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13543 if test "$GCC" = yes; then
13544 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13545 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'
13546 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13548 allow_undefined_flag_FC
=' -expect_unresolved \*'
13549 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'
13550 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~
13551 $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'
13553 # Both c and cxx compiler support -rpath directly
13554 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13556 archive_cmds_need_lc_FC
='no'
13557 hardcode_libdir_separator_FC
=:
13561 no_undefined_flag_FC
=' -z defs'
13562 if test "$GCC" = yes; then
13564 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13565 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13566 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13568 case `$CC -V 2>&1` in
13571 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13572 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13573 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13577 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13578 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13579 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13583 hardcode_libdir_flag_spec_FC
='-R$libdir'
13584 hardcode_shlibpath_var_FC
=no
13586 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13588 # The compiler driver will combine and reorder linker options,
13589 # but understands `-z linker_flag'. GCC discards it without `$wl',
13590 # but is careful enough not to reorder.
13591 # Supported since Solaris 2.6 (maybe 2.5.1?)
13592 if test "$GCC" = yes; then
13593 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13595 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13599 link_all_deplibs_FC
=yes
13603 if test "x$host_vendor" = xsequent
; then
13604 # Use $CC to link under sequent, because it throws in some extra .o
13605 # files that make .init and .fini sections work.
13606 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13608 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13610 hardcode_libdir_flag_spec_FC
='-L$libdir'
13611 hardcode_direct_FC
=yes
13612 hardcode_minus_L_FC
=yes
13613 hardcode_shlibpath_var_FC
=no
13617 case $host_vendor in
13619 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13620 hardcode_direct_FC
=yes # is this really true???
13623 ## LD is ld it makes a PLAMLIB
13624 ## CC just makes a GrossModule.
13625 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13626 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13627 hardcode_direct_FC
=no
13630 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13631 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13634 runpath_var
='LD_RUN_PATH'
13635 hardcode_shlibpath_var_FC
=no
13639 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13640 hardcode_shlibpath_var_FC
=no
13641 export_dynamic_flag_spec_FC
='-Bexport'
13645 if test -d /usr
/nec
; then
13646 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13647 hardcode_shlibpath_var_FC
=no
13648 runpath_var
=LD_RUN_PATH
13649 hardcode_runpath_var
=yes
13654 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13655 no_undefined_flag_FC
='${wl}-z,text'
13656 archive_cmds_need_lc_FC
=no
13657 hardcode_shlibpath_var_FC
=no
13658 runpath_var
='LD_RUN_PATH'
13660 if test "$GCC" = yes; then
13661 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13662 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13664 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13665 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13669 sysv5
* | sco3.2v5
* | sco5v6
*)
13670 # Note: We can NOT use -z defs as we might desire, because we do not
13671 # link with -lc, and that would cause any symbols used from libc to
13672 # always be unresolved, which means just about no library would
13673 # ever link correctly. If we're not using GNU ld we use -z text
13674 # though, which does catch some bad symbols but isn't as heavy-handed
13676 no_undefined_flag_FC
='${wl}-z,text'
13677 allow_undefined_flag_FC
='${wl}-z,nodefs'
13678 archive_cmds_need_lc_FC
=no
13679 hardcode_shlibpath_var_FC
=no
13680 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13681 hardcode_libdir_separator_FC
=':'
13682 link_all_deplibs_FC
=yes
13683 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13684 runpath_var
='LD_RUN_PATH'
13686 if test "$GCC" = yes; then
13687 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13688 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13690 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13691 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13696 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13697 hardcode_libdir_flag_spec_FC
='-L$libdir'
13698 hardcode_shlibpath_var_FC
=no
13706 if test x
$host_vendor = xsni
; then
13708 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13709 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13716 $as_echo "$ld_shlibs_FC" >&6; }
13717 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13719 with_gnu_ld_FC
=$with_gnu_ld
13727 # Do we need to explicitly link libc?
13729 case "x$archive_cmds_need_lc_FC" in
13731 # Assume -lc should be added
13732 archive_cmds_need_lc_FC
=yes
13734 if test "$enable_shared" = yes && test "$GCC" = yes; then
13735 case $archive_cmds_FC in
13737 # FIXME: we may have to deal with multi-command sequences.
13740 # Test whether the compiler implicitly links with -lc since on some
13741 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13742 # to ld, don't add -lc before -lgcc.
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13744 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13745 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13746 $as_echo_n "(cached) " >&6
13749 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13752 (eval $ac_compile) 2>&5
13754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13755 test $ac_status = 0; } 2>conftest.err
; then
13758 libobjs
=conftest.
$ac_objext
13760 wl
=$lt_prog_compiler_wl_FC
13761 pic_flag
=$lt_prog_compiler_pic_FC
13767 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13768 allow_undefined_flag_FC
=
13769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13770 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13773 test $ac_status = 0; }
13775 lt_cv_archive_cmds_need_lc_FC
=no
13777 lt_cv_archive_cmds_need_lc_FC
=yes
13779 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13781 cat conftest.err
1>&5
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13787 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13788 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13859 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13861 library_names_spec
=
13862 libname_spec
='lib$name'
13866 postuninstall_cmds
=
13870 shlibpath_overrides_runpath
=unknown
13872 dynamic_linker
="$host_os ld.so"
13873 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13874 need_lib_prefix
=unknown
13875 hardcode_into_libs
=no
13877 # when you set need_version to no, make sure it does not cause -set_version
13878 # flags to be left without arguments
13879 need_version
=unknown
13884 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13885 shlibpath_var
=LIBPATH
13887 # AIX 3 has no versioning support, so we append a major version to the name.
13888 soname_spec
='${libname}${release}${shared_ext}$major'
13895 hardcode_into_libs
=yes
13896 if test "$host_cpu" = ia64
; then
13897 # AIX 5 supports IA64
13898 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13899 shlibpath_var
=LD_LIBRARY_PATH
13901 # With GCC up to 2.95.x, collect2 would create an import file
13902 # for dependence libraries. The import file would start with
13903 # the line `#! .'. This would cause the generated library to
13904 # depend on `.', always an invalid library. This was fixed in
13905 # development snapshots of GCC prior to 3.0.
13907 aix4 | aix4.
[01] | aix4.
[01].
*)
13908 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13910 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13913 can_build_shared
=no
13917 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13918 # soname into executable. Probably we can add versioning support to
13919 # collect2, so additional links can be useful in future.
13920 if test "$aix_use_runtimelinking" = yes; then
13921 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13922 # instead of lib<name>.a to let people know that these are not
13923 # typical AIX shared libraries.
13924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13926 # We preserve .a as extension for shared libraries through AIX4.2
13927 # and later when we are not doing run time linking.
13928 library_names_spec
='${libname}${release}.a $libname.a'
13929 soname_spec
='${libname}${release}${shared_ext}$major'
13931 shlibpath_var
=LIBPATH
13938 # Since July 2007 AmigaOS4 officially supports .so libraries.
13939 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13943 library_names_spec
='$libname.ixlibrary $libname.a'
13944 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13945 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'
13951 library_names_spec
='${libname}${shared_ext}'
13952 dynamic_linker
="$host_os ld.so"
13953 shlibpath_var
=LIBRARY_PATH
13959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13960 soname_spec
='${libname}${release}${shared_ext}$major'
13961 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13962 shlibpath_var
=LD_LIBRARY_PATH
13963 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13964 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13965 # the default ld.so.conf also contains /usr/contrib/lib and
13966 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13967 # libtool to hard-code these into programs
13970 cygwin
* | mingw
* | pw32
* | cegcc
*)
13971 version_type
=windows
13976 case $GCC,$host_os in
13977 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13978 library_names_spec
='$libname.dll.a'
13979 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13980 postinstall_cmds
='base_file=`basename \${file}`~
13981 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13982 dldir=$destdir/`dirname \$dlpath`~
13983 test -d \$dldir || mkdir -p \$dldir~
13984 $install_prog $dir/$dlname \$dldir/$dlname~
13985 chmod a+x \$dldir/$dlname~
13986 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13987 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13989 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13990 dlpath=$dir/\$dldll~
13992 shlibpath_overrides_runpath
=yes
13996 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13997 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14001 # MinGW DLLs use traditional 'lib' prefix
14002 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14005 # pw32 DLLs use 'pw' prefix rather than 'lib'
14006 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14012 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14015 dynamic_linker
='Win32 ld.exe'
14016 # FIXME: first we should search . and the directory the executable is in
14020 darwin
* | rhapsody
*)
14021 dynamic_linker
="$host_os dyld"
14022 version_type
=darwin
14025 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14026 soname_spec
='${libname}${release}${major}$shared_ext'
14027 shlibpath_overrides_runpath
=yes
14028 shlibpath_var
=DYLD_LIBRARY_PATH
14029 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14031 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14039 soname_spec
='${libname}${release}${shared_ext}$major'
14040 shlibpath_var
=LD_LIBRARY_PATH
14047 freebsd
* | dragonfly
*)
14048 # DragonFly does not have aout. When/if they implement a new
14049 # versioning mechanism, adjust this.
14050 if test -x /usr
/bin
/objformat
; then
14051 objformat
=`/usr/bin/objformat`
14054 freebsd
[123]*) objformat
=aout
;;
14055 *) objformat
=elf
;;
14058 version_type
=freebsd-
$objformat
14059 case $version_type in
14061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14066 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14070 shlibpath_var
=LD_LIBRARY_PATH
14073 shlibpath_overrides_runpath
=yes
14075 freebsd3.
[01]* | freebsdelf3.
[01]*)
14076 shlibpath_overrides_runpath
=yes
14077 hardcode_into_libs
=yes
14079 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14080 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14081 shlibpath_overrides_runpath
=no
14082 hardcode_into_libs
=yes
14084 *) # from 4.6 on, and DragonFly
14085 shlibpath_overrides_runpath
=yes
14086 hardcode_into_libs
=yes
14095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14096 soname_spec
='${libname}${release}${shared_ext}$major'
14097 shlibpath_var
=LD_LIBRARY_PATH
14098 hardcode_into_libs
=yes
14105 dynamic_linker
="$host_os runtime_loader"
14106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14107 soname_spec
='${libname}${release}${shared_ext}$major'
14108 shlibpath_var
=LIBRARY_PATH
14109 shlibpath_overrides_runpath
=yes
14110 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14111 hardcode_into_libs
=yes
14114 hpux9
* | hpux10
* | hpux11
*)
14115 # Give a soname corresponding to the major version so that dld.sl refuses to
14116 # link against other versions.
14123 hardcode_into_libs
=yes
14124 dynamic_linker
="$host_os dld.so"
14125 shlibpath_var
=LD_LIBRARY_PATH
14126 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14128 soname_spec
='${libname}${release}${shared_ext}$major'
14129 if test "X$HPUX_IA64_MODE" = X32
; then
14130 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14132 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14134 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14138 hardcode_into_libs
=yes
14139 dynamic_linker
="$host_os dld.sl"
14140 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14141 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14143 soname_spec
='${libname}${release}${shared_ext}$major'
14144 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14145 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14149 dynamic_linker
="$host_os dld.sl"
14150 shlibpath_var
=SHLIB_PATH
14151 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14153 soname_spec
='${libname}${release}${shared_ext}$major'
14156 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14157 postinstall_cmds
='chmod 555 $lib'
14158 # or fails outright, so override atomically:
14159 install_override_mode
=555
14166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14167 soname_spec
='${libname}${release}${shared_ext}$major'
14168 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14169 shlibpath_var
=LD_LIBRARY_PATH
14170 shlibpath_overrides_runpath
=no
14171 hardcode_into_libs
=yes
14174 irix5
* | irix6
* | nonstopux
*)
14176 nonstopux
*) version_type
=nonstopux
;;
14178 if test "$lt_cv_prog_gnu_ld" = yes; then
14186 soname_spec
='${libname}${release}${shared_ext}$major'
14187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14189 irix5
* | nonstopux
*)
14190 libsuff
= shlibsuff
=
14193 case $LD in # libtool.m4 will add one of these switches to LD
14194 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14195 libsuff
= shlibsuff
= libmagic
=32-bit;;
14196 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14197 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14198 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14199 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14200 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14204 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14205 shlibpath_overrides_runpath
=no
14206 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14207 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14208 hardcode_into_libs
=yes
14211 # No shared lib support for Linux oldld, aout, or coff.
14212 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14216 # This must be Linux ELF.
14217 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14222 soname_spec
='${libname}${release}${shared_ext}$major'
14223 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14224 shlibpath_var
=LD_LIBRARY_PATH
14225 shlibpath_overrides_runpath
=no
14227 # Some binutils ld are patched to set DT_RUNPATH
14228 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14229 $as_echo_n "(cached) " >&6
14231 lt_cv_shlibpath_overrides_runpath
=no
14232 save_LDFLAGS
=$LDFLAGS
14233 save_libdir
=$libdir
14234 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14235 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14236 if test x
$gcc_no_link = xyes
; then
14237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14239 cat > conftest.
$ac_ext <<_ACEOF
14244 if ac_fn_fc_try_link
"$LINENO"; then :
14245 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14246 lt_cv_shlibpath_overrides_runpath
=yes
14249 rm -f core conftest.err conftest.
$ac_objext \
14250 conftest
$ac_exeext conftest.
$ac_ext
14251 LDFLAGS
=$save_LDFLAGS
14252 libdir
=$save_libdir
14256 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14258 # This implies no fast_install, which is unacceptable.
14259 # Some rework will be needed to allow for fast_install
14260 # before this can be enabled.
14261 hardcode_into_libs
=yes
14263 # Append ld.so.conf contents to the search path
14264 if test -f /etc
/ld.so.conf
; then
14265 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' ' '`
14266 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14269 # We used to test for /lib/ld.so.1 and disable shared libraries on
14270 # powerpc, because MkLinux only supported shared libraries with the
14271 # GNU dynamic linker. Since this was broken with cross compilers,
14272 # most powerpc-linux boxes support dynamic linking these days and
14273 # people can always --disable-shared, the test was removed, and we
14274 # assume the GNU/Linux dynamic linker is in use.
14275 dynamic_linker
='GNU/Linux ld.so'
14282 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14284 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14285 dynamic_linker
='NetBSD (a.out) ld.so'
14287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14288 soname_spec
='${libname}${release}${shared_ext}$major'
14289 dynamic_linker
='NetBSD ld.elf_so'
14291 shlibpath_var
=LD_LIBRARY_PATH
14292 shlibpath_overrides_runpath
=yes
14293 hardcode_into_libs
=yes
14298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299 shlibpath_var
=LD_LIBRARY_PATH
14300 shlibpath_overrides_runpath
=yes
14307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14308 soname_spec
='${libname}${release}${shared_ext}$major'
14309 shlibpath_var
=LD_LIBRARY_PATH
14310 shlibpath_overrides_runpath
=no
14311 hardcode_into_libs
=yes
14312 dynamic_linker
='ldqnx.so'
14317 sys_lib_dlsearch_path_spec
="/usr/lib"
14319 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14321 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14322 *) need_version
=no
;;
14324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14325 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14326 shlibpath_var
=LD_LIBRARY_PATH
14327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14329 openbsd2.
[89] | openbsd2.
[89].
*)
14330 shlibpath_overrides_runpath
=no
14333 shlibpath_overrides_runpath
=yes
14337 shlibpath_overrides_runpath
=yes
14342 libname_spec
='$name'
14345 library_names_spec
='$libname${shared_ext} $libname.a'
14346 dynamic_linker
='OS/2 ld.exe'
14347 shlibpath_var
=LIBPATH
14350 osf3
* | osf4
* | osf5
*)
14354 soname_spec
='${libname}${release}${shared_ext}$major'
14355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14356 shlibpath_var
=LD_LIBRARY_PATH
14357 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14358 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370 soname_spec
='${libname}${release}${shared_ext}$major'
14371 shlibpath_var
=LD_LIBRARY_PATH
14372 shlibpath_overrides_runpath
=yes
14373 hardcode_into_libs
=yes
14374 # ldd complains unless libraries are executable
14375 postinstall_cmds
='chmod +x $lib'
14380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14381 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14382 shlibpath_var
=LD_LIBRARY_PATH
14383 shlibpath_overrides_runpath
=yes
14384 if test "$with_gnu_ld" = yes; then
14392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec
='${libname}${release}${shared_ext}$major'
14394 shlibpath_var
=LD_LIBRARY_PATH
14395 case $host_vendor in
14397 shlibpath_overrides_runpath
=no
14399 runpath_var
=LD_RUN_PATH
14407 shlibpath_overrides_runpath
=no
14408 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14414 if test -d /usr
/nec
;then
14416 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14417 soname_spec
='$libname${shared_ext}.$major'
14418 shlibpath_var
=LD_LIBRARY_PATH
14422 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14423 version_type
=freebsd-elf
14426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14427 soname_spec
='${libname}${release}${shared_ext}$major'
14428 shlibpath_var
=LD_LIBRARY_PATH
14429 shlibpath_overrides_runpath
=yes
14430 hardcode_into_libs
=yes
14431 if test "$with_gnu_ld" = yes; then
14432 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14434 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14437 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14441 sys_lib_dlsearch_path_spec
='/usr/lib'
14445 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14450 shlibpath_var
=LD_LIBRARY_PATH
14451 shlibpath_overrides_runpath
=no
14452 hardcode_into_libs
=yes
14457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 soname_spec
='${libname}${release}${shared_ext}$major'
14459 shlibpath_var
=LD_LIBRARY_PATH
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14467 $as_echo "$dynamic_linker" >&6; }
14468 test "$dynamic_linker" = no
&& can_build_shared
=no
14470 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14471 if test "$GCC" = yes; then
14472 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14475 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14476 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14478 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14479 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14520 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14521 hardcode_action_FC
=
14522 if test -n "$hardcode_libdir_flag_spec_FC" ||
14523 test -n "$runpath_var_FC" ||
14524 test "X$hardcode_automatic_FC" = "Xyes" ; then
14526 # We can hardcode non-existent directories.
14527 if test "$hardcode_direct_FC" != no
&&
14528 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14529 # have to relink, otherwise we might link with an installed library
14530 # when we should be linking with a yet-to-be-installed one
14531 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14532 test "$hardcode_minus_L_FC" != no
; then
14533 # Linking always hardcodes the temporary library directory.
14534 hardcode_action_FC
=relink
14536 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14537 hardcode_action_FC
=immediate
14540 # We cannot hardcode anything, or else we can only hardcode existing
14542 hardcode_action_FC
=unsupported
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14545 $as_echo "$hardcode_action_FC" >&6; }
14547 if test "$hardcode_action_FC" = relink ||
14548 test "$inherit_rpath_FC" = yes; then
14549 # Fast installation is not supported
14550 enable_fast_install
=no
14551 elif test "$shlibpath_overrides_runpath" = yes ||
14552 test "$enable_shared" = no
; then
14553 # Fast installation is not necessary
14554 enable_fast_install
=needless
14563 fi # test -n "$compiler"
14567 fi # test "$_lt_disable_FC" != yes
14570 ac_cpp
='$CPP $CPPFLAGS'
14571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14577 # extra LD Flags which are required for targets
14580 # Darwin needs -single_module when linking libgfortran
14581 extra_ldflags_libgfortran
=-Wl,-single_module
14586 # We need a working compiler at that point, otherwise give a clear
14587 # error message and bail out.
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14590 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14591 ac_ext
=${ac_fc_srcext-f}
14592 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14593 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14594 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
14596 cat > conftest.
$ac_ext <<_ACEOF
14599 real, parameter :: bar = sin (12.34 / 2.5)
14602 if ac_fn_fc_try_compile
"$LINENO"; then :
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14604 $as_echo "yes" >&6; }
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14607 $as_echo "no" >&6; }
14608 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14613 ac_cpp
='$CPP $CPPFLAGS'
14614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14620 # Check whether --enable-largefile was given.
14621 if test "${enable_largefile+set}" = set; then :
14622 enableval
=$enable_largefile;
14625 if test "$enable_largefile" != no
; then
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14628 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14629 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14630 $as_echo_n "(cached) " >&6
14632 ac_cv_sys_largefile_CC
=no
14633 if test "$GCC" != yes; then
14636 # IRIX 6.2 and later do not support large files by default,
14637 # so use the C compiler's -n32 option if that helps.
14638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14640 #include <sys/types.h>
14641 /* Check that off_t can represent 2**63 - 1 correctly.
14642 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14643 since some C++ compilers masquerading as C compilers
14644 incorrectly reject 9223372036854775807. */
14645 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14647 && LARGE_OFF_T % 2147483647 == 1)
14657 if ac_fn_c_try_compile
"$LINENO"; then :
14660 rm -f core conftest.err conftest.
$ac_objext
14662 if ac_fn_c_try_compile
"$LINENO"; then :
14663 ac_cv_sys_largefile_CC
=' -n32'; break
14665 rm -f core conftest.err conftest.
$ac_objext
14669 rm -f conftest.
$ac_ext
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14673 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14674 if test "$ac_cv_sys_largefile_CC" != no
; then
14675 CC
=$CC$ac_cv_sys_largefile_CC
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14679 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14680 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14681 $as_echo_n "(cached) " >&6
14684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14686 #include <sys/types.h>
14687 /* Check that off_t can represent 2**63 - 1 correctly.
14688 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14689 since some C++ compilers masquerading as C compilers
14690 incorrectly reject 9223372036854775807. */
14691 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14692 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14693 && LARGE_OFF_T % 2147483647 == 1)
14703 if ac_fn_c_try_compile
"$LINENO"; then :
14704 ac_cv_sys_file_offset_bits
=no
; break
14706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 #define _FILE_OFFSET_BITS 64
14710 #include <sys/types.h>
14711 /* Check that off_t can represent 2**63 - 1 correctly.
14712 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14713 since some C++ compilers masquerading as C compilers
14714 incorrectly reject 9223372036854775807. */
14715 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14716 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14717 && LARGE_OFF_T % 2147483647 == 1)
14727 if ac_fn_c_try_compile
"$LINENO"; then :
14728 ac_cv_sys_file_offset_bits
=64; break
14730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14731 ac_cv_sys_file_offset_bits
=unknown
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14736 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14737 case $ac_cv_sys_file_offset_bits in #(
14740 cat >>confdefs.h
<<_ACEOF
14741 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14746 if test $ac_cv_sys_file_offset_bits = unknown
; then
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14748 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14749 if test "${ac_cv_sys_large_files+set}" = set; then :
14750 $as_echo_n "(cached) " >&6
14753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 #include <sys/types.h>
14756 /* Check that off_t can represent 2**63 - 1 correctly.
14757 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14758 since some C++ compilers masquerading as C compilers
14759 incorrectly reject 9223372036854775807. */
14760 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14761 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14762 && LARGE_OFF_T % 2147483647 == 1)
14772 if ac_fn_c_try_compile
"$LINENO"; then :
14773 ac_cv_sys_large_files
=no
; break
14775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 #define _LARGE_FILES 1
14779 #include <sys/types.h>
14780 /* Check that off_t can represent 2**63 - 1 correctly.
14781 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14782 since some C++ compilers masquerading as C compilers
14783 incorrectly reject 9223372036854775807. */
14784 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14785 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14786 && LARGE_OFF_T % 2147483647 == 1)
14796 if ac_fn_c_try_compile
"$LINENO"; then :
14797 ac_cv_sys_large_files
=1; break
14799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14800 ac_cv_sys_large_files
=unknown
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14805 $as_echo "$ac_cv_sys_large_files" >&6; }
14806 case $ac_cv_sys_large_files in #(
14809 cat >>confdefs.h
<<_ACEOF
14810 #define _LARGE_FILES $ac_cv_sys_large_files
14818 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14819 if test "x$ac_cv_type_off_t" = x
""yes; then :
14823 cat >>confdefs.h
<<_ACEOF
14824 #define off_t long int
14830 # check header files
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14832 $as_echo_n "checking for ANSI C header files... " >&6; }
14833 if test "${ac_cv_header_stdc+set}" = set; then :
14834 $as_echo_n "(cached) " >&6
14836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14837 /* end confdefs.h. */
14838 #include <stdlib.h>
14839 #include <stdarg.h>
14840 #include <string.h>
14851 if ac_fn_c_try_compile
"$LINENO"; then :
14852 ac_cv_header_stdc
=yes
14854 ac_cv_header_stdc
=no
14856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14858 if test $ac_cv_header_stdc = yes; then
14859 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14862 #include <string.h>
14865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14866 $EGREP "memchr" >/dev
/null
2>&1; then :
14869 ac_cv_header_stdc
=no
14875 if test $ac_cv_header_stdc = yes; then
14876 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 #include <stdlib.h>
14882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14883 $EGREP "free" >/dev
/null
2>&1; then :
14886 ac_cv_header_stdc
=no
14892 if test $ac_cv_header_stdc = yes; then
14893 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14894 if test "$cross_compiling" = yes; then :
14897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14900 #include <stdlib.h>
14901 #if ((' ' & 0x0FF) == 0x020)
14902 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14903 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14905 # define ISLOWER(c) \
14906 (('a' <= (c) && (c) <= 'i') \
14907 || ('j' <= (c) && (c) <= 'r') \
14908 || ('s' <= (c) && (c) <= 'z'))
14909 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14912 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14917 for (i = 0; i < 256; i++)
14918 if (XOR (islower (i), ISLOWER (i))
14919 || toupper (i) != TOUPPER (i))
14924 if ac_fn_c_try_run
"$LINENO"; then :
14927 ac_cv_header_stdc
=no
14929 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14930 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14936 $as_echo "$ac_cv_header_stdc" >&6; }
14937 if test $ac_cv_header_stdc = yes; then
14939 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14944 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14945 if test "${ac_cv_header_time+set}" = set; then :
14946 $as_echo_n "(cached) " >&6
14948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 #include <sys/types.h>
14951 #include <sys/time.h>
14957 if ((struct tm *) 0)
14963 if ac_fn_c_try_compile
"$LINENO"; then :
14964 ac_cv_header_time
=yes
14966 ac_cv_header_time
=no
14968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14971 $as_echo "$ac_cv_header_time" >&6; }
14972 if test $ac_cv_header_time = yes; then
14974 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14978 for ac_header
in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14980 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14981 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14982 eval as_val
=\$
$as_ac_Header
14983 if test "x$as_val" = x
""yes; then :
14984 cat >>confdefs.h
<<_ACEOF
14985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14992 for ac_header
in time.h sys
/time.h sys
/times.h sys
/resource.h
14994 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14995 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14996 eval as_val
=\$
$as_ac_Header
14997 if test "x$as_val" = x
""yes; then :
14998 cat >>confdefs.h
<<_ACEOF
14999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15006 for ac_header
in sys
/types.h sys
/stat.h sys
/wait.h floatingpoint.h ieeefp.h
15008 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15009 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15010 eval as_val
=\$
$as_ac_Header
15011 if test "x$as_val" = x
""yes; then :
15012 cat >>confdefs.h
<<_ACEOF
15013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15020 for ac_header
in fenv.h fptrap.h float.h execinfo.h
pwd.h
15022 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15023 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15024 eval as_val
=\$
$as_ac_Header
15025 if test "x$as_val" = x
""yes; then :
15026 cat >>confdefs.h
<<_ACEOF
15027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15034 ac_fn_c_check_header_mongrel
"$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15035 if test "x$ac_cv_header_complex_h" = x
""yes; then :
15037 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15044 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15046 acx_cv_header_stdint
=stddef.h
15047 acx_cv_header_stdint_kind
="(already complete)"
15048 for i
in stdint.h
$inttype_headers; do
15049 unset ac_cv_type_uintptr_t
15050 unset ac_cv_type_uintmax_t
15051 unset ac_cv_type_int_least32_t
15052 unset ac_cv_type_int_fast32_t
15053 unset ac_cv_type_uint64_t
15054 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15055 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15058 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15059 acx_cv_header_stdint
=$i
15064 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15067 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15070 acx_cv_header_stdint_kind
="(mostly complete)"
15073 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15076 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15079 acx_cv_header_stdint_kind
="(mostly complete)"
15082 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15085 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15088 acx_cv_header_stdint_kind
="(mostly complete)"
15091 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15094 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15097 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15102 if test "$acx_cv_header_stdint" = stddef.h
; then
15103 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15104 for i
in stdint.h
$inttype_headers; do
15105 unset ac_cv_type_uintptr_t
15106 unset ac_cv_type_uint32_t
15107 unset ac_cv_type_uint64_t
15108 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15109 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15112 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15113 acx_cv_header_stdint
=$i
15118 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15121 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15125 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15128 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15135 if test "$acx_cv_header_stdint" = stddef.h
; then
15136 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15137 for i
in sys
/types.h
$inttype_headers; do
15138 unset ac_cv_type_u_int32_t
15139 unset ac_cv_type_u_int64_t
15140 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15141 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15144 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15145 acx_cv_header_stdint
=$i
15150 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15153 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15160 if test "$acx_cv_header_stdint" = stddef.h
; then
15161 acx_cv_header_stdint_kind
="(using manual detection)"
15164 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15165 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15166 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15167 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15168 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15170 # ----------------- Summarize what we found so far
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15173 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15175 case `$as_basename -- gstdint.h ||
15176 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15177 Xgstdint.h : 'X\(//\)$' \| \
15178 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15179 $as_echo X/gstdint.h |
15180 sed '/^.*\/\([^/][^/]*\)\/*$/{
15193 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15194 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15195 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15196 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15201 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15203 # ----------------- done included file, check C basic types --------
15205 # Lacking an uintptr_t? Test size of void *
15206 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15207 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15209 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15210 # This bug is HP SR number 8606223364.
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15212 $as_echo_n "checking size of void *... " >&6; }
15213 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15216 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15219 if test "$ac_cv_type_void_p" = yes; then
15220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15222 { as_fn_set_status
77
15223 as_fn_error
"cannot compute sizeof (void *)
15224 See \`config.log' for more details." "$LINENO" 5; }; }
15226 ac_cv_sizeof_void_p
=0
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15232 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15236 cat >>confdefs.h
<<_ACEOF
15237 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15243 # Lacking an uint64_t? Test size of long
15244 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15245 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15248 # This bug is HP SR number 8606223364.
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15250 $as_echo_n "checking size of long... " >&6; }
15251 if test "${ac_cv_sizeof_long+set}" = set; then :
15252 $as_echo_n "(cached) " >&6
15254 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15257 if test "$ac_cv_type_long" = yes; then
15258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15260 { as_fn_set_status
77
15261 as_fn_error
"cannot compute sizeof (long)
15262 See \`config.log' for more details." "$LINENO" 5; }; }
15264 ac_cv_sizeof_long
=0
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15270 $as_echo "$ac_cv_sizeof_long" >&6; }
15274 cat >>confdefs.h
<<_ACEOF
15275 #define SIZEOF_LONG $ac_cv_sizeof_long
15281 if test $acx_cv_header_stdint = stddef.h
; then
15282 # Lacking a good header? Test size of everything and deduce all types.
15283 # The cast to long int works around a bug in the HP C Compiler
15284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15286 # This bug is HP SR number 8606223364.
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15288 $as_echo_n "checking size of int... " >&6; }
15289 if test "${ac_cv_sizeof_int+set}" = set; then :
15290 $as_echo_n "(cached) " >&6
15292 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15295 if test "$ac_cv_type_int" = yes; then
15296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15298 { as_fn_set_status
77
15299 as_fn_error
"cannot compute sizeof (int)
15300 See \`config.log' for more details." "$LINENO" 5; }; }
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15308 $as_echo "$ac_cv_sizeof_int" >&6; }
15312 cat >>confdefs.h
<<_ACEOF
15313 #define SIZEOF_INT $ac_cv_sizeof_int
15317 # The cast to long int works around a bug in the HP C Compiler
15318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15320 # This bug is HP SR number 8606223364.
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15322 $as_echo_n "checking size of short... " >&6; }
15323 if test "${ac_cv_sizeof_short+set}" = set; then :
15324 $as_echo_n "(cached) " >&6
15326 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15329 if test "$ac_cv_type_short" = yes; then
15330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15332 { as_fn_set_status
77
15333 as_fn_error
"cannot compute sizeof (short)
15334 See \`config.log' for more details." "$LINENO" 5; }; }
15336 ac_cv_sizeof_short
=0
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15342 $as_echo "$ac_cv_sizeof_short" >&6; }
15346 cat >>confdefs.h
<<_ACEOF
15347 #define SIZEOF_SHORT $ac_cv_sizeof_short
15351 # The cast to long int works around a bug in the HP C Compiler
15352 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15353 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15354 # This bug is HP SR number 8606223364.
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15356 $as_echo_n "checking size of char... " >&6; }
15357 if test "${ac_cv_sizeof_char+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15360 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15363 if test "$ac_cv_type_char" = yes; then
15364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15366 { as_fn_set_status
77
15367 as_fn_error
"cannot compute sizeof (char)
15368 See \`config.log' for more details." "$LINENO" 5; }; }
15370 ac_cv_sizeof_char
=0
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15376 $as_echo "$ac_cv_sizeof_char" >&6; }
15380 cat >>confdefs.h
<<_ACEOF
15381 #define SIZEOF_CHAR $ac_cv_sizeof_char
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15387 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15388 case "$ac_cv_sizeof_char" in
15389 1) acx_cv_type_int8_t
=char
;;
15390 *) { as_fn_set_status please report a bug
15391 as_fn_error
"no 8-bit type" "$LINENO" 5; }
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15394 $as_echo "$acx_cv_type_int8_t" >&6; }
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15397 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15398 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15399 2:*) acx_cv_type_int16_t
=int
;;
15400 *:2) acx_cv_type_int16_t
=short
;;
15401 *) { as_fn_set_status please report a bug
15402 as_fn_error
"no 16-bit type" "$LINENO" 5; }
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15405 $as_echo "$acx_cv_type_int16_t" >&6; }
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15408 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15409 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15410 4:*) acx_cv_type_int32_t
=int
;;
15411 *:4) acx_cv_type_int32_t
=long
;;
15412 *) { as_fn_set_status please report a bug
15413 as_fn_error
"no 32-bit type" "$LINENO" 5; }
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15416 $as_echo "$acx_cv_type_int32_t" >&6; }
15419 # These tests are here to make the output prettier
15421 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15422 case "$ac_cv_sizeof_long" in
15423 8) acx_cv_type_int64_t
=long
;;
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15426 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15428 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15431 # Now we can use the above types
15433 if test "$ac_cv_type_uintptr_t" != yes; then
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15435 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15436 case $ac_cv_sizeof_void_p in
15437 2) acx_cv_type_intptr_t
=int16_t
;;
15438 4) acx_cv_type_intptr_t
=int32_t
;;
15439 8) acx_cv_type_intptr_t
=int64_t
;;
15440 *) { as_fn_set_status please report a bug
15441 as_fn_error
"no equivalent for intptr_t" "$LINENO" 5; }
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15444 $as_echo "$acx_cv_type_intptr_t" >&6; }
15447 # ----------------- done all checks, emit header -------------
15448 ac_config_commands
="$ac_config_commands gstdint.h"
15453 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15454 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
15456 cat >>confdefs.h
<<_ACEOF
15457 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15463 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15464 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
15466 cat >>confdefs.h
<<_ACEOF
15467 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15473 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15474 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
15476 cat >>confdefs.h
<<_ACEOF
15477 #define HAVE_STRUCT_STAT_ST_RDEV 1
15484 # Check for library functions.
15485 for ac_func
in getrusage
times mkstemp strtof strtold snprintf ftruncate chsize
15487 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15488 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15489 eval as_val
=\$
$as_ac_var
15490 if test "x$as_val" = x
""yes; then :
15491 cat >>confdefs.h
<<_ACEOF
15492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15498 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
15500 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15501 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15502 eval as_val
=\$
$as_ac_var
15503 if test "x$as_val" = x
""yes; then :
15504 cat >>confdefs.h
<<_ACEOF
15505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15511 for ac_func
in sleep time ttyname signal alarm ctime
clock access fork execl
15513 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15514 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15515 eval as_val
=\$
$as_ac_var
15516 if test "x$as_val" = x
""yes; then :
15517 cat >>confdefs.h
<<_ACEOF
15518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15524 for ac_func
in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15526 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15527 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15528 eval as_val
=\$
$as_ac_var
15529 if test "x$as_val" = x
""yes; then :
15530 cat >>confdefs.h
<<_ACEOF
15531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15537 for ac_func
in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15539 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15540 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15541 eval as_val
=\$
$as_ac_var
15542 if test "x$as_val" = x
""yes; then :
15543 cat >>confdefs.h
<<_ACEOF
15544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15550 for ac_func
in localtime_r gmtime_r
15552 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15553 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15554 eval as_val
=\$
$as_ac_var
15555 if test "x$as_val" = x
""yes; then :
15556 cat >>confdefs.h
<<_ACEOF
15557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15564 # Check for glibc backtrace functions
15565 for ac_func
in backtrace backtrace_symbols
15567 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15568 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15569 eval as_val
=\$
$as_ac_var
15570 if test "x$as_val" = x
""yes; then :
15571 cat >>confdefs.h
<<_ACEOF
15572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15580 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15581 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15583 cat >>confdefs.h
<<_ACEOF
15584 #define HAVE_INTPTR_T 1
15590 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15591 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15593 cat >>confdefs.h
<<_ACEOF
15594 #define HAVE_UINTPTR_T 1
15601 # Check libc for getgid, getpid, getuid
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15603 $as_echo_n "checking for getgid in -lc... " >&6; }
15604 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15605 $as_echo_n "(cached) " >&6
15607 ac_check_lib_save_LIBS
=$LIBS
15609 if test x
$gcc_no_link = xyes
; then
15610 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h. */
15615 /* Override any GCC internal prototype to avoid an error.
15616 Use char because int might match the return type of a GCC
15617 builtin and then its argument prototype would still apply. */
15630 if ac_fn_c_try_link
"$LINENO"; then :
15631 ac_cv_lib_c_getgid
=yes
15633 ac_cv_lib_c_getgid
=no
15635 rm -f core conftest.err conftest.
$ac_objext \
15636 conftest
$ac_exeext conftest.
$ac_ext
15637 LIBS
=$ac_check_lib_save_LIBS
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15640 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15641 if test "x$ac_cv_lib_c_getgid" = x
""yes; then :
15643 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15648 $as_echo_n "checking for getpid in -lc... " >&6; }
15649 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15650 $as_echo_n "(cached) " >&6
15652 ac_check_lib_save_LIBS
=$LIBS
15654 if test x
$gcc_no_link = xyes
; then
15655 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15675 if ac_fn_c_try_link
"$LINENO"; then :
15676 ac_cv_lib_c_getpid
=yes
15678 ac_cv_lib_c_getpid
=no
15680 rm -f core conftest.err conftest.
$ac_objext \
15681 conftest
$ac_exeext conftest.
$ac_ext
15682 LIBS
=$ac_check_lib_save_LIBS
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15685 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15686 if test "x$ac_cv_lib_c_getpid" = x
""yes; then :
15688 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15693 $as_echo_n "checking for getppid in -lc... " >&6; }
15694 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15695 $as_echo_n "(cached) " >&6
15697 ac_check_lib_save_LIBS
=$LIBS
15699 if test x
$gcc_no_link = xyes
; then
15700 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15720 if ac_fn_c_try_link
"$LINENO"; then :
15721 ac_cv_lib_c_getppid
=yes
15723 ac_cv_lib_c_getppid
=no
15725 rm -f core conftest.err conftest.
$ac_objext \
15726 conftest
$ac_exeext conftest.
$ac_ext
15727 LIBS
=$ac_check_lib_save_LIBS
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15730 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15731 if test "x$ac_cv_lib_c_getppid" = x
""yes; then :
15733 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15738 $as_echo_n "checking for getuid in -lc... " >&6; }
15739 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15740 $as_echo_n "(cached) " >&6
15742 ac_check_lib_save_LIBS
=$LIBS
15744 if test x
$gcc_no_link = xyes
; then
15745 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15750 /* Override any GCC internal prototype to avoid an error.
15751 Use char because int might match the return type of a GCC
15752 builtin and then its argument prototype would still apply. */
15765 if ac_fn_c_try_link
"$LINENO"; then :
15766 ac_cv_lib_c_getuid
=yes
15768 ac_cv_lib_c_getuid
=no
15770 rm -f core conftest.err conftest.
$ac_objext \
15771 conftest
$ac_exeext conftest.
$ac_ext
15772 LIBS
=$ac_check_lib_save_LIBS
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15775 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15776 if test "x$ac_cv_lib_c_getuid" = x
""yes; then :
15778 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15783 $as_echo_n "checking for geteuid in -lc... " >&6; }
15784 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15785 $as_echo_n "(cached) " >&6
15787 ac_check_lib_save_LIBS
=$LIBS
15789 if test x
$gcc_no_link = xyes
; then
15790 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15795 /* Override any GCC internal prototype to avoid an error.
15796 Use char because int might match the return type of a GCC
15797 builtin and then its argument prototype would still apply. */
15810 if ac_fn_c_try_link
"$LINENO"; then :
15811 ac_cv_lib_c_geteuid
=yes
15813 ac_cv_lib_c_geteuid
=no
15815 rm -f core conftest.err conftest.
$ac_objext \
15816 conftest
$ac_exeext conftest.
$ac_ext
15817 LIBS
=$ac_check_lib_save_LIBS
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15820 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15821 if test "x$ac_cv_lib_c_geteuid" = x
""yes; then :
15823 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15828 # Check for C99 (and other IEEE) math functions
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15830 $as_echo_n "checking for acosf in -lm... " >&6; }
15831 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15832 $as_echo_n "(cached) " >&6
15834 ac_check_lib_save_LIBS
=$LIBS
15836 if test x
$gcc_no_link = xyes
; then
15837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15842 /* Override any GCC internal prototype to avoid an error.
15843 Use char because int might match the return type of a GCC
15844 builtin and then its argument prototype would still apply. */
15857 if ac_fn_c_try_link
"$LINENO"; then :
15858 ac_cv_lib_m_acosf
=yes
15860 ac_cv_lib_m_acosf
=no
15862 rm -f core conftest.err conftest.
$ac_objext \
15863 conftest
$ac_exeext conftest.
$ac_ext
15864 LIBS
=$ac_check_lib_save_LIBS
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15867 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15868 if test "x$ac_cv_lib_m_acosf" = x
""yes; then :
15870 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15875 $as_echo_n "checking for acos in -lm... " >&6; }
15876 if test "${ac_cv_lib_m_acos+set}" = set; then :
15877 $as_echo_n "(cached) " >&6
15879 ac_check_lib_save_LIBS
=$LIBS
15881 if test x
$gcc_no_link = xyes
; then
15882 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15902 if ac_fn_c_try_link
"$LINENO"; then :
15903 ac_cv_lib_m_acos
=yes
15905 ac_cv_lib_m_acos
=no
15907 rm -f core conftest.err conftest.
$ac_objext \
15908 conftest
$ac_exeext conftest.
$ac_ext
15909 LIBS
=$ac_check_lib_save_LIBS
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15912 $as_echo "$ac_cv_lib_m_acos" >&6; }
15913 if test "x$ac_cv_lib_m_acos" = x
""yes; then :
15915 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15920 $as_echo_n "checking for acosl in -lm... " >&6; }
15921 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15922 $as_echo_n "(cached) " >&6
15924 ac_check_lib_save_LIBS
=$LIBS
15926 if test x
$gcc_no_link = xyes
; then
15927 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15932 /* Override any GCC internal prototype to avoid an error.
15933 Use char because int might match the return type of a GCC
15934 builtin and then its argument prototype would still apply. */
15947 if ac_fn_c_try_link
"$LINENO"; then :
15948 ac_cv_lib_m_acosl
=yes
15950 ac_cv_lib_m_acosl
=no
15952 rm -f core conftest.err conftest.
$ac_objext \
15953 conftest
$ac_exeext conftest.
$ac_ext
15954 LIBS
=$ac_check_lib_save_LIBS
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
15957 $as_echo "$ac_cv_lib_m_acosl" >&6; }
15958 if test "x$ac_cv_lib_m_acosl" = x
""yes; then :
15960 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
15965 $as_echo_n "checking for acoshf in -lm... " >&6; }
15966 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
15967 $as_echo_n "(cached) " >&6
15969 ac_check_lib_save_LIBS
=$LIBS
15971 if test x
$gcc_no_link = xyes
; then
15972 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15977 /* Override any GCC internal prototype to avoid an error.
15978 Use char because int might match the return type of a GCC
15979 builtin and then its argument prototype would still apply. */
15992 if ac_fn_c_try_link
"$LINENO"; then :
15993 ac_cv_lib_m_acoshf
=yes
15995 ac_cv_lib_m_acoshf
=no
15997 rm -f core conftest.err conftest.
$ac_objext \
15998 conftest
$ac_exeext conftest.
$ac_ext
15999 LIBS
=$ac_check_lib_save_LIBS
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16002 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16003 if test "x$ac_cv_lib_m_acoshf" = x
""yes; then :
16005 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16010 $as_echo_n "checking for acosh in -lm... " >&6; }
16011 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16012 $as_echo_n "(cached) " >&6
16014 ac_check_lib_save_LIBS
=$LIBS
16016 if test x
$gcc_no_link = xyes
; then
16017 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16020 /* end confdefs.h. */
16022 /* Override any GCC internal prototype to avoid an error.
16023 Use char because int might match the return type of a GCC
16024 builtin and then its argument prototype would still apply. */
16037 if ac_fn_c_try_link
"$LINENO"; then :
16038 ac_cv_lib_m_acosh
=yes
16040 ac_cv_lib_m_acosh
=no
16042 rm -f core conftest.err conftest.
$ac_objext \
16043 conftest
$ac_exeext conftest.
$ac_ext
16044 LIBS
=$ac_check_lib_save_LIBS
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16047 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16048 if test "x$ac_cv_lib_m_acosh" = x
""yes; then :
16050 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16055 $as_echo_n "checking for acoshl in -lm... " >&6; }
16056 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16057 $as_echo_n "(cached) " >&6
16059 ac_check_lib_save_LIBS
=$LIBS
16061 if test x
$gcc_no_link = xyes
; then
16062 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16065 /* end confdefs.h. */
16067 /* Override any GCC internal prototype to avoid an error.
16068 Use char because int might match the return type of a GCC
16069 builtin and then its argument prototype would still apply. */
16082 if ac_fn_c_try_link
"$LINENO"; then :
16083 ac_cv_lib_m_acoshl
=yes
16085 ac_cv_lib_m_acoshl
=no
16087 rm -f core conftest.err conftest.
$ac_objext \
16088 conftest
$ac_exeext conftest.
$ac_ext
16089 LIBS
=$ac_check_lib_save_LIBS
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16092 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16093 if test "x$ac_cv_lib_m_acoshl" = x
""yes; then :
16095 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16100 $as_echo_n "checking for asinf in -lm... " >&6; }
16101 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16102 $as_echo_n "(cached) " >&6
16104 ac_check_lib_save_LIBS
=$LIBS
16106 if test x
$gcc_no_link = xyes
; then
16107 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16127 if ac_fn_c_try_link
"$LINENO"; then :
16128 ac_cv_lib_m_asinf
=yes
16130 ac_cv_lib_m_asinf
=no
16132 rm -f core conftest.err conftest.
$ac_objext \
16133 conftest
$ac_exeext conftest.
$ac_ext
16134 LIBS
=$ac_check_lib_save_LIBS
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16137 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16138 if test "x$ac_cv_lib_m_asinf" = x
""yes; then :
16140 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16145 $as_echo_n "checking for asin in -lm... " >&6; }
16146 if test "${ac_cv_lib_m_asin+set}" = set; then :
16147 $as_echo_n "(cached) " >&6
16149 ac_check_lib_save_LIBS
=$LIBS
16151 if test x
$gcc_no_link = xyes
; then
16152 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16157 /* Override any GCC internal prototype to avoid an error.
16158 Use char because int might match the return type of a GCC
16159 builtin and then its argument prototype would still apply. */
16172 if ac_fn_c_try_link
"$LINENO"; then :
16173 ac_cv_lib_m_asin
=yes
16175 ac_cv_lib_m_asin
=no
16177 rm -f core conftest.err conftest.
$ac_objext \
16178 conftest
$ac_exeext conftest.
$ac_ext
16179 LIBS
=$ac_check_lib_save_LIBS
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16182 $as_echo "$ac_cv_lib_m_asin" >&6; }
16183 if test "x$ac_cv_lib_m_asin" = x
""yes; then :
16185 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16190 $as_echo_n "checking for asinl in -lm... " >&6; }
16191 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16192 $as_echo_n "(cached) " >&6
16194 ac_check_lib_save_LIBS
=$LIBS
16196 if test x
$gcc_no_link = xyes
; then
16197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16202 /* Override any GCC internal prototype to avoid an error.
16203 Use char because int might match the return type of a GCC
16204 builtin and then its argument prototype would still apply. */
16217 if ac_fn_c_try_link
"$LINENO"; then :
16218 ac_cv_lib_m_asinl
=yes
16220 ac_cv_lib_m_asinl
=no
16222 rm -f core conftest.err conftest.
$ac_objext \
16223 conftest
$ac_exeext conftest.
$ac_ext
16224 LIBS
=$ac_check_lib_save_LIBS
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16227 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16228 if test "x$ac_cv_lib_m_asinl" = x
""yes; then :
16230 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16235 $as_echo_n "checking for asinhf in -lm... " >&6; }
16236 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16237 $as_echo_n "(cached) " >&6
16239 ac_check_lib_save_LIBS
=$LIBS
16241 if test x
$gcc_no_link = xyes
; then
16242 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h. */
16247 /* Override any GCC internal prototype to avoid an error.
16248 Use char because int might match the return type of a GCC
16249 builtin and then its argument prototype would still apply. */
16262 if ac_fn_c_try_link
"$LINENO"; then :
16263 ac_cv_lib_m_asinhf
=yes
16265 ac_cv_lib_m_asinhf
=no
16267 rm -f core conftest.err conftest.
$ac_objext \
16268 conftest
$ac_exeext conftest.
$ac_ext
16269 LIBS
=$ac_check_lib_save_LIBS
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16272 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16273 if test "x$ac_cv_lib_m_asinhf" = x
""yes; then :
16275 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16280 $as_echo_n "checking for asinh in -lm... " >&6; }
16281 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16282 $as_echo_n "(cached) " >&6
16284 ac_check_lib_save_LIBS
=$LIBS
16286 if test x
$gcc_no_link = xyes
; then
16287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16292 /* Override any GCC internal prototype to avoid an error.
16293 Use char because int might match the return type of a GCC
16294 builtin and then its argument prototype would still apply. */
16307 if ac_fn_c_try_link
"$LINENO"; then :
16308 ac_cv_lib_m_asinh
=yes
16310 ac_cv_lib_m_asinh
=no
16312 rm -f core conftest.err conftest.
$ac_objext \
16313 conftest
$ac_exeext conftest.
$ac_ext
16314 LIBS
=$ac_check_lib_save_LIBS
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16317 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16318 if test "x$ac_cv_lib_m_asinh" = x
""yes; then :
16320 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16325 $as_echo_n "checking for asinhl in -lm... " >&6; }
16326 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16327 $as_echo_n "(cached) " >&6
16329 ac_check_lib_save_LIBS
=$LIBS
16331 if test x
$gcc_no_link = xyes
; then
16332 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16337 /* Override any GCC internal prototype to avoid an error.
16338 Use char because int might match the return type of a GCC
16339 builtin and then its argument prototype would still apply. */
16352 if ac_fn_c_try_link
"$LINENO"; then :
16353 ac_cv_lib_m_asinhl
=yes
16355 ac_cv_lib_m_asinhl
=no
16357 rm -f core conftest.err conftest.
$ac_objext \
16358 conftest
$ac_exeext conftest.
$ac_ext
16359 LIBS
=$ac_check_lib_save_LIBS
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16362 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16363 if test "x$ac_cv_lib_m_asinhl" = x
""yes; then :
16365 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16370 $as_echo_n "checking for atan2f in -lm... " >&6; }
16371 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16372 $as_echo_n "(cached) " >&6
16374 ac_check_lib_save_LIBS
=$LIBS
16376 if test x
$gcc_no_link = xyes
; then
16377 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16397 if ac_fn_c_try_link
"$LINENO"; then :
16398 ac_cv_lib_m_atan2f
=yes
16400 ac_cv_lib_m_atan2f
=no
16402 rm -f core conftest.err conftest.
$ac_objext \
16403 conftest
$ac_exeext conftest.
$ac_ext
16404 LIBS
=$ac_check_lib_save_LIBS
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16407 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16408 if test "x$ac_cv_lib_m_atan2f" = x
""yes; then :
16410 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16415 $as_echo_n "checking for atan2 in -lm... " >&6; }
16416 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16417 $as_echo_n "(cached) " >&6
16419 ac_check_lib_save_LIBS
=$LIBS
16421 if test x
$gcc_no_link = xyes
; then
16422 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16427 /* Override any GCC internal prototype to avoid an error.
16428 Use char because int might match the return type of a GCC
16429 builtin and then its argument prototype would still apply. */
16442 if ac_fn_c_try_link
"$LINENO"; then :
16443 ac_cv_lib_m_atan2
=yes
16445 ac_cv_lib_m_atan2
=no
16447 rm -f core conftest.err conftest.
$ac_objext \
16448 conftest
$ac_exeext conftest.
$ac_ext
16449 LIBS
=$ac_check_lib_save_LIBS
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16452 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16453 if test "x$ac_cv_lib_m_atan2" = x
""yes; then :
16455 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16460 $as_echo_n "checking for atan2l in -lm... " >&6; }
16461 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16462 $as_echo_n "(cached) " >&6
16464 ac_check_lib_save_LIBS
=$LIBS
16466 if test x
$gcc_no_link = xyes
; then
16467 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16472 /* Override any GCC internal prototype to avoid an error.
16473 Use char because int might match the return type of a GCC
16474 builtin and then its argument prototype would still apply. */
16487 if ac_fn_c_try_link
"$LINENO"; then :
16488 ac_cv_lib_m_atan2l
=yes
16490 ac_cv_lib_m_atan2l
=no
16492 rm -f core conftest.err conftest.
$ac_objext \
16493 conftest
$ac_exeext conftest.
$ac_ext
16494 LIBS
=$ac_check_lib_save_LIBS
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16497 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16498 if test "x$ac_cv_lib_m_atan2l" = x
""yes; then :
16500 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16505 $as_echo_n "checking for atanf in -lm... " >&6; }
16506 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16507 $as_echo_n "(cached) " >&6
16509 ac_check_lib_save_LIBS
=$LIBS
16511 if test x
$gcc_no_link = xyes
; then
16512 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16515 /* end confdefs.h. */
16517 /* Override any GCC internal prototype to avoid an error.
16518 Use char because int might match the return type of a GCC
16519 builtin and then its argument prototype would still apply. */
16532 if ac_fn_c_try_link
"$LINENO"; then :
16533 ac_cv_lib_m_atanf
=yes
16535 ac_cv_lib_m_atanf
=no
16537 rm -f core conftest.err conftest.
$ac_objext \
16538 conftest
$ac_exeext conftest.
$ac_ext
16539 LIBS
=$ac_check_lib_save_LIBS
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16542 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16543 if test "x$ac_cv_lib_m_atanf" = x
""yes; then :
16545 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16550 $as_echo_n "checking for atan in -lm... " >&6; }
16551 if test "${ac_cv_lib_m_atan+set}" = set; then :
16552 $as_echo_n "(cached) " >&6
16554 ac_check_lib_save_LIBS
=$LIBS
16556 if test x
$gcc_no_link = xyes
; then
16557 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16560 /* end confdefs.h. */
16562 /* Override any GCC internal prototype to avoid an error.
16563 Use char because int might match the return type of a GCC
16564 builtin and then its argument prototype would still apply. */
16577 if ac_fn_c_try_link
"$LINENO"; then :
16578 ac_cv_lib_m_atan
=yes
16580 ac_cv_lib_m_atan
=no
16582 rm -f core conftest.err conftest.
$ac_objext \
16583 conftest
$ac_exeext conftest.
$ac_ext
16584 LIBS
=$ac_check_lib_save_LIBS
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16587 $as_echo "$ac_cv_lib_m_atan" >&6; }
16588 if test "x$ac_cv_lib_m_atan" = x
""yes; then :
16590 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16595 $as_echo_n "checking for atanl in -lm... " >&6; }
16596 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16597 $as_echo_n "(cached) " >&6
16599 ac_check_lib_save_LIBS
=$LIBS
16601 if test x
$gcc_no_link = xyes
; then
16602 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16607 /* Override any GCC internal prototype to avoid an error.
16608 Use char because int might match the return type of a GCC
16609 builtin and then its argument prototype would still apply. */
16622 if ac_fn_c_try_link
"$LINENO"; then :
16623 ac_cv_lib_m_atanl
=yes
16625 ac_cv_lib_m_atanl
=no
16627 rm -f core conftest.err conftest.
$ac_objext \
16628 conftest
$ac_exeext conftest.
$ac_ext
16629 LIBS
=$ac_check_lib_save_LIBS
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16632 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16633 if test "x$ac_cv_lib_m_atanl" = x
""yes; then :
16635 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16640 $as_echo_n "checking for atanhf in -lm... " >&6; }
16641 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16642 $as_echo_n "(cached) " >&6
16644 ac_check_lib_save_LIBS
=$LIBS
16646 if test x
$gcc_no_link = xyes
; then
16647 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16652 /* Override any GCC internal prototype to avoid an error.
16653 Use char because int might match the return type of a GCC
16654 builtin and then its argument prototype would still apply. */
16667 if ac_fn_c_try_link
"$LINENO"; then :
16668 ac_cv_lib_m_atanhf
=yes
16670 ac_cv_lib_m_atanhf
=no
16672 rm -f core conftest.err conftest.
$ac_objext \
16673 conftest
$ac_exeext conftest.
$ac_ext
16674 LIBS
=$ac_check_lib_save_LIBS
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16677 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16678 if test "x$ac_cv_lib_m_atanhf" = x
""yes; then :
16680 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16685 $as_echo_n "checking for atanh in -lm... " >&6; }
16686 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16687 $as_echo_n "(cached) " >&6
16689 ac_check_lib_save_LIBS
=$LIBS
16691 if test x
$gcc_no_link = xyes
; then
16692 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16697 /* Override any GCC internal prototype to avoid an error.
16698 Use char because int might match the return type of a GCC
16699 builtin and then its argument prototype would still apply. */
16712 if ac_fn_c_try_link
"$LINENO"; then :
16713 ac_cv_lib_m_atanh
=yes
16715 ac_cv_lib_m_atanh
=no
16717 rm -f core conftest.err conftest.
$ac_objext \
16718 conftest
$ac_exeext conftest.
$ac_ext
16719 LIBS
=$ac_check_lib_save_LIBS
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16722 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16723 if test "x$ac_cv_lib_m_atanh" = x
""yes; then :
16725 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16730 $as_echo_n "checking for atanhl in -lm... " >&6; }
16731 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16732 $as_echo_n "(cached) " >&6
16734 ac_check_lib_save_LIBS
=$LIBS
16736 if test x
$gcc_no_link = xyes
; then
16737 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16757 if ac_fn_c_try_link
"$LINENO"; then :
16758 ac_cv_lib_m_atanhl
=yes
16760 ac_cv_lib_m_atanhl
=no
16762 rm -f core conftest.err conftest.
$ac_objext \
16763 conftest
$ac_exeext conftest.
$ac_ext
16764 LIBS
=$ac_check_lib_save_LIBS
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16767 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16768 if test "x$ac_cv_lib_m_atanhl" = x
""yes; then :
16770 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16775 $as_echo_n "checking for cargf in -lm... " >&6; }
16776 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16777 $as_echo_n "(cached) " >&6
16779 ac_check_lib_save_LIBS
=$LIBS
16781 if test x
$gcc_no_link = xyes
; then
16782 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16787 /* Override any GCC internal prototype to avoid an error.
16788 Use char because int might match the return type of a GCC
16789 builtin and then its argument prototype would still apply. */
16802 if ac_fn_c_try_link
"$LINENO"; then :
16803 ac_cv_lib_m_cargf
=yes
16805 ac_cv_lib_m_cargf
=no
16807 rm -f core conftest.err conftest.
$ac_objext \
16808 conftest
$ac_exeext conftest.
$ac_ext
16809 LIBS
=$ac_check_lib_save_LIBS
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16812 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16813 if test "x$ac_cv_lib_m_cargf" = x
""yes; then :
16815 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16820 $as_echo_n "checking for carg in -lm... " >&6; }
16821 if test "${ac_cv_lib_m_carg+set}" = set; then :
16822 $as_echo_n "(cached) " >&6
16824 ac_check_lib_save_LIBS
=$LIBS
16826 if test x
$gcc_no_link = xyes
; then
16827 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16847 if ac_fn_c_try_link
"$LINENO"; then :
16848 ac_cv_lib_m_carg
=yes
16850 ac_cv_lib_m_carg
=no
16852 rm -f core conftest.err conftest.
$ac_objext \
16853 conftest
$ac_exeext conftest.
$ac_ext
16854 LIBS
=$ac_check_lib_save_LIBS
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16857 $as_echo "$ac_cv_lib_m_carg" >&6; }
16858 if test "x$ac_cv_lib_m_carg" = x
""yes; then :
16860 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16865 $as_echo_n "checking for cargl in -lm... " >&6; }
16866 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16869 ac_check_lib_save_LIBS
=$LIBS
16871 if test x
$gcc_no_link = xyes
; then
16872 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16877 /* Override any GCC internal prototype to avoid an error.
16878 Use char because int might match the return type of a GCC
16879 builtin and then its argument prototype would still apply. */
16892 if ac_fn_c_try_link
"$LINENO"; then :
16893 ac_cv_lib_m_cargl
=yes
16895 ac_cv_lib_m_cargl
=no
16897 rm -f core conftest.err conftest.
$ac_objext \
16898 conftest
$ac_exeext conftest.
$ac_ext
16899 LIBS
=$ac_check_lib_save_LIBS
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16902 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16903 if test "x$ac_cv_lib_m_cargl" = x
""yes; then :
16905 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16910 $as_echo_n "checking for ceilf in -lm... " >&6; }
16911 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16912 $as_echo_n "(cached) " >&6
16914 ac_check_lib_save_LIBS
=$LIBS
16916 if test x
$gcc_no_link = xyes
; then
16917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16922 /* Override any GCC internal prototype to avoid an error.
16923 Use char because int might match the return type of a GCC
16924 builtin and then its argument prototype would still apply. */
16937 if ac_fn_c_try_link
"$LINENO"; then :
16938 ac_cv_lib_m_ceilf
=yes
16940 ac_cv_lib_m_ceilf
=no
16942 rm -f core conftest.err conftest.
$ac_objext \
16943 conftest
$ac_exeext conftest.
$ac_ext
16944 LIBS
=$ac_check_lib_save_LIBS
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
16947 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
16948 if test "x$ac_cv_lib_m_ceilf" = x
""yes; then :
16950 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
16955 $as_echo_n "checking for ceil in -lm... " >&6; }
16956 if test "${ac_cv_lib_m_ceil+set}" = set; then :
16957 $as_echo_n "(cached) " >&6
16959 ac_check_lib_save_LIBS
=$LIBS
16961 if test x
$gcc_no_link = xyes
; then
16962 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16967 /* Override any GCC internal prototype to avoid an error.
16968 Use char because int might match the return type of a GCC
16969 builtin and then its argument prototype would still apply. */
16982 if ac_fn_c_try_link
"$LINENO"; then :
16983 ac_cv_lib_m_ceil
=yes
16985 ac_cv_lib_m_ceil
=no
16987 rm -f core conftest.err conftest.
$ac_objext \
16988 conftest
$ac_exeext conftest.
$ac_ext
16989 LIBS
=$ac_check_lib_save_LIBS
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
16992 $as_echo "$ac_cv_lib_m_ceil" >&6; }
16993 if test "x$ac_cv_lib_m_ceil" = x
""yes; then :
16995 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17000 $as_echo_n "checking for ceill in -lm... " >&6; }
17001 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17002 $as_echo_n "(cached) " >&6
17004 ac_check_lib_save_LIBS
=$LIBS
17006 if test x
$gcc_no_link = xyes
; then
17007 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17012 /* Override any GCC internal prototype to avoid an error.
17013 Use char because int might match the return type of a GCC
17014 builtin and then its argument prototype would still apply. */
17027 if ac_fn_c_try_link
"$LINENO"; then :
17028 ac_cv_lib_m_ceill
=yes
17030 ac_cv_lib_m_ceill
=no
17032 rm -f core conftest.err conftest.
$ac_objext \
17033 conftest
$ac_exeext conftest.
$ac_ext
17034 LIBS
=$ac_check_lib_save_LIBS
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17037 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17038 if test "x$ac_cv_lib_m_ceill" = x
""yes; then :
17040 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17045 $as_echo_n "checking for copysignf in -lm... " >&6; }
17046 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17047 $as_echo_n "(cached) " >&6
17049 ac_check_lib_save_LIBS
=$LIBS
17051 if test x
$gcc_no_link = xyes
; then
17052 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17067 return copysignf ();
17072 if ac_fn_c_try_link
"$LINENO"; then :
17073 ac_cv_lib_m_copysignf
=yes
17075 ac_cv_lib_m_copysignf
=no
17077 rm -f core conftest.err conftest.
$ac_objext \
17078 conftest
$ac_exeext conftest.
$ac_ext
17079 LIBS
=$ac_check_lib_save_LIBS
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17082 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17083 if test "x$ac_cv_lib_m_copysignf" = x
""yes; then :
17085 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17090 $as_echo_n "checking for copysign in -lm... " >&6; }
17091 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17092 $as_echo_n "(cached) " >&6
17094 ac_check_lib_save_LIBS
=$LIBS
17096 if test x
$gcc_no_link = xyes
; then
17097 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17102 /* Override any GCC internal prototype to avoid an error.
17103 Use char because int might match the return type of a GCC
17104 builtin and then its argument prototype would still apply. */
17112 return copysign ();
17117 if ac_fn_c_try_link
"$LINENO"; then :
17118 ac_cv_lib_m_copysign
=yes
17120 ac_cv_lib_m_copysign
=no
17122 rm -f core conftest.err conftest.
$ac_objext \
17123 conftest
$ac_exeext conftest.
$ac_ext
17124 LIBS
=$ac_check_lib_save_LIBS
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17127 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17128 if test "x$ac_cv_lib_m_copysign" = x
""yes; then :
17130 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17135 $as_echo_n "checking for copysignl in -lm... " >&6; }
17136 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17137 $as_echo_n "(cached) " >&6
17139 ac_check_lib_save_LIBS
=$LIBS
17141 if test x
$gcc_no_link = xyes
; then
17142 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17147 /* Override any GCC internal prototype to avoid an error.
17148 Use char because int might match the return type of a GCC
17149 builtin and then its argument prototype would still apply. */
17157 return copysignl ();
17162 if ac_fn_c_try_link
"$LINENO"; then :
17163 ac_cv_lib_m_copysignl
=yes
17165 ac_cv_lib_m_copysignl
=no
17167 rm -f core conftest.err conftest.
$ac_objext \
17168 conftest
$ac_exeext conftest.
$ac_ext
17169 LIBS
=$ac_check_lib_save_LIBS
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17172 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17173 if test "x$ac_cv_lib_m_copysignl" = x
""yes; then :
17175 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17180 $as_echo_n "checking for cosf in -lm... " >&6; }
17181 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17182 $as_echo_n "(cached) " >&6
17184 ac_check_lib_save_LIBS
=$LIBS
17186 if test x
$gcc_no_link = xyes
; then
17187 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17192 /* Override any GCC internal prototype to avoid an error.
17193 Use char because int might match the return type of a GCC
17194 builtin and then its argument prototype would still apply. */
17207 if ac_fn_c_try_link
"$LINENO"; then :
17208 ac_cv_lib_m_cosf
=yes
17210 ac_cv_lib_m_cosf
=no
17212 rm -f core conftest.err conftest.
$ac_objext \
17213 conftest
$ac_exeext conftest.
$ac_ext
17214 LIBS
=$ac_check_lib_save_LIBS
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17217 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17218 if test "x$ac_cv_lib_m_cosf" = x
""yes; then :
17220 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17225 $as_echo_n "checking for cos in -lm... " >&6; }
17226 if test "${ac_cv_lib_m_cos+set}" = set; then :
17227 $as_echo_n "(cached) " >&6
17229 ac_check_lib_save_LIBS
=$LIBS
17231 if test x
$gcc_no_link = xyes
; then
17232 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17237 /* Override any GCC internal prototype to avoid an error.
17238 Use char because int might match the return type of a GCC
17239 builtin and then its argument prototype would still apply. */
17252 if ac_fn_c_try_link
"$LINENO"; then :
17253 ac_cv_lib_m_cos
=yes
17257 rm -f core conftest.err conftest.
$ac_objext \
17258 conftest
$ac_exeext conftest.
$ac_ext
17259 LIBS
=$ac_check_lib_save_LIBS
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17262 $as_echo "$ac_cv_lib_m_cos" >&6; }
17263 if test "x$ac_cv_lib_m_cos" = x
""yes; then :
17265 $as_echo "#define HAVE_COS 1" >>confdefs.h
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17270 $as_echo_n "checking for cosl in -lm... " >&6; }
17271 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17272 $as_echo_n "(cached) " >&6
17274 ac_check_lib_save_LIBS
=$LIBS
17276 if test x
$gcc_no_link = xyes
; then
17277 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17282 /* Override any GCC internal prototype to avoid an error.
17283 Use char because int might match the return type of a GCC
17284 builtin and then its argument prototype would still apply. */
17297 if ac_fn_c_try_link
"$LINENO"; then :
17298 ac_cv_lib_m_cosl
=yes
17300 ac_cv_lib_m_cosl
=no
17302 rm -f core conftest.err conftest.
$ac_objext \
17303 conftest
$ac_exeext conftest.
$ac_ext
17304 LIBS
=$ac_check_lib_save_LIBS
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17307 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17308 if test "x$ac_cv_lib_m_cosl" = x
""yes; then :
17310 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17315 $as_echo_n "checking for ccosf in -lm... " >&6; }
17316 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17317 $as_echo_n "(cached) " >&6
17319 ac_check_lib_save_LIBS
=$LIBS
17321 if test x
$gcc_no_link = xyes
; then
17322 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17327 /* Override any GCC internal prototype to avoid an error.
17328 Use char because int might match the return type of a GCC
17329 builtin and then its argument prototype would still apply. */
17342 if ac_fn_c_try_link
"$LINENO"; then :
17343 ac_cv_lib_m_ccosf
=yes
17345 ac_cv_lib_m_ccosf
=no
17347 rm -f core conftest.err conftest.
$ac_objext \
17348 conftest
$ac_exeext conftest.
$ac_ext
17349 LIBS
=$ac_check_lib_save_LIBS
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17352 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17353 if test "x$ac_cv_lib_m_ccosf" = x
""yes; then :
17355 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17360 $as_echo_n "checking for ccos in -lm... " >&6; }
17361 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17362 $as_echo_n "(cached) " >&6
17364 ac_check_lib_save_LIBS
=$LIBS
17366 if test x
$gcc_no_link = xyes
; then
17367 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17372 /* Override any GCC internal prototype to avoid an error.
17373 Use char because int might match the return type of a GCC
17374 builtin and then its argument prototype would still apply. */
17387 if ac_fn_c_try_link
"$LINENO"; then :
17388 ac_cv_lib_m_ccos
=yes
17390 ac_cv_lib_m_ccos
=no
17392 rm -f core conftest.err conftest.
$ac_objext \
17393 conftest
$ac_exeext conftest.
$ac_ext
17394 LIBS
=$ac_check_lib_save_LIBS
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17397 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17398 if test "x$ac_cv_lib_m_ccos" = x
""yes; then :
17400 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17405 $as_echo_n "checking for ccosl in -lm... " >&6; }
17406 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17407 $as_echo_n "(cached) " >&6
17409 ac_check_lib_save_LIBS
=$LIBS
17411 if test x
$gcc_no_link = xyes
; then
17412 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17432 if ac_fn_c_try_link
"$LINENO"; then :
17433 ac_cv_lib_m_ccosl
=yes
17435 ac_cv_lib_m_ccosl
=no
17437 rm -f core conftest.err conftest.
$ac_objext \
17438 conftest
$ac_exeext conftest.
$ac_ext
17439 LIBS
=$ac_check_lib_save_LIBS
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17442 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17443 if test "x$ac_cv_lib_m_ccosl" = x
""yes; then :
17445 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17450 $as_echo_n "checking for coshf in -lm... " >&6; }
17451 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17452 $as_echo_n "(cached) " >&6
17454 ac_check_lib_save_LIBS
=$LIBS
17456 if test x
$gcc_no_link = xyes
; then
17457 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17462 /* Override any GCC internal prototype to avoid an error.
17463 Use char because int might match the return type of a GCC
17464 builtin and then its argument prototype would still apply. */
17477 if ac_fn_c_try_link
"$LINENO"; then :
17478 ac_cv_lib_m_coshf
=yes
17480 ac_cv_lib_m_coshf
=no
17482 rm -f core conftest.err conftest.
$ac_objext \
17483 conftest
$ac_exeext conftest.
$ac_ext
17484 LIBS
=$ac_check_lib_save_LIBS
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17487 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17488 if test "x$ac_cv_lib_m_coshf" = x
""yes; then :
17490 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17495 $as_echo_n "checking for cosh in -lm... " >&6; }
17496 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17497 $as_echo_n "(cached) " >&6
17499 ac_check_lib_save_LIBS
=$LIBS
17501 if test x
$gcc_no_link = xyes
; then
17502 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17507 /* Override any GCC internal prototype to avoid an error.
17508 Use char because int might match the return type of a GCC
17509 builtin and then its argument prototype would still apply. */
17522 if ac_fn_c_try_link
"$LINENO"; then :
17523 ac_cv_lib_m_cosh
=yes
17525 ac_cv_lib_m_cosh
=no
17527 rm -f core conftest.err conftest.
$ac_objext \
17528 conftest
$ac_exeext conftest.
$ac_ext
17529 LIBS
=$ac_check_lib_save_LIBS
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17532 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17533 if test "x$ac_cv_lib_m_cosh" = x
""yes; then :
17535 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17540 $as_echo_n "checking for coshl in -lm... " >&6; }
17541 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17542 $as_echo_n "(cached) " >&6
17544 ac_check_lib_save_LIBS
=$LIBS
17546 if test x
$gcc_no_link = xyes
; then
17547 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17552 /* Override any GCC internal prototype to avoid an error.
17553 Use char because int might match the return type of a GCC
17554 builtin and then its argument prototype would still apply. */
17567 if ac_fn_c_try_link
"$LINENO"; then :
17568 ac_cv_lib_m_coshl
=yes
17570 ac_cv_lib_m_coshl
=no
17572 rm -f core conftest.err conftest.
$ac_objext \
17573 conftest
$ac_exeext conftest.
$ac_ext
17574 LIBS
=$ac_check_lib_save_LIBS
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17577 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17578 if test "x$ac_cv_lib_m_coshl" = x
""yes; then :
17580 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17585 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17586 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17587 $as_echo_n "(cached) " >&6
17589 ac_check_lib_save_LIBS
=$LIBS
17591 if test x
$gcc_no_link = xyes
; then
17592 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17597 /* Override any GCC internal prototype to avoid an error.
17598 Use char because int might match the return type of a GCC
17599 builtin and then its argument prototype would still apply. */
17612 if ac_fn_c_try_link
"$LINENO"; then :
17613 ac_cv_lib_m_ccoshf
=yes
17615 ac_cv_lib_m_ccoshf
=no
17617 rm -f core conftest.err conftest.
$ac_objext \
17618 conftest
$ac_exeext conftest.
$ac_ext
17619 LIBS
=$ac_check_lib_save_LIBS
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17622 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17623 if test "x$ac_cv_lib_m_ccoshf" = x
""yes; then :
17625 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17630 $as_echo_n "checking for ccosh in -lm... " >&6; }
17631 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17632 $as_echo_n "(cached) " >&6
17634 ac_check_lib_save_LIBS
=$LIBS
17636 if test x
$gcc_no_link = xyes
; then
17637 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17642 /* Override any GCC internal prototype to avoid an error.
17643 Use char because int might match the return type of a GCC
17644 builtin and then its argument prototype would still apply. */
17657 if ac_fn_c_try_link
"$LINENO"; then :
17658 ac_cv_lib_m_ccosh
=yes
17660 ac_cv_lib_m_ccosh
=no
17662 rm -f core conftest.err conftest.
$ac_objext \
17663 conftest
$ac_exeext conftest.
$ac_ext
17664 LIBS
=$ac_check_lib_save_LIBS
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17667 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17668 if test "x$ac_cv_lib_m_ccosh" = x
""yes; then :
17670 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17675 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17676 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17677 $as_echo_n "(cached) " >&6
17679 ac_check_lib_save_LIBS
=$LIBS
17681 if test x
$gcc_no_link = xyes
; then
17682 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17687 /* Override any GCC internal prototype to avoid an error.
17688 Use char because int might match the return type of a GCC
17689 builtin and then its argument prototype would still apply. */
17702 if ac_fn_c_try_link
"$LINENO"; then :
17703 ac_cv_lib_m_ccoshl
=yes
17705 ac_cv_lib_m_ccoshl
=no
17707 rm -f core conftest.err conftest.
$ac_objext \
17708 conftest
$ac_exeext conftest.
$ac_ext
17709 LIBS
=$ac_check_lib_save_LIBS
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17712 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17713 if test "x$ac_cv_lib_m_ccoshl" = x
""yes; then :
17715 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17720 $as_echo_n "checking for expf in -lm... " >&6; }
17721 if test "${ac_cv_lib_m_expf+set}" = set; then :
17722 $as_echo_n "(cached) " >&6
17724 ac_check_lib_save_LIBS
=$LIBS
17726 if test x
$gcc_no_link = xyes
; then
17727 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17732 /* Override any GCC internal prototype to avoid an error.
17733 Use char because int might match the return type of a GCC
17734 builtin and then its argument prototype would still apply. */
17747 if ac_fn_c_try_link
"$LINENO"; then :
17748 ac_cv_lib_m_expf
=yes
17750 ac_cv_lib_m_expf
=no
17752 rm -f core conftest.err conftest.
$ac_objext \
17753 conftest
$ac_exeext conftest.
$ac_ext
17754 LIBS
=$ac_check_lib_save_LIBS
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17757 $as_echo "$ac_cv_lib_m_expf" >&6; }
17758 if test "x$ac_cv_lib_m_expf" = x
""yes; then :
17760 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17765 $as_echo_n "checking for exp in -lm... " >&6; }
17766 if test "${ac_cv_lib_m_exp+set}" = set; then :
17767 $as_echo_n "(cached) " >&6
17769 ac_check_lib_save_LIBS
=$LIBS
17771 if test x
$gcc_no_link = xyes
; then
17772 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17777 /* Override any GCC internal prototype to avoid an error.
17778 Use char because int might match the return type of a GCC
17779 builtin and then its argument prototype would still apply. */
17792 if ac_fn_c_try_link
"$LINENO"; then :
17793 ac_cv_lib_m_exp
=yes
17797 rm -f core conftest.err conftest.
$ac_objext \
17798 conftest
$ac_exeext conftest.
$ac_ext
17799 LIBS
=$ac_check_lib_save_LIBS
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17802 $as_echo "$ac_cv_lib_m_exp" >&6; }
17803 if test "x$ac_cv_lib_m_exp" = x
""yes; then :
17805 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17810 $as_echo_n "checking for expl in -lm... " >&6; }
17811 if test "${ac_cv_lib_m_expl+set}" = set; then :
17812 $as_echo_n "(cached) " >&6
17814 ac_check_lib_save_LIBS
=$LIBS
17816 if test x
$gcc_no_link = xyes
; then
17817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17822 /* Override any GCC internal prototype to avoid an error.
17823 Use char because int might match the return type of a GCC
17824 builtin and then its argument prototype would still apply. */
17837 if ac_fn_c_try_link
"$LINENO"; then :
17838 ac_cv_lib_m_expl
=yes
17840 ac_cv_lib_m_expl
=no
17842 rm -f core conftest.err conftest.
$ac_objext \
17843 conftest
$ac_exeext conftest.
$ac_ext
17844 LIBS
=$ac_check_lib_save_LIBS
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17847 $as_echo "$ac_cv_lib_m_expl" >&6; }
17848 if test "x$ac_cv_lib_m_expl" = x
""yes; then :
17850 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17855 $as_echo_n "checking for cexpf in -lm... " >&6; }
17856 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17857 $as_echo_n "(cached) " >&6
17859 ac_check_lib_save_LIBS
=$LIBS
17861 if test x
$gcc_no_link = xyes
; then
17862 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17867 /* Override any GCC internal prototype to avoid an error.
17868 Use char because int might match the return type of a GCC
17869 builtin and then its argument prototype would still apply. */
17882 if ac_fn_c_try_link
"$LINENO"; then :
17883 ac_cv_lib_m_cexpf
=yes
17885 ac_cv_lib_m_cexpf
=no
17887 rm -f core conftest.err conftest.
$ac_objext \
17888 conftest
$ac_exeext conftest.
$ac_ext
17889 LIBS
=$ac_check_lib_save_LIBS
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17892 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17893 if test "x$ac_cv_lib_m_cexpf" = x
""yes; then :
17895 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17900 $as_echo_n "checking for cexp in -lm... " >&6; }
17901 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17902 $as_echo_n "(cached) " >&6
17904 ac_check_lib_save_LIBS
=$LIBS
17906 if test x
$gcc_no_link = xyes
; then
17907 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17912 /* Override any GCC internal prototype to avoid an error.
17913 Use char because int might match the return type of a GCC
17914 builtin and then its argument prototype would still apply. */
17927 if ac_fn_c_try_link
"$LINENO"; then :
17928 ac_cv_lib_m_cexp
=yes
17930 ac_cv_lib_m_cexp
=no
17932 rm -f core conftest.err conftest.
$ac_objext \
17933 conftest
$ac_exeext conftest.
$ac_ext
17934 LIBS
=$ac_check_lib_save_LIBS
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17937 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17938 if test "x$ac_cv_lib_m_cexp" = x
""yes; then :
17940 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
17945 $as_echo_n "checking for cexpl in -lm... " >&6; }
17946 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17949 ac_check_lib_save_LIBS
=$LIBS
17951 if test x
$gcc_no_link = xyes
; then
17952 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 /* Override any GCC internal prototype to avoid an error.
17958 Use char because int might match the return type of a GCC
17959 builtin and then its argument prototype would still apply. */
17972 if ac_fn_c_try_link
"$LINENO"; then :
17973 ac_cv_lib_m_cexpl
=yes
17975 ac_cv_lib_m_cexpl
=no
17977 rm -f core conftest.err conftest.
$ac_objext \
17978 conftest
$ac_exeext conftest.
$ac_ext
17979 LIBS
=$ac_check_lib_save_LIBS
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
17982 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
17983 if test "x$ac_cv_lib_m_cexpl" = x
""yes; then :
17985 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
17990 $as_echo_n "checking for fabsf in -lm... " >&6; }
17991 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
17992 $as_echo_n "(cached) " >&6
17994 ac_check_lib_save_LIBS
=$LIBS
17996 if test x
$gcc_no_link = xyes
; then
17997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h. */
18002 /* Override any GCC internal prototype to avoid an error.
18003 Use char because int might match the return type of a GCC
18004 builtin and then its argument prototype would still apply. */
18017 if ac_fn_c_try_link
"$LINENO"; then :
18018 ac_cv_lib_m_fabsf
=yes
18020 ac_cv_lib_m_fabsf
=no
18022 rm -f core conftest.err conftest.
$ac_objext \
18023 conftest
$ac_exeext conftest.
$ac_ext
18024 LIBS
=$ac_check_lib_save_LIBS
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18027 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18028 if test "x$ac_cv_lib_m_fabsf" = x
""yes; then :
18030 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18035 $as_echo_n "checking for fabs in -lm... " >&6; }
18036 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18037 $as_echo_n "(cached) " >&6
18039 ac_check_lib_save_LIBS
=$LIBS
18041 if test x
$gcc_no_link = xyes
; then
18042 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18047 /* Override any GCC internal prototype to avoid an error.
18048 Use char because int might match the return type of a GCC
18049 builtin and then its argument prototype would still apply. */
18062 if ac_fn_c_try_link
"$LINENO"; then :
18063 ac_cv_lib_m_fabs
=yes
18065 ac_cv_lib_m_fabs
=no
18067 rm -f core conftest.err conftest.
$ac_objext \
18068 conftest
$ac_exeext conftest.
$ac_ext
18069 LIBS
=$ac_check_lib_save_LIBS
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18072 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18073 if test "x$ac_cv_lib_m_fabs" = x
""yes; then :
18075 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18080 $as_echo_n "checking for fabsl in -lm... " >&6; }
18081 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18082 $as_echo_n "(cached) " >&6
18084 ac_check_lib_save_LIBS
=$LIBS
18086 if test x
$gcc_no_link = xyes
; then
18087 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18092 /* Override any GCC internal prototype to avoid an error.
18093 Use char because int might match the return type of a GCC
18094 builtin and then its argument prototype would still apply. */
18107 if ac_fn_c_try_link
"$LINENO"; then :
18108 ac_cv_lib_m_fabsl
=yes
18110 ac_cv_lib_m_fabsl
=no
18112 rm -f core conftest.err conftest.
$ac_objext \
18113 conftest
$ac_exeext conftest.
$ac_ext
18114 LIBS
=$ac_check_lib_save_LIBS
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18117 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18118 if test "x$ac_cv_lib_m_fabsl" = x
""yes; then :
18120 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18125 $as_echo_n "checking for cabsf in -lm... " >&6; }
18126 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18127 $as_echo_n "(cached) " >&6
18129 ac_check_lib_save_LIBS
=$LIBS
18131 if test x
$gcc_no_link = xyes
; then
18132 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18137 /* Override any GCC internal prototype to avoid an error.
18138 Use char because int might match the return type of a GCC
18139 builtin and then its argument prototype would still apply. */
18152 if ac_fn_c_try_link
"$LINENO"; then :
18153 ac_cv_lib_m_cabsf
=yes
18155 ac_cv_lib_m_cabsf
=no
18157 rm -f core conftest.err conftest.
$ac_objext \
18158 conftest
$ac_exeext conftest.
$ac_ext
18159 LIBS
=$ac_check_lib_save_LIBS
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18162 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18163 if test "x$ac_cv_lib_m_cabsf" = x
""yes; then :
18165 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18170 $as_echo_n "checking for cabs in -lm... " >&6; }
18171 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18172 $as_echo_n "(cached) " >&6
18174 ac_check_lib_save_LIBS
=$LIBS
18176 if test x
$gcc_no_link = xyes
; then
18177 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18180 /* end confdefs.h. */
18182 /* Override any GCC internal prototype to avoid an error.
18183 Use char because int might match the return type of a GCC
18184 builtin and then its argument prototype would still apply. */
18197 if ac_fn_c_try_link
"$LINENO"; then :
18198 ac_cv_lib_m_cabs
=yes
18200 ac_cv_lib_m_cabs
=no
18202 rm -f core conftest.err conftest.
$ac_objext \
18203 conftest
$ac_exeext conftest.
$ac_ext
18204 LIBS
=$ac_check_lib_save_LIBS
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18207 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18208 if test "x$ac_cv_lib_m_cabs" = x
""yes; then :
18210 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18215 $as_echo_n "checking for cabsl in -lm... " >&6; }
18216 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18217 $as_echo_n "(cached) " >&6
18219 ac_check_lib_save_LIBS
=$LIBS
18221 if test x
$gcc_no_link = xyes
; then
18222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18227 /* Override any GCC internal prototype to avoid an error.
18228 Use char because int might match the return type of a GCC
18229 builtin and then its argument prototype would still apply. */
18242 if ac_fn_c_try_link
"$LINENO"; then :
18243 ac_cv_lib_m_cabsl
=yes
18245 ac_cv_lib_m_cabsl
=no
18247 rm -f core conftest.err conftest.
$ac_objext \
18248 conftest
$ac_exeext conftest.
$ac_ext
18249 LIBS
=$ac_check_lib_save_LIBS
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18252 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18253 if test "x$ac_cv_lib_m_cabsl" = x
""yes; then :
18255 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18260 $as_echo_n "checking for floorf in -lm... " >&6; }
18261 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18262 $as_echo_n "(cached) " >&6
18264 ac_check_lib_save_LIBS
=$LIBS
18266 if test x
$gcc_no_link = xyes
; then
18267 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h. */
18272 /* Override any GCC internal prototype to avoid an error.
18273 Use char because int might match the return type of a GCC
18274 builtin and then its argument prototype would still apply. */
18287 if ac_fn_c_try_link
"$LINENO"; then :
18288 ac_cv_lib_m_floorf
=yes
18290 ac_cv_lib_m_floorf
=no
18292 rm -f core conftest.err conftest.
$ac_objext \
18293 conftest
$ac_exeext conftest.
$ac_ext
18294 LIBS
=$ac_check_lib_save_LIBS
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18297 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18298 if test "x$ac_cv_lib_m_floorf" = x
""yes; then :
18300 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18305 $as_echo_n "checking for floor in -lm... " >&6; }
18306 if test "${ac_cv_lib_m_floor+set}" = set; then :
18307 $as_echo_n "(cached) " >&6
18309 ac_check_lib_save_LIBS
=$LIBS
18311 if test x
$gcc_no_link = xyes
; then
18312 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18317 /* Override any GCC internal prototype to avoid an error.
18318 Use char because int might match the return type of a GCC
18319 builtin and then its argument prototype would still apply. */
18332 if ac_fn_c_try_link
"$LINENO"; then :
18333 ac_cv_lib_m_floor
=yes
18335 ac_cv_lib_m_floor
=no
18337 rm -f core conftest.err conftest.
$ac_objext \
18338 conftest
$ac_exeext conftest.
$ac_ext
18339 LIBS
=$ac_check_lib_save_LIBS
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18342 $as_echo "$ac_cv_lib_m_floor" >&6; }
18343 if test "x$ac_cv_lib_m_floor" = x
""yes; then :
18345 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18350 $as_echo_n "checking for floorl in -lm... " >&6; }
18351 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18352 $as_echo_n "(cached) " >&6
18354 ac_check_lib_save_LIBS
=$LIBS
18356 if test x
$gcc_no_link = xyes
; then
18357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18362 /* Override any GCC internal prototype to avoid an error.
18363 Use char because int might match the return type of a GCC
18364 builtin and then its argument prototype would still apply. */
18377 if ac_fn_c_try_link
"$LINENO"; then :
18378 ac_cv_lib_m_floorl
=yes
18380 ac_cv_lib_m_floorl
=no
18382 rm -f core conftest.err conftest.
$ac_objext \
18383 conftest
$ac_exeext conftest.
$ac_ext
18384 LIBS
=$ac_check_lib_save_LIBS
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18387 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18388 if test "x$ac_cv_lib_m_floorl" = x
""yes; then :
18390 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18395 $as_echo_n "checking for fmodf in -lm... " >&6; }
18396 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18397 $as_echo_n "(cached) " >&6
18399 ac_check_lib_save_LIBS
=$LIBS
18401 if test x
$gcc_no_link = xyes
; then
18402 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18407 /* Override any GCC internal prototype to avoid an error.
18408 Use char because int might match the return type of a GCC
18409 builtin and then its argument prototype would still apply. */
18422 if ac_fn_c_try_link
"$LINENO"; then :
18423 ac_cv_lib_m_fmodf
=yes
18425 ac_cv_lib_m_fmodf
=no
18427 rm -f core conftest.err conftest.
$ac_objext \
18428 conftest
$ac_exeext conftest.
$ac_ext
18429 LIBS
=$ac_check_lib_save_LIBS
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18432 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18433 if test "x$ac_cv_lib_m_fmodf" = x
""yes; then :
18435 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18440 $as_echo_n "checking for fmod in -lm... " >&6; }
18441 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18444 ac_check_lib_save_LIBS
=$LIBS
18446 if test x
$gcc_no_link = xyes
; then
18447 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18450 /* end confdefs.h. */
18452 /* Override any GCC internal prototype to avoid an error.
18453 Use char because int might match the return type of a GCC
18454 builtin and then its argument prototype would still apply. */
18467 if ac_fn_c_try_link
"$LINENO"; then :
18468 ac_cv_lib_m_fmod
=yes
18470 ac_cv_lib_m_fmod
=no
18472 rm -f core conftest.err conftest.
$ac_objext \
18473 conftest
$ac_exeext conftest.
$ac_ext
18474 LIBS
=$ac_check_lib_save_LIBS
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18477 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18478 if test "x$ac_cv_lib_m_fmod" = x
""yes; then :
18480 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18485 $as_echo_n "checking for fmodl in -lm... " >&6; }
18486 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18487 $as_echo_n "(cached) " >&6
18489 ac_check_lib_save_LIBS
=$LIBS
18491 if test x
$gcc_no_link = xyes
; then
18492 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18497 /* Override any GCC internal prototype to avoid an error.
18498 Use char because int might match the return type of a GCC
18499 builtin and then its argument prototype would still apply. */
18512 if ac_fn_c_try_link
"$LINENO"; then :
18513 ac_cv_lib_m_fmodl
=yes
18515 ac_cv_lib_m_fmodl
=no
18517 rm -f core conftest.err conftest.
$ac_objext \
18518 conftest
$ac_exeext conftest.
$ac_ext
18519 LIBS
=$ac_check_lib_save_LIBS
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18522 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18523 if test "x$ac_cv_lib_m_fmodl" = x
""yes; then :
18525 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18530 $as_echo_n "checking for frexpf in -lm... " >&6; }
18531 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18532 $as_echo_n "(cached) " >&6
18534 ac_check_lib_save_LIBS
=$LIBS
18536 if test x
$gcc_no_link = xyes
; then
18537 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18540 /* end confdefs.h. */
18542 /* Override any GCC internal prototype to avoid an error.
18543 Use char because int might match the return type of a GCC
18544 builtin and then its argument prototype would still apply. */
18557 if ac_fn_c_try_link
"$LINENO"; then :
18558 ac_cv_lib_m_frexpf
=yes
18560 ac_cv_lib_m_frexpf
=no
18562 rm -f core conftest.err conftest.
$ac_objext \
18563 conftest
$ac_exeext conftest.
$ac_ext
18564 LIBS
=$ac_check_lib_save_LIBS
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18567 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18568 if test "x$ac_cv_lib_m_frexpf" = x
""yes; then :
18570 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18575 $as_echo_n "checking for frexp in -lm... " >&6; }
18576 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18577 $as_echo_n "(cached) " >&6
18579 ac_check_lib_save_LIBS
=$LIBS
18581 if test x
$gcc_no_link = xyes
; then
18582 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18587 /* Override any GCC internal prototype to avoid an error.
18588 Use char because int might match the return type of a GCC
18589 builtin and then its argument prototype would still apply. */
18602 if ac_fn_c_try_link
"$LINENO"; then :
18603 ac_cv_lib_m_frexp
=yes
18605 ac_cv_lib_m_frexp
=no
18607 rm -f core conftest.err conftest.
$ac_objext \
18608 conftest
$ac_exeext conftest.
$ac_ext
18609 LIBS
=$ac_check_lib_save_LIBS
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18612 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18613 if test "x$ac_cv_lib_m_frexp" = x
""yes; then :
18615 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18620 $as_echo_n "checking for frexpl in -lm... " >&6; }
18621 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18622 $as_echo_n "(cached) " >&6
18624 ac_check_lib_save_LIBS
=$LIBS
18626 if test x
$gcc_no_link = xyes
; then
18627 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h. */
18632 /* Override any GCC internal prototype to avoid an error.
18633 Use char because int might match the return type of a GCC
18634 builtin and then its argument prototype would still apply. */
18647 if ac_fn_c_try_link
"$LINENO"; then :
18648 ac_cv_lib_m_frexpl
=yes
18650 ac_cv_lib_m_frexpl
=no
18652 rm -f core conftest.err conftest.
$ac_objext \
18653 conftest
$ac_exeext conftest.
$ac_ext
18654 LIBS
=$ac_check_lib_save_LIBS
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18657 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18658 if test "x$ac_cv_lib_m_frexpl" = x
""yes; then :
18660 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18665 $as_echo_n "checking for hypotf in -lm... " >&6; }
18666 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18667 $as_echo_n "(cached) " >&6
18669 ac_check_lib_save_LIBS
=$LIBS
18671 if test x
$gcc_no_link = xyes
; then
18672 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18677 /* Override any GCC internal prototype to avoid an error.
18678 Use char because int might match the return type of a GCC
18679 builtin and then its argument prototype would still apply. */
18692 if ac_fn_c_try_link
"$LINENO"; then :
18693 ac_cv_lib_m_hypotf
=yes
18695 ac_cv_lib_m_hypotf
=no
18697 rm -f core conftest.err conftest.
$ac_objext \
18698 conftest
$ac_exeext conftest.
$ac_ext
18699 LIBS
=$ac_check_lib_save_LIBS
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18702 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18703 if test "x$ac_cv_lib_m_hypotf" = x
""yes; then :
18705 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18710 $as_echo_n "checking for hypot in -lm... " >&6; }
18711 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18712 $as_echo_n "(cached) " >&6
18714 ac_check_lib_save_LIBS
=$LIBS
18716 if test x
$gcc_no_link = xyes
; then
18717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18722 /* Override any GCC internal prototype to avoid an error.
18723 Use char because int might match the return type of a GCC
18724 builtin and then its argument prototype would still apply. */
18737 if ac_fn_c_try_link
"$LINENO"; then :
18738 ac_cv_lib_m_hypot
=yes
18740 ac_cv_lib_m_hypot
=no
18742 rm -f core conftest.err conftest.
$ac_objext \
18743 conftest
$ac_exeext conftest.
$ac_ext
18744 LIBS
=$ac_check_lib_save_LIBS
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18747 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18748 if test "x$ac_cv_lib_m_hypot" = x
""yes; then :
18750 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18755 $as_echo_n "checking for hypotl in -lm... " >&6; }
18756 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18757 $as_echo_n "(cached) " >&6
18759 ac_check_lib_save_LIBS
=$LIBS
18761 if test x
$gcc_no_link = xyes
; then
18762 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18765 /* end confdefs.h. */
18767 /* Override any GCC internal prototype to avoid an error.
18768 Use char because int might match the return type of a GCC
18769 builtin and then its argument prototype would still apply. */
18782 if ac_fn_c_try_link
"$LINENO"; then :
18783 ac_cv_lib_m_hypotl
=yes
18785 ac_cv_lib_m_hypotl
=no
18787 rm -f core conftest.err conftest.
$ac_objext \
18788 conftest
$ac_exeext conftest.
$ac_ext
18789 LIBS
=$ac_check_lib_save_LIBS
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18792 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18793 if test "x$ac_cv_lib_m_hypotl" = x
""yes; then :
18795 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18800 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18801 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18802 $as_echo_n "(cached) " >&6
18804 ac_check_lib_save_LIBS
=$LIBS
18806 if test x
$gcc_no_link = xyes
; then
18807 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18812 /* Override any GCC internal prototype to avoid an error.
18813 Use char because int might match the return type of a GCC
18814 builtin and then its argument prototype would still apply. */
18827 if ac_fn_c_try_link
"$LINENO"; then :
18828 ac_cv_lib_m_ldexpf
=yes
18830 ac_cv_lib_m_ldexpf
=no
18832 rm -f core conftest.err conftest.
$ac_objext \
18833 conftest
$ac_exeext conftest.
$ac_ext
18834 LIBS
=$ac_check_lib_save_LIBS
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18837 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18838 if test "x$ac_cv_lib_m_ldexpf" = x
""yes; then :
18840 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18845 $as_echo_n "checking for ldexp in -lm... " >&6; }
18846 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18847 $as_echo_n "(cached) " >&6
18849 ac_check_lib_save_LIBS
=$LIBS
18851 if test x
$gcc_no_link = xyes
; then
18852 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18857 /* Override any GCC internal prototype to avoid an error.
18858 Use char because int might match the return type of a GCC
18859 builtin and then its argument prototype would still apply. */
18872 if ac_fn_c_try_link
"$LINENO"; then :
18873 ac_cv_lib_m_ldexp
=yes
18875 ac_cv_lib_m_ldexp
=no
18877 rm -f core conftest.err conftest.
$ac_objext \
18878 conftest
$ac_exeext conftest.
$ac_ext
18879 LIBS
=$ac_check_lib_save_LIBS
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18882 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18883 if test "x$ac_cv_lib_m_ldexp" = x
""yes; then :
18885 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18890 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18891 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18892 $as_echo_n "(cached) " >&6
18894 ac_check_lib_save_LIBS
=$LIBS
18896 if test x
$gcc_no_link = xyes
; then
18897 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18902 /* Override any GCC internal prototype to avoid an error.
18903 Use char because int might match the return type of a GCC
18904 builtin and then its argument prototype would still apply. */
18917 if ac_fn_c_try_link
"$LINENO"; then :
18918 ac_cv_lib_m_ldexpl
=yes
18920 ac_cv_lib_m_ldexpl
=no
18922 rm -f core conftest.err conftest.
$ac_objext \
18923 conftest
$ac_exeext conftest.
$ac_ext
18924 LIBS
=$ac_check_lib_save_LIBS
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18927 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18928 if test "x$ac_cv_lib_m_ldexpl" = x
""yes; then :
18930 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18935 $as_echo_n "checking for logf in -lm... " >&6; }
18936 if test "${ac_cv_lib_m_logf+set}" = set; then :
18937 $as_echo_n "(cached) " >&6
18939 ac_check_lib_save_LIBS
=$LIBS
18941 if test x
$gcc_no_link = xyes
; then
18942 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18947 /* Override any GCC internal prototype to avoid an error.
18948 Use char because int might match the return type of a GCC
18949 builtin and then its argument prototype would still apply. */
18962 if ac_fn_c_try_link
"$LINENO"; then :
18963 ac_cv_lib_m_logf
=yes
18965 ac_cv_lib_m_logf
=no
18967 rm -f core conftest.err conftest.
$ac_objext \
18968 conftest
$ac_exeext conftest.
$ac_ext
18969 LIBS
=$ac_check_lib_save_LIBS
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
18972 $as_echo "$ac_cv_lib_m_logf" >&6; }
18973 if test "x$ac_cv_lib_m_logf" = x
""yes; then :
18975 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
18980 $as_echo_n "checking for log in -lm... " >&6; }
18981 if test "${ac_cv_lib_m_log+set}" = set; then :
18982 $as_echo_n "(cached) " >&6
18984 ac_check_lib_save_LIBS
=$LIBS
18986 if test x
$gcc_no_link = xyes
; then
18987 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18992 /* Override any GCC internal prototype to avoid an error.
18993 Use char because int might match the return type of a GCC
18994 builtin and then its argument prototype would still apply. */
19007 if ac_fn_c_try_link
"$LINENO"; then :
19008 ac_cv_lib_m_log
=yes
19012 rm -f core conftest.err conftest.
$ac_objext \
19013 conftest
$ac_exeext conftest.
$ac_ext
19014 LIBS
=$ac_check_lib_save_LIBS
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19017 $as_echo "$ac_cv_lib_m_log" >&6; }
19018 if test "x$ac_cv_lib_m_log" = x
""yes; then :
19020 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19025 $as_echo_n "checking for logl in -lm... " >&6; }
19026 if test "${ac_cv_lib_m_logl+set}" = set; then :
19027 $as_echo_n "(cached) " >&6
19029 ac_check_lib_save_LIBS
=$LIBS
19031 if test x
$gcc_no_link = xyes
; then
19032 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19037 /* Override any GCC internal prototype to avoid an error.
19038 Use char because int might match the return type of a GCC
19039 builtin and then its argument prototype would still apply. */
19052 if ac_fn_c_try_link
"$LINENO"; then :
19053 ac_cv_lib_m_logl
=yes
19055 ac_cv_lib_m_logl
=no
19057 rm -f core conftest.err conftest.
$ac_objext \
19058 conftest
$ac_exeext conftest.
$ac_ext
19059 LIBS
=$ac_check_lib_save_LIBS
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19062 $as_echo "$ac_cv_lib_m_logl" >&6; }
19063 if test "x$ac_cv_lib_m_logl" = x
""yes; then :
19065 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19070 $as_echo_n "checking for clogf in -lm... " >&6; }
19071 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19072 $as_echo_n "(cached) " >&6
19074 ac_check_lib_save_LIBS
=$LIBS
19076 if test x
$gcc_no_link = xyes
; then
19077 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19082 /* Override any GCC internal prototype to avoid an error.
19083 Use char because int might match the return type of a GCC
19084 builtin and then its argument prototype would still apply. */
19097 if ac_fn_c_try_link
"$LINENO"; then :
19098 ac_cv_lib_m_clogf
=yes
19100 ac_cv_lib_m_clogf
=no
19102 rm -f core conftest.err conftest.
$ac_objext \
19103 conftest
$ac_exeext conftest.
$ac_ext
19104 LIBS
=$ac_check_lib_save_LIBS
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19107 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19108 if test "x$ac_cv_lib_m_clogf" = x
""yes; then :
19110 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19115 $as_echo_n "checking for clog in -lm... " >&6; }
19116 if test "${ac_cv_lib_m_clog+set}" = set; then :
19117 $as_echo_n "(cached) " >&6
19119 ac_check_lib_save_LIBS
=$LIBS
19121 if test x
$gcc_no_link = xyes
; then
19122 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19127 /* Override any GCC internal prototype to avoid an error.
19128 Use char because int might match the return type of a GCC
19129 builtin and then its argument prototype would still apply. */
19142 if ac_fn_c_try_link
"$LINENO"; then :
19143 ac_cv_lib_m_clog
=yes
19145 ac_cv_lib_m_clog
=no
19147 rm -f core conftest.err conftest.
$ac_objext \
19148 conftest
$ac_exeext conftest.
$ac_ext
19149 LIBS
=$ac_check_lib_save_LIBS
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19152 $as_echo "$ac_cv_lib_m_clog" >&6; }
19153 if test "x$ac_cv_lib_m_clog" = x
""yes; then :
19155 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19160 $as_echo_n "checking for clogl in -lm... " >&6; }
19161 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19162 $as_echo_n "(cached) " >&6
19164 ac_check_lib_save_LIBS
=$LIBS
19166 if test x
$gcc_no_link = xyes
; then
19167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h. */
19172 /* Override any GCC internal prototype to avoid an error.
19173 Use char because int might match the return type of a GCC
19174 builtin and then its argument prototype would still apply. */
19187 if ac_fn_c_try_link
"$LINENO"; then :
19188 ac_cv_lib_m_clogl
=yes
19190 ac_cv_lib_m_clogl
=no
19192 rm -f core conftest.err conftest.
$ac_objext \
19193 conftest
$ac_exeext conftest.
$ac_ext
19194 LIBS
=$ac_check_lib_save_LIBS
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19197 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19198 if test "x$ac_cv_lib_m_clogl" = x
""yes; then :
19200 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19205 $as_echo_n "checking for log10f in -lm... " >&6; }
19206 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19207 $as_echo_n "(cached) " >&6
19209 ac_check_lib_save_LIBS
=$LIBS
19211 if test x
$gcc_no_link = xyes
; then
19212 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19217 /* Override any GCC internal prototype to avoid an error.
19218 Use char because int might match the return type of a GCC
19219 builtin and then its argument prototype would still apply. */
19232 if ac_fn_c_try_link
"$LINENO"; then :
19233 ac_cv_lib_m_log10f
=yes
19235 ac_cv_lib_m_log10f
=no
19237 rm -f core conftest.err conftest.
$ac_objext \
19238 conftest
$ac_exeext conftest.
$ac_ext
19239 LIBS
=$ac_check_lib_save_LIBS
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19242 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19243 if test "x$ac_cv_lib_m_log10f" = x
""yes; then :
19245 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19250 $as_echo_n "checking for log10 in -lm... " >&6; }
19251 if test "${ac_cv_lib_m_log10+set}" = set; then :
19252 $as_echo_n "(cached) " >&6
19254 ac_check_lib_save_LIBS
=$LIBS
19256 if test x
$gcc_no_link = xyes
; then
19257 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h. */
19262 /* Override any GCC internal prototype to avoid an error.
19263 Use char because int might match the return type of a GCC
19264 builtin and then its argument prototype would still apply. */
19277 if ac_fn_c_try_link
"$LINENO"; then :
19278 ac_cv_lib_m_log10
=yes
19280 ac_cv_lib_m_log10
=no
19282 rm -f core conftest.err conftest.
$ac_objext \
19283 conftest
$ac_exeext conftest.
$ac_ext
19284 LIBS
=$ac_check_lib_save_LIBS
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19287 $as_echo "$ac_cv_lib_m_log10" >&6; }
19288 if test "x$ac_cv_lib_m_log10" = x
""yes; then :
19290 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19295 $as_echo_n "checking for log10l in -lm... " >&6; }
19296 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19297 $as_echo_n "(cached) " >&6
19299 ac_check_lib_save_LIBS
=$LIBS
19301 if test x
$gcc_no_link = xyes
; then
19302 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19307 /* Override any GCC internal prototype to avoid an error.
19308 Use char because int might match the return type of a GCC
19309 builtin and then its argument prototype would still apply. */
19322 if ac_fn_c_try_link
"$LINENO"; then :
19323 ac_cv_lib_m_log10l
=yes
19325 ac_cv_lib_m_log10l
=no
19327 rm -f core conftest.err conftest.
$ac_objext \
19328 conftest
$ac_exeext conftest.
$ac_ext
19329 LIBS
=$ac_check_lib_save_LIBS
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19332 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19333 if test "x$ac_cv_lib_m_log10l" = x
""yes; then :
19335 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19340 $as_echo_n "checking for clog10f in -lm... " >&6; }
19341 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19342 $as_echo_n "(cached) " >&6
19344 ac_check_lib_save_LIBS
=$LIBS
19346 if test x
$gcc_no_link = xyes
; then
19347 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19352 /* Override any GCC internal prototype to avoid an error.
19353 Use char because int might match the return type of a GCC
19354 builtin and then its argument prototype would still apply. */
19367 if ac_fn_c_try_link
"$LINENO"; then :
19368 ac_cv_lib_m_clog10f
=yes
19370 ac_cv_lib_m_clog10f
=no
19372 rm -f core conftest.err conftest.
$ac_objext \
19373 conftest
$ac_exeext conftest.
$ac_ext
19374 LIBS
=$ac_check_lib_save_LIBS
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19377 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19378 if test "x$ac_cv_lib_m_clog10f" = x
""yes; then :
19380 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19385 $as_echo_n "checking for clog10 in -lm... " >&6; }
19386 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19389 ac_check_lib_save_LIBS
=$LIBS
19391 if test x
$gcc_no_link = xyes
; then
19392 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19397 /* Override any GCC internal prototype to avoid an error.
19398 Use char because int might match the return type of a GCC
19399 builtin and then its argument prototype would still apply. */
19412 if ac_fn_c_try_link
"$LINENO"; then :
19413 ac_cv_lib_m_clog10
=yes
19415 ac_cv_lib_m_clog10
=no
19417 rm -f core conftest.err conftest.
$ac_objext \
19418 conftest
$ac_exeext conftest.
$ac_ext
19419 LIBS
=$ac_check_lib_save_LIBS
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19422 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19423 if test "x$ac_cv_lib_m_clog10" = x
""yes; then :
19425 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19430 $as_echo_n "checking for clog10l in -lm... " >&6; }
19431 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19432 $as_echo_n "(cached) " >&6
19434 ac_check_lib_save_LIBS
=$LIBS
19436 if test x
$gcc_no_link = xyes
; then
19437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19442 /* Override any GCC internal prototype to avoid an error.
19443 Use char because int might match the return type of a GCC
19444 builtin and then its argument prototype would still apply. */
19457 if ac_fn_c_try_link
"$LINENO"; then :
19458 ac_cv_lib_m_clog10l
=yes
19460 ac_cv_lib_m_clog10l
=no
19462 rm -f core conftest.err conftest.
$ac_objext \
19463 conftest
$ac_exeext conftest.
$ac_ext
19464 LIBS
=$ac_check_lib_save_LIBS
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19467 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19468 if test "x$ac_cv_lib_m_clog10l" = x
""yes; then :
19470 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19475 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19476 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19477 $as_echo_n "(cached) " >&6
19479 ac_check_lib_save_LIBS
=$LIBS
19481 if test x
$gcc_no_link = xyes
; then
19482 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19487 /* Override any GCC internal prototype to avoid an error.
19488 Use char because int might match the return type of a GCC
19489 builtin and then its argument prototype would still apply. */
19493 char nextafterf ();
19497 return nextafterf ();
19502 if ac_fn_c_try_link
"$LINENO"; then :
19503 ac_cv_lib_m_nextafterf
=yes
19505 ac_cv_lib_m_nextafterf
=no
19507 rm -f core conftest.err conftest.
$ac_objext \
19508 conftest
$ac_exeext conftest.
$ac_ext
19509 LIBS
=$ac_check_lib_save_LIBS
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19512 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19513 if test "x$ac_cv_lib_m_nextafterf" = x
""yes; then :
19515 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19520 $as_echo_n "checking for nextafter in -lm... " >&6; }
19521 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19522 $as_echo_n "(cached) " >&6
19524 ac_check_lib_save_LIBS
=$LIBS
19526 if test x
$gcc_no_link = xyes
; then
19527 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19532 /* Override any GCC internal prototype to avoid an error.
19533 Use char because int might match the return type of a GCC
19534 builtin and then its argument prototype would still apply. */
19542 return nextafter ();
19547 if ac_fn_c_try_link
"$LINENO"; then :
19548 ac_cv_lib_m_nextafter
=yes
19550 ac_cv_lib_m_nextafter
=no
19552 rm -f core conftest.err conftest.
$ac_objext \
19553 conftest
$ac_exeext conftest.
$ac_ext
19554 LIBS
=$ac_check_lib_save_LIBS
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19557 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19558 if test "x$ac_cv_lib_m_nextafter" = x
""yes; then :
19560 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19565 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19566 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19567 $as_echo_n "(cached) " >&6
19569 ac_check_lib_save_LIBS
=$LIBS
19571 if test x
$gcc_no_link = xyes
; then
19572 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19577 /* Override any GCC internal prototype to avoid an error.
19578 Use char because int might match the return type of a GCC
19579 builtin and then its argument prototype would still apply. */
19583 char nextafterl ();
19587 return nextafterl ();
19592 if ac_fn_c_try_link
"$LINENO"; then :
19593 ac_cv_lib_m_nextafterl
=yes
19595 ac_cv_lib_m_nextafterl
=no
19597 rm -f core conftest.err conftest.
$ac_objext \
19598 conftest
$ac_exeext conftest.
$ac_ext
19599 LIBS
=$ac_check_lib_save_LIBS
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19602 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19603 if test "x$ac_cv_lib_m_nextafterl" = x
""yes; then :
19605 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19610 $as_echo_n "checking for powf in -lm... " >&6; }
19611 if test "${ac_cv_lib_m_powf+set}" = set; then :
19612 $as_echo_n "(cached) " >&6
19614 ac_check_lib_save_LIBS
=$LIBS
19616 if test x
$gcc_no_link = xyes
; then
19617 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19622 /* Override any GCC internal prototype to avoid an error.
19623 Use char because int might match the return type of a GCC
19624 builtin and then its argument prototype would still apply. */
19637 if ac_fn_c_try_link
"$LINENO"; then :
19638 ac_cv_lib_m_powf
=yes
19640 ac_cv_lib_m_powf
=no
19642 rm -f core conftest.err conftest.
$ac_objext \
19643 conftest
$ac_exeext conftest.
$ac_ext
19644 LIBS
=$ac_check_lib_save_LIBS
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19647 $as_echo "$ac_cv_lib_m_powf" >&6; }
19648 if test "x$ac_cv_lib_m_powf" = x
""yes; then :
19650 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19655 $as_echo_n "checking for pow in -lm... " >&6; }
19656 if test "${ac_cv_lib_m_pow+set}" = set; then :
19657 $as_echo_n "(cached) " >&6
19659 ac_check_lib_save_LIBS
=$LIBS
19661 if test x
$gcc_no_link = xyes
; then
19662 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19667 /* Override any GCC internal prototype to avoid an error.
19668 Use char because int might match the return type of a GCC
19669 builtin and then its argument prototype would still apply. */
19682 if ac_fn_c_try_link
"$LINENO"; then :
19683 ac_cv_lib_m_pow
=yes
19687 rm -f core conftest.err conftest.
$ac_objext \
19688 conftest
$ac_exeext conftest.
$ac_ext
19689 LIBS
=$ac_check_lib_save_LIBS
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19692 $as_echo "$ac_cv_lib_m_pow" >&6; }
19693 if test "x$ac_cv_lib_m_pow" = x
""yes; then :
19695 $as_echo "#define HAVE_POW 1" >>confdefs.h
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19700 $as_echo_n "checking for powl in -lm... " >&6; }
19701 if test "${ac_cv_lib_m_powl+set}" = set; then :
19702 $as_echo_n "(cached) " >&6
19704 ac_check_lib_save_LIBS
=$LIBS
19706 if test x
$gcc_no_link = xyes
; then
19707 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19712 /* Override any GCC internal prototype to avoid an error.
19713 Use char because int might match the return type of a GCC
19714 builtin and then its argument prototype would still apply. */
19727 if ac_fn_c_try_link
"$LINENO"; then :
19728 ac_cv_lib_m_powl
=yes
19730 ac_cv_lib_m_powl
=no
19732 rm -f core conftest.err conftest.
$ac_objext \
19733 conftest
$ac_exeext conftest.
$ac_ext
19734 LIBS
=$ac_check_lib_save_LIBS
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19737 $as_echo "$ac_cv_lib_m_powl" >&6; }
19738 if test "x$ac_cv_lib_m_powl" = x
""yes; then :
19740 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19745 $as_echo_n "checking for cpowf in -lm... " >&6; }
19746 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19747 $as_echo_n "(cached) " >&6
19749 ac_check_lib_save_LIBS
=$LIBS
19751 if test x
$gcc_no_link = xyes
; then
19752 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19757 /* Override any GCC internal prototype to avoid an error.
19758 Use char because int might match the return type of a GCC
19759 builtin and then its argument prototype would still apply. */
19772 if ac_fn_c_try_link
"$LINENO"; then :
19773 ac_cv_lib_m_cpowf
=yes
19775 ac_cv_lib_m_cpowf
=no
19777 rm -f core conftest.err conftest.
$ac_objext \
19778 conftest
$ac_exeext conftest.
$ac_ext
19779 LIBS
=$ac_check_lib_save_LIBS
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19782 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19783 if test "x$ac_cv_lib_m_cpowf" = x
""yes; then :
19785 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19790 $as_echo_n "checking for cpow in -lm... " >&6; }
19791 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19792 $as_echo_n "(cached) " >&6
19794 ac_check_lib_save_LIBS
=$LIBS
19796 if test x
$gcc_no_link = xyes
; then
19797 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19802 /* Override any GCC internal prototype to avoid an error.
19803 Use char because int might match the return type of a GCC
19804 builtin and then its argument prototype would still apply. */
19817 if ac_fn_c_try_link
"$LINENO"; then :
19818 ac_cv_lib_m_cpow
=yes
19820 ac_cv_lib_m_cpow
=no
19822 rm -f core conftest.err conftest.
$ac_objext \
19823 conftest
$ac_exeext conftest.
$ac_ext
19824 LIBS
=$ac_check_lib_save_LIBS
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19827 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19828 if test "x$ac_cv_lib_m_cpow" = x
""yes; then :
19830 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19835 $as_echo_n "checking for cpowl in -lm... " >&6; }
19836 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19837 $as_echo_n "(cached) " >&6
19839 ac_check_lib_save_LIBS
=$LIBS
19841 if test x
$gcc_no_link = xyes
; then
19842 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19845 /* end confdefs.h. */
19847 /* Override any GCC internal prototype to avoid an error.
19848 Use char because int might match the return type of a GCC
19849 builtin and then its argument prototype would still apply. */
19862 if ac_fn_c_try_link
"$LINENO"; then :
19863 ac_cv_lib_m_cpowl
=yes
19865 ac_cv_lib_m_cpowl
=no
19867 rm -f core conftest.err conftest.
$ac_objext \
19868 conftest
$ac_exeext conftest.
$ac_ext
19869 LIBS
=$ac_check_lib_save_LIBS
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19872 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19873 if test "x$ac_cv_lib_m_cpowl" = x
""yes; then :
19875 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19880 $as_echo_n "checking for roundf in -lm... " >&6; }
19881 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19884 ac_check_lib_save_LIBS
=$LIBS
19886 if test x
$gcc_no_link = xyes
; then
19887 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19892 /* Override any GCC internal prototype to avoid an error.
19893 Use char because int might match the return type of a GCC
19894 builtin and then its argument prototype would still apply. */
19907 if ac_fn_c_try_link
"$LINENO"; then :
19908 ac_cv_lib_m_roundf
=yes
19910 ac_cv_lib_m_roundf
=no
19912 rm -f core conftest.err conftest.
$ac_objext \
19913 conftest
$ac_exeext conftest.
$ac_ext
19914 LIBS
=$ac_check_lib_save_LIBS
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19917 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19918 if test "x$ac_cv_lib_m_roundf" = x
""yes; then :
19920 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19925 $as_echo_n "checking for round in -lm... " >&6; }
19926 if test "${ac_cv_lib_m_round+set}" = set; then :
19927 $as_echo_n "(cached) " >&6
19929 ac_check_lib_save_LIBS
=$LIBS
19931 if test x
$gcc_no_link = xyes
; then
19932 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19937 /* Override any GCC internal prototype to avoid an error.
19938 Use char because int might match the return type of a GCC
19939 builtin and then its argument prototype would still apply. */
19952 if ac_fn_c_try_link
"$LINENO"; then :
19953 ac_cv_lib_m_round
=yes
19955 ac_cv_lib_m_round
=no
19957 rm -f core conftest.err conftest.
$ac_objext \
19958 conftest
$ac_exeext conftest.
$ac_ext
19959 LIBS
=$ac_check_lib_save_LIBS
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
19962 $as_echo "$ac_cv_lib_m_round" >&6; }
19963 if test "x$ac_cv_lib_m_round" = x
""yes; then :
19965 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
19970 $as_echo_n "checking for roundl in -lm... " >&6; }
19971 if test "${ac_cv_lib_m_roundl+set}" = set; then :
19972 $as_echo_n "(cached) " >&6
19974 ac_check_lib_save_LIBS
=$LIBS
19976 if test x
$gcc_no_link = xyes
; then
19977 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19982 /* Override any GCC internal prototype to avoid an error.
19983 Use char because int might match the return type of a GCC
19984 builtin and then its argument prototype would still apply. */
19997 if ac_fn_c_try_link
"$LINENO"; then :
19998 ac_cv_lib_m_roundl
=yes
20000 ac_cv_lib_m_roundl
=no
20002 rm -f core conftest.err conftest.
$ac_objext \
20003 conftest
$ac_exeext conftest.
$ac_ext
20004 LIBS
=$ac_check_lib_save_LIBS
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20007 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20008 if test "x$ac_cv_lib_m_roundl" = x
""yes; then :
20010 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20015 $as_echo_n "checking for lroundf in -lm... " >&6; }
20016 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20017 $as_echo_n "(cached) " >&6
20019 ac_check_lib_save_LIBS
=$LIBS
20021 if test x
$gcc_no_link = xyes
; then
20022 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h. */
20027 /* Override any GCC internal prototype to avoid an error.
20028 Use char because int might match the return type of a GCC
20029 builtin and then its argument prototype would still apply. */
20042 if ac_fn_c_try_link
"$LINENO"; then :
20043 ac_cv_lib_m_lroundf
=yes
20045 ac_cv_lib_m_lroundf
=no
20047 rm -f core conftest.err conftest.
$ac_objext \
20048 conftest
$ac_exeext conftest.
$ac_ext
20049 LIBS
=$ac_check_lib_save_LIBS
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20052 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20053 if test "x$ac_cv_lib_m_lroundf" = x
""yes; then :
20055 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20060 $as_echo_n "checking for lround in -lm... " >&6; }
20061 if test "${ac_cv_lib_m_lround+set}" = set; then :
20062 $as_echo_n "(cached) " >&6
20064 ac_check_lib_save_LIBS
=$LIBS
20066 if test x
$gcc_no_link = xyes
; then
20067 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h. */
20072 /* Override any GCC internal prototype to avoid an error.
20073 Use char because int might match the return type of a GCC
20074 builtin and then its argument prototype would still apply. */
20087 if ac_fn_c_try_link
"$LINENO"; then :
20088 ac_cv_lib_m_lround
=yes
20090 ac_cv_lib_m_lround
=no
20092 rm -f core conftest.err conftest.
$ac_objext \
20093 conftest
$ac_exeext conftest.
$ac_ext
20094 LIBS
=$ac_check_lib_save_LIBS
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20097 $as_echo "$ac_cv_lib_m_lround" >&6; }
20098 if test "x$ac_cv_lib_m_lround" = x
""yes; then :
20100 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20105 $as_echo_n "checking for lroundl in -lm... " >&6; }
20106 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20107 $as_echo_n "(cached) " >&6
20109 ac_check_lib_save_LIBS
=$LIBS
20111 if test x
$gcc_no_link = xyes
; then
20112 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20115 /* end confdefs.h. */
20117 /* Override any GCC internal prototype to avoid an error.
20118 Use char because int might match the return type of a GCC
20119 builtin and then its argument prototype would still apply. */
20132 if ac_fn_c_try_link
"$LINENO"; then :
20133 ac_cv_lib_m_lroundl
=yes
20135 ac_cv_lib_m_lroundl
=no
20137 rm -f core conftest.err conftest.
$ac_objext \
20138 conftest
$ac_exeext conftest.
$ac_ext
20139 LIBS
=$ac_check_lib_save_LIBS
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20142 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20143 if test "x$ac_cv_lib_m_lroundl" = x
""yes; then :
20145 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20150 $as_echo_n "checking for llroundf in -lm... " >&6; }
20151 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20152 $as_echo_n "(cached) " >&6
20154 ac_check_lib_save_LIBS
=$LIBS
20156 if test x
$gcc_no_link = xyes
; then
20157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20160 /* end confdefs.h. */
20162 /* Override any GCC internal prototype to avoid an error.
20163 Use char because int might match the return type of a GCC
20164 builtin and then its argument prototype would still apply. */
20172 return llroundf ();
20177 if ac_fn_c_try_link
"$LINENO"; then :
20178 ac_cv_lib_m_llroundf
=yes
20180 ac_cv_lib_m_llroundf
=no
20182 rm -f core conftest.err conftest.
$ac_objext \
20183 conftest
$ac_exeext conftest.
$ac_ext
20184 LIBS
=$ac_check_lib_save_LIBS
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20187 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20188 if test "x$ac_cv_lib_m_llroundf" = x
""yes; then :
20190 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20195 $as_echo_n "checking for llround in -lm... " >&6; }
20196 if test "${ac_cv_lib_m_llround+set}" = set; then :
20197 $as_echo_n "(cached) " >&6
20199 ac_check_lib_save_LIBS
=$LIBS
20201 if test x
$gcc_no_link = xyes
; then
20202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20205 /* end confdefs.h. */
20207 /* Override any GCC internal prototype to avoid an error.
20208 Use char because int might match the return type of a GCC
20209 builtin and then its argument prototype would still apply. */
20222 if ac_fn_c_try_link
"$LINENO"; then :
20223 ac_cv_lib_m_llround
=yes
20225 ac_cv_lib_m_llround
=no
20227 rm -f core conftest.err conftest.
$ac_objext \
20228 conftest
$ac_exeext conftest.
$ac_ext
20229 LIBS
=$ac_check_lib_save_LIBS
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20232 $as_echo "$ac_cv_lib_m_llround" >&6; }
20233 if test "x$ac_cv_lib_m_llround" = x
""yes; then :
20235 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20240 $as_echo_n "checking for llroundl in -lm... " >&6; }
20241 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20242 $as_echo_n "(cached) " >&6
20244 ac_check_lib_save_LIBS
=$LIBS
20246 if test x
$gcc_no_link = xyes
; then
20247 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20250 /* end confdefs.h. */
20252 /* Override any GCC internal prototype to avoid an error.
20253 Use char because int might match the return type of a GCC
20254 builtin and then its argument prototype would still apply. */
20262 return llroundl ();
20267 if ac_fn_c_try_link
"$LINENO"; then :
20268 ac_cv_lib_m_llroundl
=yes
20270 ac_cv_lib_m_llroundl
=no
20272 rm -f core conftest.err conftest.
$ac_objext \
20273 conftest
$ac_exeext conftest.
$ac_ext
20274 LIBS
=$ac_check_lib_save_LIBS
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20277 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20278 if test "x$ac_cv_lib_m_llroundl" = x
""yes; then :
20280 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20285 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20286 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20287 $as_echo_n "(cached) " >&6
20289 ac_check_lib_save_LIBS
=$LIBS
20291 if test x
$gcc_no_link = xyes
; then
20292 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20295 /* end confdefs.h. */
20297 /* Override any GCC internal prototype to avoid an error.
20298 Use char because int might match the return type of a GCC
20299 builtin and then its argument prototype would still apply. */
20312 if ac_fn_c_try_link
"$LINENO"; then :
20313 ac_cv_lib_m_scalbnf
=yes
20315 ac_cv_lib_m_scalbnf
=no
20317 rm -f core conftest.err conftest.
$ac_objext \
20318 conftest
$ac_exeext conftest.
$ac_ext
20319 LIBS
=$ac_check_lib_save_LIBS
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20322 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20323 if test "x$ac_cv_lib_m_scalbnf" = x
""yes; then :
20325 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20330 $as_echo_n "checking for scalbn in -lm... " >&6; }
20331 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20332 $as_echo_n "(cached) " >&6
20334 ac_check_lib_save_LIBS
=$LIBS
20336 if test x
$gcc_no_link = xyes
; then
20337 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20340 /* end confdefs.h. */
20342 /* Override any GCC internal prototype to avoid an error.
20343 Use char because int might match the return type of a GCC
20344 builtin and then its argument prototype would still apply. */
20357 if ac_fn_c_try_link
"$LINENO"; then :
20358 ac_cv_lib_m_scalbn
=yes
20360 ac_cv_lib_m_scalbn
=no
20362 rm -f core conftest.err conftest.
$ac_objext \
20363 conftest
$ac_exeext conftest.
$ac_ext
20364 LIBS
=$ac_check_lib_save_LIBS
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20367 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20368 if test "x$ac_cv_lib_m_scalbn" = x
""yes; then :
20370 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20375 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20376 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20377 $as_echo_n "(cached) " >&6
20379 ac_check_lib_save_LIBS
=$LIBS
20381 if test x
$gcc_no_link = xyes
; then
20382 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20385 /* end confdefs.h. */
20387 /* Override any GCC internal prototype to avoid an error.
20388 Use char because int might match the return type of a GCC
20389 builtin and then its argument prototype would still apply. */
20402 if ac_fn_c_try_link
"$LINENO"; then :
20403 ac_cv_lib_m_scalbnl
=yes
20405 ac_cv_lib_m_scalbnl
=no
20407 rm -f core conftest.err conftest.
$ac_objext \
20408 conftest
$ac_exeext conftest.
$ac_ext
20409 LIBS
=$ac_check_lib_save_LIBS
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20412 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20413 if test "x$ac_cv_lib_m_scalbnl" = x
""yes; then :
20415 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20420 $as_echo_n "checking for sinf in -lm... " >&6; }
20421 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20422 $as_echo_n "(cached) " >&6
20424 ac_check_lib_save_LIBS
=$LIBS
20426 if test x
$gcc_no_link = xyes
; then
20427 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20432 /* Override any GCC internal prototype to avoid an error.
20433 Use char because int might match the return type of a GCC
20434 builtin and then its argument prototype would still apply. */
20447 if ac_fn_c_try_link
"$LINENO"; then :
20448 ac_cv_lib_m_sinf
=yes
20450 ac_cv_lib_m_sinf
=no
20452 rm -f core conftest.err conftest.
$ac_objext \
20453 conftest
$ac_exeext conftest.
$ac_ext
20454 LIBS
=$ac_check_lib_save_LIBS
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20457 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20458 if test "x$ac_cv_lib_m_sinf" = x
""yes; then :
20460 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20465 $as_echo_n "checking for sin in -lm... " >&6; }
20466 if test "${ac_cv_lib_m_sin+set}" = set; then :
20467 $as_echo_n "(cached) " >&6
20469 ac_check_lib_save_LIBS
=$LIBS
20471 if test x
$gcc_no_link = xyes
; then
20472 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h. */
20477 /* Override any GCC internal prototype to avoid an error.
20478 Use char because int might match the return type of a GCC
20479 builtin and then its argument prototype would still apply. */
20492 if ac_fn_c_try_link
"$LINENO"; then :
20493 ac_cv_lib_m_sin
=yes
20497 rm -f core conftest.err conftest.
$ac_objext \
20498 conftest
$ac_exeext conftest.
$ac_ext
20499 LIBS
=$ac_check_lib_save_LIBS
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20502 $as_echo "$ac_cv_lib_m_sin" >&6; }
20503 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
20505 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20510 $as_echo_n "checking for sinl in -lm... " >&6; }
20511 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20512 $as_echo_n "(cached) " >&6
20514 ac_check_lib_save_LIBS
=$LIBS
20516 if test x
$gcc_no_link = xyes
; then
20517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20522 /* Override any GCC internal prototype to avoid an error.
20523 Use char because int might match the return type of a GCC
20524 builtin and then its argument prototype would still apply. */
20537 if ac_fn_c_try_link
"$LINENO"; then :
20538 ac_cv_lib_m_sinl
=yes
20540 ac_cv_lib_m_sinl
=no
20542 rm -f core conftest.err conftest.
$ac_objext \
20543 conftest
$ac_exeext conftest.
$ac_ext
20544 LIBS
=$ac_check_lib_save_LIBS
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20547 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20548 if test "x$ac_cv_lib_m_sinl" = x
""yes; then :
20550 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20555 $as_echo_n "checking for csinf in -lm... " >&6; }
20556 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20557 $as_echo_n "(cached) " >&6
20559 ac_check_lib_save_LIBS
=$LIBS
20561 if test x
$gcc_no_link = xyes
; then
20562 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20567 /* Override any GCC internal prototype to avoid an error.
20568 Use char because int might match the return type of a GCC
20569 builtin and then its argument prototype would still apply. */
20582 if ac_fn_c_try_link
"$LINENO"; then :
20583 ac_cv_lib_m_csinf
=yes
20585 ac_cv_lib_m_csinf
=no
20587 rm -f core conftest.err conftest.
$ac_objext \
20588 conftest
$ac_exeext conftest.
$ac_ext
20589 LIBS
=$ac_check_lib_save_LIBS
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20592 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20593 if test "x$ac_cv_lib_m_csinf" = x
""yes; then :
20595 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20600 $as_echo_n "checking for csin in -lm... " >&6; }
20601 if test "${ac_cv_lib_m_csin+set}" = set; then :
20602 $as_echo_n "(cached) " >&6
20604 ac_check_lib_save_LIBS
=$LIBS
20606 if test x
$gcc_no_link = xyes
; then
20607 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20610 /* end confdefs.h. */
20612 /* Override any GCC internal prototype to avoid an error.
20613 Use char because int might match the return type of a GCC
20614 builtin and then its argument prototype would still apply. */
20627 if ac_fn_c_try_link
"$LINENO"; then :
20628 ac_cv_lib_m_csin
=yes
20630 ac_cv_lib_m_csin
=no
20632 rm -f core conftest.err conftest.
$ac_objext \
20633 conftest
$ac_exeext conftest.
$ac_ext
20634 LIBS
=$ac_check_lib_save_LIBS
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20637 $as_echo "$ac_cv_lib_m_csin" >&6; }
20638 if test "x$ac_cv_lib_m_csin" = x
""yes; then :
20640 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20645 $as_echo_n "checking for csinl in -lm... " >&6; }
20646 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20647 $as_echo_n "(cached) " >&6
20649 ac_check_lib_save_LIBS
=$LIBS
20651 if test x
$gcc_no_link = xyes
; then
20652 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20657 /* Override any GCC internal prototype to avoid an error.
20658 Use char because int might match the return type of a GCC
20659 builtin and then its argument prototype would still apply. */
20672 if ac_fn_c_try_link
"$LINENO"; then :
20673 ac_cv_lib_m_csinl
=yes
20675 ac_cv_lib_m_csinl
=no
20677 rm -f core conftest.err conftest.
$ac_objext \
20678 conftest
$ac_exeext conftest.
$ac_ext
20679 LIBS
=$ac_check_lib_save_LIBS
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20682 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20683 if test "x$ac_cv_lib_m_csinl" = x
""yes; then :
20685 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20690 $as_echo_n "checking for sinhf in -lm... " >&6; }
20691 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20692 $as_echo_n "(cached) " >&6
20694 ac_check_lib_save_LIBS
=$LIBS
20696 if test x
$gcc_no_link = xyes
; then
20697 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20700 /* end confdefs.h. */
20702 /* Override any GCC internal prototype to avoid an error.
20703 Use char because int might match the return type of a GCC
20704 builtin and then its argument prototype would still apply. */
20717 if ac_fn_c_try_link
"$LINENO"; then :
20718 ac_cv_lib_m_sinhf
=yes
20720 ac_cv_lib_m_sinhf
=no
20722 rm -f core conftest.err conftest.
$ac_objext \
20723 conftest
$ac_exeext conftest.
$ac_ext
20724 LIBS
=$ac_check_lib_save_LIBS
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20727 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20728 if test "x$ac_cv_lib_m_sinhf" = x
""yes; then :
20730 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20735 $as_echo_n "checking for sinh in -lm... " >&6; }
20736 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20737 $as_echo_n "(cached) " >&6
20739 ac_check_lib_save_LIBS
=$LIBS
20741 if test x
$gcc_no_link = xyes
; then
20742 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20747 /* Override any GCC internal prototype to avoid an error.
20748 Use char because int might match the return type of a GCC
20749 builtin and then its argument prototype would still apply. */
20762 if ac_fn_c_try_link
"$LINENO"; then :
20763 ac_cv_lib_m_sinh
=yes
20765 ac_cv_lib_m_sinh
=no
20767 rm -f core conftest.err conftest.
$ac_objext \
20768 conftest
$ac_exeext conftest.
$ac_ext
20769 LIBS
=$ac_check_lib_save_LIBS
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20772 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20773 if test "x$ac_cv_lib_m_sinh" = x
""yes; then :
20775 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20780 $as_echo_n "checking for sinhl in -lm... " >&6; }
20781 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20782 $as_echo_n "(cached) " >&6
20784 ac_check_lib_save_LIBS
=$LIBS
20786 if test x
$gcc_no_link = xyes
; then
20787 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20790 /* end confdefs.h. */
20792 /* Override any GCC internal prototype to avoid an error.
20793 Use char because int might match the return type of a GCC
20794 builtin and then its argument prototype would still apply. */
20807 if ac_fn_c_try_link
"$LINENO"; then :
20808 ac_cv_lib_m_sinhl
=yes
20810 ac_cv_lib_m_sinhl
=no
20812 rm -f core conftest.err conftest.
$ac_objext \
20813 conftest
$ac_exeext conftest.
$ac_ext
20814 LIBS
=$ac_check_lib_save_LIBS
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20817 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20818 if test "x$ac_cv_lib_m_sinhl" = x
""yes; then :
20820 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20825 $as_echo_n "checking for csinhf in -lm... " >&6; }
20826 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20827 $as_echo_n "(cached) " >&6
20829 ac_check_lib_save_LIBS
=$LIBS
20831 if test x
$gcc_no_link = xyes
; then
20832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h. */
20837 /* Override any GCC internal prototype to avoid an error.
20838 Use char because int might match the return type of a GCC
20839 builtin and then its argument prototype would still apply. */
20852 if ac_fn_c_try_link
"$LINENO"; then :
20853 ac_cv_lib_m_csinhf
=yes
20855 ac_cv_lib_m_csinhf
=no
20857 rm -f core conftest.err conftest.
$ac_objext \
20858 conftest
$ac_exeext conftest.
$ac_ext
20859 LIBS
=$ac_check_lib_save_LIBS
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20862 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20863 if test "x$ac_cv_lib_m_csinhf" = x
""yes; then :
20865 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20870 $as_echo_n "checking for csinh in -lm... " >&6; }
20871 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20872 $as_echo_n "(cached) " >&6
20874 ac_check_lib_save_LIBS
=$LIBS
20876 if test x
$gcc_no_link = xyes
; then
20877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20882 /* Override any GCC internal prototype to avoid an error.
20883 Use char because int might match the return type of a GCC
20884 builtin and then its argument prototype would still apply. */
20897 if ac_fn_c_try_link
"$LINENO"; then :
20898 ac_cv_lib_m_csinh
=yes
20900 ac_cv_lib_m_csinh
=no
20902 rm -f core conftest.err conftest.
$ac_objext \
20903 conftest
$ac_exeext conftest.
$ac_ext
20904 LIBS
=$ac_check_lib_save_LIBS
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20907 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20908 if test "x$ac_cv_lib_m_csinh" = x
""yes; then :
20910 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20915 $as_echo_n "checking for csinhl in -lm... " >&6; }
20916 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20917 $as_echo_n "(cached) " >&6
20919 ac_check_lib_save_LIBS
=$LIBS
20921 if test x
$gcc_no_link = xyes
; then
20922 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h. */
20927 /* Override any GCC internal prototype to avoid an error.
20928 Use char because int might match the return type of a GCC
20929 builtin and then its argument prototype would still apply. */
20942 if ac_fn_c_try_link
"$LINENO"; then :
20943 ac_cv_lib_m_csinhl
=yes
20945 ac_cv_lib_m_csinhl
=no
20947 rm -f core conftest.err conftest.
$ac_objext \
20948 conftest
$ac_exeext conftest.
$ac_ext
20949 LIBS
=$ac_check_lib_save_LIBS
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
20952 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
20953 if test "x$ac_cv_lib_m_csinhl" = x
""yes; then :
20955 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
20960 $as_echo_n "checking for sqrtf in -lm... " >&6; }
20961 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
20962 $as_echo_n "(cached) " >&6
20964 ac_check_lib_save_LIBS
=$LIBS
20966 if test x
$gcc_no_link = xyes
; then
20967 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20972 /* Override any GCC internal prototype to avoid an error.
20973 Use char because int might match the return type of a GCC
20974 builtin and then its argument prototype would still apply. */
20987 if ac_fn_c_try_link
"$LINENO"; then :
20988 ac_cv_lib_m_sqrtf
=yes
20990 ac_cv_lib_m_sqrtf
=no
20992 rm -f core conftest.err conftest.
$ac_objext \
20993 conftest
$ac_exeext conftest.
$ac_ext
20994 LIBS
=$ac_check_lib_save_LIBS
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
20997 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
20998 if test "x$ac_cv_lib_m_sqrtf" = x
""yes; then :
21000 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21005 $as_echo_n "checking for sqrt in -lm... " >&6; }
21006 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21007 $as_echo_n "(cached) " >&6
21009 ac_check_lib_save_LIBS
=$LIBS
21011 if test x
$gcc_no_link = xyes
; then
21012 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21015 /* end confdefs.h. */
21017 /* Override any GCC internal prototype to avoid an error.
21018 Use char because int might match the return type of a GCC
21019 builtin and then its argument prototype would still apply. */
21032 if ac_fn_c_try_link
"$LINENO"; then :
21033 ac_cv_lib_m_sqrt
=yes
21035 ac_cv_lib_m_sqrt
=no
21037 rm -f core conftest.err conftest.
$ac_objext \
21038 conftest
$ac_exeext conftest.
$ac_ext
21039 LIBS
=$ac_check_lib_save_LIBS
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21042 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21043 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
21045 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21050 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21051 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21052 $as_echo_n "(cached) " >&6
21054 ac_check_lib_save_LIBS
=$LIBS
21056 if test x
$gcc_no_link = xyes
; then
21057 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21060 /* end confdefs.h. */
21062 /* Override any GCC internal prototype to avoid an error.
21063 Use char because int might match the return type of a GCC
21064 builtin and then its argument prototype would still apply. */
21077 if ac_fn_c_try_link
"$LINENO"; then :
21078 ac_cv_lib_m_sqrtl
=yes
21080 ac_cv_lib_m_sqrtl
=no
21082 rm -f core conftest.err conftest.
$ac_objext \
21083 conftest
$ac_exeext conftest.
$ac_ext
21084 LIBS
=$ac_check_lib_save_LIBS
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21087 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21088 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
21090 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21095 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21096 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21097 $as_echo_n "(cached) " >&6
21099 ac_check_lib_save_LIBS
=$LIBS
21101 if test x
$gcc_no_link = xyes
; then
21102 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21107 /* Override any GCC internal prototype to avoid an error.
21108 Use char because int might match the return type of a GCC
21109 builtin and then its argument prototype would still apply. */
21122 if ac_fn_c_try_link
"$LINENO"; then :
21123 ac_cv_lib_m_csqrtf
=yes
21125 ac_cv_lib_m_csqrtf
=no
21127 rm -f core conftest.err conftest.
$ac_objext \
21128 conftest
$ac_exeext conftest.
$ac_ext
21129 LIBS
=$ac_check_lib_save_LIBS
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21132 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21133 if test "x$ac_cv_lib_m_csqrtf" = x
""yes; then :
21135 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21140 $as_echo_n "checking for csqrt in -lm... " >&6; }
21141 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21142 $as_echo_n "(cached) " >&6
21144 ac_check_lib_save_LIBS
=$LIBS
21146 if test x
$gcc_no_link = xyes
; then
21147 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21150 /* end confdefs.h. */
21152 /* Override any GCC internal prototype to avoid an error.
21153 Use char because int might match the return type of a GCC
21154 builtin and then its argument prototype would still apply. */
21167 if ac_fn_c_try_link
"$LINENO"; then :
21168 ac_cv_lib_m_csqrt
=yes
21170 ac_cv_lib_m_csqrt
=no
21172 rm -f core conftest.err conftest.
$ac_objext \
21173 conftest
$ac_exeext conftest.
$ac_ext
21174 LIBS
=$ac_check_lib_save_LIBS
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21177 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21178 if test "x$ac_cv_lib_m_csqrt" = x
""yes; then :
21180 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21185 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21186 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21187 $as_echo_n "(cached) " >&6
21189 ac_check_lib_save_LIBS
=$LIBS
21191 if test x
$gcc_no_link = xyes
; then
21192 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21195 /* end confdefs.h. */
21197 /* Override any GCC internal prototype to avoid an error.
21198 Use char because int might match the return type of a GCC
21199 builtin and then its argument prototype would still apply. */
21212 if ac_fn_c_try_link
"$LINENO"; then :
21213 ac_cv_lib_m_csqrtl
=yes
21215 ac_cv_lib_m_csqrtl
=no
21217 rm -f core conftest.err conftest.
$ac_objext \
21218 conftest
$ac_exeext conftest.
$ac_ext
21219 LIBS
=$ac_check_lib_save_LIBS
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21222 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21223 if test "x$ac_cv_lib_m_csqrtl" = x
""yes; then :
21225 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21230 $as_echo_n "checking for tanf in -lm... " >&6; }
21231 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21232 $as_echo_n "(cached) " >&6
21234 ac_check_lib_save_LIBS
=$LIBS
21236 if test x
$gcc_no_link = xyes
; then
21237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21242 /* Override any GCC internal prototype to avoid an error.
21243 Use char because int might match the return type of a GCC
21244 builtin and then its argument prototype would still apply. */
21257 if ac_fn_c_try_link
"$LINENO"; then :
21258 ac_cv_lib_m_tanf
=yes
21260 ac_cv_lib_m_tanf
=no
21262 rm -f core conftest.err conftest.
$ac_objext \
21263 conftest
$ac_exeext conftest.
$ac_ext
21264 LIBS
=$ac_check_lib_save_LIBS
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21267 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21268 if test "x$ac_cv_lib_m_tanf" = x
""yes; then :
21270 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21275 $as_echo_n "checking for tan in -lm... " >&6; }
21276 if test "${ac_cv_lib_m_tan+set}" = set; then :
21277 $as_echo_n "(cached) " >&6
21279 ac_check_lib_save_LIBS
=$LIBS
21281 if test x
$gcc_no_link = xyes
; then
21282 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21285 /* end confdefs.h. */
21287 /* Override any GCC internal prototype to avoid an error.
21288 Use char because int might match the return type of a GCC
21289 builtin and then its argument prototype would still apply. */
21302 if ac_fn_c_try_link
"$LINENO"; then :
21303 ac_cv_lib_m_tan
=yes
21307 rm -f core conftest.err conftest.
$ac_objext \
21308 conftest
$ac_exeext conftest.
$ac_ext
21309 LIBS
=$ac_check_lib_save_LIBS
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21312 $as_echo "$ac_cv_lib_m_tan" >&6; }
21313 if test "x$ac_cv_lib_m_tan" = x
""yes; then :
21315 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21320 $as_echo_n "checking for tanl in -lm... " >&6; }
21321 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21322 $as_echo_n "(cached) " >&6
21324 ac_check_lib_save_LIBS
=$LIBS
21326 if test x
$gcc_no_link = xyes
; then
21327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21330 /* end confdefs.h. */
21332 /* Override any GCC internal prototype to avoid an error.
21333 Use char because int might match the return type of a GCC
21334 builtin and then its argument prototype would still apply. */
21347 if ac_fn_c_try_link
"$LINENO"; then :
21348 ac_cv_lib_m_tanl
=yes
21350 ac_cv_lib_m_tanl
=no
21352 rm -f core conftest.err conftest.
$ac_objext \
21353 conftest
$ac_exeext conftest.
$ac_ext
21354 LIBS
=$ac_check_lib_save_LIBS
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21357 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21358 if test "x$ac_cv_lib_m_tanl" = x
""yes; then :
21360 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21365 $as_echo_n "checking for ctanf in -lm... " >&6; }
21366 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21367 $as_echo_n "(cached) " >&6
21369 ac_check_lib_save_LIBS
=$LIBS
21371 if test x
$gcc_no_link = xyes
; then
21372 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21375 /* end confdefs.h. */
21377 /* Override any GCC internal prototype to avoid an error.
21378 Use char because int might match the return type of a GCC
21379 builtin and then its argument prototype would still apply. */
21392 if ac_fn_c_try_link
"$LINENO"; then :
21393 ac_cv_lib_m_ctanf
=yes
21395 ac_cv_lib_m_ctanf
=no
21397 rm -f core conftest.err conftest.
$ac_objext \
21398 conftest
$ac_exeext conftest.
$ac_ext
21399 LIBS
=$ac_check_lib_save_LIBS
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21402 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21403 if test "x$ac_cv_lib_m_ctanf" = x
""yes; then :
21405 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21410 $as_echo_n "checking for ctan in -lm... " >&6; }
21411 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21412 $as_echo_n "(cached) " >&6
21414 ac_check_lib_save_LIBS
=$LIBS
21416 if test x
$gcc_no_link = xyes
; then
21417 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21420 /* end confdefs.h. */
21422 /* Override any GCC internal prototype to avoid an error.
21423 Use char because int might match the return type of a GCC
21424 builtin and then its argument prototype would still apply. */
21437 if ac_fn_c_try_link
"$LINENO"; then :
21438 ac_cv_lib_m_ctan
=yes
21440 ac_cv_lib_m_ctan
=no
21442 rm -f core conftest.err conftest.
$ac_objext \
21443 conftest
$ac_exeext conftest.
$ac_ext
21444 LIBS
=$ac_check_lib_save_LIBS
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21447 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21448 if test "x$ac_cv_lib_m_ctan" = x
""yes; then :
21450 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21455 $as_echo_n "checking for ctanl in -lm... " >&6; }
21456 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21457 $as_echo_n "(cached) " >&6
21459 ac_check_lib_save_LIBS
=$LIBS
21461 if test x
$gcc_no_link = xyes
; then
21462 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21467 /* Override any GCC internal prototype to avoid an error.
21468 Use char because int might match the return type of a GCC
21469 builtin and then its argument prototype would still apply. */
21482 if ac_fn_c_try_link
"$LINENO"; then :
21483 ac_cv_lib_m_ctanl
=yes
21485 ac_cv_lib_m_ctanl
=no
21487 rm -f core conftest.err conftest.
$ac_objext \
21488 conftest
$ac_exeext conftest.
$ac_ext
21489 LIBS
=$ac_check_lib_save_LIBS
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21492 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21493 if test "x$ac_cv_lib_m_ctanl" = x
""yes; then :
21495 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21500 $as_echo_n "checking for tanhf in -lm... " >&6; }
21501 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21502 $as_echo_n "(cached) " >&6
21504 ac_check_lib_save_LIBS
=$LIBS
21506 if test x
$gcc_no_link = xyes
; then
21507 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21510 /* end confdefs.h. */
21512 /* Override any GCC internal prototype to avoid an error.
21513 Use char because int might match the return type of a GCC
21514 builtin and then its argument prototype would still apply. */
21527 if ac_fn_c_try_link
"$LINENO"; then :
21528 ac_cv_lib_m_tanhf
=yes
21530 ac_cv_lib_m_tanhf
=no
21532 rm -f core conftest.err conftest.
$ac_objext \
21533 conftest
$ac_exeext conftest.
$ac_ext
21534 LIBS
=$ac_check_lib_save_LIBS
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21537 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21538 if test "x$ac_cv_lib_m_tanhf" = x
""yes; then :
21540 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21545 $as_echo_n "checking for tanh in -lm... " >&6; }
21546 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21547 $as_echo_n "(cached) " >&6
21549 ac_check_lib_save_LIBS
=$LIBS
21551 if test x
$gcc_no_link = xyes
; then
21552 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21555 /* end confdefs.h. */
21557 /* Override any GCC internal prototype to avoid an error.
21558 Use char because int might match the return type of a GCC
21559 builtin and then its argument prototype would still apply. */
21572 if ac_fn_c_try_link
"$LINENO"; then :
21573 ac_cv_lib_m_tanh
=yes
21575 ac_cv_lib_m_tanh
=no
21577 rm -f core conftest.err conftest.
$ac_objext \
21578 conftest
$ac_exeext conftest.
$ac_ext
21579 LIBS
=$ac_check_lib_save_LIBS
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21582 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21583 if test "x$ac_cv_lib_m_tanh" = x
""yes; then :
21585 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21590 $as_echo_n "checking for tanhl in -lm... " >&6; }
21591 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21592 $as_echo_n "(cached) " >&6
21594 ac_check_lib_save_LIBS
=$LIBS
21596 if test x
$gcc_no_link = xyes
; then
21597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21600 /* end confdefs.h. */
21602 /* Override any GCC internal prototype to avoid an error.
21603 Use char because int might match the return type of a GCC
21604 builtin and then its argument prototype would still apply. */
21617 if ac_fn_c_try_link
"$LINENO"; then :
21618 ac_cv_lib_m_tanhl
=yes
21620 ac_cv_lib_m_tanhl
=no
21622 rm -f core conftest.err conftest.
$ac_objext \
21623 conftest
$ac_exeext conftest.
$ac_ext
21624 LIBS
=$ac_check_lib_save_LIBS
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21627 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21628 if test "x$ac_cv_lib_m_tanhl" = x
""yes; then :
21630 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21635 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21636 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21637 $as_echo_n "(cached) " >&6
21639 ac_check_lib_save_LIBS
=$LIBS
21641 if test x
$gcc_no_link = xyes
; then
21642 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21647 /* Override any GCC internal prototype to avoid an error.
21648 Use char because int might match the return type of a GCC
21649 builtin and then its argument prototype would still apply. */
21662 if ac_fn_c_try_link
"$LINENO"; then :
21663 ac_cv_lib_m_ctanhf
=yes
21665 ac_cv_lib_m_ctanhf
=no
21667 rm -f core conftest.err conftest.
$ac_objext \
21668 conftest
$ac_exeext conftest.
$ac_ext
21669 LIBS
=$ac_check_lib_save_LIBS
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21672 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21673 if test "x$ac_cv_lib_m_ctanhf" = x
""yes; then :
21675 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21680 $as_echo_n "checking for ctanh in -lm... " >&6; }
21681 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21682 $as_echo_n "(cached) " >&6
21684 ac_check_lib_save_LIBS
=$LIBS
21686 if test x
$gcc_no_link = xyes
; then
21687 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21690 /* end confdefs.h. */
21692 /* Override any GCC internal prototype to avoid an error.
21693 Use char because int might match the return type of a GCC
21694 builtin and then its argument prototype would still apply. */
21707 if ac_fn_c_try_link
"$LINENO"; then :
21708 ac_cv_lib_m_ctanh
=yes
21710 ac_cv_lib_m_ctanh
=no
21712 rm -f core conftest.err conftest.
$ac_objext \
21713 conftest
$ac_exeext conftest.
$ac_ext
21714 LIBS
=$ac_check_lib_save_LIBS
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21717 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21718 if test "x$ac_cv_lib_m_ctanh" = x
""yes; then :
21720 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21725 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21726 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21727 $as_echo_n "(cached) " >&6
21729 ac_check_lib_save_LIBS
=$LIBS
21731 if test x
$gcc_no_link = xyes
; then
21732 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21737 /* Override any GCC internal prototype to avoid an error.
21738 Use char because int might match the return type of a GCC
21739 builtin and then its argument prototype would still apply. */
21752 if ac_fn_c_try_link
"$LINENO"; then :
21753 ac_cv_lib_m_ctanhl
=yes
21755 ac_cv_lib_m_ctanhl
=no
21757 rm -f core conftest.err conftest.
$ac_objext \
21758 conftest
$ac_exeext conftest.
$ac_ext
21759 LIBS
=$ac_check_lib_save_LIBS
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21762 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21763 if test "x$ac_cv_lib_m_ctanhl" = x
""yes; then :
21765 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21770 $as_echo_n "checking for truncf in -lm... " >&6; }
21771 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21772 $as_echo_n "(cached) " >&6
21774 ac_check_lib_save_LIBS
=$LIBS
21776 if test x
$gcc_no_link = xyes
; then
21777 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21780 /* end confdefs.h. */
21782 /* Override any GCC internal prototype to avoid an error.
21783 Use char because int might match the return type of a GCC
21784 builtin and then its argument prototype would still apply. */
21797 if ac_fn_c_try_link
"$LINENO"; then :
21798 ac_cv_lib_m_truncf
=yes
21800 ac_cv_lib_m_truncf
=no
21802 rm -f core conftest.err conftest.
$ac_objext \
21803 conftest
$ac_exeext conftest.
$ac_ext
21804 LIBS
=$ac_check_lib_save_LIBS
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21807 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21808 if test "x$ac_cv_lib_m_truncf" = x
""yes; then :
21810 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21815 $as_echo_n "checking for trunc in -lm... " >&6; }
21816 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21817 $as_echo_n "(cached) " >&6
21819 ac_check_lib_save_LIBS
=$LIBS
21821 if test x
$gcc_no_link = xyes
; then
21822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21825 /* end confdefs.h. */
21827 /* Override any GCC internal prototype to avoid an error.
21828 Use char because int might match the return type of a GCC
21829 builtin and then its argument prototype would still apply. */
21842 if ac_fn_c_try_link
"$LINENO"; then :
21843 ac_cv_lib_m_trunc
=yes
21845 ac_cv_lib_m_trunc
=no
21847 rm -f core conftest.err conftest.
$ac_objext \
21848 conftest
$ac_exeext conftest.
$ac_ext
21849 LIBS
=$ac_check_lib_save_LIBS
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21852 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21853 if test "x$ac_cv_lib_m_trunc" = x
""yes; then :
21855 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21860 $as_echo_n "checking for truncl in -lm... " >&6; }
21861 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21862 $as_echo_n "(cached) " >&6
21864 ac_check_lib_save_LIBS
=$LIBS
21866 if test x
$gcc_no_link = xyes
; then
21867 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21872 /* Override any GCC internal prototype to avoid an error.
21873 Use char because int might match the return type of a GCC
21874 builtin and then its argument prototype would still apply. */
21887 if ac_fn_c_try_link
"$LINENO"; then :
21888 ac_cv_lib_m_truncl
=yes
21890 ac_cv_lib_m_truncl
=no
21892 rm -f core conftest.err conftest.
$ac_objext \
21893 conftest
$ac_exeext conftest.
$ac_ext
21894 LIBS
=$ac_check_lib_save_LIBS
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21897 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21898 if test "x$ac_cv_lib_m_truncl" = x
""yes; then :
21900 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21905 $as_echo_n "checking for erff in -lm... " >&6; }
21906 if test "${ac_cv_lib_m_erff+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21909 ac_check_lib_save_LIBS
=$LIBS
21911 if test x
$gcc_no_link = xyes
; then
21912 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21915 /* end confdefs.h. */
21917 /* Override any GCC internal prototype to avoid an error.
21918 Use char because int might match the return type of a GCC
21919 builtin and then its argument prototype would still apply. */
21932 if ac_fn_c_try_link
"$LINENO"; then :
21933 ac_cv_lib_m_erff
=yes
21935 ac_cv_lib_m_erff
=no
21937 rm -f core conftest.err conftest.
$ac_objext \
21938 conftest
$ac_exeext conftest.
$ac_ext
21939 LIBS
=$ac_check_lib_save_LIBS
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
21942 $as_echo "$ac_cv_lib_m_erff" >&6; }
21943 if test "x$ac_cv_lib_m_erff" = x
""yes; then :
21945 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
21950 $as_echo_n "checking for erf in -lm... " >&6; }
21951 if test "${ac_cv_lib_m_erf+set}" = set; then :
21952 $as_echo_n "(cached) " >&6
21954 ac_check_lib_save_LIBS
=$LIBS
21956 if test x
$gcc_no_link = xyes
; then
21957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21960 /* end confdefs.h. */
21962 /* Override any GCC internal prototype to avoid an error.
21963 Use char because int might match the return type of a GCC
21964 builtin and then its argument prototype would still apply. */
21977 if ac_fn_c_try_link
"$LINENO"; then :
21978 ac_cv_lib_m_erf
=yes
21982 rm -f core conftest.err conftest.
$ac_objext \
21983 conftest
$ac_exeext conftest.
$ac_ext
21984 LIBS
=$ac_check_lib_save_LIBS
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
21987 $as_echo "$ac_cv_lib_m_erf" >&6; }
21988 if test "x$ac_cv_lib_m_erf" = x
""yes; then :
21990 $as_echo "#define HAVE_ERF 1" >>confdefs.h
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
21995 $as_echo_n "checking for erfl in -lm... " >&6; }
21996 if test "${ac_cv_lib_m_erfl+set}" = set; then :
21997 $as_echo_n "(cached) " >&6
21999 ac_check_lib_save_LIBS
=$LIBS
22001 if test x
$gcc_no_link = xyes
; then
22002 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22005 /* end confdefs.h. */
22007 /* Override any GCC internal prototype to avoid an error.
22008 Use char because int might match the return type of a GCC
22009 builtin and then its argument prototype would still apply. */
22022 if ac_fn_c_try_link
"$LINENO"; then :
22023 ac_cv_lib_m_erfl
=yes
22025 ac_cv_lib_m_erfl
=no
22027 rm -f core conftest.err conftest.
$ac_objext \
22028 conftest
$ac_exeext conftest.
$ac_ext
22029 LIBS
=$ac_check_lib_save_LIBS
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22032 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22033 if test "x$ac_cv_lib_m_erfl" = x
""yes; then :
22035 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22040 $as_echo_n "checking for erfcf in -lm... " >&6; }
22041 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22042 $as_echo_n "(cached) " >&6
22044 ac_check_lib_save_LIBS
=$LIBS
22046 if test x
$gcc_no_link = xyes
; then
22047 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22050 /* end confdefs.h. */
22052 /* Override any GCC internal prototype to avoid an error.
22053 Use char because int might match the return type of a GCC
22054 builtin and then its argument prototype would still apply. */
22067 if ac_fn_c_try_link
"$LINENO"; then :
22068 ac_cv_lib_m_erfcf
=yes
22070 ac_cv_lib_m_erfcf
=no
22072 rm -f core conftest.err conftest.
$ac_objext \
22073 conftest
$ac_exeext conftest.
$ac_ext
22074 LIBS
=$ac_check_lib_save_LIBS
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22077 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22078 if test "x$ac_cv_lib_m_erfcf" = x
""yes; then :
22080 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22085 $as_echo_n "checking for erfc in -lm... " >&6; }
22086 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22087 $as_echo_n "(cached) " >&6
22089 ac_check_lib_save_LIBS
=$LIBS
22091 if test x
$gcc_no_link = xyes
; then
22092 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22095 /* end confdefs.h. */
22097 /* Override any GCC internal prototype to avoid an error.
22098 Use char because int might match the return type of a GCC
22099 builtin and then its argument prototype would still apply. */
22112 if ac_fn_c_try_link
"$LINENO"; then :
22113 ac_cv_lib_m_erfc
=yes
22115 ac_cv_lib_m_erfc
=no
22117 rm -f core conftest.err conftest.
$ac_objext \
22118 conftest
$ac_exeext conftest.
$ac_ext
22119 LIBS
=$ac_check_lib_save_LIBS
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22122 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22123 if test "x$ac_cv_lib_m_erfc" = x
""yes; then :
22125 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22130 $as_echo_n "checking for erfcl in -lm... " >&6; }
22131 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22132 $as_echo_n "(cached) " >&6
22134 ac_check_lib_save_LIBS
=$LIBS
22136 if test x
$gcc_no_link = xyes
; then
22137 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h. */
22142 /* Override any GCC internal prototype to avoid an error.
22143 Use char because int might match the return type of a GCC
22144 builtin and then its argument prototype would still apply. */
22157 if ac_fn_c_try_link
"$LINENO"; then :
22158 ac_cv_lib_m_erfcl
=yes
22160 ac_cv_lib_m_erfcl
=no
22162 rm -f core conftest.err conftest.
$ac_objext \
22163 conftest
$ac_exeext conftest.
$ac_ext
22164 LIBS
=$ac_check_lib_save_LIBS
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22167 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22168 if test "x$ac_cv_lib_m_erfcl" = x
""yes; then :
22170 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22175 $as_echo_n "checking for j0f in -lm... " >&6; }
22176 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22177 $as_echo_n "(cached) " >&6
22179 ac_check_lib_save_LIBS
=$LIBS
22181 if test x
$gcc_no_link = xyes
; then
22182 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22185 /* end confdefs.h. */
22187 /* Override any GCC internal prototype to avoid an error.
22188 Use char because int might match the return type of a GCC
22189 builtin and then its argument prototype would still apply. */
22202 if ac_fn_c_try_link
"$LINENO"; then :
22203 ac_cv_lib_m_j0f
=yes
22207 rm -f core conftest.err conftest.
$ac_objext \
22208 conftest
$ac_exeext conftest.
$ac_ext
22209 LIBS
=$ac_check_lib_save_LIBS
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22212 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22213 if test "x$ac_cv_lib_m_j0f" = x
""yes; then :
22215 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22220 $as_echo_n "checking for j0 in -lm... " >&6; }
22221 if test "${ac_cv_lib_m_j0+set}" = set; then :
22222 $as_echo_n "(cached) " >&6
22224 ac_check_lib_save_LIBS
=$LIBS
22226 if test x
$gcc_no_link = xyes
; then
22227 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22230 /* end confdefs.h. */
22232 /* Override any GCC internal prototype to avoid an error.
22233 Use char because int might match the return type of a GCC
22234 builtin and then its argument prototype would still apply. */
22247 if ac_fn_c_try_link
"$LINENO"; then :
22252 rm -f core conftest.err conftest.
$ac_objext \
22253 conftest
$ac_exeext conftest.
$ac_ext
22254 LIBS
=$ac_check_lib_save_LIBS
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22257 $as_echo "$ac_cv_lib_m_j0" >&6; }
22258 if test "x$ac_cv_lib_m_j0" = x
""yes; then :
22260 $as_echo "#define HAVE_J0 1" >>confdefs.h
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22265 $as_echo_n "checking for j0l in -lm... " >&6; }
22266 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22269 ac_check_lib_save_LIBS
=$LIBS
22271 if test x
$gcc_no_link = xyes
; then
22272 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22275 /* end confdefs.h. */
22277 /* Override any GCC internal prototype to avoid an error.
22278 Use char because int might match the return type of a GCC
22279 builtin and then its argument prototype would still apply. */
22292 if ac_fn_c_try_link
"$LINENO"; then :
22293 ac_cv_lib_m_j0l
=yes
22297 rm -f core conftest.err conftest.
$ac_objext \
22298 conftest
$ac_exeext conftest.
$ac_ext
22299 LIBS
=$ac_check_lib_save_LIBS
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22302 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22303 if test "x$ac_cv_lib_m_j0l" = x
""yes; then :
22305 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22310 $as_echo_n "checking for j1f in -lm... " >&6; }
22311 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22312 $as_echo_n "(cached) " >&6
22314 ac_check_lib_save_LIBS
=$LIBS
22316 if test x
$gcc_no_link = xyes
; then
22317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22320 /* end confdefs.h. */
22322 /* Override any GCC internal prototype to avoid an error.
22323 Use char because int might match the return type of a GCC
22324 builtin and then its argument prototype would still apply. */
22337 if ac_fn_c_try_link
"$LINENO"; then :
22338 ac_cv_lib_m_j1f
=yes
22342 rm -f core conftest.err conftest.
$ac_objext \
22343 conftest
$ac_exeext conftest.
$ac_ext
22344 LIBS
=$ac_check_lib_save_LIBS
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22347 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22348 if test "x$ac_cv_lib_m_j1f" = x
""yes; then :
22350 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22355 $as_echo_n "checking for j1 in -lm... " >&6; }
22356 if test "${ac_cv_lib_m_j1+set}" = set; then :
22357 $as_echo_n "(cached) " >&6
22359 ac_check_lib_save_LIBS
=$LIBS
22361 if test x
$gcc_no_link = xyes
; then
22362 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22365 /* end confdefs.h. */
22367 /* Override any GCC internal prototype to avoid an error.
22368 Use char because int might match the return type of a GCC
22369 builtin and then its argument prototype would still apply. */
22382 if ac_fn_c_try_link
"$LINENO"; then :
22387 rm -f core conftest.err conftest.
$ac_objext \
22388 conftest
$ac_exeext conftest.
$ac_ext
22389 LIBS
=$ac_check_lib_save_LIBS
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22392 $as_echo "$ac_cv_lib_m_j1" >&6; }
22393 if test "x$ac_cv_lib_m_j1" = x
""yes; then :
22395 $as_echo "#define HAVE_J1 1" >>confdefs.h
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22400 $as_echo_n "checking for j1l in -lm... " >&6; }
22401 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22402 $as_echo_n "(cached) " >&6
22404 ac_check_lib_save_LIBS
=$LIBS
22406 if test x
$gcc_no_link = xyes
; then
22407 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22410 /* end confdefs.h. */
22412 /* Override any GCC internal prototype to avoid an error.
22413 Use char because int might match the return type of a GCC
22414 builtin and then its argument prototype would still apply. */
22427 if ac_fn_c_try_link
"$LINENO"; then :
22428 ac_cv_lib_m_j1l
=yes
22432 rm -f core conftest.err conftest.
$ac_objext \
22433 conftest
$ac_exeext conftest.
$ac_ext
22434 LIBS
=$ac_check_lib_save_LIBS
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22437 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22438 if test "x$ac_cv_lib_m_j1l" = x
""yes; then :
22440 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22445 $as_echo_n "checking for jnf in -lm... " >&6; }
22446 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22447 $as_echo_n "(cached) " >&6
22449 ac_check_lib_save_LIBS
=$LIBS
22451 if test x
$gcc_no_link = xyes
; then
22452 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22455 /* end confdefs.h. */
22457 /* Override any GCC internal prototype to avoid an error.
22458 Use char because int might match the return type of a GCC
22459 builtin and then its argument prototype would still apply. */
22472 if ac_fn_c_try_link
"$LINENO"; then :
22473 ac_cv_lib_m_jnf
=yes
22477 rm -f core conftest.err conftest.
$ac_objext \
22478 conftest
$ac_exeext conftest.
$ac_ext
22479 LIBS
=$ac_check_lib_save_LIBS
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22482 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22483 if test "x$ac_cv_lib_m_jnf" = x
""yes; then :
22485 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22490 $as_echo_n "checking for jn in -lm... " >&6; }
22491 if test "${ac_cv_lib_m_jn+set}" = set; then :
22492 $as_echo_n "(cached) " >&6
22494 ac_check_lib_save_LIBS
=$LIBS
22496 if test x
$gcc_no_link = xyes
; then
22497 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22500 /* end confdefs.h. */
22502 /* Override any GCC internal prototype to avoid an error.
22503 Use char because int might match the return type of a GCC
22504 builtin and then its argument prototype would still apply. */
22517 if ac_fn_c_try_link
"$LINENO"; then :
22522 rm -f core conftest.err conftest.
$ac_objext \
22523 conftest
$ac_exeext conftest.
$ac_ext
22524 LIBS
=$ac_check_lib_save_LIBS
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22527 $as_echo "$ac_cv_lib_m_jn" >&6; }
22528 if test "x$ac_cv_lib_m_jn" = x
""yes; then :
22530 $as_echo "#define HAVE_JN 1" >>confdefs.h
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22535 $as_echo_n "checking for jnl in -lm... " >&6; }
22536 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22537 $as_echo_n "(cached) " >&6
22539 ac_check_lib_save_LIBS
=$LIBS
22541 if test x
$gcc_no_link = xyes
; then
22542 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22547 /* Override any GCC internal prototype to avoid an error.
22548 Use char because int might match the return type of a GCC
22549 builtin and then its argument prototype would still apply. */
22562 if ac_fn_c_try_link
"$LINENO"; then :
22563 ac_cv_lib_m_jnl
=yes
22567 rm -f core conftest.err conftest.
$ac_objext \
22568 conftest
$ac_exeext conftest.
$ac_ext
22569 LIBS
=$ac_check_lib_save_LIBS
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22572 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22573 if test "x$ac_cv_lib_m_jnl" = x
""yes; then :
22575 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22580 $as_echo_n "checking for y0f in -lm... " >&6; }
22581 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22584 ac_check_lib_save_LIBS
=$LIBS
22586 if test x
$gcc_no_link = xyes
; then
22587 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22590 /* end confdefs.h. */
22592 /* Override any GCC internal prototype to avoid an error.
22593 Use char because int might match the return type of a GCC
22594 builtin and then its argument prototype would still apply. */
22607 if ac_fn_c_try_link
"$LINENO"; then :
22608 ac_cv_lib_m_y0f
=yes
22612 rm -f core conftest.err conftest.
$ac_objext \
22613 conftest
$ac_exeext conftest.
$ac_ext
22614 LIBS
=$ac_check_lib_save_LIBS
22616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22617 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22618 if test "x$ac_cv_lib_m_y0f" = x
""yes; then :
22620 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22625 $as_echo_n "checking for y0 in -lm... " >&6; }
22626 if test "${ac_cv_lib_m_y0+set}" = set; then :
22627 $as_echo_n "(cached) " >&6
22629 ac_check_lib_save_LIBS
=$LIBS
22631 if test x
$gcc_no_link = xyes
; then
22632 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22635 /* end confdefs.h. */
22637 /* Override any GCC internal prototype to avoid an error.
22638 Use char because int might match the return type of a GCC
22639 builtin and then its argument prototype would still apply. */
22652 if ac_fn_c_try_link
"$LINENO"; then :
22657 rm -f core conftest.err conftest.
$ac_objext \
22658 conftest
$ac_exeext conftest.
$ac_ext
22659 LIBS
=$ac_check_lib_save_LIBS
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22662 $as_echo "$ac_cv_lib_m_y0" >&6; }
22663 if test "x$ac_cv_lib_m_y0" = x
""yes; then :
22665 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22670 $as_echo_n "checking for y0l in -lm... " >&6; }
22671 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22672 $as_echo_n "(cached) " >&6
22674 ac_check_lib_save_LIBS
=$LIBS
22676 if test x
$gcc_no_link = xyes
; then
22677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22682 /* Override any GCC internal prototype to avoid an error.
22683 Use char because int might match the return type of a GCC
22684 builtin and then its argument prototype would still apply. */
22697 if ac_fn_c_try_link
"$LINENO"; then :
22698 ac_cv_lib_m_y0l
=yes
22702 rm -f core conftest.err conftest.
$ac_objext \
22703 conftest
$ac_exeext conftest.
$ac_ext
22704 LIBS
=$ac_check_lib_save_LIBS
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22707 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22708 if test "x$ac_cv_lib_m_y0l" = x
""yes; then :
22710 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22715 $as_echo_n "checking for y1f in -lm... " >&6; }
22716 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22717 $as_echo_n "(cached) " >&6
22719 ac_check_lib_save_LIBS
=$LIBS
22721 if test x
$gcc_no_link = xyes
; then
22722 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22725 /* end confdefs.h. */
22727 /* Override any GCC internal prototype to avoid an error.
22728 Use char because int might match the return type of a GCC
22729 builtin and then its argument prototype would still apply. */
22742 if ac_fn_c_try_link
"$LINENO"; then :
22743 ac_cv_lib_m_y1f
=yes
22747 rm -f core conftest.err conftest.
$ac_objext \
22748 conftest
$ac_exeext conftest.
$ac_ext
22749 LIBS
=$ac_check_lib_save_LIBS
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22752 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22753 if test "x$ac_cv_lib_m_y1f" = x
""yes; then :
22755 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22760 $as_echo_n "checking for y1 in -lm... " >&6; }
22761 if test "${ac_cv_lib_m_y1+set}" = set; then :
22762 $as_echo_n "(cached) " >&6
22764 ac_check_lib_save_LIBS
=$LIBS
22766 if test x
$gcc_no_link = xyes
; then
22767 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22770 /* end confdefs.h. */
22772 /* Override any GCC internal prototype to avoid an error.
22773 Use char because int might match the return type of a GCC
22774 builtin and then its argument prototype would still apply. */
22787 if ac_fn_c_try_link
"$LINENO"; then :
22792 rm -f core conftest.err conftest.
$ac_objext \
22793 conftest
$ac_exeext conftest.
$ac_ext
22794 LIBS
=$ac_check_lib_save_LIBS
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22797 $as_echo "$ac_cv_lib_m_y1" >&6; }
22798 if test "x$ac_cv_lib_m_y1" = x
""yes; then :
22800 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22805 $as_echo_n "checking for y1l in -lm... " >&6; }
22806 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22807 $as_echo_n "(cached) " >&6
22809 ac_check_lib_save_LIBS
=$LIBS
22811 if test x
$gcc_no_link = xyes
; then
22812 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22815 /* end confdefs.h. */
22817 /* Override any GCC internal prototype to avoid an error.
22818 Use char because int might match the return type of a GCC
22819 builtin and then its argument prototype would still apply. */
22832 if ac_fn_c_try_link
"$LINENO"; then :
22833 ac_cv_lib_m_y1l
=yes
22837 rm -f core conftest.err conftest.
$ac_objext \
22838 conftest
$ac_exeext conftest.
$ac_ext
22839 LIBS
=$ac_check_lib_save_LIBS
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22842 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22843 if test "x$ac_cv_lib_m_y1l" = x
""yes; then :
22845 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22850 $as_echo_n "checking for ynf in -lm... " >&6; }
22851 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22852 $as_echo_n "(cached) " >&6
22854 ac_check_lib_save_LIBS
=$LIBS
22856 if test x
$gcc_no_link = xyes
; then
22857 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h. */
22862 /* Override any GCC internal prototype to avoid an error.
22863 Use char because int might match the return type of a GCC
22864 builtin and then its argument prototype would still apply. */
22877 if ac_fn_c_try_link
"$LINENO"; then :
22878 ac_cv_lib_m_ynf
=yes
22882 rm -f core conftest.err conftest.
$ac_objext \
22883 conftest
$ac_exeext conftest.
$ac_ext
22884 LIBS
=$ac_check_lib_save_LIBS
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22887 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22888 if test "x$ac_cv_lib_m_ynf" = x
""yes; then :
22890 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22895 $as_echo_n "checking for yn in -lm... " >&6; }
22896 if test "${ac_cv_lib_m_yn+set}" = set; then :
22897 $as_echo_n "(cached) " >&6
22899 ac_check_lib_save_LIBS
=$LIBS
22901 if test x
$gcc_no_link = xyes
; then
22902 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22905 /* end confdefs.h. */
22907 /* Override any GCC internal prototype to avoid an error.
22908 Use char because int might match the return type of a GCC
22909 builtin and then its argument prototype would still apply. */
22922 if ac_fn_c_try_link
"$LINENO"; then :
22927 rm -f core conftest.err conftest.
$ac_objext \
22928 conftest
$ac_exeext conftest.
$ac_ext
22929 LIBS
=$ac_check_lib_save_LIBS
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22932 $as_echo "$ac_cv_lib_m_yn" >&6; }
22933 if test "x$ac_cv_lib_m_yn" = x
""yes; then :
22935 $as_echo "#define HAVE_YN 1" >>confdefs.h
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22940 $as_echo_n "checking for ynl in -lm... " >&6; }
22941 if test "${ac_cv_lib_m_ynl+set}" = set; then :
22942 $as_echo_n "(cached) " >&6
22944 ac_check_lib_save_LIBS
=$LIBS
22946 if test x
$gcc_no_link = xyes
; then
22947 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22950 /* end confdefs.h. */
22952 /* Override any GCC internal prototype to avoid an error.
22953 Use char because int might match the return type of a GCC
22954 builtin and then its argument prototype would still apply. */
22967 if ac_fn_c_try_link
"$LINENO"; then :
22968 ac_cv_lib_m_ynl
=yes
22972 rm -f core conftest.err conftest.
$ac_objext \
22973 conftest
$ac_exeext conftest.
$ac_ext
22974 LIBS
=$ac_check_lib_save_LIBS
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
22977 $as_echo "$ac_cv_lib_m_ynl" >&6; }
22978 if test "x$ac_cv_lib_m_ynl" = x
""yes; then :
22980 $as_echo "#define HAVE_YNL 1" >>confdefs.h
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
22985 $as_echo_n "checking for tgamma in -lm... " >&6; }
22986 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
22987 $as_echo_n "(cached) " >&6
22989 ac_check_lib_save_LIBS
=$LIBS
22991 if test x
$gcc_no_link = xyes
; then
22992 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22995 /* end confdefs.h. */
22997 /* Override any GCC internal prototype to avoid an error.
22998 Use char because int might match the return type of a GCC
22999 builtin and then its argument prototype would still apply. */
23012 if ac_fn_c_try_link
"$LINENO"; then :
23013 ac_cv_lib_m_tgamma
=yes
23015 ac_cv_lib_m_tgamma
=no
23017 rm -f core conftest.err conftest.
$ac_objext \
23018 conftest
$ac_exeext conftest.
$ac_ext
23019 LIBS
=$ac_check_lib_save_LIBS
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23022 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23023 if test "x$ac_cv_lib_m_tgamma" = x
""yes; then :
23025 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23030 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23031 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23032 $as_echo_n "(cached) " >&6
23034 ac_check_lib_save_LIBS
=$LIBS
23036 if test x
$gcc_no_link = xyes
; then
23037 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h. */
23042 /* Override any GCC internal prototype to avoid an error.
23043 Use char because int might match the return type of a GCC
23044 builtin and then its argument prototype would still apply. */
23057 if ac_fn_c_try_link
"$LINENO"; then :
23058 ac_cv_lib_m_tgammaf
=yes
23060 ac_cv_lib_m_tgammaf
=no
23062 rm -f core conftest.err conftest.
$ac_objext \
23063 conftest
$ac_exeext conftest.
$ac_ext
23064 LIBS
=$ac_check_lib_save_LIBS
23066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23067 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23068 if test "x$ac_cv_lib_m_tgammaf" = x
""yes; then :
23070 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23075 $as_echo_n "checking for tgammal in -lm... " >&6; }
23076 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23077 $as_echo_n "(cached) " >&6
23079 ac_check_lib_save_LIBS
=$LIBS
23081 if test x
$gcc_no_link = xyes
; then
23082 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23085 /* end confdefs.h. */
23087 /* Override any GCC internal prototype to avoid an error.
23088 Use char because int might match the return type of a GCC
23089 builtin and then its argument prototype would still apply. */
23102 if ac_fn_c_try_link
"$LINENO"; then :
23103 ac_cv_lib_m_tgammal
=yes
23105 ac_cv_lib_m_tgammal
=no
23107 rm -f core conftest.err conftest.
$ac_objext \
23108 conftest
$ac_exeext conftest.
$ac_ext
23109 LIBS
=$ac_check_lib_save_LIBS
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23112 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23113 if test "x$ac_cv_lib_m_tgammal" = x
""yes; then :
23115 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23120 $as_echo_n "checking for lgamma in -lm... " >&6; }
23121 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23122 $as_echo_n "(cached) " >&6
23124 ac_check_lib_save_LIBS
=$LIBS
23126 if test x
$gcc_no_link = xyes
; then
23127 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23130 /* end confdefs.h. */
23132 /* Override any GCC internal prototype to avoid an error.
23133 Use char because int might match the return type of a GCC
23134 builtin and then its argument prototype would still apply. */
23147 if ac_fn_c_try_link
"$LINENO"; then :
23148 ac_cv_lib_m_lgamma
=yes
23150 ac_cv_lib_m_lgamma
=no
23152 rm -f core conftest.err conftest.
$ac_objext \
23153 conftest
$ac_exeext conftest.
$ac_ext
23154 LIBS
=$ac_check_lib_save_LIBS
23156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23157 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23158 if test "x$ac_cv_lib_m_lgamma" = x
""yes; then :
23160 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23165 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23166 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23167 $as_echo_n "(cached) " >&6
23169 ac_check_lib_save_LIBS
=$LIBS
23171 if test x
$gcc_no_link = xyes
; then
23172 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23177 /* Override any GCC internal prototype to avoid an error.
23178 Use char because int might match the return type of a GCC
23179 builtin and then its argument prototype would still apply. */
23192 if ac_fn_c_try_link
"$LINENO"; then :
23193 ac_cv_lib_m_lgammaf
=yes
23195 ac_cv_lib_m_lgammaf
=no
23197 rm -f core conftest.err conftest.
$ac_objext \
23198 conftest
$ac_exeext conftest.
$ac_ext
23199 LIBS
=$ac_check_lib_save_LIBS
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23202 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23203 if test "x$ac_cv_lib_m_lgammaf" = x
""yes; then :
23205 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23210 $as_echo_n "checking for lgammal in -lm... " >&6; }
23211 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23214 ac_check_lib_save_LIBS
=$LIBS
23216 if test x
$gcc_no_link = xyes
; then
23217 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23220 /* end confdefs.h. */
23222 /* Override any GCC internal prototype to avoid an error.
23223 Use char because int might match the return type of a GCC
23224 builtin and then its argument prototype would still apply. */
23237 if ac_fn_c_try_link
"$LINENO"; then :
23238 ac_cv_lib_m_lgammal
=yes
23240 ac_cv_lib_m_lgammal
=no
23242 rm -f core conftest.err conftest.
$ac_objext \
23243 conftest
$ac_exeext conftest.
$ac_ext
23244 LIBS
=$ac_check_lib_save_LIBS
23246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23247 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23248 if test "x$ac_cv_lib_m_lgammal" = x
""yes; then :
23250 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23255 # Check for GFORTRAN_C99_1.1 funcs
23256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23257 $as_echo_n "checking for cacos in -lm... " >&6; }
23258 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23259 $as_echo_n "(cached) " >&6
23261 ac_check_lib_save_LIBS
=$LIBS
23263 if test x
$gcc_no_link = xyes
; then
23264 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23269 /* Override any GCC internal prototype to avoid an error.
23270 Use char because int might match the return type of a GCC
23271 builtin and then its argument prototype would still apply. */
23284 if ac_fn_c_try_link
"$LINENO"; then :
23285 ac_cv_lib_m_cacos
=yes
23287 ac_cv_lib_m_cacos
=no
23289 rm -f core conftest.err conftest.
$ac_objext \
23290 conftest
$ac_exeext conftest.
$ac_ext
23291 LIBS
=$ac_check_lib_save_LIBS
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23294 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23295 if test "x$ac_cv_lib_m_cacos" = x
""yes; then :
23297 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23302 $as_echo_n "checking for cacosf in -lm... " >&6; }
23303 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23304 $as_echo_n "(cached) " >&6
23306 ac_check_lib_save_LIBS
=$LIBS
23308 if test x
$gcc_no_link = xyes
; then
23309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23314 /* Override any GCC internal prototype to avoid an error.
23315 Use char because int might match the return type of a GCC
23316 builtin and then its argument prototype would still apply. */
23329 if ac_fn_c_try_link
"$LINENO"; then :
23330 ac_cv_lib_m_cacosf
=yes
23332 ac_cv_lib_m_cacosf
=no
23334 rm -f core conftest.err conftest.
$ac_objext \
23335 conftest
$ac_exeext conftest.
$ac_ext
23336 LIBS
=$ac_check_lib_save_LIBS
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23339 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23340 if test "x$ac_cv_lib_m_cacosf" = x
""yes; then :
23342 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23347 $as_echo_n "checking for cacosh in -lm... " >&6; }
23348 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23349 $as_echo_n "(cached) " >&6
23351 ac_check_lib_save_LIBS
=$LIBS
23353 if test x
$gcc_no_link = xyes
; then
23354 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23357 /* end confdefs.h. */
23359 /* Override any GCC internal prototype to avoid an error.
23360 Use char because int might match the return type of a GCC
23361 builtin and then its argument prototype would still apply. */
23374 if ac_fn_c_try_link
"$LINENO"; then :
23375 ac_cv_lib_m_cacosh
=yes
23377 ac_cv_lib_m_cacosh
=no
23379 rm -f core conftest.err conftest.
$ac_objext \
23380 conftest
$ac_exeext conftest.
$ac_ext
23381 LIBS
=$ac_check_lib_save_LIBS
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23384 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23385 if test "x$ac_cv_lib_m_cacosh" = x
""yes; then :
23387 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23392 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23393 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23394 $as_echo_n "(cached) " >&6
23396 ac_check_lib_save_LIBS
=$LIBS
23398 if test x
$gcc_no_link = xyes
; then
23399 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23402 /* end confdefs.h. */
23404 /* Override any GCC internal prototype to avoid an error.
23405 Use char because int might match the return type of a GCC
23406 builtin and then its argument prototype would still apply. */
23419 if ac_fn_c_try_link
"$LINENO"; then :
23420 ac_cv_lib_m_cacoshf
=yes
23422 ac_cv_lib_m_cacoshf
=no
23424 rm -f core conftest.err conftest.
$ac_objext \
23425 conftest
$ac_exeext conftest.
$ac_ext
23426 LIBS
=$ac_check_lib_save_LIBS
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23429 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23430 if test "x$ac_cv_lib_m_cacoshf" = x
""yes; then :
23432 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23437 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23438 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23439 $as_echo_n "(cached) " >&6
23441 ac_check_lib_save_LIBS
=$LIBS
23443 if test x
$gcc_no_link = xyes
; then
23444 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23447 /* end confdefs.h. */
23449 /* Override any GCC internal prototype to avoid an error.
23450 Use char because int might match the return type of a GCC
23451 builtin and then its argument prototype would still apply. */
23464 if ac_fn_c_try_link
"$LINENO"; then :
23465 ac_cv_lib_m_cacoshl
=yes
23467 ac_cv_lib_m_cacoshl
=no
23469 rm -f core conftest.err conftest.
$ac_objext \
23470 conftest
$ac_exeext conftest.
$ac_ext
23471 LIBS
=$ac_check_lib_save_LIBS
23473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23474 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23475 if test "x$ac_cv_lib_m_cacoshl" = x
""yes; then :
23477 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23482 $as_echo_n "checking for cacosl in -lm... " >&6; }
23483 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23484 $as_echo_n "(cached) " >&6
23486 ac_check_lib_save_LIBS
=$LIBS
23488 if test x
$gcc_no_link = xyes
; then
23489 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23492 /* end confdefs.h. */
23494 /* Override any GCC internal prototype to avoid an error.
23495 Use char because int might match the return type of a GCC
23496 builtin and then its argument prototype would still apply. */
23509 if ac_fn_c_try_link
"$LINENO"; then :
23510 ac_cv_lib_m_cacosl
=yes
23512 ac_cv_lib_m_cacosl
=no
23514 rm -f core conftest.err conftest.
$ac_objext \
23515 conftest
$ac_exeext conftest.
$ac_ext
23516 LIBS
=$ac_check_lib_save_LIBS
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23519 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23520 if test "x$ac_cv_lib_m_cacosl" = x
""yes; then :
23522 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23527 $as_echo_n "checking for casin in -lm... " >&6; }
23528 if test "${ac_cv_lib_m_casin+set}" = set; then :
23529 $as_echo_n "(cached) " >&6
23531 ac_check_lib_save_LIBS
=$LIBS
23533 if test x
$gcc_no_link = xyes
; then
23534 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23537 /* end confdefs.h. */
23539 /* Override any GCC internal prototype to avoid an error.
23540 Use char because int might match the return type of a GCC
23541 builtin and then its argument prototype would still apply. */
23554 if ac_fn_c_try_link
"$LINENO"; then :
23555 ac_cv_lib_m_casin
=yes
23557 ac_cv_lib_m_casin
=no
23559 rm -f core conftest.err conftest.
$ac_objext \
23560 conftest
$ac_exeext conftest.
$ac_ext
23561 LIBS
=$ac_check_lib_save_LIBS
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23564 $as_echo "$ac_cv_lib_m_casin" >&6; }
23565 if test "x$ac_cv_lib_m_casin" = x
""yes; then :
23567 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23572 $as_echo_n "checking for casinf in -lm... " >&6; }
23573 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23576 ac_check_lib_save_LIBS
=$LIBS
23578 if test x
$gcc_no_link = xyes
; then
23579 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23584 /* Override any GCC internal prototype to avoid an error.
23585 Use char because int might match the return type of a GCC
23586 builtin and then its argument prototype would still apply. */
23599 if ac_fn_c_try_link
"$LINENO"; then :
23600 ac_cv_lib_m_casinf
=yes
23602 ac_cv_lib_m_casinf
=no
23604 rm -f core conftest.err conftest.
$ac_objext \
23605 conftest
$ac_exeext conftest.
$ac_ext
23606 LIBS
=$ac_check_lib_save_LIBS
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23609 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23610 if test "x$ac_cv_lib_m_casinf" = x
""yes; then :
23612 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23617 $as_echo_n "checking for casinh in -lm... " >&6; }
23618 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23619 $as_echo_n "(cached) " >&6
23621 ac_check_lib_save_LIBS
=$LIBS
23623 if test x
$gcc_no_link = xyes
; then
23624 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23627 /* end confdefs.h. */
23629 /* Override any GCC internal prototype to avoid an error.
23630 Use char because int might match the return type of a GCC
23631 builtin and then its argument prototype would still apply. */
23644 if ac_fn_c_try_link
"$LINENO"; then :
23645 ac_cv_lib_m_casinh
=yes
23647 ac_cv_lib_m_casinh
=no
23649 rm -f core conftest.err conftest.
$ac_objext \
23650 conftest
$ac_exeext conftest.
$ac_ext
23651 LIBS
=$ac_check_lib_save_LIBS
23653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23654 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23655 if test "x$ac_cv_lib_m_casinh" = x
""yes; then :
23657 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23662 $as_echo_n "checking for casinhf in -lm... " >&6; }
23663 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23664 $as_echo_n "(cached) " >&6
23666 ac_check_lib_save_LIBS
=$LIBS
23668 if test x
$gcc_no_link = xyes
; then
23669 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23672 /* end confdefs.h. */
23674 /* Override any GCC internal prototype to avoid an error.
23675 Use char because int might match the return type of a GCC
23676 builtin and then its argument prototype would still apply. */
23689 if ac_fn_c_try_link
"$LINENO"; then :
23690 ac_cv_lib_m_casinhf
=yes
23692 ac_cv_lib_m_casinhf
=no
23694 rm -f core conftest.err conftest.
$ac_objext \
23695 conftest
$ac_exeext conftest.
$ac_ext
23696 LIBS
=$ac_check_lib_save_LIBS
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23699 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23700 if test "x$ac_cv_lib_m_casinhf" = x
""yes; then :
23702 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23707 $as_echo_n "checking for casinhl in -lm... " >&6; }
23708 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23709 $as_echo_n "(cached) " >&6
23711 ac_check_lib_save_LIBS
=$LIBS
23713 if test x
$gcc_no_link = xyes
; then
23714 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23717 /* end confdefs.h. */
23719 /* Override any GCC internal prototype to avoid an error.
23720 Use char because int might match the return type of a GCC
23721 builtin and then its argument prototype would still apply. */
23734 if ac_fn_c_try_link
"$LINENO"; then :
23735 ac_cv_lib_m_casinhl
=yes
23737 ac_cv_lib_m_casinhl
=no
23739 rm -f core conftest.err conftest.
$ac_objext \
23740 conftest
$ac_exeext conftest.
$ac_ext
23741 LIBS
=$ac_check_lib_save_LIBS
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23744 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23745 if test "x$ac_cv_lib_m_casinhl" = x
""yes; then :
23747 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23752 $as_echo_n "checking for casinl in -lm... " >&6; }
23753 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23754 $as_echo_n "(cached) " >&6
23756 ac_check_lib_save_LIBS
=$LIBS
23758 if test x
$gcc_no_link = xyes
; then
23759 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23762 /* end confdefs.h. */
23764 /* Override any GCC internal prototype to avoid an error.
23765 Use char because int might match the return type of a GCC
23766 builtin and then its argument prototype would still apply. */
23779 if ac_fn_c_try_link
"$LINENO"; then :
23780 ac_cv_lib_m_casinl
=yes
23782 ac_cv_lib_m_casinl
=no
23784 rm -f core conftest.err conftest.
$ac_objext \
23785 conftest
$ac_exeext conftest.
$ac_ext
23786 LIBS
=$ac_check_lib_save_LIBS
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23789 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23790 if test "x$ac_cv_lib_m_casinl" = x
""yes; then :
23792 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23797 $as_echo_n "checking for catan in -lm... " >&6; }
23798 if test "${ac_cv_lib_m_catan+set}" = set; then :
23799 $as_echo_n "(cached) " >&6
23801 ac_check_lib_save_LIBS
=$LIBS
23803 if test x
$gcc_no_link = xyes
; then
23804 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23807 /* end confdefs.h. */
23809 /* Override any GCC internal prototype to avoid an error.
23810 Use char because int might match the return type of a GCC
23811 builtin and then its argument prototype would still apply. */
23824 if ac_fn_c_try_link
"$LINENO"; then :
23825 ac_cv_lib_m_catan
=yes
23827 ac_cv_lib_m_catan
=no
23829 rm -f core conftest.err conftest.
$ac_objext \
23830 conftest
$ac_exeext conftest.
$ac_ext
23831 LIBS
=$ac_check_lib_save_LIBS
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23834 $as_echo "$ac_cv_lib_m_catan" >&6; }
23835 if test "x$ac_cv_lib_m_catan" = x
""yes; then :
23837 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23842 $as_echo_n "checking for catanf in -lm... " >&6; }
23843 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23844 $as_echo_n "(cached) " >&6
23846 ac_check_lib_save_LIBS
=$LIBS
23848 if test x
$gcc_no_link = xyes
; then
23849 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23852 /* end confdefs.h. */
23854 /* Override any GCC internal prototype to avoid an error.
23855 Use char because int might match the return type of a GCC
23856 builtin and then its argument prototype would still apply. */
23869 if ac_fn_c_try_link
"$LINENO"; then :
23870 ac_cv_lib_m_catanf
=yes
23872 ac_cv_lib_m_catanf
=no
23874 rm -f core conftest.err conftest.
$ac_objext \
23875 conftest
$ac_exeext conftest.
$ac_ext
23876 LIBS
=$ac_check_lib_save_LIBS
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23879 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23880 if test "x$ac_cv_lib_m_catanf" = x
""yes; then :
23882 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23887 $as_echo_n "checking for catanh in -lm... " >&6; }
23888 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23889 $as_echo_n "(cached) " >&6
23891 ac_check_lib_save_LIBS
=$LIBS
23893 if test x
$gcc_no_link = xyes
; then
23894 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23899 /* Override any GCC internal prototype to avoid an error.
23900 Use char because int might match the return type of a GCC
23901 builtin and then its argument prototype would still apply. */
23914 if ac_fn_c_try_link
"$LINENO"; then :
23915 ac_cv_lib_m_catanh
=yes
23917 ac_cv_lib_m_catanh
=no
23919 rm -f core conftest.err conftest.
$ac_objext \
23920 conftest
$ac_exeext conftest.
$ac_ext
23921 LIBS
=$ac_check_lib_save_LIBS
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23924 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23925 if test "x$ac_cv_lib_m_catanh" = x
""yes; then :
23927 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23932 $as_echo_n "checking for catanhf in -lm... " >&6; }
23933 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23934 $as_echo_n "(cached) " >&6
23936 ac_check_lib_save_LIBS
=$LIBS
23938 if test x
$gcc_no_link = xyes
; then
23939 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23942 /* end confdefs.h. */
23944 /* Override any GCC internal prototype to avoid an error.
23945 Use char because int might match the return type of a GCC
23946 builtin and then its argument prototype would still apply. */
23959 if ac_fn_c_try_link
"$LINENO"; then :
23960 ac_cv_lib_m_catanhf
=yes
23962 ac_cv_lib_m_catanhf
=no
23964 rm -f core conftest.err conftest.
$ac_objext \
23965 conftest
$ac_exeext conftest.
$ac_ext
23966 LIBS
=$ac_check_lib_save_LIBS
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
23969 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
23970 if test "x$ac_cv_lib_m_catanhf" = x
""yes; then :
23972 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
23977 $as_echo_n "checking for catanhl in -lm... " >&6; }
23978 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
23979 $as_echo_n "(cached) " >&6
23981 ac_check_lib_save_LIBS
=$LIBS
23983 if test x
$gcc_no_link = xyes
; then
23984 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23987 /* end confdefs.h. */
23989 /* Override any GCC internal prototype to avoid an error.
23990 Use char because int might match the return type of a GCC
23991 builtin and then its argument prototype would still apply. */
24004 if ac_fn_c_try_link
"$LINENO"; then :
24005 ac_cv_lib_m_catanhl
=yes
24007 ac_cv_lib_m_catanhl
=no
24009 rm -f core conftest.err conftest.
$ac_objext \
24010 conftest
$ac_exeext conftest.
$ac_ext
24011 LIBS
=$ac_check_lib_save_LIBS
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24014 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24015 if test "x$ac_cv_lib_m_catanhl" = x
""yes; then :
24017 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24022 $as_echo_n "checking for catanl in -lm... " >&6; }
24023 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24024 $as_echo_n "(cached) " >&6
24026 ac_check_lib_save_LIBS
=$LIBS
24028 if test x
$gcc_no_link = xyes
; then
24029 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24034 /* Override any GCC internal prototype to avoid an error.
24035 Use char because int might match the return type of a GCC
24036 builtin and then its argument prototype would still apply. */
24049 if ac_fn_c_try_link
"$LINENO"; then :
24050 ac_cv_lib_m_catanl
=yes
24052 ac_cv_lib_m_catanl
=no
24054 rm -f core conftest.err conftest.
$ac_objext \
24055 conftest
$ac_exeext conftest.
$ac_ext
24056 LIBS
=$ac_check_lib_save_LIBS
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24059 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24060 if test "x$ac_cv_lib_m_catanl" = x
""yes; then :
24062 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24067 # On AIX, clog is present in libm as __clog
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24069 $as_echo_n "checking for __clog in -lm... " >&6; }
24070 if test "${ac_cv_lib_m___clog+set}" = set; then :
24071 $as_echo_n "(cached) " >&6
24073 ac_check_lib_save_LIBS
=$LIBS
24075 if test x
$gcc_no_link = xyes
; then
24076 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24079 /* end confdefs.h. */
24081 /* Override any GCC internal prototype to avoid an error.
24082 Use char because int might match the return type of a GCC
24083 builtin and then its argument prototype would still apply. */
24096 if ac_fn_c_try_link
"$LINENO"; then :
24097 ac_cv_lib_m___clog
=yes
24099 ac_cv_lib_m___clog
=no
24101 rm -f core conftest.err conftest.
$ac_objext \
24102 conftest
$ac_exeext conftest.
$ac_ext
24103 LIBS
=$ac_check_lib_save_LIBS
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24106 $as_echo "$ac_cv_lib_m___clog" >&6; }
24107 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
24109 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24114 # Check for a isfinite macro that works on long doubles.
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
24117 $as_echo_n "checking whether isfinite is broken... " >&6; }
24118 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
24119 $as_echo_n "(cached) " >&6
24122 libgfor_check_for_broken_isfinite_save_LIBS
=$LIBS
24124 if test "$cross_compiling" = yes; then :
24126 case "${target}" in
24127 hppa
*-*-hpux*) libgfor_cv_have_broken_isfinite
=yes ;;
24128 *) libgfor_cv_have_broken_isfinite
=no
;;
24131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24132 /* end confdefs.h. */
24140 if (!isfinite(LDBL_MAX)) return 1;
24143 if (!isfinite(DBL_MAX)) return 1;
24149 if ac_fn_c_try_run
"$LINENO"; then :
24150 libgfor_cv_have_broken_isfinite
=no
24152 libgfor_cv_have_broken_isfinite
=yes
24154 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24155 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24158 LIBS
=$libgfor_check_for_broken_isfinite_save_LIBS
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
24161 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
24162 if test x
"$libgfor_cv_have_broken_isfinite" = xyes
; then
24164 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
24168 # Check for a isnan macro that works on long doubles.
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
24171 $as_echo_n "checking whether isnan is broken... " >&6; }
24172 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
24173 $as_echo_n "(cached) " >&6
24176 libgfor_check_for_broken_isnan_save_LIBS
=$LIBS
24178 if test "$cross_compiling" = yes; then :
24180 case "${target}" in
24181 hppa
*-*-hpux*) libgfor_cv_have_broken_isnan
=yes ;;
24182 *) libgfor_cv_have_broken_isnan
=no
;;
24185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24186 /* end confdefs.h. */
24196 x = __builtin_nanl ("");
24197 if (!isnan(x)) return 1;
24198 if (isnan(LDBL_MAX)) return 1;
24200 x = (long double) NAN;
24201 if (!isnan(x)) return 1;
24208 y = __builtin_nan ("");
24209 if (!isnan(y)) return 1;
24210 if (isnan(DBL_MAX)) return 1;
24213 if (!isnan(y)) return 1;
24221 if ac_fn_c_try_run
"$LINENO"; then :
24222 libgfor_cv_have_broken_isnan
=no
24224 libgfor_cv_have_broken_isnan
=yes
24226 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24227 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24230 LIBS
=$libgfor_check_for_broken_isnan_save_LIBS
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
24233 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
24234 if test x
"$libgfor_cv_have_broken_isnan" = xyes
; then
24236 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
24240 # Check for a fpclassify macro that works on long doubles.
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
24243 $as_echo_n "checking whether fpclassify is broken... " >&6; }
24244 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
24245 $as_echo_n "(cached) " >&6
24248 libgfor_check_for_broken_fpclassify_save_LIBS
=$LIBS
24250 if test "$cross_compiling" = yes; then :
24252 case "${target}" in
24253 hppa
*-*-hpux*) libgfor_cv_have_broken_fpclassify
=yes ;;
24254 *) libgfor_cv_have_broken_fpclassify
=no
;;
24257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24258 /* end confdefs.h. */
24266 if (fpclassify(LDBL_MAX) == FP_NAN
24267 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
24270 if (fpclassify(DBL_MAX) == FP_NAN
24271 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
24277 if ac_fn_c_try_run
"$LINENO"; then :
24278 libgfor_cv_have_broken_fpclassify
=no
24280 libgfor_cv_have_broken_fpclassify
=yes
24282 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24283 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24286 LIBS
=$libgfor_check_for_broken_fpclassify_save_LIBS
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
24289 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
24290 if test x
"$libgfor_cv_have_broken_fpclassify" = xyes
; then
24292 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
24296 # Check whether the system has a working stat()
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24299 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24300 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24301 $as_echo_n "(cached) " >&6
24304 if test "$cross_compiling" = yes; then :
24306 case "${target}" in
24307 *mingw
*) libgfor_cv_have_working_stat
=no
;;
24308 *) libgfor_cv_have_working_stat
=yes;;
24311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h. */
24315 #include <sys/types.h>
24316 #include <sys/stat.h>
24317 #include <unistd.h>
24322 struct stat st1, st2;
24324 f = fopen ("foo", "w");
24325 g = fopen ("bar", "w");
24326 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24328 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24335 if ac_fn_c_try_run
"$LINENO"; then :
24336 libgfor_cv_have_working_stat
=yes
24338 libgfor_cv_have_working_stat
=no
24340 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24341 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24346 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24347 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
24349 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24353 # Check whether __mingw_snprintf() is present
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24356 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24357 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24358 $as_echo_n "(cached) " >&6
24361 if test x
$gcc_no_link = xyes
; then
24362 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24365 /* end confdefs.h. */
24368 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24374 __mingw_snprintf (NULL, 0, "%d\n", 1);
24380 if ac_fn_c_try_link
"$LINENO"; then :
24381 eval "libgfor_cv_have_mingw_snprintf=yes"
24383 eval "libgfor_cv_have_mingw_snprintf=no"
24385 rm -f core conftest.err conftest.
$ac_objext \
24386 conftest
$ac_exeext conftest.
$ac_ext
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24390 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24391 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
24393 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24398 # Check for a broken powf implementation
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24401 $as_echo_n "checking whether powf is broken... " >&6; }
24402 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24403 $as_echo_n "(cached) " >&6
24406 case "${target}" in
24407 hppa
*64*-*-hpux*) libgfor_cv_have_broken_powf
=yes ;;
24408 *) libgfor_cv_have_broken_powf
=no
;;
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24412 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24413 if test x
"$libgfor_cv_have_broken_powf" = xyes
; then
24415 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24420 # Check for GNU libc feenableexcept
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24422 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24423 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24424 $as_echo_n "(cached) " >&6
24426 ac_check_lib_save_LIBS
=$LIBS
24428 if test x
$gcc_no_link = xyes
; then
24429 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24432 /* end confdefs.h. */
24434 /* Override any GCC internal prototype to avoid an error.
24435 Use char because int might match the return type of a GCC
24436 builtin and then its argument prototype would still apply. */
24440 char feenableexcept ();
24444 return feenableexcept ();
24449 if ac_fn_c_try_link
"$LINENO"; then :
24450 ac_cv_lib_m_feenableexcept
=yes
24452 ac_cv_lib_m_feenableexcept
=no
24454 rm -f core conftest.err conftest.
$ac_objext \
24455 conftest
$ac_exeext conftest.
$ac_ext
24456 LIBS
=$ac_check_lib_save_LIBS
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24459 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24460 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
24461 have_feenableexcept
=yes
24462 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24467 # Check for SysV fpsetmask
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24470 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24471 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24472 $as_echo_n "(cached) " >&6
24475 if test x
$gcc_no_link = xyes
; then
24476 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24479 /* end confdefs.h. */
24481 #if HAVE_FLOATINGPOINT_H
24482 # include <floatingpoint.h>
24483 #endif /* HAVE_FLOATINGPOINT_H */
24485 # include <ieeefp.h>
24486 #endif /* HAVE_IEEEFP_H */
24495 if ac_fn_c_try_link
"$LINENO"; then :
24496 eval "libgfor_cv_have_fpsetmask=yes"
24498 eval "libgfor_cv_have_fpsetmask=no"
24500 rm -f core conftest.err conftest.
$ac_objext \
24501 conftest
$ac_exeext conftest.
$ac_ext
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24505 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24506 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
24508 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24513 # Check for AIX fp_trap and fp_enable
24514 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24515 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
24517 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24521 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24522 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
24524 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24529 # Runs configure.host to set up necessary host-dependent shell variables.
24530 # We then display a message about it, and propagate them through the
24532 .
${srcdir}/configure.
host
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24534 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24535 FPU_HOST_HEADER
=config
/${fpu_host}.h
24538 # Some targets require additional compiler options for IEEE compatibility.
24539 IEEE_FLAGS
="${ieee_flags}"
24542 # Check out attribute support.
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24545 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24546 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24547 $as_echo_n "(cached) " >&6
24550 save_CFLAGS
="$CFLAGS"
24551 CFLAGS
="$CFLAGS -Werror"
24552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24553 /* end confdefs.h. */
24554 void __attribute__((visibility("hidden"))) foo(void) { }
24563 if ac_fn_c_try_compile
"$LINENO"; then :
24564 libgfor_cv_have_attribute_visibility
=yes
24566 libgfor_cv_have_attribute_visibility
=no
24568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24569 CFLAGS
="$save_CFLAGS"
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24572 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24573 if test $libgfor_cv_have_attribute_visibility = yes; then
24575 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24580 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24581 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24582 $as_echo_n "(cached) " >&6
24585 save_CFLAGS
="$CFLAGS"
24586 CFLAGS
="$CFLAGS -Werror"
24587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24588 /* end confdefs.h. */
24589 void __attribute__((dllexport)) foo(void) { }
24598 if ac_fn_c_try_compile
"$LINENO"; then :
24599 libgfor_cv_have_attribute_dllexport
=yes
24601 libgfor_cv_have_attribute_dllexport
=no
24603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24604 CFLAGS
="$save_CFLAGS"
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24607 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24608 if test $libgfor_cv_have_attribute_dllexport = yes; then
24610 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24615 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24616 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24617 $as_echo_n "(cached) " >&6
24620 if test x
$gcc_no_link = xyes
; then
24621 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24624 /* end confdefs.h. */
24627 extern void bar(void) __attribute__((alias("foo")));
24636 if ac_fn_c_try_link
"$LINENO"; then :
24637 libgfor_cv_have_attribute_alias
=yes
24639 libgfor_cv_have_attribute_alias
=no
24641 rm -f core conftest.err conftest.
$ac_objext \
24642 conftest
$ac_exeext conftest.
$ac_ext
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24645 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24646 if test $libgfor_cv_have_attribute_alias = yes; then
24648 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24652 # Check out sync builtins support.
24654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24655 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24656 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24657 $as_echo_n "(cached) " >&6
24660 if test x
$gcc_no_link = xyes
; then
24661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24670 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24671 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24676 if ac_fn_c_try_link
"$LINENO"; then :
24677 libgfor_cv_have_sync_fetch_and_add
=yes
24679 libgfor_cv_have_sync_fetch_and_add
=no
24681 rm -f core conftest.err conftest.
$ac_objext \
24682 conftest
$ac_exeext conftest.
$ac_ext
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24685 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24686 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24688 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24692 # Check out thread support.
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24695 $as_echo_n "checking configured target thread model... " >&6; }
24696 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24697 $as_echo_n "(cached) " >&6
24700 libgfor_cv_target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24703 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24705 if test $libgfor_cv_target_thread_file != single
; then
24707 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24711 # Check out #pragma weak.
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24714 $as_echo_n "checking whether pragma weak works... " >&6; }
24715 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24716 $as_echo_n "(cached) " >&6
24719 gfor_save_CFLAGS
="$CFLAGS"
24720 CFLAGS
="$CFLAGS -Wunknown-pragmas"
24721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24722 /* end confdefs.h. */
24733 if ac_fn_c_try_compile
"$LINENO"; then :
24734 libgfor_cv_have_pragma_weak
=yes
24736 libgfor_cv_have_pragma_weak
=no
24738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24741 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24742 if test $libgfor_cv_have_pragma_weak = yes; then
24744 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24748 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
24750 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24755 # Various other checks on target
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24758 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24759 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24760 $as_echo_n "(cached) " >&6
24763 if test "$cross_compiling" = yes; then :
24765 case "${target}" in
24766 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
24767 *) libgfor_cv_have_unlink_open_file
=yes;;
24770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24771 /* end confdefs.h. */
24775 #include <unistd.h>
24776 #include <sys/stat.h>
24782 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24785 if (unlink ("testfile") == -1)
24787 write (fd, "This is a test\n", 15);
24790 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24796 if ac_fn_c_try_run
"$LINENO"; then :
24797 libgfor_cv_have_unlink_open_file
=yes
24799 libgfor_cv_have_unlink_open_file
=no
24801 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24802 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24807 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24808 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
24810 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24814 # Check whether line terminator is LF or CRLF
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24817 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24818 if test "${libgfor_cv_have_crlf+set}" = set; then :
24819 $as_echo_n "(cached) " >&6
24822 if test "$cross_compiling" = yes; then :
24824 case "${target}" in
24825 *mingw
*) libgfor_cv_have_crlf
=yes ;;
24826 *) libgfor_cv_have_crlf
=no
;;
24829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24830 /* end confdefs.h. */
24832 /* This test program should exit with status 0 if system uses a CRLF as
24833 line terminator, and status 1 otherwise.
24834 Since it is used to check for mingw systems, and should return 0 in any
24835 other case, in case of a failure we will not use CRLF. */
24836 #include <sys/stat.h>
24837 #include <stdlib.h>
24849 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24852 if (write (fd, "\n", 1) < 0)
24857 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24859 bytes = read (fd, buff, 5);
24860 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24867 if ac_fn_c_try_run
"$LINENO"; then :
24868 libgfor_cv_have_crlf
=yes
24870 libgfor_cv_have_crlf
=no
24872 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24873 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24878 $as_echo "$libgfor_cv_have_crlf" >&6; }
24879 if test x
"$libgfor_cv_have_crlf" = xyes
; then
24881 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24885 cat >confcache
<<\_ACEOF
24886 # This file is a shell script that caches the results of configure
24887 # tests run on this system so they can be shared between configure
24888 # scripts and configure runs, see configure's option --config-cache.
24889 # It is not useful on other systems. If it contains results you don't
24890 # want to keep, you may remove or edit it.
24892 # config.status only pays attention to the cache file if you give it
24893 # the --recheck option to rerun configure.
24895 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24897 # following values.
24901 # The following way of writing the cache mishandles newlines in values,
24902 # but we know of no workaround that is simple, portable, and efficient.
24903 # So, we kill variables containing newlines.
24904 # Ultrix sh set writes to stderr and can't be redirected directly,
24905 # and sets the high bit in the cache file unless we assign to the vars.
24907 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24908 eval ac_val
=\$
$ac_var
24912 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24913 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24916 _ | IFS | as_nl
) ;; #(
24917 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24918 *) { eval $ac_var=; unset $ac_var;} ;;
24924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24925 *${as_nl}ac_space
=\
*)
24926 # `set' does not quote correctly, so add quotes: double-quote
24927 # substitution turns \\\\ into \\, and sed turns \\ into \.
24930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24933 # `set' quotes correctly as required by POSIX, so do not add quotes.
24934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24947 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24948 if test -w "$cache_file"; then
24949 test "x$cache_file" != "x/dev/null" &&
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24951 $as_echo "$as_me: updating cache $cache_file" >&6;}
24952 cat confcache
>$cache_file
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24955 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24960 if test ${multilib} = yes; then
24961 multilib_arg
="--enable-multilib"
24966 # Write our Makefile.
24967 ac_config_files
="$ac_config_files Makefile"
24969 cat >confcache
<<\_ACEOF
24970 # This file is a shell script that caches the results of configure
24971 # tests run on this system so they can be shared between configure
24972 # scripts and configure runs, see configure's option --config-cache.
24973 # It is not useful on other systems. If it contains results you don't
24974 # want to keep, you may remove or edit it.
24976 # config.status only pays attention to the cache file if you give it
24977 # the --recheck option to rerun configure.
24979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24981 # following values.
24985 # The following way of writing the cache mishandles newlines in values,
24986 # but we know of no workaround that is simple, portable, and efficient.
24987 # So, we kill variables containing newlines.
24988 # Ultrix sh set writes to stderr and can't be redirected directly,
24989 # and sets the high bit in the cache file unless we assign to the vars.
24991 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24992 eval ac_val
=\$
$ac_var
24996 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25000 _ | IFS | as_nl
) ;; #(
25001 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25002 *) { eval $ac_var=; unset $ac_var;} ;;
25008 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25009 *${as_nl}ac_space
=\
*)
25010 # `set' does not quote correctly, so add quotes: double-quote
25011 # substitution turns \\\\ into \\, and sed turns \\ into \.
25014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25017 # `set' quotes correctly as required by POSIX, so do not add quotes.
25018 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25027 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25029 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25031 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25032 if test -w "$cache_file"; then
25033 test "x$cache_file" != "x/dev/null" &&
25034 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25035 $as_echo "$as_me: updating cache $cache_file" >&6;}
25036 cat confcache
>$cache_file
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25039 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25044 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25045 # Let make expand exec_prefix.
25046 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25048 DEFS
=-DHAVE_CONFIG_H
25052 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25053 # 1. Remove the extension, and $U if already installed.
25054 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25055 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25056 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25057 # will be set to the directory where LIBOBJS objects are built.
25058 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25059 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25061 LIBOBJS
=$ac_libobjs
25063 LTLIBOBJS
=$ac_ltlibobjs
25066 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25067 as_fn_error
"conditional \"onestep\" was never defined.
25068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25070 if test -n "$EXEEXT"; then
25072 am__EXEEXT_FALSE
='#'
25074 am__EXEEXT_TRUE
='#'
25078 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25079 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
25080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25082 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25083 as_fn_error
"conditional \"AMDEP\" was never defined.
25084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25086 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25087 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25090 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25091 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25095 : ${CONFIG_STATUS=./config.status}
25097 ac_clean_files_save
=$ac_clean_files
25098 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25100 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25102 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25104 # Generated by $as_me.
25105 # Run this file to recreate the current configuration.
25106 # Compiler output produced by configure, useful for debugging
25107 # configure, is in config.log if it exists.
25110 ac_cs_recheck=false
25113 SHELL=\${CONFIG_SHELL-$SHELL}
25116 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25117 ## -------------------- ##
25118 ## M4sh Initialization. ##
25119 ## -------------------- ##
25121 # Be more Bourne compatible
25122 DUALCASE
=1; export DUALCASE
# for MKS sh
25123 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25126 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25127 # is contrary to our usage. Disable this feature.
25128 alias -g '${1+"$@"}'='"$@"'
25129 setopt NO_GLOB_SUBST
25131 case `(set -o) 2>/dev/null` in #(
25143 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25144 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25147 # Prefer a ksh shell builtin over an external printf program on Solaris,
25148 # but without wasting forks for bash or zsh.
25149 if test -z "$BASH_VERSION$ZSH_VERSION" \
25150 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25151 as_echo='print
-r --'
25152 as_echo_n='print
-rn --'
25153 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25154 as_echo='printf %s
\n'
25155 as_echo_n='printf %s
'
25157 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25158 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25159 as_echo_n='/usr
/ucb
/echo -n'
25161 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25162 as_echo_n_body='eval
25166 expr "X$arg" : "X\\(.*\\)$as_nl";
25167 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25169 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25171 export as_echo_n_body
25172 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25174 export as_echo_body
25175 as_echo='sh
-c $as_echo_body as_echo
'
25178 # The user is always right.
25179 if test "${PATH_SEPARATOR+set}" != set; then
25181 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25182 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25189 # We need space, tab and new line, in precisely that order. Quoting is
25190 # there to prevent editors from complaining about space-tab.
25191 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25192 # splitting by setting IFS to empty value.)
25195 # Find who we are. Look in the path if we contain no directory separator.
25197 *[\\/]* ) as_myself=$0 ;;
25198 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25199 for as_dir in $PATH
25202 test -z "$as_dir" && as_dir=.
25203 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25209 # We did not find ourselves, most probably we were run as `sh COMMAND'
25210 # in which case we are not to be found in the path.
25211 if test "x$as_myself" = x
; then
25214 if test ! -f "$as_myself"; then
25215 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25219 # Unset variables that we do not need and which cause bugs (e.g. in
25220 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25221 # suppresses any "Segmentation fault" message there. '((' could
25222 # trigger a bug in pdksh 5.2.14.
25223 for as_var
in BASH_ENV ENV MAIL MAILPATH
25224 do eval test x\
${$as_var+set} = xset \
25225 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25238 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25241 # as_fn_error ERROR [LINENO LOG_FD]
25242 # ---------------------------------
25243 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25244 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25245 # script with status $?, using 1 if that was 0.
25248 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25250 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25251 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25253 $as_echo "$as_me: error: $1" >&2
25254 as_fn_exit
$as_status
25258 # as_fn_set_status STATUS
25259 # -----------------------
25260 # Set $? to STATUS, without forking.
25261 as_fn_set_status
()
25264 } # as_fn_set_status
25266 # as_fn_exit STATUS
25267 # -----------------
25268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25272 as_fn_set_status
$1
25278 # Portably unset VAR.
25281 { eval $1=; unset $1;}
25283 as_unset
=as_fn_unset
25284 # as_fn_append VAR VALUE
25285 # ----------------------
25286 # Append the text in VALUE to the end of the definition contained in VAR. Take
25287 # advantage of any shell optimizations that allow amortized linear growth over
25288 # repeated appends, instead of the typical quadratic growth present in naive
25290 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25291 eval 'as_fn_append ()
25302 # as_fn_arith ARG...
25303 # ------------------
25304 # Perform arithmetic evaluation on the ARGs, and store the result in the
25305 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25306 # must be portable across $(()) and expr.
25307 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25308 eval 'as_fn_arith ()
25315 as_val
=`expr "$@" || test $? -eq 1`
25320 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25321 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25327 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25328 as_basename
=basename
25333 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25339 as_me
=`$as_basename -- "$0" ||
25340 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25341 X"$0" : 'X\(//\)$' \| \
25342 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25344 sed '/^.*\/\([^/][^/]*\)\/*$/{
25358 # Avoid depending upon Character Ranges.
25359 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25360 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25361 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25362 as_cr_digits
='0123456789'
25363 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25365 ECHO_C
= ECHO_N
= ECHO_T
=
25366 case `echo -n x` in #(((((
25368 case `echo 'xy\c'` in
25369 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25371 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25378 rm -f conf$$ conf$$.exe conf$$.
file
25379 if test -d conf$$.dir
; then
25380 rm -f conf$$.dir
/conf$$.
file
25383 mkdir conf$$.dir
2>/dev
/null
25385 if (echo >conf$$.
file) 2>/dev
/null
; then
25386 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25388 # ... but there are two gotchas:
25389 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25390 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25391 # In both cases, we have to default to `cp -p'.
25392 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25394 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25402 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25403 rmdir conf$$.dir
2>/dev
/null
25408 # Create "$as_dir" as a directory, including parents if necessary.
25413 -*) as_dir
=.
/$as_dir;;
25415 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25419 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25420 *) as_qdir
=$as_dir;;
25422 as_dirs
="'$as_qdir' $as_dirs"
25423 as_dir
=`$as_dirname -- "$as_dir" ||
25424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25425 X"$as_dir" : 'X\(//\)[^/]' \| \
25426 X"$as_dir" : 'X\(//\)$' \| \
25427 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25428 $as_echo X"$as_dir" |
25429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25433 /^X\(\/\/\)[^/].*/{
25446 test -d "$as_dir" && break
25448 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25449 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25453 if mkdir
-p .
2>/dev
/null
; then
25454 as_mkdir_p
='mkdir -p "$as_dir"'
25456 test -d .
/-p && rmdir .
/-p
25460 if test -x / >/dev
/null
2>&1; then
25461 as_test_x
='test -x'
25463 if ls -dL / >/dev
/null
2>&1; then
25470 if test -d "$1"; then
25476 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25477 ???[sx]*):;;*)false;;esac;fi
25481 as_executable_p
=$as_test_x
25483 # Sed expression to map a string onto a valid CPP name.
25484 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25486 # Sed expression to map a string onto a valid variable name.
25487 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25491 ## ----------------------------------- ##
25492 ## Main body of $CONFIG_STATUS script. ##
25493 ## ----------------------------------- ##
25495 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25498 # Save the log message, to keep $0 and so on meaningful, and to
25499 # report actual input values of CONFIG_FILES etc. instead of their
25500 # values after options handling.
25502 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25503 generated by GNU Autoconf 2.64. Invocation command line was
25505 CONFIG_FILES = $CONFIG_FILES
25506 CONFIG_HEADERS = $CONFIG_HEADERS
25507 CONFIG_LINKS = $CONFIG_LINKS
25508 CONFIG_COMMANDS = $CONFIG_COMMANDS
25511 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25516 case $ac_config_files in *"
25517 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25520 case $ac_config_headers in *"
25521 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25526 # Files that config.status was made for.
25527 config_files="$ac_config_files"
25528 config_headers="$ac_config_headers"
25529 config_commands="$ac_config_commands"
25533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25535 \`$as_me' instantiates files and other configuration actions
25536 from templates according to the current configuration. Unless the files
25537 and actions are specified as TAGs, all are instantiated by default.
25539 Usage: $0 [OPTION]... [TAG]...
25541 -h, --help print this help, then exit
25542 -V, --version print version number and configuration settings, then exit
25543 -q, --quiet, --silent
25544 do not print progress messages
25545 -d, --debug don't remove temporary files
25546 --recheck update $as_me by reconfiguring in the same conditions
25547 --file=FILE[:TEMPLATE]
25548 instantiate the configuration file FILE
25549 --header=FILE[:TEMPLATE]
25550 instantiate the configuration header FILE
25552 Configuration files:
25555 Configuration headers:
25558 Configuration commands:
25561 Report bugs to the package provider.
25562 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25563 General help using GNU software: <http://www.gnu.org/gethelp/>."
25566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25568 GNU Fortran Runtime Library config.status 0.3
25569 configured by $0, generated by GNU Autoconf 2.64,
25570 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25572 Copyright (C) 2009 Free Software Foundation, Inc.
25573 This config.status script is free software; the Free Software Foundation
25574 gives unlimited permission to copy, distribute and modify it."
25581 test -n "\$AWK" || AWK=awk
25584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25585 # The default lists apply if the user does not specify any file.
25591 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25592 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25603 # Handling of the options.
25604 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25606 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25607 $as_echo "$ac_cs_version"; exit ;;
25608 --debug |
--debu |
--deb |
--de |
--d |
-d )
25610 --file |
--fil |
--fi |
--f )
25613 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25615 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25616 ac_need_defaults
=false
;;
25617 --header |
--heade |
--head |
--hea )
25620 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25622 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25623 ac_need_defaults
=false
;;
25625 # Conflict between --help and --header
25626 as_fn_error
"ambiguous option: \`$1'
25627 Try \`$0 --help' for more information.";;
25628 --help |
--hel |
-h )
25629 $as_echo "$ac_cs_usage"; exit ;;
25630 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25631 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25634 # This is an error.
25635 -*) as_fn_error
"unrecognized option: \`$1'
25636 Try \`$0 --help' for more information." ;;
25638 *) as_fn_append ac_config_targets
" $1"
25639 ac_need_defaults
=false
;;
25645 ac_configure_extra_args
=
25647 if $ac_cs_silent; then
25649 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25654 if \$ac_cs_recheck; then
25655 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25657 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25658 CONFIG_SHELL='$SHELL'
25659 export CONFIG_SHELL
25664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25668 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25669 ## Running $as_me. ##
25675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25683 with_multisubdir="$with_multisubdir"
25684 with_multisrctop="$with_multisrctop"
25685 with_target_subdir="$with_target_subdir"
25686 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25687 multi_basedir="$multi_basedir"
25688 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25691 GFORTRAN="$GFORTRAN"
25693 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25696 # The HP-UX ksh and POSIX shell print the target directory to stdout
25697 # if CDPATH is set.
25698 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25700 sed_quote_subst='$sed_quote_subst'
25701 double_quote_subst='$double_quote_subst'
25702 delay_variable_subst='$delay_variable_subst'
25703 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25704 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25705 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25706 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25707 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25708 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25709 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25710 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25711 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25712 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25713 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25714 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25715 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25716 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25717 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25718 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25719 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25720 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25721 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25722 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25723 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25724 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25725 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25726 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25727 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25728 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25729 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25730 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25731 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25732 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25733 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25734 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25735 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25736 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25737 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25738 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25739 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25740 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25741 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25742 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25743 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25744 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25745 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25746 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25747 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25748 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25749 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25750 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25751 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"`'
25752 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25753 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25754 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25755 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25756 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25757 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25758 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25759 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25760 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25761 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25762 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25763 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25764 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25765 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25766 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25767 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25768 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25769 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25770 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25771 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25772 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25773 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25774 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25775 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25776 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25777 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25778 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25779 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25780 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25781 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25782 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25783 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25784 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25785 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25786 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25787 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25788 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25789 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25790 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25791 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25792 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25793 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25794 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25795 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25796 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25797 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25798 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25799 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25800 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25801 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25802 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25803 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25804 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25805 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25806 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25807 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25808 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25809 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25810 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25811 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25812 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25813 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25814 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25815 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25816 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25817 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25818 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25819 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25820 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25821 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25822 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25823 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25824 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25825 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25826 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25827 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25828 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25829 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25830 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25831 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25832 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25833 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25834 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25835 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25836 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25837 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25838 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25839 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25840 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25841 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25842 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25843 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25844 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25845 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25846 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25847 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25848 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25849 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25850 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25851 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25852 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25853 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25854 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25855 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25856 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25857 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25858 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25859 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25860 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25861 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25862 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25863 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25864 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25865 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25866 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25867 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25868 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25869 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25870 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25871 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25872 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25873 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25874 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25875 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25876 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25877 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25880 LTCFLAGS='$LTCFLAGS'
25881 compiler='$compiler_DEFAULT'
25883 # A function that is used when there is no print builtin or printf.
25884 func_fallback_echo ()
25886 eval 'cat <<_LTECHO_EOF
25891 # Quote evaled strings.
25905 deplibs_check_method \
25914 lt_cv_sys_global_symbol_pipe \
25915 lt_cv_sys_global_symbol_to_cdecl \
25916 lt_cv_sys_global_symbol_to_c_name_address \
25917 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25918 lt_prog_compiler_no_builtin_flag \
25919 lt_prog_compiler_wl \
25920 lt_prog_compiler_pic \
25921 lt_prog_compiler_static \
25922 lt_cv_prog_compiler_c_o \
25930 export_dynamic_flag_spec \
25931 whole_archive_flag_spec \
25932 compiler_needs_object \
25934 allow_undefined_flag \
25935 no_undefined_flag \
25936 hardcode_libdir_flag_spec \
25937 hardcode_libdir_flag_spec_ld \
25938 hardcode_libdir_separator \
25943 variables_saved_for_relink \
25945 library_names_spec \
25947 install_override_mode \
25951 compiler_lib_search_dirs \
25956 compiler_lib_search_path \
25960 lt_prog_compiler_no_builtin_flag_FC \
25961 lt_prog_compiler_wl_FC \
25962 lt_prog_compiler_pic_FC \
25963 lt_prog_compiler_static_FC \
25964 lt_cv_prog_compiler_c_o_FC \
25965 export_dynamic_flag_spec_FC \
25966 whole_archive_flag_spec_FC \
25967 compiler_needs_object_FC \
25969 allow_undefined_flag_FC \
25970 no_undefined_flag_FC \
25971 hardcode_libdir_flag_spec_FC \
25972 hardcode_libdir_flag_spec_ld_FC \
25973 hardcode_libdir_separator_FC \
25974 fix_srcfile_path_FC \
25975 exclude_expsyms_FC \
25976 include_expsyms_FC \
25977 file_list_spec_FC \
25978 compiler_lib_search_dirs_FC \
25979 predep_objects_FC \
25980 postdep_objects_FC \
25983 compiler_lib_search_path_FC; do
25984 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25985 *[\\\\\\\`\\"\\\$]*)
25986 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25989 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25994 # Double-quote double-evaled strings.
25995 for var in reload_cmds \
25996 old_postinstall_cmds \
25997 old_postuninstall_cmds \
25999 extract_expsyms_cmds \
26000 old_archive_from_new_cmds \
26001 old_archive_from_expsyms_cmds \
26003 archive_expsym_cmds \
26005 module_expsym_cmds \
26006 export_symbols_cmds \
26009 postuninstall_cmds \
26011 sys_lib_search_path_spec \
26012 sys_lib_dlsearch_path_spec \
26014 old_archive_cmds_FC \
26015 old_archive_from_new_cmds_FC \
26016 old_archive_from_expsyms_cmds_FC \
26018 archive_expsym_cmds_FC \
26020 module_expsym_cmds_FC \
26021 export_symbols_cmds_FC \
26022 prelink_cmds_FC; do
26023 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26024 *[\\\\\\\`\\"\\\$]*)
26025 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26028 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26033 ac_aux_dir='$ac_aux_dir'
26034 xsi_shell='$xsi_shell'
26035 lt_shell_append='$lt_shell_append'
26037 # See if we are running on zsh, and set the options which allow our
26038 # commands through without removal of \ escapes INIT.
26039 if test -n "\${ZSH_VERSION+set}" ; then
26040 setopt NO_GLOB_SUBST
26046 TIMESTAMP='$TIMESTAMP'
26057 acx_cv_header_stdint="$acx_cv_header_stdint"
26058 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26059 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26060 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26061 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26062 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26063 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26064 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26065 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26066 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26067 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26068 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26069 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26070 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26077 # Handling of arguments.
26078 for ac_config_target
in $ac_config_targets
26080 case $ac_config_target in
26081 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
26082 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26083 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26084 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26085 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
26086 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26088 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26093 # If the user did not use the arguments to specify the items to instantiate,
26094 # then the envvar interface is used. Set only those that are not.
26095 # We use the long form for the default assignment because of an extremely
26096 # bizarre bug on SunOS 4.1.3.
26097 if $ac_need_defaults; then
26098 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26099 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26100 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26103 # Have a temporary directory for convenience. Make it in the build tree
26104 # simply because there is no reason against having it here, and in addition,
26105 # creating and moving files from /tmp can sometimes cause problems.
26106 # Hook for its removal unless debugging.
26107 # Note that there is a small window in which the directory will not be cleaned:
26108 # after its creation but before its name has been assigned to `$tmp'.
26112 trap 'exit_status=$?
26113 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26115 trap 'as_fn_exit 1' 1 2 13 15
26117 # Create a (secure) tmp directory for tmp files.
26120 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26121 test -n "$tmp" && test -d "$tmp"
26124 tmp
=.
/conf$$
-$RANDOM
26125 (umask 077 && mkdir
"$tmp")
26126 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26128 # Set up the scripts for CONFIG_FILES section.
26129 # No need to generate them if there are no CONFIG_FILES.
26130 # This happens for instance with `./config.status config.h'.
26131 if test -n "$CONFIG_FILES"; then
26134 ac_cr
=`echo X | tr X '\015'`
26135 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26136 # But we know of no other shell where ac_cr would be empty at this
26137 # point, so we can use a bashism as a fallback.
26138 if test "x$ac_cr" = x
; then
26139 eval ac_cr
=\$
\'\\r
\'
26141 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26142 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26145 ac_cs_awk_cr
=$ac_cr
26148 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26153 echo "cat >conf$$subs.awk <<_ACEOF" &&
26154 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26156 } >conf$$subs.sh ||
26157 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26158 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26160 for ac_last_try in false false false false false :; do
26161 . ./conf$$subs.sh ||
26162 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26164 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26165 if test $ac_delim_n = $ac_delim_num; then
26167 elif $ac_last_try; then
26168 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26170 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26173 rm -f conf$$subs.sh
26175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26176 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26180 s/^/S["/; s
/!.
*/"]=/
26190 s/\(.\{148\}\).*/\1/
26192 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26197 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26204 s/\(.\{148\}\).*/\1/
26206 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26210 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26215 ' <conf$$subs.awk | sed '
26220 ' >>$CONFIG_STATUS || ac_write_fail=1
26221 rm -f conf$$subs.awk
26222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26224 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26225 for (key in S) S_is_set[key] = 1
26231 nfields = split(line, field, "@
")
26233 len = length(field[1])
26234 for (i = 2; i < nfields; i++) {
26236 keylen = length(key)
26237 if (S_is_set[key]) {
26239 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26240 len += length(value) + length(field[++i])
26251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26252 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26253 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26256 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26257 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26262 # trailing colons and then remove the whole line if VPATH becomes empty
26263 # (actually we leave an empty line to preserve line numbers).
26264 if test "x
$srcdir" = x.; then
26265 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26266 s/:*\$(srcdir):*/:/
26267 s/:*\${srcdir}:*/:/
26269 s/^\([^=]*=[ ]*\):*/\1/
26275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26276 fi # test -n "$CONFIG_FILES"
26278 # Set up the scripts for CONFIG_HEADERS section.
26279 # No need to generate them if there are no CONFIG_HEADERS.
26280 # This happens for instance with `./config.status Makefile'.
26281 if test -n "$CONFIG_HEADERS"; then
26282 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26286 # Transform confdefs.h into an awk script `defines.awk', embedded as
26287 # here-document in config.status, that substitutes the proper values into
26288 # config.h.in to produce config.h.
26290 # Create a delimiter string that does not exist in confdefs.h, to ease
26291 # handling of long lines.
26293 for ac_last_try in false false :; do
26294 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26295 if test -z "$ac_t"; then
26297 elif $ac_last_try; then
26298 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26300 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26304 # For the awk script, D is an array of macro values keyed by name,
26305 # likewise P contains macro parameters if any. Preserve backslash
26306 # newline sequences.
26308 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26310 s/.\{148\}/&'"$ac_delim"'/g
26313 s/^[ ]*#[ ]*define[ ][ ]*/ /
26320 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26322 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26326 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26327 D["\
1"]=" \
3\\\\\\n
"\\/p
26329 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26334 s/.\{148\}/&'"$ac_delim"'/g
26339 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26342 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26344 ' <confdefs.h | sed '
26345 s/'"$ac_delim"'/"\\\
26346 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26349 for (key in D) D_is_set[key] = 1
26352 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26354 split(line, arg, " ")
26355 if (arg[1] == "#") {
26359 defundef
= substr
(arg
[1], 2)
26362 split(mac1
, mac2
, "(") #)
26364 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26365 if (D_is_set
[macro
]) {
26366 # Preserve the white space surrounding the "#".
26367 print prefix
"define", macro P
[macro
] D
[macro
]
26370 # Replace #undef with comments. This is necessary, for example,
26371 # in the case of _POSIX_SOURCE, which is predefined and required
26372 # on some systems where configure will not decide to define it.
26373 if (defundef
== "undef") {
26374 print
"/*", prefix defundef
, macro
, "*/"
26382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26383 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26384 fi # test -n "$CONFIG_HEADERS"
26387 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26392 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26394 case $ac_mode$ac_tag in
26396 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26397 :[FH
]-) ac_tag
=-:-;;
26398 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26415 -) ac_f
="$tmp/stdin";;
26416 *) # Look for the file first in the build tree, then in the source tree
26417 # (if the path is not absolute). The absolute path cannot be DOS-style,
26418 # because $ac_f cannot contain `:'.
26422 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26424 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26426 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26427 as_fn_append ac_file_inputs
" '$ac_f'"
26430 # Let's still pretend it is `configure' which instantiates (i.e., don't
26431 # use $as_me), people would be surprised to read:
26432 # /* config.h. Generated by config.status. */
26433 configure_input
='Generated from '`
26434 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26436 if test x
"$ac_file" != x-
; then
26437 configure_input
="$ac_file. $configure_input"
26438 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26439 $as_echo "$as_me: creating $ac_file" >&6;}
26441 # Neutralize special characters interpreted by sed in replacement strings.
26442 case $configure_input in #(
26443 *\
&* |
*\|
* |
*\\* )
26444 ac_sed_conf_input
=`$as_echo "$configure_input" |
26445 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26446 *) ac_sed_conf_input
=$configure_input;;
26450 *:-:* |
*:-) cat >"$tmp/stdin" \
26451 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26456 ac_dir
=`$as_dirname -- "$ac_file" ||
26457 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26458 X"$ac_file" : 'X\(//\)[^/]' \| \
26459 X"$ac_file" : 'X\(//\)$' \| \
26460 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26461 $as_echo X"$ac_file" |
26462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26466 /^X\(\/\/\)[^/].*/{
26479 as_dir
="$ac_dir"; as_fn_mkdir_p
26483 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26485 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26486 # A ".." for each directory in $ac_dir_suffix.
26487 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26488 case $ac_top_builddir_sub in
26489 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26490 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26493 ac_abs_top_builddir
=$ac_pwd
26494 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26495 # for backward compatibility:
26496 ac_top_builddir
=$ac_top_build_prefix
26499 .
) # We are building in place.
26501 ac_top_srcdir
=$ac_top_builddir_sub
26502 ac_abs_top_srcdir
=$ac_pwd ;;
26503 [\\/]* | ?
:[\\/]* ) # Absolute name.
26504 ac_srcdir
=$srcdir$ac_dir_suffix;
26505 ac_top_srcdir
=$srcdir
26506 ac_abs_top_srcdir
=$srcdir ;;
26507 *) # Relative name.
26508 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26509 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26510 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26512 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26522 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26523 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26525 ac_MKDIR_P
=$MKDIR_P
26527 [\\/$
]* | ?
:[\\/]* ) ;;
26528 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26533 # If the template does not know about datarootdir, expand it.
26534 # FIXME: This hack should be removed a few years after 2.60.
26535 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26546 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26547 *datarootdir
*) ac_datarootdir_seen
=yes;;
26548 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26550 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26553 ac_datarootdir_hack='
26554 s&@datadir@&$datadir&g
26555 s&@docdir@&$docdir&g
26556 s&@infodir@&$infodir&g
26557 s&@localedir@&$localedir&g
26558 s&@mandir@&$mandir&g
26559 s&\\\${datarootdir}&$datarootdir&g' ;;
26563 # Neutralize VPATH when `$srcdir' = `.'.
26564 # Shell code in configure.ac might set extrasub.
26565 # FIXME: do we really want to maintain this feature?
26566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26567 ac_sed_extra="$ac_vpsub
26570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26572 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26573 s|@configure_input@|
$ac_sed_conf_input|
;t t
26574 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26575 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26576 s
&@srcdir@
&$ac_srcdir&;t t
26577 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26578 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26579 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26580 s
&@builddir@
&$ac_builddir&;t t
26581 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26582 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26583 s
&@INSTALL@
&$ac_INSTALL&;t t
26584 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26585 $ac_datarootdir_hack
26587 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26588 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26590 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26591 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26592 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26594 which seems to be undefined. Please make sure it is defined." >&5
26595 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26596 which seems to be undefined. Please make sure it is defined." >&2;}
26600 -) cat "$tmp/out" && rm -f "$tmp/out";;
26601 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26603 || as_fn_error "could not create $ac_file" "$LINENO" 5
26609 if test x"$ac_file" != x-; then
26611 $as_echo "/* $configure_input */" \
26612 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26613 } >"$tmp/config.h" \
26614 || as_fn_error "could not create $ac_file" "$LINENO" 5
26615 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26617 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26620 mv "$tmp/config.h" "$ac_file" \
26621 || as_fn_error "could not create $ac_file" "$LINENO" 5
26624 $as_echo "/* $configure_input */" \
26625 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26626 || as_fn_error "could not create -" "$LINENO" 5
26628 # Compute "$ac_file"'s index
in $config_headers.
26631 for _am_header
in $config_headers :; do
26632 case $_am_header in
26633 $_am_arg |
$_am_arg:* )
26636 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26639 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26640 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26641 X"$_am_arg" : 'X\(//\)[^/]' \| \
26642 X"$_am_arg" : 'X\(//\)$' \| \
26643 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26644 $as_echo X"$_am_arg" |
26645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26649 /^X\(\/\/\)[^/].*/{
26661 s/.*/./; q'`/stamp-h
$_am_stamp_count
26664 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26665 $as_echo "$as_me: executing $ac_file commands" >&6;}
26670 case $ac_file$ac_mode in
26672 # Only add multilib support code if we just rebuilt the top-level
26674 case " $CONFIG_FILES " in
26676 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26679 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26680 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26681 # are listed without --file. Let's play safe and only enable the eval
26682 # if we detect the quoting.
26683 case $CONFIG_FILES in
26684 *\'*) eval set x
"$CONFIG_FILES" ;;
26685 *) set x
$CONFIG_FILES ;;
26690 # Strip MF so we end up with the name of the file.
26691 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26692 # Check whether this is an Automake generated Makefile or not.
26693 # We used to match only the files named `Makefile.in', but
26694 # some people rename them; so instead we look at the file content.
26695 # Grep'ing the first line is not enough: some people post-process
26696 # each Makefile.in and add a new line on top of each file to say so.
26697 # Grep'ing the whole file is not good either: AIX grep has a line
26698 # limit of 2048, but all sed's we know have understand at least 4000.
26699 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26700 dirpart
=`$as_dirname -- "$mf" ||
26701 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26702 X"$mf" : 'X\(//\)[^/]' \| \
26703 X"$mf" : 'X\(//\)$' \| \
26704 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26710 /^X\(\/\/\)[^/].*/{
26726 # Extract the definition of DEPDIR, am__include, and am__quote
26727 # from the Makefile without running `make'.
26728 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26729 test -z "$DEPDIR" && continue
26730 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26731 test -z "am__include" && continue
26732 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26733 # When using ansi2knr, U may be empty or an underscore; expand it
26734 U
=`sed -n 's/^U = //p' < "$mf"`
26735 # Find all dependency output files, they are included files with
26736 # $(DEPDIR) in their names. We invoke sed twice because it is the
26737 # simplest approach to changing $(DEPDIR) to its actual value in the
26739 for file in `sed -n "
26740 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26741 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26742 # Make sure the directory exists.
26743 test -f "$dirpart/$file" && continue
26744 fdir
=`$as_dirname -- "$file" ||
26745 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26746 X"$file" : 'X\(//\)[^/]' \| \
26747 X"$file" : 'X\(//\)$' \| \
26748 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26749 $as_echo X"$file" |
26750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26754 /^X\(\/\/\)[^/].*/{
26767 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26768 # echo "creating $dirpart/$file"
26769 echo '# dummy' > "$dirpart/$file"
26776 # See if we are running on zsh, and set the options which allow our
26777 # commands through without removal of \ escapes.
26778 if test -n "${ZSH_VERSION+set}" ; then
26779 setopt NO_GLOB_SUBST
26782 cfgfile
="${ofile}T"
26783 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26786 cat <<_LT_EOF >> "$cfgfile"
26789 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26790 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26791 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26792 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26794 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26795 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26796 # Written by Gordon Matzigkeit, 1996
26798 # This file is part of GNU Libtool.
26800 # GNU Libtool is free software; you can redistribute it and/or
26801 # modify it under the terms of the GNU General Public License as
26802 # published by the Free Software Foundation; either version 2 of
26803 # the License, or (at your option) any later version.
26805 # As a special exception to the GNU General Public License,
26806 # if you distribute this file as part of a program or library that
26807 # is built using GNU Libtool, you may include this file under the
26808 # same distribution terms that you use for the rest of that program.
26810 # GNU Libtool is distributed in the hope that it will be useful,
26811 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26812 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26813 # GNU General Public License for more details.
26815 # You should have received a copy of the GNU General Public License
26816 # along with GNU Libtool; see the file COPYING. If not, a copy
26817 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26818 # obtained by writing to the Free Software Foundation, Inc.,
26819 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26822 # The names of the tagged configurations supported by this script.
26823 available_tags="FC "
26825 # ### BEGIN LIBTOOL CONFIG
26827 # Which release of libtool.m4 was used?
26828 macro_version=$macro_version
26829 macro_revision=$macro_revision
26831 # Whether or not to build shared libraries.
26832 build_libtool_libs=$enable_shared
26834 # Whether or not to build static libraries.
26835 build_old_libs=$enable_static
26837 # What type of objects to build.
26840 # Whether or not to optimize for fast installation.
26841 fast_install=$enable_fast_install
26843 # Shell to use when invoking shell scripts.
26846 # An echo program that protects backslashes.
26850 host_alias=$host_alias
26854 # The build system.
26855 build_alias=$build_alias
26859 # A sed program that does not truncate output.
26862 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26863 Xsed="\$SED -e 1s/^X//"
26865 # A grep program that handles long lines.
26871 # A literal string matcher.
26874 # A BSD- or MS-compatible name lister.
26877 # Whether we need soft or hard links.
26880 # What is the maximum length of a command?
26881 max_cmd_len=$max_cmd_len
26883 # Object file suffix (normally "o").
26886 # Executable file suffix (normally "").
26889 # whether the shell understands "unset".
26892 # turn spaces into newlines.
26895 # turn newlines into spaces.
26898 # An object symbol dumper.
26899 OBJDUMP=$lt_OBJDUMP
26901 # Method to check whether dependent libraries are shared objects.
26902 deplibs_check_method=$lt_deplibs_check_method
26904 # Command to use when deplibs_check_method == "file_magic".
26905 file_magic_cmd=$lt_file_magic_cmd
26909 AR_FLAGS=$lt_AR_FLAGS
26911 # A symbol stripping program.
26914 # Commands used to install an old-style archive.
26916 old_postinstall_cmds=$lt_old_postinstall_cmds
26917 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26919 # Whether to use a lock for old archive extraction.
26920 lock_old_archive_extraction=$lock_old_archive_extraction
26925 # LTCC compiler flags.
26926 LTCFLAGS=$lt_CFLAGS
26928 # Take the output of nm and produce a listing of raw symbols and C names.
26929 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26931 # Transform the output of nm in a proper C declaration.
26932 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26934 # Transform the output of nm in a C name address pair.
26935 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26937 # Transform the output of nm in a C name address pair when lib prefix is needed.
26938 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26940 # The name of the directory that contains temporary libtool files.
26943 # Used to examine libraries when file_magic_cmd begins with "file".
26944 MAGIC_CMD=$MAGIC_CMD
26946 # Must we lock files when doing compilation?
26947 need_locks=$lt_need_locks
26949 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26950 DSYMUTIL=$lt_DSYMUTIL
26952 # Tool to change global to local symbols on Mac OS X.
26955 # Tool to manipulate fat objects and archives on Mac OS X.
26958 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26961 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26962 OTOOL64=$lt_OTOOL64
26964 # Old archive suffix (normally "a").
26967 # Shared library suffix (normally ".so").
26968 shrext_cmds=$lt_shrext_cmds
26970 # The commands to extract the exported symbol list from a shared archive.
26971 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26973 # Variables whose values should be saved in libtool wrapper scripts and
26974 # restored at link time.
26975 variables_saved_for_relink=$lt_variables_saved_for_relink
26977 # Do we need the "lib" prefix for modules?
26978 need_lib_prefix=$need_lib_prefix
26980 # Do we need a version for libraries?
26981 need_version=$need_version
26983 # Library versioning type.
26984 version_type=$version_type
26986 # Shared library runtime path variable.
26987 runpath_var=$runpath_var
26989 # Shared library path variable.
26990 shlibpath_var=$shlibpath_var
26992 # Is shlibpath searched before the hard-coded library search path?
26993 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26995 # Format of library name prefix.
26996 libname_spec=$lt_libname_spec
26998 # List of archive names. First name is the real one, the rest are links.
26999 # The last name is the one that the linker finds with -lNAME
27000 library_names_spec=$lt_library_names_spec
27002 # The coded name of the library, if different from the real name.
27003 soname_spec=$lt_soname_spec
27005 # Permission mode override for installation of shared libraries.
27006 install_override_mode=$lt_install_override_mode
27008 # Command to use after installation of a shared archive.
27009 postinstall_cmds=$lt_postinstall_cmds
27011 # Command to use after uninstallation of a shared archive.
27012 postuninstall_cmds=$lt_postuninstall_cmds
27014 # Commands used to finish a libtool library installation in a directory.
27015 finish_cmds=$lt_finish_cmds
27017 # As "finish_cmds", except a single script fragment to be evaled but
27019 finish_eval=$lt_finish_eval
27021 # Whether we should hardcode library paths into libraries.
27022 hardcode_into_libs=$hardcode_into_libs
27024 # Compile-time system search path for libraries.
27025 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27027 # Run-time system search path for libraries.
27028 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27030 # Whether dlopen is supported.
27031 dlopen_support=$enable_dlopen
27033 # Whether dlopen of programs is supported.
27034 dlopen_self=$enable_dlopen_self
27036 # Whether dlopen of statically linked programs is supported.
27037 dlopen_self_static=$enable_dlopen_self_static
27039 # Commands to strip libraries.
27040 old_striplib=$lt_old_striplib
27041 striplib=$lt_striplib
27044 # The linker used to build libraries.
27047 # How to create reloadable object files.
27048 reload_flag=$lt_reload_flag
27049 reload_cmds=$lt_reload_cmds
27051 # Commands used to build an old-style archive.
27052 old_archive_cmds=$lt_old_archive_cmds
27054 # A language specific compiler.
27057 # Is the compiler the GNU compiler?
27060 # Compiler flag to turn off builtin functions.
27061 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27063 # How to pass a linker flag through the compiler.
27064 wl=$lt_lt_prog_compiler_wl
27066 # Additional compiler flags for building library objects.
27067 pic_flag=$lt_lt_prog_compiler_pic
27069 # Compiler flag to prevent dynamic linking.
27070 link_static_flag=$lt_lt_prog_compiler_static
27072 # Does compiler simultaneously support -c and -o options?
27073 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27075 # Whether or not to add -lc for building shared libraries.
27076 build_libtool_need_lc=$archive_cmds_need_lc
27078 # Whether or not to disallow shared libs when runtime libs are static.
27079 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27081 # Compiler flag to allow reflexive dlopens.
27082 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27084 # Compiler flag to generate shared objects directly from archives.
27085 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27087 # Whether the compiler copes with passing no objects directly.
27088 compiler_needs_object=$lt_compiler_needs_object
27090 # Create an old-style archive from a shared archive.
27091 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27093 # Create a temporary old-style archive to link instead of a shared archive.
27094 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27096 # Commands used to build a shared archive.
27097 archive_cmds=$lt_archive_cmds
27098 archive_expsym_cmds=$lt_archive_expsym_cmds
27100 # Commands used to build a loadable module if different from building
27101 # a shared archive.
27102 module_cmds=$lt_module_cmds
27103 module_expsym_cmds=$lt_module_expsym_cmds
27105 # Whether we are building with GNU ld or not.
27106 with_gnu_ld=$lt_with_gnu_ld
27108 # Flag that allows shared libraries with undefined symbols to be built.
27109 allow_undefined_flag=$lt_allow_undefined_flag
27111 # Flag that enforces no undefined symbols.
27112 no_undefined_flag=$lt_no_undefined_flag
27114 # Flag to hardcode \$libdir into a binary during linking.
27115 # This must work even if \$libdir does not exist
27116 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27118 # If ld is used when linking, flag to hardcode \$libdir into a binary
27119 # during linking. This must work even if \$libdir does not exist.
27120 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27122 # Whether we need a single "-rpath" flag with a separated argument.
27123 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27125 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27126 # DIR into the resulting binary.
27127 hardcode_direct=$hardcode_direct
27129 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27130 # DIR into the resulting binary and the resulting library dependency is
27131 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27132 # library is relocated.
27133 hardcode_direct_absolute=$hardcode_direct_absolute
27135 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27136 # into the resulting binary.
27137 hardcode_minus_L=$hardcode_minus_L
27139 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27140 # into the resulting binary.
27141 hardcode_shlibpath_var=$hardcode_shlibpath_var
27143 # Set to "yes" if building a shared library automatically hardcodes DIR
27144 # into the library and all subsequent libraries and executables linked
27146 hardcode_automatic=$hardcode_automatic
27148 # Set to yes if linker adds runtime paths of dependent libraries
27149 # to runtime path list.
27150 inherit_rpath=$inherit_rpath
27152 # Whether libtool must link a program against all its dependency libraries.
27153 link_all_deplibs=$link_all_deplibs
27155 # Fix the shell variable \$srcfile for the compiler.
27156 fix_srcfile_path=$lt_fix_srcfile_path
27158 # Set to "yes" if exported symbols are required.
27159 always_export_symbols=$always_export_symbols
27161 # The commands to list exported symbols.
27162 export_symbols_cmds=$lt_export_symbols_cmds
27164 # Symbols that should not be listed in the preloaded symbols.
27165 exclude_expsyms=$lt_exclude_expsyms
27167 # Symbols that must always be exported.
27168 include_expsyms=$lt_include_expsyms
27170 # Commands necessary for linking programs (against libraries) with templates.
27171 prelink_cmds=$lt_prelink_cmds
27173 # Specify filename containing input files.
27174 file_list_spec=$lt_file_list_spec
27176 # How to hardcode a shared library path into an executable.
27177 hardcode_action=$hardcode_action
27179 # The directories searched by this compiler when creating a shared library.
27180 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27182 # Dependencies to place before and after the objects being linked to
27183 # create a shared library.
27184 predep_objects=$lt_predep_objects
27185 postdep_objects=$lt_postdep_objects
27186 predeps=$lt_predeps
27187 postdeps=$lt_postdeps
27189 # The library search path used internally by the compiler when linking
27190 # a shared library.
27191 compiler_lib_search_path=$lt_compiler_lib_search_path
27193 # ### END LIBTOOL CONFIG
27199 cat <<\_LT_EOF
>> "$cfgfile"
27200 # AIX sometimes has problems with the GCC collect2 program. For some
27201 # reason, if we set the COLLECT_NAMES environment variable, the problems
27202 # vanish in a puff of smoke.
27203 if test "X${COLLECT_NAMES+set}" != Xset
; then
27205 export COLLECT_NAMES
27212 ltmain
="$ac_aux_dir/ltmain.sh"
27215 # We use sed instead of cat because bash on DJGPP gets confused if
27216 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27217 # text mode, it properly converts lines to CR/LF. This bash problem
27218 # is reportedly fixed, but why not run on old versions too?
27219 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27220 ||
(rm -f "$cfgfile"; exit 1)
27224 cat << \_LT_EOF
>> "$cfgfile"
27226 # func_dirname file append nondir_replacement
27227 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27228 # otherwise set result to NONDIR_REPLACEMENT.
27232 */*) func_dirname_result
="${1%/*}${2}" ;;
27233 * ) func_dirname_result
="${3}" ;;
27237 # func_basename file
27240 func_basename_result
="${1##*/}"
27243 # func_dirname_and_basename file append nondir_replacement
27244 # perform func_basename and func_dirname in a single function
27246 # dirname: Compute the dirname of FILE. If nonempty,
27247 # add APPEND to the result, otherwise set result
27248 # to NONDIR_REPLACEMENT.
27249 # value returned in "$func_dirname_result"
27250 # basename: Compute filename of FILE.
27251 # value retuned in "$func_basename_result"
27252 # Implementation must be kept synchronized with func_dirname
27253 # and func_basename. For efficiency, we do not delegate to
27254 # those functions but instead duplicate the functionality here.
27255 func_dirname_and_basename
()
27258 */*) func_dirname_result
="${1%/*}${2}" ;;
27259 * ) func_dirname_result
="${3}" ;;
27261 func_basename_result
="${1##*/}"
27264 # func_stripname prefix suffix name
27265 # strip PREFIX and SUFFIX off of NAME.
27266 # PREFIX and SUFFIX must not contain globbing or regex special
27267 # characters, hashes, percent signs, but SUFFIX may contain a leading
27268 # dot (in which case that matches only a dot).
27271 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27272 # positional parameters, so assign one to ordinary parameter first.
27273 func_stripname_result
=${3}
27274 func_stripname_result
=${func_stripname_result#"${1}"}
27275 func_stripname_result
=${func_stripname_result%"${2}"}
27281 func_opt_split_opt
=${1%%=*}
27282 func_opt_split_arg
=${1#*=}
27289 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27290 *) func_lo2o_result
=${1} ;;
27294 # func_xform libobj-or-source
27297 func_xform_result
=${1%.*}.lo
27300 # func_arith arithmetic-term...
27303 func_arith_result
=$
(( $
* ))
27307 # STRING may not start with a hyphen.
27310 func_len_result
=${#1}
27315 *) # Bourne compatible functions.
27316 cat << \_LT_EOF
>> "$cfgfile"
27318 # func_dirname file append nondir_replacement
27319 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27320 # otherwise set result to NONDIR_REPLACEMENT.
27323 # Extract subdirectory from the argument.
27324 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27325 if test "X$func_dirname_result" = "X${1}"; then
27326 func_dirname_result
="${3}"
27328 func_dirname_result
="$func_dirname_result${2}"
27332 # func_basename file
27335 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27339 # func_stripname prefix suffix name
27340 # strip PREFIX and SUFFIX off of NAME.
27341 # PREFIX and SUFFIX must not contain globbing or regex special
27342 # characters, hashes, percent signs, but SUFFIX may contain a leading
27343 # dot (in which case that matches only a dot).
27344 # func_strip_suffix prefix name
27348 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27349 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27354 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27355 my_sed_long_arg
='1s/^-[^=]*=//'
27360 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27361 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27367 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27370 # func_xform libobj-or-source
27373 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27376 # func_arith arithmetic-term...
27379 func_arith_result
=`expr "$@"`
27383 # STRING may not start with a hyphen.
27386 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27392 case $lt_shell_append in
27394 cat << \_LT_EOF
>> "$cfgfile"
27396 # func_append var value
27397 # Append VALUE to the end of shell variable VAR.
27405 cat << \_LT_EOF
>> "$cfgfile"
27407 # func_append var value
27408 # Append VALUE to the end of shell variable VAR.
27419 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27420 ||
(rm -f "$cfgfile"; exit 1)
27422 mv -f "$cfgfile" "$ofile" ||
27423 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27427 cat <<_LT_EOF >> "$ofile"
27429 # ### BEGIN LIBTOOL TAG CONFIG: FC
27431 # The linker used to build libraries.
27434 # How to create reloadable object files.
27435 reload_flag=$lt_reload_flag_FC
27436 reload_cmds=$lt_reload_cmds_FC
27438 # Commands used to build an old-style archive.
27439 old_archive_cmds=$lt_old_archive_cmds_FC
27441 # A language specific compiler.
27444 # Is the compiler the GNU compiler?
27447 # Compiler flag to turn off builtin functions.
27448 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27450 # How to pass a linker flag through the compiler.
27451 wl=$lt_lt_prog_compiler_wl_FC
27453 # Additional compiler flags for building library objects.
27454 pic_flag=$lt_lt_prog_compiler_pic_FC
27456 # Compiler flag to prevent dynamic linking.
27457 link_static_flag=$lt_lt_prog_compiler_static_FC
27459 # Does compiler simultaneously support -c and -o options?
27460 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27462 # Whether or not to add -lc for building shared libraries.
27463 build_libtool_need_lc=$archive_cmds_need_lc_FC
27465 # Whether or not to disallow shared libs when runtime libs are static.
27466 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27468 # Compiler flag to allow reflexive dlopens.
27469 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27471 # Compiler flag to generate shared objects directly from archives.
27472 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27474 # Whether the compiler copes with passing no objects directly.
27475 compiler_needs_object=$lt_compiler_needs_object_FC
27477 # Create an old-style archive from a shared archive.
27478 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27480 # Create a temporary old-style archive to link instead of a shared archive.
27481 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27483 # Commands used to build a shared archive.
27484 archive_cmds=$lt_archive_cmds_FC
27485 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27487 # Commands used to build a loadable module if different from building
27488 # a shared archive.
27489 module_cmds=$lt_module_cmds_FC
27490 module_expsym_cmds=$lt_module_expsym_cmds_FC
27492 # Whether we are building with GNU ld or not.
27493 with_gnu_ld=$lt_with_gnu_ld_FC
27495 # Flag that allows shared libraries with undefined symbols to be built.
27496 allow_undefined_flag=$lt_allow_undefined_flag_FC
27498 # Flag that enforces no undefined symbols.
27499 no_undefined_flag=$lt_no_undefined_flag_FC
27501 # Flag to hardcode \$libdir into a binary during linking.
27502 # This must work even if \$libdir does not exist
27503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27505 # If ld is used when linking, flag to hardcode \$libdir into a binary
27506 # during linking. This must work even if \$libdir does not exist.
27507 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27509 # Whether we need a single "-rpath" flag with a separated argument.
27510 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27513 # DIR into the resulting binary.
27514 hardcode_direct=$hardcode_direct_FC
27516 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27517 # DIR into the resulting binary and the resulting library dependency is
27518 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27519 # library is relocated.
27520 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27522 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27523 # into the resulting binary.
27524 hardcode_minus_L=$hardcode_minus_L_FC
27526 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27527 # into the resulting binary.
27528 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27530 # Set to "yes" if building a shared library automatically hardcodes DIR
27531 # into the library and all subsequent libraries and executables linked
27533 hardcode_automatic=$hardcode_automatic_FC
27535 # Set to yes if linker adds runtime paths of dependent libraries
27536 # to runtime path list.
27537 inherit_rpath=$inherit_rpath_FC
27539 # Whether libtool must link a program against all its dependency libraries.
27540 link_all_deplibs=$link_all_deplibs_FC
27542 # Fix the shell variable \$srcfile for the compiler.
27543 fix_srcfile_path=$lt_fix_srcfile_path_FC
27545 # Set to "yes" if exported symbols are required.
27546 always_export_symbols=$always_export_symbols_FC
27548 # The commands to list exported symbols.
27549 export_symbols_cmds=$lt_export_symbols_cmds_FC
27551 # Symbols that should not be listed in the preloaded symbols.
27552 exclude_expsyms=$lt_exclude_expsyms_FC
27554 # Symbols that must always be exported.
27555 include_expsyms=$lt_include_expsyms_FC
27557 # Commands necessary for linking programs (against libraries) with templates.
27558 prelink_cmds=$lt_prelink_cmds_FC
27560 # Specify filename containing input files.
27561 file_list_spec=$lt_file_list_spec_FC
27563 # How to hardcode a shared library path into an executable.
27564 hardcode_action=$hardcode_action_FC
27566 # The directories searched by this compiler when creating a shared library.
27567 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27569 # Dependencies to place before and after the objects being linked to
27570 # create a shared library.
27571 predep_objects=$lt_predep_objects_FC
27572 postdep_objects=$lt_postdep_objects_FC
27573 predeps=$lt_predeps_FC
27574 postdeps=$lt_postdeps_FC
27576 # The library search path used internally by the compiler when linking
27577 # a shared library.
27578 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27580 # ### END LIBTOOL TAG CONFIG: FC
27585 if test "$GCC" = yes; then
27586 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27588 echo "/* generated for $CC */" > tmp-stdint.h
27591 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27593 #ifndef GCC_GENERATED_STDINT_H
27594 #define GCC_GENERATED_STDINT_H 1
27596 #include <sys/types.h>
27599 if test "$acx_cv_header_stdint" != stdint.h
; then
27600 echo "#include <stddef.h>" >> tmp-stdint.h
27602 if test "$acx_cv_header_stdint" != stddef.h
; then
27603 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27606 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27607 /* glibc uses these symbols as guards to prevent redefinitions. */
27608 #ifdef __int8_t_defined
27613 #ifdef __uint32_t_defined
27619 # ----------------- done header, emit basic int types -------------
27620 if test "$acx_cv_header_stdint" = stddef.h
; then
27621 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27625 #ifndef __uint8_t_defined
27626 #define __uint8_t_defined
27628 typedef unsigned $acx_cv_type_int8_t uint8_t;
27635 #ifndef __uint16_t_defined
27636 #define __uint16_t_defined
27638 typedef unsigned $acx_cv_type_int16_t uint16_t;
27645 #ifndef __uint32_t_defined
27646 #define __uint32_t_defined
27648 typedef unsigned $acx_cv_type_int32_t uint32_t;
27655 #ifndef __int8_t_defined
27656 #define __int8_t_defined
27658 typedef $acx_cv_type_int8_t int8_t;
27665 #ifndef __int16_t_defined
27666 #define __int16_t_defined
27668 typedef $acx_cv_type_int16_t int16_t;
27675 #ifndef __int32_t_defined
27676 #define __int32_t_defined
27678 typedef $acx_cv_type_int32_t int32_t;
27683 elif test "$ac_cv_type_u_int32_t" = yes; then
27684 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27686 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27699 #ifndef __uint8_t_defined
27700 #define __uint8_t_defined
27702 typedef u_int8_t uint8_t;
27709 #ifndef __uint16_t_defined
27710 #define __uint16_t_defined
27712 typedef u_int16_t uint16_t;
27719 #ifndef __uint32_t_defined
27720 #define __uint32_t_defined
27722 typedef u_int32_t uint32_t;
27728 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27730 /* Some systems have guard macros to prevent redefinitions, define them. */
27752 # ------------- done basic int types, emit int64_t types ------------
27753 if test "$ac_cv_type_uint64_t" = yes; then
27754 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27756 /* system headers have good uint64_t and int64_t */
27764 elif test "$ac_cv_type_u_int64_t" = yes; then
27765 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27767 /* system headers have an u_int64_t (and int64_t) */
27773 #ifndef __uint64_t_defined
27774 #define __uint64_t_defined
27776 typedef u_int64_t uint64_t;
27781 elif test -n "$acx_cv_type_int64_t"; then
27782 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27784 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27788 typedef $acx_cv_type_int64_t int64_t;
27793 #ifndef __uint64_t_defined
27794 #define __uint64_t_defined
27796 typedef unsigned $acx_cv_type_int64_t uint64_t;
27802 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27804 /* some common heuristics for int64_t, using compiler-specific tests */
27805 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27808 #ifndef __int64_t_defined
27810 typedef long long int64_t;
27817 typedef unsigned long long uint64_t;
27821 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27822 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27823 does not implement __extension__. But that compiler doesn't define
27825 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27826 # define __extension__
27832 __extension__ typedef long long int64_t;
27838 __extension__ typedef unsigned long long uint64_t;
27842 #elif !defined __STRICT_ANSI__
27843 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27848 typedef __int64 int64_t;
27854 typedef unsigned __int64 uint64_t;
27857 # endif /* compiler */
27859 #endif /* ANSI version */
27863 # ------------- done int64_t types, emit intptr types ------------
27864 if test "$ac_cv_type_uintptr_t" != yes; then
27865 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27867 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27868 #ifndef __uintptr_t_defined
27870 typedef u$acx_cv_type_intptr_t uintptr_t;
27873 #ifndef __intptr_t_defined
27875 typedef $acx_cv_type_intptr_t intptr_t;
27881 # ------------- done intptr types, emit int_least types ------------
27882 if test "$ac_cv_type_int_least32_t" != yes; then
27883 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27885 /* Define int_least types */
27886 typedef int8_t int_least8_t;
27887 typedef int16_t int_least16_t;
27888 typedef int32_t int_least32_t;
27890 typedef int64_t int_least64_t;
27893 typedef uint8_t uint_least8_t;
27894 typedef uint16_t uint_least16_t;
27895 typedef uint32_t uint_least32_t;
27897 typedef uint64_t uint_least64_t;
27902 # ------------- done intptr types, emit int_fast types ------------
27903 if test "$ac_cv_type_int_fast32_t" != yes; then
27904 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27906 /* Define int_fast types. short is often slow */
27907 typedef int8_t int_fast8_t;
27908 typedef int int_fast16_t;
27909 typedef int32_t int_fast32_t;
27911 typedef int64_t int_fast64_t;
27914 typedef uint8_t uint_fast8_t;
27915 typedef unsigned int uint_fast16_t;
27916 typedef uint32_t uint_fast32_t;
27918 typedef uint64_t uint_fast64_t;
27923 if test "$ac_cv_type_uintmax_t" != yes; then
27924 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27926 /* Define intmax based on what we found */
27929 typedef int64_t intmax_t;
27931 typedef long intmax_t;
27936 typedef uint64_t uintmax_t;
27938 typedef unsigned long uintmax_t;
27944 sed 's/^ *//' >> tmp-stdint.h
<<EOF
27946 #endif /* GCC_GENERATED_STDINT_H */
27949 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
27952 mv -f tmp-stdint.h gstdint.h
27963 ac_clean_files
=$ac_clean_files_save
27965 test $ac_write_fail = 0 ||
27966 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27969 # configure is writing to config.log, and then calls config.status.
27970 # config.status does its own redirection, appending to config.log.
27971 # Unfortunately, on DOS this fails, as config.log is still kept open
27972 # by configure, so config.status won't be able to write to it; its
27973 # output is simply discarded. So we exec the FD to /dev/null,
27974 # effectively closing config.log, so it can be properly (re)opened and
27975 # appended to by config.status. When coming back to configure, we
27976 # need to make the FD available again.
27977 if test "$no_create" != yes; then
27979 ac_config_status_args
=
27980 test "$silent" = yes &&
27981 ac_config_status_args
="$ac_config_status_args --quiet"
27983 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27985 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27986 # would make configure fail if this is the last instruction.
27987 $ac_cs_success || as_fn_exit $?
27989 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27991 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}