2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME
='libgfortran'
559 PACKAGE_VERSION
='0.3'
560 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
562 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
604 ac_subst_vars
='am__EXEEXT_FALSE
610 LIBGFOR_BUILD_QUAD_FALSE
611 LIBGFOR_BUILD_QUAD_TRUE
616 extra_ldflags_libgfortran
641 LIBGFOR_USE_SYMVER_SUN_FALSE
642 LIBGFOR_USE_SYMVER_SUN_TRUE
643 LIBGFOR_USE_SYMVER_GNU_FALSE
644 LIBGFOR_USE_SYMVER_GNU_TRUE
645 LIBGFOR_USE_SYMVER_FALSE
646 LIBGFOR_USE_SYMVER_TRUE
673 MAINTAINER_MODE_FALSE
683 INSTALL_STRIP_PROGRAM
745 program_transform_name
758 enable_option_checking
760 enable_version_specific_runtime_libs
762 enable_maintainer_mode
764 enable_dependency_tracking
773 enable_libquadmath_support
774 with_system_libunwind
776 ac_precious_vars
='build_alias
789 # Initialize some variables set by options.
791 ac_init_version
=false
792 ac_unrecognized_opts
=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name
=s
,x
,x
,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir
='${exec_prefix}/bin'
818 sbindir
='${exec_prefix}/sbin'
819 libexecdir
='${exec_prefix}/libexec'
820 datarootdir
='${prefix}/share'
821 datadir
='${datarootdir}'
822 sysconfdir
='${prefix}/etc'
823 sharedstatedir
='${prefix}/com'
824 localstatedir
='${prefix}/var'
825 includedir
='${prefix}/include'
826 oldincludedir
='/usr/include'
827 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir
='${datarootdir}/info'
833 libdir
='${exec_prefix}/lib'
834 localedir
='${datarootdir}/locale'
835 mandir
='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\
$ac_option
849 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
861 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
864 -build |
--build |
--buil |
--bui |
--bu)
865 ac_prev
=build_alias
;;
866 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
867 build_alias
=$ac_optarg ;;
869 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
870 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
871 ac_prev
=cache_file
;;
872 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
873 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
874 cache_file
=$ac_optarg ;;
877 cache_file
=config.cache
;;
879 -datadir |
--datadir |
--datadi |
--datad)
881 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
882 datadir
=$ac_optarg ;;
884 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
885 |
--dataroo |
--dataro |
--datar)
886 ac_prev
=datarootdir
;;
887 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
888 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
889 datarootdir
=$ac_optarg ;;
891 -disable-* |
--disable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=\
$ac_optarg ;;
933 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
934 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
935 |
--exec |
--exe |
--ex)
936 ac_prev
=exec_prefix
;;
937 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
938 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
939 |
--exec=* |
--exe=* |
--ex=*)
940 exec_prefix
=$ac_optarg ;;
942 -gas |
--gas |
--ga |
--g)
943 # Obsolete; use --with-gas.
946 -help |
--help |
--hel |
--he |
-h)
948 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
949 ac_init_help
=recursive
;;
950 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
951 ac_init_help
=short
;;
953 -host |
--host |
--hos |
--ho)
954 ac_prev
=host_alias
;;
955 -host=* |
--host=* |
--hos=* |
--ho=*)
956 host_alias
=$ac_optarg ;;
958 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
960 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
962 htmldir
=$ac_optarg ;;
964 -includedir |
--includedir |
--includedi |
--included |
--include \
965 |
--includ |
--inclu |
--incl |
--inc)
966 ac_prev
=includedir
;;
967 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
968 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
969 includedir
=$ac_optarg ;;
971 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
973 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
974 infodir
=$ac_optarg ;;
976 -libdir |
--libdir |
--libdi |
--libd)
978 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
981 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
982 |
--libexe |
--libex |
--libe)
983 ac_prev
=libexecdir
;;
984 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
985 |
--libexe=* |
--libex=* |
--libe=*)
986 libexecdir
=$ac_optarg ;;
988 -localedir |
--localedir |
--localedi |
--localed |
--locale)
990 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
991 localedir
=$ac_optarg ;;
993 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
994 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
995 ac_prev
=localstatedir
;;
996 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
997 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
998 localstatedir
=$ac_optarg ;;
1000 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1002 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1003 mandir
=$ac_optarg ;;
1005 -nfp |
--nfp |
--nf)
1006 # Obsolete; use --without-fp.
1009 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1010 |
--no-cr |
--no-c |
-n)
1013 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1014 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1017 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1018 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1019 |
--oldin |
--oldi |
--old |
--ol |
--o)
1020 ac_prev
=oldincludedir
;;
1021 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1022 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1023 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1024 oldincludedir
=$ac_optarg ;;
1026 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1028 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1029 prefix
=$ac_optarg ;;
1031 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1032 |
--program-pre |
--program-pr |
--program-p)
1033 ac_prev
=program_prefix
;;
1034 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1035 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1036 program_prefix
=$ac_optarg ;;
1038 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1039 |
--program-suf |
--program-su |
--program-s)
1040 ac_prev
=program_suffix
;;
1041 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1042 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1043 program_suffix
=$ac_optarg ;;
1045 -program-transform-name |
--program-transform-name \
1046 |
--program-transform-nam |
--program-transform-na \
1047 |
--program-transform-n |
--program-transform- \
1048 |
--program-transform |
--program-transfor \
1049 |
--program-transfo |
--program-transf \
1050 |
--program-trans |
--program-tran \
1051 |
--progr-tra |
--program-tr |
--program-t)
1052 ac_prev
=program_transform_name
;;
1053 -program-transform-name=* |
--program-transform-name=* \
1054 |
--program-transform-nam=* |
--program-transform-na=* \
1055 |
--program-transform-n=* |
--program-transform-=* \
1056 |
--program-transform=* |
--program-transfor=* \
1057 |
--program-transfo=* |
--program-transf=* \
1058 |
--program-trans=* |
--program-tran=* \
1059 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1060 program_transform_name
=$ac_optarg ;;
1062 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1064 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1065 pdfdir
=$ac_optarg ;;
1067 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1069 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1073 |
-silent |
--silent |
--silen |
--sile |
--sil)
1076 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1078 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1080 sbindir
=$ac_optarg ;;
1082 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1083 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1084 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1086 ac_prev
=sharedstatedir
;;
1087 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1088 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1089 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1091 sharedstatedir
=$ac_optarg ;;
1093 -site |
--site |
--sit)
1095 -site=* |
--site=* |
--sit=*)
1098 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1100 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1101 srcdir
=$ac_optarg ;;
1103 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1104 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1105 ac_prev
=sysconfdir
;;
1106 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1107 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1108 sysconfdir
=$ac_optarg ;;
1110 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1111 ac_prev
=target_alias
;;
1112 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1113 target_alias
=$ac_optarg ;;
1115 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1118 -version |
--version |
--versio |
--versi |
--vers |
-V)
1119 ac_init_version
=: ;;
1122 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=\
$ac_optarg ;;
1137 -without-* |
--without-*)
1138 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1141 as_fn_error
"invalid package name: $ac_useropt"
1142 ac_useropt_orig
=$ac_useropt
1143 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep
=', ';;
1151 eval with_
$ac_useropt=no
;;
1154 # Obsolete; use --with-x.
1157 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1158 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1159 ac_prev
=x_includes
;;
1160 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1161 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1162 x_includes
=$ac_optarg ;;
1164 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1165 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1166 ac_prev
=x_libraries
;;
1167 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1168 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1169 x_libraries
=$ac_optarg ;;
1171 -*) as_fn_error
"unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information."
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1180 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1182 eval $ac_envvar=\
$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1196 if test -n "$ac_prev"; then
1197 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error
"missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1204 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 # Check all directory arguments for consistency.
1210 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val
=\$
$ac_var
1216 # Remove trailing slashes.
1219 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\
$ac_val;;
1222 # Be sure to have absolute directory names.
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error
"working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error
"pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted
=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir
=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1294 ac_srcdir_defaulted
=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1298 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1312 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314 for ac_var
in $ac_precious_vars; do
1315 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1317 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1328 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1391 --build=BUILD configure
for building on BUILD
[guessed
]
1392 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1393 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1404 --disable-option-checking ignore unrecognized
--enable/--with options
1405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1407 --enable-version-specific-runtime-libs
1408 specify that runtime libraries should be installed
1409 in a compiler-specific directory
1410 --enable-intermodule build the library
in one step
1411 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing
) to the casual installer
1413 --enable-multilib build many library versions
(default
)
1414 --disable-dependency-tracking speeds up one-time build
1415 --enable-dependency-tracking do not reject slow dependency extractors
1416 --disable-symvers disable symbol versioning
for libgfortran
1417 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1418 --enable-static[=PKGS
] build static libraries
[default
=yes]
1419 --enable-fast-install[=PKGS
]
1420 optimize
for fast installation
[default
=yes]
1421 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1422 --disable-largefile omit support
for large files
1423 --disable-libquadmath-support
1424 disable libquadmath support
for Fortran
1427 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1428 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1429 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1430 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1432 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1433 --with-system-libunwind use installed libunwind
1435 Some influential environment variables
:
1436 CC C compiler
command
1437 CFLAGS C compiler flags
1438 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1439 nonstandard directory
<lib dir
>
1440 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1441 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1442 you have headers
in a nonstandard directory
<include dir
>
1444 FC Fortran compiler
command
1445 FCFLAGS Fortran compiler flags
1447 Use these variables to override the choices made by
`configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to the package provider.
1451 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1452 General help using GNU software: <http://www.gnu.org/gethelp/>.
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1476 ac_abs_top_builddir=$ac_pwd
1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir=$ac_top_build_prefix
1482 .) # We are building in place.
1484 ac_top_srcdir=$ac_top_builddir_sub
1485 ac_abs_top_srcdir=$ac_pwd ;;
1486 [\\/]* | ?:[\\/]* ) # Absolute name.
1487 ac_srcdir=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir=$srcdir
1489 ac_abs_top_srcdir=$srcdir ;;
1491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508 cd "$ac_pwd" || { ac_status=$?; break; }
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1515 GNU Fortran Runtime Library configure 0.3
1516 generated by GNU Autoconf 2.64
1518 Copyright (C) 2009 Free Software Foundation, Inc.
1519 This configure script is free software; the Free Software Foundation
1520 gives unlimited permission to copy, distribute and modify it.
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1539 *) ac_try_echo
=$ac_try;;
1541 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1545 if test -s conftest.err
; then
1546 grep -v '^ *+' conftest.err
>conftest.er1
1547 cat conftest.er1
>&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.
$ac_objext; then :
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.
$ac_ext >&5
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_cpp LINENO
1568 # ----------------------
1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1572 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1573 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } >/dev/null && {
1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1609 ac_fn_c_check_header_mongrel ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 $as_echo_n "(cached) " >&6
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631 ac_header_compiler=yes
1633 ac_header_compiler=no
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647 ac_header_preproc=yes
1649 ac_header_preproc=no
1651 rm -f conftest.err conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679 $as_echo_n "(cached) " >&6
1681 eval "$3=\$ac_header_compiler"
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 } # ac_fn_c_check_header_mongrel
1691 # ac_fn_c_try_run LINENO
1692 # ----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1694 # that executables *can* be run.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_link"
1700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1709 { { case "(($ac_try" in
1710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_try") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; }; }; then :
1721 $as_echo "$as_me: program exited with status $ac_status" >&5
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1725 ac_retval=$ac_status
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1734 # -------------------------------------------------------
1735 # Tests whether HEADER exists and can be compiled using the include files in
1736 # INCLUDES, setting the cache variable VAR accordingly.
1737 ac_fn_c_check_header_compile ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 $as_echo_n "(cached) " >&6
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1750 if ac_fn_c_try_compile "$LINENO"; then :
1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 } # ac_fn_c_check_header_compile
1764 # ac_fn_c_try_link LINENO
1765 # -----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded.
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext conftest$ac_exeext
1771 if { { ac_try="$ac_link"
1773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1774 *) ac_try_echo
=$ac_try;;
1776 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>conftest.err
1780 if test -s conftest.err
; then
1781 grep -v '^ *+' conftest.err
>conftest.er1
1782 cat conftest.er1
>&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest
$ac_exeext && {
1790 test "$cross_compiling" = yes ||
1791 $as_test_x conftest
$ac_exeext
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.
$ac_ext >&5
1800 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1801 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1802 # interfere with the next link command; also delete a directory that is
1803 # left behind by Apple's compiler. We do this before executing the actions.
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1808 } # ac_fn_c_try_link
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func
()
1815 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1819 $as_echo_n "(cached) " >&6
1821 if test x
$gcc_no_link = xyes
; then
1822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1836 # include <limits.h>
1838 # include <assert.h>
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1865 if ac_fn_c_try_link
"$LINENO"; then :
1870 rm -f core conftest.err conftest.
$ac_objext \
1871 conftest
$ac_exeext conftest.
$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1878 } # ac_fn_c_check_func
1880 # ac_fn_fc_try_compile LINENO
1881 # ---------------------------
1882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_fc_try_compile
()
1885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1886 rm -f conftest.
$ac_objext
1887 if { { ac_try
="$ac_compile"
1889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_compile") 2>conftest.err
1896 if test -s conftest.err; then
1897 grep -v '^ *+' conftest.err >conftest.er1
1898 cat conftest.er1 >&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && {
1903 test -z "$ac_fc_werror_flag" ||
1904 test ! -s conftest.err
1905 } && test -s conftest.$ac_objext; then :
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1916 } # ac_fn_fc_try_compile
1918 # ac_fn_fc_try_link LINENO
1919 # ------------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_fc_try_link ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 rm -f conftest.$ac_objext conftest$ac_exeext
1925 if { { ac_try="$ac_link"
1927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1928 *) ac_try_echo
=$ac_try;;
1930 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>conftest.err
1934 if test -s conftest.err
; then
1935 grep -v '^ *+' conftest.err
>conftest.er1
1936 cat conftest.er1
>&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } && {
1941 test -z "$ac_fc_werror_flag" ||
1942 test ! -s conftest.err
1943 } && test -s conftest
$ac_exeext && {
1944 test "$cross_compiling" = yes ||
1945 $as_test_x conftest
$ac_exeext
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.
$ac_ext >&5
1954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956 # interfere with the next link command; also delete a directory that is
1957 # left behind by Apple's compiler. We do this before executing the actions.
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1962 } # ac_fn_fc_try_link
1964 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1965 # -------------------------------------------
1966 # Tests whether TYPE exists after having included INCLUDES, setting cache
1967 # variable VAR accordingly.
1968 ac_fn_c_check_type
()
1970 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1974 $as_echo_n "(cached) " >&6
1977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1989 if ac_fn_c_try_compile
"$LINENO"; then :
1990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
2002 if ac_fn_c_try_compile
"$LINENO"; then :
2007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2016 } # ac_fn_c_check_type
2018 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2019 # --------------------------------------------
2020 # Tries to find the compile-time value of EXPR in a program that includes
2021 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2023 ac_fn_c_compute_int
()
2025 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2026 if test "$cross_compiling" = yes; then
2027 # Depending upon the size, compute the lo and hi bounds.
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2034 static int test_array [1 - 2 * !(($2) >= 0)];
2041 if ac_fn_c_try_compile
"$LINENO"; then :
2044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2050 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2057 if ac_fn_c_try_compile
"$LINENO"; then :
2058 ac_hi
=$ac_mid; break
2060 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2061 if test $ac_lo -le $ac_mid; then
2065 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2076 static int test_array [1 - 2 * !(($2) < 0)];
2083 if ac_fn_c_try_compile
"$LINENO"; then :
2086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2092 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2099 if ac_fn_c_try_compile
"$LINENO"; then :
2100 ac_lo
=$ac_mid; break
2102 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2103 if test $ac_mid -le $ac_hi; then
2107 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2117 # Binary search between lo and hi bounds.
2118 while test "x$ac_lo" != "x$ac_hi"; do
2119 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2126 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2133 if ac_fn_c_try_compile
"$LINENO"; then :
2136 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2141 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2148 static long int longval () { return $2; }
2149 static unsigned long int ulongval () { return $2; }
2156 FILE *f = fopen ("conftest.val", "w");
2161 long int i = longval ();
2164 fprintf (f, "%ld", i);
2168 unsigned long int i = ulongval ();
2171 fprintf (f, "%lu", i);
2173 /* Do not output a trailing newline, as this causes \r\n confusion
2174 on some platforms. */
2175 return ferror (f) || fclose (f) != 0;
2181 if ac_fn_c_try_run
"$LINENO"; then :
2182 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2186 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2187 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2194 } # ac_fn_c_compute_int
2196 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2197 # ----------------------------------------------------
2198 # Tries to find if the field MEMBER exists in type AGGR, after including
2199 # INCLUDES, setting cache variable VAR accordingly.
2200 ac_fn_c_check_member
()
2202 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2204 $as_echo_n "checking for $2.$3... " >&6; }
2205 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2221 if ac_fn_c_try_compile
"$LINENO"; then :
2224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2231 if (sizeof ac_aggr.$3)
2237 if ac_fn_c_try_compile
"$LINENO"; then :
2242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2251 } # ac_fn_c_check_member
2252 cat >config.log
<<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2257 generated by GNU Autoconf 2.64. Invocation command line was
2269 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2278 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2279 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2280 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2282 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2283 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2284 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir
=.
2293 $as_echo "PATH: $as_dir"
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2317 ac_must_keep_next
=false
2323 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2324 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2325 |
-silent |
--silent |
--silen |
--sile |
--sil)
2328 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2331 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1
" '$ac_arg'"
2334 if test $ac_must_keep_next = true
; then
2335 ac_must_keep_next
=false
# Got value, back to normal.
2338 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2339 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2340 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2341 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2346 -* ) ac_must_keep_next
=true
;;
2349 as_fn_append ac_configure_args
" '$ac_arg'"
2354 { ac_configure_args0
=; unset ac_configure_args0
;}
2355 { ac_configure_args1
=; unset ac_configure_args1
;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2368 ## ---------------- ##
2369 ## Cache variables. ##
2370 ## ---------------- ##
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2376 eval ac_val=\$$ac_var
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2391 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2406 ## ----------------- ##
2407 ## Output variables. ##
2408 ## ----------------- ##
2411 for ac_var in $ac_subst_vars
2413 eval ac_val=\$$ac_var
2415 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2417 $as_echo "$ac_var='\''$ac_val'\''"
2421 if test -n "$ac_subst_files"; then
2423 ## ------------------- ##
2424 ## File substitutions. ##
2425 ## ------------------- ##
2428 for ac_var
in $ac_subst_files
2430 eval ac_val
=\$
$ac_var
2432 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2434 $as_echo "$ac_var='\''$ac_val'\''"
2439 if test -s confdefs.h; then
2449 test "$ac_signal" != 0 &&
2450 $as_echo "$as_me: caught signal $ac_signal"
2451 $as_echo "$as_me: exit $exit_status"
2453 rm -f core *.core core.conftest.* &&
2454 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2457 for ac_signal
in 1 2 13 15; do
2458 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2462 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2463 rm -f -r conftest
* confdefs.h
2465 $as_echo "/* confdefs.h */" > confdefs.h
2467 # Predefined preprocessor variables.
2469 cat >>confdefs.h
<<_ACEOF
2470 #define PACKAGE_NAME "$PACKAGE_NAME"
2473 cat >>confdefs.h
<<_ACEOF
2474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2477 cat >>confdefs.h
<<_ACEOF
2478 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2481 cat >>confdefs.h
<<_ACEOF
2482 #define PACKAGE_STRING "$PACKAGE_STRING"
2485 cat >>confdefs.h
<<_ACEOF
2486 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2489 cat >>confdefs.h
<<_ACEOF
2490 #define PACKAGE_URL "$PACKAGE_URL"
2494 # Let the site file select an alternate cache file if it wants to.
2495 # Prefer an explicitly selected file to automatically selected ones.
2498 if test -n "$CONFIG_SITE"; then
2499 ac_site_file1
=$CONFIG_SITE
2500 elif test "x$prefix" != xNONE
; then
2501 ac_site_file1
=$prefix/share
/config.site
2502 ac_site_file2
=$prefix/etc
/config.site
2504 ac_site_file1
=$ac_default_prefix/share
/config.site
2505 ac_site_file2
=$ac_default_prefix/etc
/config.site
2507 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2509 test "x$ac_site_file" = xNONE
&& continue
2510 if test -r "$ac_site_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2512 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2513 sed 's/^/| /' "$ac_site_file" >&5
2518 if test -r "$cache_file"; then
2519 # Some versions of bash will fail to source /dev/null (special
2520 # files actually), so we avoid doing that.
2521 if test -f "$cache_file"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2525 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2526 *) .
"./$cache_file";;
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2535 as_fn_append ac_header_list
" unistd.h"
2536 as_fn_append ac_header_list
" sys/time.h"
2537 as_fn_append ac_header_list
" sys/times.h"
2538 as_fn_append ac_header_list
" sys/resource.h"
2539 as_fn_append ac_header_list
" sys/types.h"
2540 as_fn_append ac_header_list
" sys/stat.h"
2541 as_fn_append ac_header_list
" sys/wait.h"
2542 as_fn_append ac_header_list
" floatingpoint.h"
2543 as_fn_append ac_header_list
" ieeefp.h"
2544 as_fn_append ac_header_list
" fenv.h"
2545 as_fn_append ac_header_list
" fptrap.h"
2546 as_fn_append ac_header_list
" pwd.h"
2547 as_fn_append ac_header_list
" complex.h"
2548 as_fn_append ac_func_list
" getrusage"
2549 as_fn_append ac_func_list
" times"
2550 as_fn_append ac_func_list
" mkstemp"
2551 as_fn_append ac_func_list
" strtof"
2552 as_fn_append ac_func_list
" strtold"
2553 as_fn_append ac_func_list
" snprintf"
2554 as_fn_append ac_func_list
" ftruncate"
2555 as_fn_append ac_func_list
" chsize"
2556 as_fn_append ac_func_list
" chdir"
2557 as_fn_append ac_func_list
" getlogin"
2558 as_fn_append ac_func_list
" gethostname"
2559 as_fn_append ac_func_list
" kill"
2560 as_fn_append ac_func_list
" link"
2561 as_fn_append ac_func_list
" symlink"
2562 as_fn_append ac_func_list
" sleep"
2563 as_fn_append ac_func_list
" ttyname"
2564 as_fn_append ac_func_list
" alarm"
2565 as_fn_append ac_func_list
" access"
2566 as_fn_append ac_func_list
" fork"
2567 as_fn_append ac_func_list
" execl"
2568 as_fn_append ac_func_list
" wait"
2569 as_fn_append ac_func_list
" setmode"
2570 as_fn_append ac_func_list
" execve"
2571 as_fn_append ac_func_list
" pipe"
2572 as_fn_append ac_func_list
" dup2"
2573 as_fn_append ac_func_list
" close"
2574 as_fn_append ac_func_list
" strcasestr"
2575 as_fn_append ac_func_list
" getrlimit"
2576 as_fn_append ac_func_list
" gettimeofday"
2577 as_fn_append ac_func_list
" stat"
2578 as_fn_append ac_func_list
" fstat"
2579 as_fn_append ac_func_list
" lstat"
2580 as_fn_append ac_func_list
" getpwuid"
2581 as_fn_append ac_func_list
" vsnprintf"
2582 as_fn_append ac_func_list
" dup"
2583 as_fn_append ac_func_list
" getcwd"
2584 as_fn_append ac_func_list
" localtime_r"
2585 as_fn_append ac_func_list
" gmtime_r"
2586 as_fn_append ac_func_list
" getpwuid_r"
2587 as_fn_append ac_func_list
" ttyname_r"
2588 as_fn_append ac_func_list
" clock_gettime"
2589 as_fn_append ac_func_list
" readlink"
2590 as_fn_append ac_func_list
" getgid"
2591 as_fn_append ac_func_list
" getpid"
2592 as_fn_append ac_func_list
" getppid"
2593 as_fn_append ac_func_list
" getuid"
2594 as_fn_append ac_func_list
" geteuid"
2595 as_fn_append ac_func_list
" umask"
2596 as_fn_append ac_func_list
" getegid"
2597 as_fn_append ac_func_list
" secure_getenv"
2598 as_fn_append ac_func_list
" __secure_getenv"
2599 as_fn_append ac_header_list
" math.h"
2600 # Check that the precious variables saved in the cache have kept the same
2602 ac_cache_corrupted
=false
2603 for ac_var
in $ac_precious_vars; do
2604 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2605 eval ac_new_set
=\
$ac_env_${ac_var}_set
2606 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2607 eval ac_new_val
=\
$ac_env_${ac_var}_value
2608 case $ac_old_set,$ac_new_set in
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2611 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2612 ac_cache_corrupted
=: ;;
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2615 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2616 ac_cache_corrupted
=: ;;
2619 if test "x$ac_old_val" != "x$ac_new_val"; then
2620 # differences in whitespace do not lead to failure.
2621 ac_old_val_w
=`echo x $ac_old_val`
2622 ac_new_val_w
=`echo x $ac_new_val`
2623 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2625 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2626 ac_cache_corrupted
=:
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2629 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2630 eval $ac_var=\
$ac_old_val
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2633 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2635 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2638 # Pass precious variables to config.status.
2639 if test "$ac_new_set" = set; then
2641 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2642 *) ac_arg
=$ac_var=$ac_new_val ;;
2644 case " $ac_configure_args " in
2645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2646 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2650 if $ac_cache_corrupted; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2654 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2655 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2657 ## -------------------- ##
2658 ## Main body of script. ##
2659 ## -------------------- ##
2662 ac_cpp
='$CPP $CPPFLAGS'
2663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2671 ac_config_headers
="$ac_config_headers config.h"
2674 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2675 for ac_t
in install-sh
install.sh shtool
; do
2676 if test -f "$ac_dir/$ac_t"; then
2678 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2683 if test -z "$ac_aux_dir"; then
2684 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2687 # These three variables are undocumented and unsupported,
2688 # and are intended to be withdrawn in a future Autoconf release.
2689 # They can cause serious problems if a builder's source tree is in a directory
2690 # whose full name contains unusual characters.
2691 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2692 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2693 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2696 # Make sure we can run config.sub.
2697 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2698 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2701 $as_echo_n "checking build system type... " >&6; }
2702 if test "${ac_cv_build+set}" = set; then :
2703 $as_echo_n "(cached) " >&6
2705 ac_build_alias
=$build_alias
2706 test "x$ac_build_alias" = x
&&
2707 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2708 test "x$ac_build_alias" = x
&&
2709 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2710 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2711 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2715 $as_echo "$ac_cv_build" >&6; }
2716 case $ac_cv_build in
2718 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2721 ac_save_IFS
=$IFS; IFS
='-'
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2731 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2734 case ${build_alias} in
2735 "") build_noncanonical
=${build} ;;
2736 *) build_noncanonical
=${build_alias} ;;
2739 case ${host_alias} in
2740 "") host_noncanonical
=${build_noncanonical} ;;
2741 *) host_noncanonical
=${host_alias} ;;
2744 case ${target_alias} in
2745 "") target_noncanonical
=${host_noncanonical} ;;
2746 *) target_noncanonical
=${target_alias} ;;
2750 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2751 # have matching libraries, they should use host libraries: Makefile.tpl
2752 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2753 # However, they still use the build modules, because the corresponding
2754 # host modules (e.g. bison) are only built for the host when bootstrap
2756 # - build_subdir is where we find build modules, and never changes.
2757 # - build_libsubdir is where we find build libraries, and can be overridden.
2759 # Prefix 'build-' so this never conflicts with target_subdir.
2760 build_subdir
="build-${build_noncanonical}"
2762 # Check whether --with-build-libsubdir was given.
2763 if test "${with_build_libsubdir+set}" = set; then :
2764 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2766 build_libsubdir
="$build_subdir"
2769 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2770 if ( test $srcdir = .
&& test -d gcc
) \
2771 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2772 host_subdir
="host-${host_noncanonical}"
2777 target_subdir
=${target_noncanonical}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2785 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2786 # Check whether --enable-version-specific-runtime-libs was given.
2787 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2788 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2789 yes) version_specific_libs
=yes ;;
2790 no
) version_specific_libs
=no
;;
2791 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2794 version_specific_libs
=no
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2798 $as_echo "$version_specific_libs" >&6; }
2800 # Build with intermodule optimisations
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2802 $as_echo_n "checking for --enable-intermodule... " >&6; }
2803 # Check whether --enable-intermodule was given.
2804 if test "${enable_intermodule+set}" = set; then :
2805 enableval
=$enable_intermodule; case "$enable_intermodule" in
2806 yes) onestep
="-onestep";;
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2814 $as_echo "$enable_intermodule" >&6; }
2815 if test x
$onestep = x-onestep
; then
2825 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2827 # You will slowly go insane if you do not grok the following fact: when
2828 # building this library, the top-level /target/ becomes the library's /host/.
2830 # configure then causes --target to default to --host, exactly like any
2831 # other package using autoconf. Therefore, 'target' and 'host' will
2832 # always be the same. This makes sense both for native and cross compilers
2833 # just think about it for a little while. :-)
2835 # Also, if this library is being configured as part of a cross compiler, the
2836 # top-level configure script will pass the "real" host as $with_cross_host.
2838 # Do not delete or change the following two lines. For why, see
2839 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2841 $as_echo_n "checking host system type... " >&6; }
2842 if test "${ac_cv_host+set}" = set; then :
2843 $as_echo_n "(cached) " >&6
2845 if test "x$host_alias" = x
; then
2846 ac_cv_host
=$ac_cv_build
2848 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2849 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2854 $as_echo "$ac_cv_host" >&6; }
2857 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2860 ac_save_IFS
=$IFS; IFS
='-'
2866 # Remember, the first character of IFS is used to create $*,
2867 # except with old shells:
2870 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2874 $as_echo_n "checking target system type... " >&6; }
2875 if test "${ac_cv_target+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2878 if test "x$target_alias" = x
; then
2879 ac_cv_target
=$ac_cv_host
2881 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2882 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2887 $as_echo "$ac_cv_target" >&6; }
2888 case $ac_cv_target in
2890 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2892 target
=$ac_cv_target
2893 ac_save_IFS
=$IFS; IFS
='-'
2899 # Remember, the first character of IFS is used to create $*,
2900 # except with old shells:
2903 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2906 # The aliases save the names the user supplied, while $host etc.
2907 # will get canonicalized.
2908 test -n "$target_alias" &&
2909 test "$program_prefix$program_suffix$program_transform_name" = \
2911 program_prefix
=${target_alias}-
2916 target_alias
=${target_alias-$host_alias}
2919 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2920 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2921 # 1.9.6: minimum required version
2922 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2923 # of other PACKAGE_* variables will, however, and there's nothing
2924 # we can do about that; they come from AC_INIT).
2925 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2926 # file in the top srcdir, etc, etc), so stop complaining.
2927 # no-dist: we don't want 'dist' and related rules.
2928 # -Wall: turns on all automake warnings...
2929 # -Wno-portability: ...except this one, since GNU make is required.
2930 am__api_version
='1.11'
2932 # Find a good install program. We prefer a C program (faster),
2933 # so one script is as good as another. But avoid the broken or
2934 # incompatible versions:
2935 # SysV /etc/install, /usr/sbin/install
2936 # SunOS /usr/etc/install
2937 # IRIX /sbin/install
2939 # AmigaOS /C/install, which installs bootblocks on floppy discs
2940 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2941 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2942 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2943 # OS/2's system install, which has a completely different semantic
2944 # ./install, which can be erroneously created by make from ./install.sh.
2945 # Reject install programs that cannot install multiple files.
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2947 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2948 if test -z "$INSTALL"; then
2949 if test "${ac_cv_path_install+set}" = set; then :
2950 $as_echo_n "(cached) " >&6
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir
=.
2957 # Account for people who put trailing slashes in PATH elements.
2958 case $as_dir/ in #((
2959 .
/ | .
// |
/[cC
]/* | \
2960 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2961 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2964 # OSF1 and SCO ODT 3.0 have their own names for install.
2965 # Don't use installbsd from OSF since it installs stuff as root
2967 for ac_prog
in ginstall scoinst
install; do
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2970 if test $ac_prog = install &&
2971 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2972 # AIX install. It has an incompatible calling convention.
2974 elif test $ac_prog = install &&
2975 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2976 # program-specific install script used by HP pwplus--don't use.
2979 rm -rf conftest.one conftest.two conftest.dir
2980 echo one
> conftest.one
2981 echo two
> conftest.two
2983 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2984 test -s conftest.one
&& test -s conftest.two
&&
2985 test -s conftest.dir
/conftest.one
&&
2986 test -s conftest.dir
/conftest.two
2988 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3001 rm -rf conftest.one conftest.two conftest.dir
3004 if test "${ac_cv_path_install+set}" = set; then
3005 INSTALL
=$ac_cv_path_install
3007 # As a last resort, use the slow shell script. Don't cache a
3008 # value for INSTALL within a source directory, because that will
3009 # break other packages using the cache if that directory is
3010 # removed, or if the value is a relative name.
3011 INSTALL
=$ac_install_sh
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3015 $as_echo "$INSTALL" >&6; }
3017 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3018 # It thinks the first close brace ends the variable substitution.
3019 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3021 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3023 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3026 $as_echo_n "checking whether build environment is sane... " >&6; }
3029 echo timestamp
> conftest.
file
3030 # Reject unsafe characters in $srcdir or the absolute working directory
3031 # name. Accept space and tab only in the latter.
3035 *[\\\"\
#\$\&\'\`$am_lf]*)
3036 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3039 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3040 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3043 # Do `set' in a subshell so we don't clobber the current shell's
3044 # arguments. Must try -L first in case configure is actually a
3045 # symlink; some systems play weird games with the mod time of symlinks
3046 # (eg FreeBSD returns the mod time of the symlink's containing
3049 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3050 if test "$*" = "X"; then
3052 set X
`ls -t "$srcdir/configure" conftest.file`
3055 if test "$*" != "X $srcdir/configure conftest.file" \
3056 && test "$*" != "X conftest.file $srcdir/configure"; then
3058 # If neither matched, then we have a broken ls. This can happen
3059 # if, for instance, CONFIG_SHELL is bash and it inherits a
3060 # broken ls alias from the environment. This has actually
3061 # happened. Such a system could not be considered "sane".
3062 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3063 alias in your environment" "$LINENO" 5
3066 test "$2" = conftest.
file
3072 as_fn_error
"newly created file is older than distributed files!
3073 Check your system clock" "$LINENO" 5
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3076 $as_echo "yes" >&6; }
3077 test "$program_prefix" != NONE
&&
3078 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3079 # Use a double $ so make ignores it.
3080 test "$program_suffix" != NONE
&&
3081 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3082 # Double any \ or $.
3083 # By default was `s,x,x', remove it if useless.
3084 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3085 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3087 # expand $ac_aux_dir to an absolute path
3088 am_aux_dir
=`cd $ac_aux_dir && pwd`
3090 if test x
"${MISSING+set}" != xset
; then
3093 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3095 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3098 # Use eval to expand $SHELL
3099 if eval "$MISSING --run true"; then
3100 am_missing_run
="$MISSING --run "
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3104 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3107 if test x
"${install_sh}" != xset
; then
3110 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3112 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3116 # Installed binaries are usually stripped using `strip' when the user
3117 # run `make install-strip'. However `strip' might not be the right
3118 # tool to use in cross-compilation environments, therefore Automake
3119 # will honor the `STRIP' environment variable to overrule this program.
3120 if test "$cross_compiling" != no
; then
3121 if test -n "$ac_tool_prefix"; then
3122 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3123 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if test "${ac_cv_prog_STRIP+set}" = set; then :
3127 $as_echo_n "(cached) " >&6
3129 if test -n "$STRIP"; then
3130 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3136 test -z "$as_dir" && as_dir
=.
3137 for ac_exec_ext
in '' $ac_executable_extensions; do
3138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 STRIP
=$ac_cv_prog_STRIP
3150 if test -n "$STRIP"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3152 $as_echo "$STRIP" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3160 if test -z "$ac_cv_prog_STRIP"; then
3162 # Extract the first word of "strip", so it can be a program name with args.
3163 set dummy strip
; ac_word
=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3167 $as_echo_n "(cached) " >&6
3169 if test -n "$ac_ct_STRIP"; then
3170 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_exec_ext
in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 ac_cv_prog_ac_ct_STRIP
="strip"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3190 if test -n "$ac_ct_STRIP"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3192 $as_echo "$ac_ct_STRIP" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3198 if test "x$ac_ct_STRIP" = x
; then
3201 case $cross_compiling:$ac_tool_warned in
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3205 ac_tool_warned
=yes ;;
3210 STRIP
="$ac_cv_prog_STRIP"
3214 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3217 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3218 if test -z "$MKDIR_P"; then
3219 if test "${ac_cv_path_mkdir+set}" = set; then :
3220 $as_echo_n "(cached) " >&6
3222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3226 test -z "$as_dir" && as_dir
=.
3227 for ac_prog
in mkdir gmkdir
; do
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3230 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3231 'mkdir (GNU coreutils) '* | \
3232 'mkdir (coreutils) '* | \
3233 'mkdir (fileutils) '4.1*)
3234 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3244 if test "${ac_cv_path_mkdir+set}" = set; then
3245 MKDIR_P
="$ac_cv_path_mkdir -p"
3247 # As a last resort, use the slow shell script. Don't cache a
3248 # value for MKDIR_P within a source directory, because that will
3249 # break other packages using the cache if that directory is
3250 # removed, or if the value is a relative name.
3251 test -d .
/--version && rmdir .
/--version
3252 MKDIR_P
="$ac_install_sh -d"
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3256 $as_echo "$MKDIR_P" >&6; }
3260 [\\/$
]* | ?
:[\\/]*) ;;
3261 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3264 for ac_prog
in gawk mawk nawk
awk
3266 # Extract the first word of "$ac_prog", so it can be a program name with args.
3267 set dummy
$ac_prog; ac_word
=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_AWK+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3273 if test -n "$AWK"; then
3274 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3280 test -z "$as_dir" && as_dir
=.
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_AWK
="$ac_prog"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 if test -n "$AWK"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3296 $as_echo "$AWK" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3303 test -n "$AWK" && break
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3307 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3309 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3310 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3311 $as_echo_n "(cached) " >&6
3313 cat >conftest.
make <<\_ACEOF
3316 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3318 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3319 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3321 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3323 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3327 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3329 $as_echo "yes" >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3334 SET_MAKE
="MAKE=${MAKE-make}"
3337 rm -rf .tst
2>/dev
/null
3338 mkdir .tst
2>/dev
/null
3339 if test -d .tst
; then
3344 rmdir .tst
2>/dev
/null
3346 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3347 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3348 # is not polluted with repeated "-I."
3349 am__isrc
=' -I$(srcdir)'
3350 # test to see if srcdir already configured
3351 if test -f $srcdir/config.status
; then
3352 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3356 # test whether we have cygpath
3357 if test -z "$CYGPATH_W"; then
3358 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3359 CYGPATH_W
='cygpath -w'
3366 # Define the identity of the package.
3367 PACKAGE
='libgfortran'
3371 # Some tools Automake needs.
3373 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3376 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3379 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3382 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3385 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3387 # We need awk for the "check" target. The system "awk" is bad on
3389 # Always define AMTAR for backward compatibility. Yes, it's still used
3390 # in the wild :-( We should find a proper way to deprecate it ...
3393 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3402 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3403 # Check whether --enable-maintainer-mode was given.
3404 if test "${enable_maintainer_mode+set}" = set; then :
3405 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3407 USE_MAINTAINER_MODE
=no
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3411 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3412 if test $USE_MAINTAINER_MODE = yes; then
3413 MAINTAINER_MODE_TRUE
=
3414 MAINTAINER_MODE_FALSE
='#'
3416 MAINTAINER_MODE_TRUE
='#'
3417 MAINTAINER_MODE_FALSE
=
3420 MAINT
=$MAINTAINER_MODE_TRUE
3423 # Default to --enable-multilib
3424 # Check whether --enable-multilib was given.
3425 if test "${enable_multilib+set}" = set; then :
3426 enableval
=$enable_multilib; case "$enableval" in
3427 yes) multilib
=yes ;;
3429 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3436 # We may get other options which we leave undocumented:
3437 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3438 # See config-ml.in if you want the gory details.
3440 if test "$srcdir" = "."; then
3441 if test "$with_target_subdir" != "."; then
3442 multi_basedir
="$srcdir/$with_multisrctop../.."
3444 multi_basedir
="$srcdir/$with_multisrctop.."
3447 multi_basedir
="$srcdir/.."
3451 # Even if the default multilib is not a cross compilation,
3452 # it may be that some of the other multilibs are.
3453 if test $cross_compiling = no
&& test $multilib = yes \
3454 && test "x${with_multisubdir}" != x
; then
3455 cross_compiling
=maybe
3458 ac_config_commands
="$ac_config_commands default-1"
3461 # Handy for debugging:
3462 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3464 # Are we being configured with some form of cross compiler?
3465 # NB: We don't actually need to know this just now, but when, say, a test
3466 # suite is included, we'll have to know.
3467 if test "$build" != "$host"; then
3468 LIBGFOR_IS_NATIVE
=false
3471 LIBGFOR_IS_NATIVE
=true
3474 DEPDIR
="${am__leading_dot}deps"
3476 ac_config_commands
="$ac_config_commands depfiles"
3479 am_make
=${MAKE-make}
3480 cat > confinc
<< 'END'
3482 @
echo this is the am__doit target
3485 # If we don't find an include directive, just comment out the code.
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3487 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3491 # First try GNU make style include.
3492 echo "include confinc" > confmf
3493 # Ignore all kinds of additional output from `make'.
3494 case `$am_make -s -f confmf 2> /dev/null` in #(
3495 *the\ am__doit\ target
*)
3501 # Now try BSD make style include.
3502 if test "$am__include" = "#"; then
3503 echo '.include "confinc"' > confmf
3504 case `$am_make -s -f confmf 2> /dev/null` in #(
3505 *the\ am__doit\ target
*)
3506 am__include
=.include
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3515 $as_echo "$_am_result" >&6; }
3516 rm -f confinc confmf
3518 # Check whether --enable-dependency-tracking was given.
3519 if test "${enable_dependency_tracking+set}" = set; then :
3520 enableval
=$enable_dependency_tracking;
3523 if test "x$enable_dependency_tracking" != xno
; then
3524 am_depcomp
="$ac_aux_dir/depcomp"
3528 if test "x$enable_dependency_tracking" != xno; then
3538 ac_cpp
='$CPP $CPPFLAGS'
3539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3544 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_CC+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC
="$CC" # Let the user override the test.
3553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir
=.
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 if test -n "$CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3581 if test -z "$ac_cv_prog_CC"; then
3583 # Extract the first word of "gcc", so it can be a program name with args.
3584 set dummy gcc
; ac_word
=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3588 $as_echo_n "(cached) " >&6
3590 if test -n "$ac_ct_CC"; then
3591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir
=.
3598 for ac_exec_ext
in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 ac_cv_prog_ac_ct_CC
="gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3611 if test -n "$ac_ct_CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3613 $as_echo "$ac_ct_CC" >&6; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3619 if test "x$ac_ct_CC" = x
; then
3622 case $cross_compiling:$ac_tool_warned in
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626 ac_tool_warned
=yes ;;
3634 if test -z "$CC"; then
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3637 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC
="$CC" # Let the user override the test.
3646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir
=.
3651 for ac_exec_ext
in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 # Extract the first word of "cc", so it can be a program name with args.
3677 set dummy cc
; ac_word
=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC
="$CC" # Let the user override the test.
3687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir
=.
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3695 ac_prog_rejected
=yes
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test $ac_prog_rejected = yes; then
3707 # We found a bogon in the path, so make sure we never use it.
3708 set dummy
$ac_cv_prog_CC
3710 if test $# != 0; then
3711 # We chose a different compiler from the bogus one.
3712 # However, it has the same basename, so the bogon will be chosen
3713 # first if we set CC to just the basename; use the full file name.
3715 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog
in cl.exe
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC
="$CC" # Let the user override the test.
3745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir
=.
3750 for ac_exec_ext
in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CC" && break
3775 if test -z "$CC"; then
3777 for ac_prog
in cl.exe
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy
$ac_prog; ac_word
=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$ac_ct_CC"; then
3787 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 ac_cv_prog_ac_ct_CC
="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3807 if test -n "$ac_ct_CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3809 $as_echo "$ac_ct_CC" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CC" && break
3819 if test "x$ac_ct_CC" = x
; then
3822 case $cross_compiling:$ac_tool_warned in
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned
=yes ;;
3835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error
"no acceptable C compiler found in \$PATH
3838 See \`config.log' for more details." "$LINENO" 5; }
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3844 for ac_option
in --version -v -V -qversion; do
3845 { { ac_try
="$ac_compiler $ac_option >&5"
3847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854 if test -s conftest.err; then
3856 ... rest of stderr output deleted ...
3857 10q' conftest.err >conftest.er1
3858 cat conftest.er1 >&5
3859 rm -f conftest.er1 conftest.err
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3878 (eval $ac_link) 2>&5
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }; then :
3886 if test x$gcc_no_link = xyes; then
3887 # Setting cross_compile will disable run tests; it will
3888 # also disable AC_CHECK_FILE but that's generally
3889 # correct if we can't link.
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3904 ac_clean_files_save=$ac_clean_files
3905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3906 # Try to create an executable without -o first, disregard a.out.
3907 # It will help us diagnose broken compilers, and finding out an intuition
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3910 $as_echo_n "checking for C compiler default output file name... " >&6; }
3911 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3913 # The possible output files:
3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3917 for ac_file in $ac_files
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3926 if { { ac_try="$ac_link_default"
3928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3929 *) ac_try_echo
=$ac_try;;
3931 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933 (eval "$ac_link_default") 2>&5
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }; then :
3937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3939 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3940 # so that the user can short-circuit this test for compilers unknown to
3942 for ac_file
in $ac_files ''
3944 test -f "$ac_file" ||
continue
3946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3949 # We found the default executable, but exeext='' is most
3953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3955 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957 # We set ac_cv_exeext here because the later test for it is not
3958 # safe: cross compilers may not add the suffix if given an `-o'
3959 # argument, so we may need to know it at that point already.
3960 # Even if this section looks crufty: it has the advantage of
3967 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 if test -z "$ac_file"; then :
3975 $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 { as_fn_set_status
77
3981 as_fn_error
"C compiler cannot create executables
3982 See \`config.log' for more details." "$LINENO" 5; }; }
3984 ac_exeext
=$ac_cv_exeext
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3989 $as_echo_n "checking whether the C compiler works... " >&6; }
3990 # If not cross compiling, check that we can run a simple program.
3991 if test "$cross_compiling" != yes; then
3992 if { ac_try
='./$ac_file'
3993 { { case "(($ac_try" in
3994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_try") 2>&5
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; }; then
4005 if test "$cross_compiling" = maybe; then
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error "cannot run C compiled programs.
4011 If you meant to cross compile
, use \
`--host'.
4012 See \`config.log
' for more details." "$LINENO" 5; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4020 ac_clean_files=$ac_clean_files_save
4021 # Check that the compiler produces executables we can run. If not, either
4022 # the compiler is broken, or we cross compile.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4024 $as_echo_n "checking whether we are cross compiling... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4026 $as_echo "$cross_compiling" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try="$ac_link"
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link") 2>&5
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4042 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4045 for ac_file
in conftest.exe conftest conftest.
*; do
4046 test -f "$ac_file" ||
continue
4048 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4049 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details." "$LINENO" 5; }
4060 rm -f conftest
$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4064 rm -f conftest.
$ac_ext
4065 EXEEXT
=$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4069 $as_echo_n "checking for suffix of object files... " >&6; }
4070 if test "${ac_cv_objext+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 rm -f conftest.o conftest.obj
4085 if { { ac_try
="$ac_compile"
4087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_compile") 2>&5
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; then :
4096 for ac_file in conftest.o conftest.obj conftest.*; do
4097 test -f "$ac_file" || continue;
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4105 $as_echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot compute suffix of object files
: cannot compile
4111 See \
`config.log' for more details." "$LINENO" 5; }
4113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4116 $as_echo "$ac_cv_objext" >&6; }
4117 OBJEXT=$ac_cv_objext
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4121 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4138 if ac_fn_c_try_compile "$LINENO"; then :
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4148 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4149 if test $ac_compiler_gnu = yes; then
4154 ac_test_CFLAGS=${CFLAGS+set}
4155 ac_save_CFLAGS=$CFLAGS
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 if test "${ac_cv_prog_cc_g+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 ac_save_c_werror_flag=$ac_c_werror_flag
4162 ac_c_werror_flag=yes
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4176 if ac_fn_c_try_compile "$LINENO"; then :
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4191 if ac_fn_c_try_compile "$LINENO"; then :
4194 ac_c_werror_flag=$ac_save_c_werror_flag
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4218 $as_echo "$ac_cv_prog_cc_g" >&6; }
4219 if test "$ac_test_CFLAGS" = set; then
4220 CFLAGS=$ac_save_CFLAGS
4221 elif test $ac_cv_prog_cc_g = yes; then
4222 if test "$GCC" = yes; then
4228 if test "$GCC" = yes; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4236 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4239 ac_cv_prog_cc_c89=no
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4245 #include <sys/types.h>
4246 #include <sys/stat.h>
4247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4248 struct buf { int x; };
4249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4250 static char *e (p, i)
4256 static char *f (char * (*g) (char **, int), char **p, ...)
4261 s = g (p, va_arg (v,int));
4266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4267 function prototypes and stuff, but not '\xHH' hex character constants.
4268 These don't provoke an error unfortunately, instead are silently treated
4269 as 'x'. The following induces an error, until -std is added to get
4270 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4271 array size at least. It's necessary to write '\x00'==0 to get something
4272 that's true only with -std. */
4273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4276 inside strings and character constants. */
4278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280 int test (int i, double x);
4281 struct s1 {int (*f) (int a);};
4282 struct s2 {int (*f) (double a);};
4283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4289 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297 CC="$ac_save_CC $ac_arg"
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_c89=$ac_arg
4301 rm -f core conftest.err conftest.$ac_objext
4302 test "x$ac_cv_prog_cc_c89" != "xno" && break
4304 rm -f conftest.$ac_ext
4309 case "x$ac_cv_prog_cc_c89" in
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4312 $as_echo "none needed" >&6; } ;;
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4315 $as_echo "unsupported" >&6; } ;;
4317 CC="$CC $ac_cv_prog_cc_c89"
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4321 if test "x$ac_cv_prog_cc_c89" != xno; then :
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 depcc="$CC" am_compiler_list=
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4334 $as_echo_n "checking dependency style of $depcc... " >&6; }
4335 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4338 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4339 # We make a subdir and do the tests there. Otherwise we can end up
4340 # making bogus files that we don't know about and never remove. For
4341 # instance it was reported that on HP-UX the gcc test will end up
4342 # making a dummy file named `D
' -- because `-MD' means
`put the output
4346 # Copy depcomp to subdir because otherwise we won't find it if we're
4347 # using a relative directory.
4348 cp "$am_depcomp" conftest.dir
4350 # We will build objects and dependencies in a subdirectory because
4351 # it helps to detect inapplicable dependency modes. For instance
4352 # both Tru64's cc and ICC support -MD to output dependencies as a
4353 # side effect of compilation, but ICC will put the dependencies in
4354 # the current directory while Tru64 will put them in the object
4358 am_cv_CC_dependencies_compiler_type=none
4359 if test "$am_compiler_list" = ""; then
4360 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4363 case " $depcc " in #(
4364 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4367 for depmode in $am_compiler_list; do
4368 # Setup a source with many dependencies, because some compilers
4369 # like to wrap large dependency lists on column 80 (with \), and
4370 # we should not choose a depcomp mode which is confused by this.
4372 # We need to recreate these files for each test, as the compiler may
4373 # overwrite some of them when testing with obscure command lines.
4374 # This happens at least with the AIX C compiler.
4376 for i in 1 2 3 4 5 6; do
4377 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4378 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4379 # Solaris 8's
{/usr
,}/bin
/sh.
4380 touch sub
/conftst
$i.h
4382 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4384 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4385 # mode. It turns out that the SunPro C++ compiler does not properly
4386 # handle `-M -o', and we need to detect this. Also, some Intel
4387 # versions had trouble with output in subdirs
4388 am__obj
=sub
/conftest.
${OBJEXT-o}
4389 am__minus_obj
="-o $am__obj"
4392 # This depmode causes a compiler race in universal mode.
4393 test "$am__universal" = false ||
continue
4396 # after this tag, mechanisms are not by side-effect, so they'll
4397 # only be used when explicitly requested
4398 if test "x$enable_dependency_tracking" = xyes
; then
4404 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4405 # This compiler won't grok `-c -o', but also, the minuso test has
4406 # not run yet. These depmodes are late enough in the game, and
4407 # so weak that their functioning should not be impacted.
4408 am__obj
=conftest.
${OBJEXT-o}
4413 if depmode
=$depmode \
4414 source=sub
/conftest.c object
=$am__obj \
4415 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4416 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4417 >/dev
/null
2>conftest.err
&&
4418 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4419 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4420 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4421 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4422 # icc doesn't choke on unknown options, it will just issue warnings
4423 # or remarks (even with -Werror). So we grep stderr for any message
4424 # that says an option was ignored or not supported.
4425 # When given -MP, icc 7.0 and 7.1 complain thusly:
4426 # icc: Command line warning: ignoring option '-M'; no argument required
4427 # The diagnosis changed in icc 8.0:
4428 # icc: Command line remark: option '-MP' not supported
4429 if (grep 'ignoring option' conftest.err ||
4430 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4431 am_cv_CC_dependencies_compiler_type
=$depmode
4440 am_cv_CC_dependencies_compiler_type
=none
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4445 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4446 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4449 test "x$enable_dependency_tracking" != xno \
4450 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4452 am__fastdepCC_FALSE
='#'
4454 am__fastdepCC_TRUE
='#'
4455 am__fastdepCC_FALSE
=
4461 ac_cpp
='$CPP $CPPFLAGS'
4462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4466 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4467 # On Suns, sometimes $CPP names a directory.
4468 if test -n "$CPP" && test -d "$CPP"; then
4471 if test -z "$CPP"; then
4472 if test "${ac_cv_prog_CPP+set}" = set; then :
4473 $as_echo_n "(cached) " >&6
4475 # Double quotes because CPP needs to be expanded
4476 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4479 for ac_c_preproc_warn_flag
in '' yes
4481 # Use a header file that comes with gcc, so configuring glibc
4482 # with a fresh cross-compiler works.
4483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4484 # <limits.h> exists even on freestanding compilers.
4485 # On the NeXT, cc -E runs the code through the compiler's parser,
4486 # not just through cpp. "Syntax error" is here to catch this case.
4487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4490 # include <limits.h>
4492 # include <assert.h>
4496 if ac_fn_c_try_cpp
"$LINENO"; then :
4499 # Broken: fails on valid input.
4502 rm -f conftest.err conftest.
$ac_ext
4504 # OK, works on sane cases. Now check whether nonexistent headers
4505 # can be detected and how.
4506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4508 #include <ac_nonexistent.h>
4510 if ac_fn_c_try_cpp
"$LINENO"; then :
4511 # Broken: success on invalid input.
4514 # Passes both tests.
4518 rm -f conftest.err conftest.
$ac_ext
4521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4522 rm -f conftest.err conftest.
$ac_ext
4523 if $ac_preproc_ok; then :
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4536 $as_echo "$CPP" >&6; }
4538 for ac_c_preproc_warn_flag
in '' yes
4540 # Use a header file that comes with gcc, so configuring glibc
4541 # with a fresh cross-compiler works.
4542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4543 # <limits.h> exists even on freestanding compilers.
4544 # On the NeXT, cc -E runs the code through the compiler's parser,
4545 # not just through cpp. "Syntax error" is here to catch this case.
4546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4549 # include <limits.h>
4551 # include <assert.h>
4555 if ac_fn_c_try_cpp
"$LINENO"; then :
4558 # Broken: fails on valid input.
4561 rm -f conftest.err conftest.
$ac_ext
4563 # OK, works on sane cases. Now check whether nonexistent headers
4564 # can be detected and how.
4565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567 #include <ac_nonexistent.h>
4569 if ac_fn_c_try_cpp
"$LINENO"; then :
4570 # Broken: success on invalid input.
4573 # Passes both tests.
4577 rm -f conftest.err conftest.
$ac_ext
4580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4581 rm -f conftest.err conftest.
$ac_ext
4582 if $ac_preproc_ok; then :
4585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4587 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4588 See \`config.log' for more details." "$LINENO" 5; }
4592 ac_cpp
='$CPP $CPPFLAGS'
4593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4599 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4600 if test "${ac_cv_path_GREP+set}" = set; then :
4601 $as_echo_n "(cached) " >&6
4603 if test -z "$GREP"; then
4604 ac_path_GREP_found
=false
4605 # Loop through the user's path and test for each of PROGNAME-LIST
4606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4610 test -z "$as_dir" && as_dir
=.
4611 for ac_prog
in grep ggrep
; do
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4614 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4615 # Check for GNU ac_path_GREP and select it if it is found.
4616 # Check for GNU $ac_path_GREP
4617 case `"$ac_path_GREP" --version 2>&1` in
4619 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4622 $as_echo_n 0123456789 >"conftest.in"
4625 cat "conftest.in" "conftest.in" >"conftest.tmp"
4626 mv "conftest.tmp" "conftest.in"
4627 cp "conftest.in" "conftest.nl"
4628 $as_echo 'GREP' >> "conftest.nl"
4629 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4630 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4631 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4632 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4633 # Best one so far, save it but keep looking for a better one
4634 ac_cv_path_GREP
="$ac_path_GREP"
4635 ac_path_GREP_max
=$ac_count
4637 # 10*(2^10) chars as input seems more than enough
4638 test $ac_count -gt 10 && break
4640 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4643 $ac_path_GREP_found && break 3
4648 if test -z "$ac_cv_path_GREP"; then
4649 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4652 ac_cv_path_GREP
=$GREP
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4657 $as_echo "$ac_cv_path_GREP" >&6; }
4658 GREP
="$ac_cv_path_GREP"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4662 $as_echo_n "checking for egrep... " >&6; }
4663 if test "${ac_cv_path_EGREP+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4666 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4667 then ac_cv_path_EGREP
="$GREP -E"
4669 if test -z "$EGREP"; then
4670 ac_path_EGREP_found
=false
4671 # Loop through the user's path and test for each of PROGNAME-LIST
4672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4676 test -z "$as_dir" && as_dir
=.
4677 for ac_prog
in egrep; do
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4680 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4681 # Check for GNU ac_path_EGREP and select it if it is found.
4682 # Check for GNU $ac_path_EGREP
4683 case `"$ac_path_EGREP" --version 2>&1` in
4685 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4688 $as_echo_n 0123456789 >"conftest.in"
4691 cat "conftest.in" "conftest.in" >"conftest.tmp"
4692 mv "conftest.tmp" "conftest.in"
4693 cp "conftest.in" "conftest.nl"
4694 $as_echo 'EGREP' >> "conftest.nl"
4695 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4696 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4697 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4698 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4699 # Best one so far, save it but keep looking for a better one
4700 ac_cv_path_EGREP
="$ac_path_EGREP"
4701 ac_path_EGREP_max
=$ac_count
4703 # 10*(2^10) chars as input seems more than enough
4704 test $ac_count -gt 10 && break
4706 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4709 $ac_path_EGREP_found && break 3
4714 if test -z "$ac_cv_path_EGREP"; then
4715 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4718 ac_cv_path_EGREP
=$EGREP
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4724 $as_echo "$ac_cv_path_EGREP" >&6; }
4725 EGREP
="$ac_cv_path_EGREP"
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4729 $as_echo_n "checking for ANSI C header files... " >&6; }
4730 if test "${ac_cv_header_stdc+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4748 if ac_fn_c_try_compile
"$LINENO"; then :
4749 ac_cv_header_stdc
=yes
4751 ac_cv_header_stdc
=no
4753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4755 if test $ac_cv_header_stdc = yes; then
4756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4763 $EGREP "memchr" >/dev
/null
2>&1; then :
4766 ac_cv_header_stdc
=no
4772 if test $ac_cv_header_stdc = yes; then
4773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4780 $EGREP "free" >/dev
/null
2>&1; then :
4783 ac_cv_header_stdc
=no
4789 if test $ac_cv_header_stdc = yes; then
4790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4791 if test "$cross_compiling" = yes; then :
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 #if ((' ' & 0x0FF) == 0x020)
4799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4802 # define ISLOWER(c) \
4803 (('a' <= (c) && (c) <= 'i') \
4804 || ('j' <= (c) && (c) <= 'r') \
4805 || ('s' <= (c) && (c) <= 'z'))
4806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4814 for (i = 0; i < 256; i++)
4815 if (XOR (islower (i), ISLOWER (i))
4816 || toupper (i) != TOUPPER (i))
4821 if ac_fn_c_try_run
"$LINENO"; then :
4824 ac_cv_header_stdc
=no
4826 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4827 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4833 $as_echo "$ac_cv_header_stdc" >&6; }
4834 if test $ac_cv_header_stdc = yes; then
4836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4840 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4841 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4842 inttypes.h stdint.h unistd.h
4844 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4845 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4847 eval as_val
=\$
$as_ac_Header
4848 if test "x$as_val" = x
""yes; then :
4849 cat >>confdefs.h
<<_ACEOF
4850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4859 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4860 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4867 if test "$MINIX" = yes; then
4869 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4872 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4875 $as_echo "#define _MINIX 1" >>confdefs.h
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4881 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4882 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4888 # define __EXTENSIONS__ 1
4889 $ac_includes_default
4898 if ac_fn_c_try_compile
"$LINENO"; then :
4899 ac_cv_safe_to_define___extensions__
=yes
4901 ac_cv_safe_to_define___extensions__
=no
4903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4906 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4907 test $ac_cv_safe_to_define___extensions__ = yes &&
4908 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4910 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4912 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4914 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4916 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4920 # Calculate toolexeclibdir
4921 # Also toolexecdir, though it's only used in toolexeclibdir
4922 case ${version_specific_libs} in
4924 # Need the gcc compiler version to know where to install libraries
4925 # and header files if --enable-version-specific-runtime-libs option
4927 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4928 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4931 if test -n "$with_cross_host" &&
4932 test x
"$with_cross_host" != x
"no"; then
4933 # Install a library built with a cross compiler in tooldir, not libdir.
4934 toolexecdir
='$(exec_prefix)/$(target_alias)'
4935 toolexeclibdir
='$(toolexecdir)/lib'
4937 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4938 toolexeclibdir
='$(libdir)'
4940 multi_os_directory
=`$CC -print-multi-os-directory`
4941 case $multi_os_directory in
4942 .
) ;; # Avoid trailing /.
4943 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4950 # Create a spec file, so that compile/link tests don't fail
4951 test -f libgfortran.spec ||
touch libgfortran.spec
4954 ac_cpp
='$CPP $CPPFLAGS'
4955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4959 # Check the compiler.
4960 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4961 # We must force CC to /not/ be precious variables; otherwise
4962 # the wrong, non-multilib-adjusted value will be used in multilibs.
4963 # As a side effect, we have to subst CFLAGS ourselves.
4968 ac_cpp
='$CPP $CPPFLAGS'
4969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4972 if test -n "$ac_tool_prefix"; then
4973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4974 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if test "${ac_cv_prog_CC+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4980 if test -n "$CC"; then
4981 ac_cv_prog_CC
="$CC" # Let the user override the test.
4983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir
=.
4988 for ac_exec_ext
in '' $ac_executable_extensions; do
4989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4990 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 if test -n "$CC"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5003 $as_echo "$CC" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5011 if test -z "$ac_cv_prog_CC"; then
5013 # Extract the first word of "gcc", so it can be a program name with args.
5014 set dummy gcc
; ac_word
=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5020 if test -n "$ac_ct_CC"; then
5021 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5027 test -z "$as_dir" && as_dir
=.
5028 for ac_exec_ext
in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_ac_ct_CC
="gcc"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5041 if test -n "$ac_ct_CC"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5043 $as_echo "$ac_ct_CC" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5049 if test "x$ac_ct_CC" = x
; then
5052 case $cross_compiling:$ac_tool_warned in
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5056 ac_tool_warned
=yes ;;
5064 if test -z "$CC"; then
5065 if test -n "$ac_tool_prefix"; then
5066 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5067 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if test "${ac_cv_prog_CC+set}" = set; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$CC"; then
5074 ac_cv_prog_CC
="$CC" # Let the user override the test.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 if test -n "$CC"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5096 $as_echo "$CC" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5105 if test -z "$CC"; then
5106 # Extract the first word of "cc", so it can be a program name with args.
5107 set dummy cc
; ac_word
=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_CC+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$CC"; then
5114 ac_cv_prog_CC
="$CC" # Let the user override the test.
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5124 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5125 ac_prog_rejected
=yes
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 if test $ac_prog_rejected = yes; then
5137 # We found a bogon in the path, so make sure we never use it.
5138 set dummy
$ac_cv_prog_CC
5140 if test $# != 0; then
5141 # We chose a different compiler from the bogus one.
5142 # However, it has the same basename, so the bogon will be chosen
5143 # first if we set CC to just the basename; use the full file name.
5145 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5151 if test -n "$CC"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5153 $as_echo "$CC" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5161 if test -z "$CC"; then
5162 if test -n "$ac_tool_prefix"; then
5163 for ac_prog
in cl.exe
5165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5166 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if test "${ac_cv_prog_CC+set}" = set; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$CC"; then
5173 ac_cv_prog_CC
="$CC" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 if test -n "$CC"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5195 $as_echo "$CC" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 test -n "$CC" && break
5205 if test -z "$CC"; then
5207 for ac_prog
in cl.exe
5209 # Extract the first word of "$ac_prog", so it can be a program name with args.
5210 set dummy
$ac_prog; ac_word
=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5216 if test -n "$ac_ct_CC"; then
5217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir
=.
5224 for ac_exec_ext
in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_ac_ct_CC
="$ac_prog"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5237 if test -n "$ac_ct_CC"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5239 $as_echo "$ac_ct_CC" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5246 test -n "$ac_ct_CC" && break
5249 if test "x$ac_ct_CC" = x
; then
5252 case $cross_compiling:$ac_tool_warned in
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5256 ac_tool_warned
=yes ;;
5265 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5267 as_fn_error
"no acceptable C compiler found in \$PATH
5268 See \`config.log' for more details." "$LINENO" 5; }
5270 # Provide some information about the compiler.
5271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5274 for ac_option
in --version -v -V -qversion; do
5275 { { ac_try
="$ac_compiler $ac_option >&5"
5277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 $as_echo "$ac_try_echo"; } >&5
5282 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5284 if test -s conftest.err; then
5286 ... rest of stderr output deleted ...
5287 10q' conftest.err >conftest.er1
5288 cat conftest.er1 >&5
5289 rm -f conftest.er1 conftest.err
5291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5296 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5297 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5314 if ac_fn_c_try_compile "$LINENO"; then :
5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5324 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5325 if test $ac_compiler_gnu = yes; then
5330 ac_test_CFLAGS=${CFLAGS+set}
5331 ac_save_CFLAGS=$CFLAGS
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5333 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5334 if test "${ac_cv_prog_cc_g+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5337 ac_save_c_werror_flag=$ac_c_werror_flag
5338 ac_c_werror_flag=yes
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5352 if ac_fn_c_try_compile "$LINENO"; then :
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5367 if ac_fn_c_try_compile "$LINENO"; then :
5370 ac_c_werror_flag=$ac_save_c_werror_flag
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5383 if ac_fn_c_try_compile "$LINENO"; then :
5386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 ac_c_werror_flag=$ac_save_c_werror_flag
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5394 $as_echo "$ac_cv_prog_cc_g" >&6; }
5395 if test "$ac_test_CFLAGS" = set; then
5396 CFLAGS=$ac_save_CFLAGS
5397 elif test $ac_cv_prog_cc_g = yes; then
5398 if test "$GCC" = yes; then
5404 if test "$GCC" = yes; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5411 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5412 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5413 $as_echo_n "(cached) " >&6
5415 ac_cv_prog_cc_c89=no
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 #include <sys/types.h>
5422 #include <sys/stat.h>
5423 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5424 struct buf { int x; };
5425 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5426 static char *e (p, i)
5432 static char *f (char * (*g) (char **, int), char **p, ...)
5437 s = g (p, va_arg (v,int));
5442 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5443 function prototypes and stuff, but not '\xHH' hex character constants.
5444 These don't provoke an error unfortunately, instead are silently treated
5445 as 'x'. The following induces an error, until -std is added to get
5446 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5447 array size at least. It's necessary to write '\x00'==0 to get something
5448 that's true only with -std. */
5449 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5451 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5452 inside strings and character constants. */
5454 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5456 int test (int i, double x);
5457 struct s1 {int (*f) (int a);};
5458 struct s2 {int (*f) (double a);};
5459 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5465 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5470 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5471 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5473 CC="$ac_save_CC $ac_arg"
5474 if ac_fn_c_try_compile "$LINENO"; then :
5475 ac_cv_prog_cc_c89=$ac_arg
5477 rm -f core conftest.err conftest.$ac_objext
5478 test "x$ac_cv_prog_cc_c89" != "xno" && break
5480 rm -f conftest.$ac_ext
5485 case "x$ac_cv_prog_cc_c89" in
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5488 $as_echo "none needed" >&6; } ;;
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5491 $as_echo "unsupported" >&6; } ;;
5493 CC="$CC $ac_cv_prog_cc_c89"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5495 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5497 if test "x$ac_cv_prog_cc_c89" != xno; then :
5502 ac_cpp='$CPP $CPPFLAGS'
5503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5507 depcc="$CC" am_compiler_list=
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5510 $as_echo_n "checking dependency style of $depcc... " >&6; }
5511 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5512 $as_echo_n "(cached) " >&6
5514 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5515 # We make a subdir and do the tests there. Otherwise we can end up
5516 # making bogus files that we don't know about and never remove. For
5517 # instance it was reported that on HP-UX the gcc test will end up
5518 # making a dummy file named `D
' -- because `-MD' means
`put the output
5522 # Copy depcomp to subdir because otherwise we won't find it if we're
5523 # using a relative directory.
5524 cp "$am_depcomp" conftest.dir
5526 # We will build objects and dependencies in a subdirectory because
5527 # it helps to detect inapplicable dependency modes. For instance
5528 # both Tru64's cc and ICC support -MD to output dependencies as a
5529 # side effect of compilation, but ICC will put the dependencies in
5530 # the current directory while Tru64 will put them in the object
5534 am_cv_CC_dependencies_compiler_type=none
5535 if test "$am_compiler_list" = ""; then
5536 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5539 case " $depcc " in #(
5540 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5543 for depmode in $am_compiler_list; do
5544 # Setup a source with many dependencies, because some compilers
5545 # like to wrap large dependency lists on column 80 (with \), and
5546 # we should not choose a depcomp mode which is confused by this.
5548 # We need to recreate these files for each test, as the compiler may
5549 # overwrite some of them when testing with obscure command lines.
5550 # This happens at least with the AIX C compiler.
5552 for i in 1 2 3 4 5 6; do
5553 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5554 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5555 # Solaris 8's
{/usr
,}/bin
/sh.
5556 touch sub
/conftst
$i.h
5558 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5560 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5561 # mode. It turns out that the SunPro C++ compiler does not properly
5562 # handle `-M -o', and we need to detect this. Also, some Intel
5563 # versions had trouble with output in subdirs
5564 am__obj
=sub
/conftest.
${OBJEXT-o}
5565 am__minus_obj
="-o $am__obj"
5568 # This depmode causes a compiler race in universal mode.
5569 test "$am__universal" = false ||
continue
5572 # after this tag, mechanisms are not by side-effect, so they'll
5573 # only be used when explicitly requested
5574 if test "x$enable_dependency_tracking" = xyes
; then
5580 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5581 # This compiler won't grok `-c -o', but also, the minuso test has
5582 # not run yet. These depmodes are late enough in the game, and
5583 # so weak that their functioning should not be impacted.
5584 am__obj
=conftest.
${OBJEXT-o}
5589 if depmode
=$depmode \
5590 source=sub
/conftest.c object
=$am__obj \
5591 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5592 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5593 >/dev
/null
2>conftest.err
&&
5594 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5595 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5596 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5597 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5598 # icc doesn't choke on unknown options, it will just issue warnings
5599 # or remarks (even with -Werror). So we grep stderr for any message
5600 # that says an option was ignored or not supported.
5601 # When given -MP, icc 7.0 and 7.1 complain thusly:
5602 # icc: Command line warning: ignoring option '-M'; no argument required
5603 # The diagnosis changed in icc 8.0:
5604 # icc: Command line remark: option '-MP' not supported
5605 if (grep 'ignoring option' conftest.err ||
5606 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5607 am_cv_CC_dependencies_compiler_type
=$depmode
5616 am_cv_CC_dependencies_compiler_type
=none
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5621 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5622 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5625 test "x$enable_dependency_tracking" != xno \
5626 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5628 am__fastdepCC_FALSE
='#'
5630 am__fastdepCC_TRUE
='#'
5631 am__fastdepCC_FALSE
=
5639 if test "x$CC" != xcc
; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5641 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5644 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5646 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5647 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5648 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5649 $as_echo_n "(cached) " >&6
5651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5662 # Make sure it works both with $CC and with simple cc.
5663 # We do the test twice because some compilers refuse to overwrite an
5664 # existing .o file with -o, though they will create one.
5665 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5667 if { { case "(($ac_try" in
5668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5672 $as_echo "$ac_try_echo"; } >&5
5673 (eval "$ac_try") 2>&5
5675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5676 test $ac_status = 0; } &&
5677 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5679 *) ac_try_echo
=$ac_try;;
5681 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5682 $as_echo "$ac_try_echo"; } >&5
5683 (eval "$ac_try") 2>&5
5685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5686 test $ac_status = 0; };
5688 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5689 if test "x$CC" != xcc
; then
5690 # Test first that cc exists at all.
5691 if { ac_try
='cc -c conftest.$ac_ext >&5'
5692 { { case "(($ac_try" in
5693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5694 *) ac_try_echo=$ac_try;;
5696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5697 $as_echo "$ac_try_echo"; } >&5
5698 (eval "$ac_try") 2>&5
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5701 test $ac_status = 0; }; }; then
5702 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5704 if { { case "(($ac_try" in
5705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5706 *) ac_try_echo
=$ac_try;;
5708 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5709 $as_echo "$ac_try_echo"; } >&5
5710 (eval "$ac_try") 2>&5
5712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5713 test $ac_status = 0; } &&
5714 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5716 *) ac_try_echo=$ac_try;;
5718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5719 $as_echo "$ac_try_echo"; } >&5
5720 (eval "$ac_try") 2>&5
5722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5723 test $ac_status = 0; };
5728 # cc exists but doesn't like -o.
5729 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5734 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5736 rm -f core conftest*
5739 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5741 $as_echo "yes" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5746 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5750 # FIXME: we rely on the cache variable name because
5751 # there is no other way.
5753 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5754 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5755 if test "$am_t" != yes; then
5756 # Losing compiler, so override with the script.
5757 # FIXME: It is wrong to rewrite CC.
5758 # But if we don't then we get into trouble of one sort or another.
5759 # A longer-term fix would be to have automake use am__CC in this case,
5760 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5761 CC="$am_aux_dir/compile $CC"
5766 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5767 if test "x$GCC" = "xyes"; then
5768 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5769 ## We like to use C99 routines when available. This makes sure that
5770 ## __STDC_VERSION__ is set such that libc includes make them available.
5771 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5772 ## Compile the following tests with the same system header contents
5773 ## that we'll encounter when compiling our own source files.
5774 CFLAGS="-std=gnu99 $CFLAGS"
5780 # Check for symbol versioning (copied from libssp).
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5782 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5783 # Check whether --enable-symvers was given.
5784 if test "${enable_symvers+set}" = set; then :
5785 enableval=$enable_symvers; gfortran_use_symver=$enableval
5787 gfortran_use_symver=yes
5790 if test "x$gfortran_use_symver" != xno; then
5791 save_LDFLAGS="$LDFLAGS"
5792 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5793 cat > conftest.map <<EOF
5795 global: *foo*; bar; local: *;
5798 if test x$gcc_no_link = xyes; then
5799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5812 if ac_fn_c_try_link "$LINENO"; then :
5813 gfortran_use_symver=gnu
5815 gfortran_use_symver=no
5817 rm -f core conftest.err conftest.$ac_objext \
5818 conftest$ac_exeext conftest.$ac_ext
5819 if test x$gfortran_use_symver = xno; then
5820 case "$target_os" in
5822 LDFLAGS="$save_LDFLAGS"
5823 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5824 # Sun ld cannot handle wildcards and treats all entries as undefined.
5825 cat > conftest.map <<EOF
5827 global: foo; local: *;
5830 if test x$gcc_no_link = xyes; then
5831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5844 if ac_fn_c_try_link "$LINENO"; then :
5845 gfortran_use_symver=sun
5847 gfortran_use_symver=no
5849 rm -f core conftest.err conftest.$ac_objext \
5850 conftest$ac_exeext conftest.$ac_ext
5854 LDFLAGS="$save_LDFLAGS"
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5857 $as_echo "$gfortran_use_symver" >&6; }
5858 if test "x$gfortran_use_symver" != xno; then
5859 LIBGFOR_USE_SYMVER_TRUE=
5860 LIBGFOR_USE_SYMVER_FALSE='#'
5862 LIBGFOR_USE_SYMVER_TRUE='#'
5863 LIBGFOR_USE_SYMVER_FALSE=
5866 if test "x$gfortran_use_symver" = xgnu; then
5867 LIBGFOR_USE_SYMVER_GNU_TRUE=
5868 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5870 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5871 LIBGFOR_USE_SYMVER_GNU_FALSE=
5874 if test "x$gfortran_use_symver" = xsun; then
5875 LIBGFOR_USE_SYMVER_SUN_TRUE=
5876 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5878 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5879 LIBGFOR_USE_SYMVER_SUN_FALSE=
5883 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5884 # similarly to how libstdc++ does it
5885 ac_test_CFLAGS="${CFLAGS+set}"
5886 ac_save_CFLAGS="$CFLAGS"
5888 # Check for -ffunction-sections -fdata-sections
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5890 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5891 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5893 /* end confdefs.h. */
5903 if ac_fn_c_try_compile "$LINENO"; then :
5908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909 if test "$ac_test_CFLAGS" = set; then
5910 CFLAGS="$ac_save_CFLAGS"
5912 # this is the suspicious part
5915 if test x"$ac_fdsections" = x"yes"; then
5916 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5919 $as_echo "$ac_fdsections" >&6; }
5922 # Find other programs we need.
5923 if test -n "$ac_tool_prefix"; then
5924 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5925 set dummy ${ac_tool_prefix}as; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if test "${ac_cv_prog_AS+set}" = set; then :
5929 $as_echo_n "(cached) " >&6
5931 if test -n "$AS"; then
5932 ac_cv_prog_AS="$AS" # Let the user override the test.
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5941 ac_cv_prog_AS="${ac_tool_prefix}as"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 if test -n "$AS"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5954 $as_echo "$AS" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5962 if test -z "$ac_cv_prog_AS"; then
5964 # Extract the first word of "as", so it can be a program name with args.
5965 set dummy as; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5969 $as_echo_n "(cached) " >&6
5971 if test -n "$ac_ct_AS"; then
5972 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 test -z "$as_dir" && as_dir=.
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5981 ac_cv_prog_ac_ct_AS="as"
5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5992 if test -n "$ac_ct_AS"; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5994 $as_echo "$ac_ct_AS" >&6; }
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6000 if test "x$ac_ct_AS" = x; then
6003 case $cross_compiling:$ac_tool_warned in
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6007 ac_tool_warned=yes ;;
6015 if test -n "$ac_tool_prefix"; then
6016 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6017 set dummy ${ac_tool_prefix}ar; ac_word=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if test "${ac_cv_prog_AR+set}" = set; then :
6021 $as_echo_n "(cached) " >&6
6023 if test -n "$AR"; then
6024 ac_cv_prog_AR="$AR" # Let the user override the test.
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_AR="${ac_tool_prefix}ar"
6034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 if test -n "$AR"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6046 $as_echo "$AR" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6054 if test -z "$ac_cv_prog_AR"; then
6056 # Extract the first word of "ar", so it can be a program name with args.
6057 set dummy ar; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6061 $as_echo_n "(cached) " >&6
6063 if test -n "$ac_ct_AR"; then
6064 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6073 ac_cv_prog_ac_ct_AR="ar"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6084 if test -n "$ac_ct_AR"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6086 $as_echo "$ac_ct_AR" >&6; }
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6092 if test "x$ac_ct_AR" = x; then
6095 case $cross_compiling:$ac_tool_warned in
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6099 ac_tool_warned=yes ;;
6107 if test -n "$ac_tool_prefix"; then
6108 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6109 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111 $as_echo_n "checking for $ac_word... " >&6; }
6112 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6113 $as_echo_n "(cached) " >&6
6115 if test -n "$RANLIB"; then
6116 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 RANLIB=$ac_cv_prog_RANLIB
6136 if test -n "$RANLIB"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6138 $as_echo "$RANLIB" >&6; }
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 $as_echo "no" >&6; }
6146 if test -z "$ac_cv_prog_RANLIB"; then
6147 ac_ct_RANLIB=$RANLIB
6148 # Extract the first word of "ranlib", so it can be a program name with args.
6149 set dummy ranlib; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6153 $as_echo_n "(cached) " >&6
6155 if test -n "$ac_ct_RANLIB"; then
6156 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6165 ac_cv_prog_ac_ct_RANLIB="ranlib"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6176 if test -n "$ac_ct_RANLIB"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6178 $as_echo "$ac_ct_RANLIB" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6184 if test "x$ac_ct_RANLIB" = x; then
6185 RANLIB="ranlib-not-found-in-path-error"
6187 case $cross_compiling:$ac_tool_warned in
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6191 ac_tool_warned=yes ;;
6193 RANLIB=$ac_ct_RANLIB
6196 RANLIB="$ac_cv_prog_RANLIB"
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6200 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6202 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6203 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6204 $as_echo_n "(cached) " >&6
6206 cat >conftest.make <<\_ACEOF
6209 @echo '@@@%%%=$(MAKE)=@@@%%%'
6211 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6212 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6214 eval ac_cv_prog_make_${ac_make}_set=yes;;
6216 eval ac_cv_prog_make_${ac_make}_set=no;;
6220 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6222 $as_echo "yes" >&6; }
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 SET_MAKE="MAKE=${MAKE-make}"
6233 #AC_MSG_NOTICE([====== Starting libtool configuration])
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6241 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6246 macro_version='2.2.7a'
6247 macro_revision='1.3134'
6261 ltmain="$ac_aux_dir/ltmain.sh"
6263 # Backslashify metacharacters that are still active within
6264 # double-quoted strings.
6265 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6267 # Same as above, but do not quote variable references.
6268 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6270 # Sed substitution to delay expansion of an escaped shell variable in a
6271 # double_quote_subst'ed string.
6272 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6274 # Sed substitution to delay expansion of an escaped single quote.
6275 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6277 # Sed substitution to avoid accidental globbing in evaled expressions
6278 no_glob_subst='s/\*/\\\*/g'
6280 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6281 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6282 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6285 $as_echo_n "checking how to print
strings...
" >&6; }
6286 # Test print first, because it will be a builtin if present.
6287 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6288 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6290 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6293 # Use this function as a fallback that always works.
6294 func_fallback_echo ()
6296 eval 'cat <<_LTECHO_EOF
6300 ECHO='func_fallback_echo'
6303 # func_echo_all arg...
6304 # Invoke $ECHO with all args, space-separated.
6311 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6312 $as_echo "printf" >&6; } ;;
6313 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6314 $as_echo "print
-r" >&6; } ;;
6315 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6316 $as_echo "cat" >&6; } ;;
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6333 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6334 if test "${ac_cv_path_SED+set}" = set; then :
6335 $as_echo_n "(cached
) " >&6
6337 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6338 for ac_i in 1 2 3 4 5 6 7; do
6339 ac_script="$ac_script$as_nl$ac_script"
6341 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6342 { ac_script=; unset ac_script;}
6343 if test -z "$SED"; then
6344 ac_path_SED_found=false
6345 # Loop through the user's path and test for each of PROGNAME-LIST
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350 test -z "$as_dir" && as_dir=.
6351 for ac_prog in sed gsed; do
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6354 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6355 # Check for GNU ac_path_SED and select it if it is found.
6356 # Check for GNU $ac_path_SED
6357 case `"$ac_path_SED" --version 2>&1` in
6359 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6362 $as_echo_n 0123456789 >"conftest.
in"
6365 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6366 mv "conftest.tmp
" "conftest.
in"
6367 cp "conftest.
in" "conftest.
nl"
6368 $as_echo '' >> "conftest.
nl"
6369 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6370 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6371 as_fn_arith $ac_count + 1 && ac_count=$as_val
6372 if test $ac_count -gt ${ac_path_SED_max-0}; then
6373 # Best one so far, save it but keep looking for a better one
6374 ac_cv_path_SED="$ac_path_SED"
6375 ac_path_SED_max=$ac_count
6377 # 10*(2^10) chars as input seems more than enough
6378 test $ac_count -gt 10 && break
6380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6383 $ac_path_SED_found && break 3
6388 if test -z "$ac_cv_path_SED"; then
6389 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6397 $as_echo "$ac_cv_path_SED" >&6; }
6398 SED="$ac_cv_path_SED"
6401 test -z "$SED" && SED=sed
6402 Xsed="$SED -e 1s
/^X
//"
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6415 $as_echo_n "checking
for fgrep...
" >&6; }
6416 if test "${ac_cv_path_FGREP+set}" = set; then :
6417 $as_echo_n "(cached
) " >&6
6419 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6420 then ac_cv_path_FGREP="$GREP -F"
6422 if test -z "$FGREP"; then
6423 ac_path_FGREP_found=false
6424 # Loop through the user's path and test for each of PROGNAME-LIST
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6429 test -z "$as_dir" && as_dir=.
6430 for ac_prog in fgrep; do
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6433 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6434 # Check for GNU ac_path_FGREP and select it if it is found.
6435 # Check for GNU $ac_path_FGREP
6436 case `"$ac_path_FGREP" --version 2>&1` in
6438 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6441 $as_echo_n 0123456789 >"conftest.
in"
6444 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6445 mv "conftest.tmp
" "conftest.
in"
6446 cp "conftest.
in" "conftest.
nl"
6447 $as_echo 'FGREP' >> "conftest.
nl"
6448 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6449 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6450 as_fn_arith $ac_count + 1 && ac_count=$as_val
6451 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6452 # Best one so far, save it but keep looking for a better one
6453 ac_cv_path_FGREP="$ac_path_FGREP"
6454 ac_path_FGREP_max=$ac_count
6456 # 10*(2^10) chars as input seems more than enough
6457 test $ac_count -gt 10 && break
6459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6462 $ac_path_FGREP_found && break 3
6467 if test -z "$ac_cv_path_FGREP"; then
6468 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6471 ac_cv_path_FGREP=$FGREP
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6477 $as_echo "$ac_cv_path_FGREP" >&6; }
6478 FGREP="$ac_cv_path_FGREP"
6481 test -z "$GREP" && GREP=grep
6501 # Check whether --with-gnu-ld was given.
6502 if test "${with_gnu_ld+set}" = set; then :
6503 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6509 if test "$GCC" = yes; then
6510 # Check if gcc -print-prog-name=ld gives a path.
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6512 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6515 # gcc leaves a trailing carriage return which upsets mingw
6516 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6518 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6521 # Accept absolute paths.
6523 re_direlt='/[^/][^/]*/\.\./'
6524 # Canonicalize the pathname of ld
6525 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6526 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6527 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6529 test -z "$LD" && LD="$ac_prog"
6532 # If it fails, then pretend we aren't using GCC.
6536 # If it is relative, then search for the first ld in PATH.
6540 elif test "$with_gnu_ld" = yes; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6542 $as_echo_n "checking
for GNU ld...
" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6545 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6547 if test "${lt_cv_path_LD+set}" = set; then :
6548 $as_echo_n "(cached
) " >&6
6550 if test -z "$LD"; then
6551 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6552 for ac_dir in $PATH; do
6554 test -z "$ac_dir" && ac_dir=.
6555 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6556 lt_cv_path_LD="$ac_dir/$ac_prog"
6557 # Check to see if the program is GNU ld. I'd rather use --version,
6558 # but apparently some variants of GNU ld only accept -v.
6559 # Break only if it was the GNU/non-GNU ld that we prefer.
6560 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6561 *GNU* | *'with BFD'*)
6562 test "$with_gnu_ld" != no && break
6565 test "$with_gnu_ld" != yes && break
6572 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6577 if test -n "$LD"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6579 $as_echo "$LD" >&6; }
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6582 $as_echo "no
" >&6; }
6584 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6586 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6587 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6588 $as_echo_n "(cached
) " >&6
6590 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6591 case `$LD -v 2>&1 </dev/null` in
6592 *GNU* | *'with BFD'*)
6593 lt_cv_prog_gnu_ld=yes
6596 lt_cv_prog_gnu_ld=no
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6601 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6602 with_gnu_ld=$lt_cv_prog_gnu_ld
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6613 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6614 if test "${lt_cv_path_NM+set}" = set; then :
6615 $as_echo_n "(cached
) " >&6
6617 if test -n "$NM"; then
6618 # Let the user override the test.
6621 lt_nm_to_check="${ac_tool_prefix}nm
"
6622 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6623 lt_nm_to_check="$lt_nm_to_check nm
"
6625 for lt_tmp_nm in $lt_nm_to_check; do
6626 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6627 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6629 test -z "$ac_dir" && ac_dir=.
6630 tmp_nm="$ac_dir/$lt_tmp_nm"
6631 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6632 # Check to see if the nm accepts a BSD-compat flag.
6633 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6634 # nm: unknown option "B
" ignored
6635 # Tru64's nm complains that /dev/null is an invalid object file
6636 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6637 */dev/null* | *'Invalid file or object type'*)
6638 lt_cv_path_NM="$tmp_nm -B"
6642 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6644 lt_cv_path_NM="$tmp_nm -p"
6648 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6649 continue # so that we can try to find one that supports BSD flags
6658 : ${lt_cv_path_NM=no}
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6662 $as_echo "$lt_cv_path_NM" >&6; }
6663 if test "$lt_cv_path_NM" != "no
"; then
6666 # Didn't find any BSD compatible name lister, look for dumpbin.
6667 if test -n "$DUMPBIN"; then :
6668 # Let the user override the test.
6670 if test -n "$ac_tool_prefix"; then
6671 for ac_prog in dumpbin "link
-dump"
6673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6676 $as_echo_n "checking
for $ac_word...
" >&6; }
6677 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6678 $as_echo_n "(cached
) " >&6
6680 if test -n "$DUMPBIN"; then
6681 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6700 DUMPBIN=$ac_cv_prog_DUMPBIN
6701 if test -n "$DUMPBIN"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6703 $as_echo "$DUMPBIN" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6706 $as_echo "no
" >&6; }
6710 test -n "$DUMPBIN" && break
6713 if test -z "$DUMPBIN"; then
6714 ac_ct_DUMPBIN=$DUMPBIN
6715 for ac_prog in dumpbin "link
-dump"
6717 # Extract the first word of "$ac_prog", so it can be a program name with args.
6718 set dummy $ac_prog; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6720 $as_echo_n "checking
for $ac_word...
" >&6; }
6721 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6722 $as_echo_n "(cached
) " >&6
6724 if test -n "$ac_ct_DUMPBIN"; then
6725 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6744 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6745 if test -n "$ac_ct_DUMPBIN"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6747 $as_echo "$ac_ct_DUMPBIN" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6750 $as_echo "no
" >&6; }
6754 test -n "$ac_ct_DUMPBIN" && break
6757 if test "x
$ac_ct_DUMPBIN" = x; then
6760 case $cross_compiling:$ac_tool_warned in
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6763 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6764 ac_tool_warned=yes ;;
6766 DUMPBIN=$ac_ct_DUMPBIN
6770 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6772 DUMPBIN="$DUMPBIN -symbols"
6780 if test "$DUMPBIN" != ":"; then
6784 test -z "$NM" && NM=nm
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6792 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6793 if test "${lt_cv_nm_interface+set}" = set; then :
6794 $as_echo_n "(cached
) " >&6
6796 lt_cv_nm_interface="BSD nm
"
6797 echo "int some_variable
= 0;" > conftest.$ac_ext
6798 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6799 (eval "$ac_compile" 2>conftest.err)
6800 cat conftest.err >&5
6801 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6802 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6803 cat conftest.err >&5
6804 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6805 cat conftest.out >&5
6806 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6807 lt_cv_nm_interface="MS dumpbin
"
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6812 $as_echo "$lt_cv_nm_interface" >&6; }
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6815 $as_echo_n "checking whether
ln -s works...
" >&6; }
6817 if test "$LN_S" = "ln -s"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6819 $as_echo "yes" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6822 $as_echo "no
, using
$LN_S" >&6; }
6825 # find the maximum length of command line arguments
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6827 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6828 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6829 $as_echo_n "(cached
) " >&6
6836 # On DJGPP, this test can blow up pretty badly due to problems in libc
6837 # (any single argument exceeding 2000 bytes causes a buffer overrun
6838 # during glob expansion). Even if it were fixed, the result of this
6839 # check would be larger than it should be.
6840 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6844 # Under GNU Hurd, this test is not required because there is
6845 # no limit to the length of command line arguments.
6846 # Libtool will interpret -1 as no limit whatsoever
6847 lt_cv_sys_max_cmd_len=-1;
6850 cygwin* | mingw* | cegcc*)
6851 # On Win9x/ME, this test blows up -- it succeeds, but takes
6852 # about 5 minutes as the teststring grows exponentially.
6853 # Worse, since 9x/ME are not pre-emptively multitasking,
6854 # you end up with a "frozen
" computer, even though with patience
6855 # the test eventually succeeds (with a max line length of 256k).
6856 # Instead, let's just punt: use the minimum linelength reported by
6857 # all of the supported platforms: 8192 (on NT/2K/XP).
6858 lt_cv_sys_max_cmd_len=8192;
6862 # On MiNT this can take a long time and run out of memory.
6863 lt_cv_sys_max_cmd_len=8192;
6867 # On AmigaOS with pdksh, this test takes hours, literally.
6868 # So we just punt and use a minimum line length of 8192.
6869 lt_cv_sys_max_cmd_len=8192;
6872 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6873 # This has been around since 386BSD, at least. Likely further.
6874 if test -x /sbin/sysctl; then
6875 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6876 elif test -x /usr/sbin/sysctl; then
6877 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6879 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6881 # And add a safety zone
6882 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6883 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6887 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6888 lt_cv_sys_max_cmd_len=196608
6892 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6893 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6894 # nice to cause kernel panics so lets avoid the loop below.
6895 # First set a reasonable default.
6896 lt_cv_sys_max_cmd_len=16384
6898 if test -x /sbin/sysconfig; then
6899 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6900 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6905 lt_cv_sys_max_cmd_len=102400
6907 sysv5* | sco5v6* | sysv4.2uw2*)
6908 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6909 if test -n "$kargmax"; then
6910 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6912 lt_cv_sys_max_cmd_len=32768
6916 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6917 if test -n "$lt_cv_sys_max_cmd_len"; then
6918 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6919 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6921 # Make teststring a little bigger before we do anything with it.
6922 # a 1K string should be a reasonable start.
6923 for i in 1 2 3 4 5 6 7 8 ; do
6924 teststring=$teststring$teststring
6926 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6927 # If test is not a shell built-in, we'll probably end up computing a
6928 # maximum length that is only half of the actual maximum length, but
6930 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6931 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6932 test $i != 17 # 1/2 MB should be enough
6935 teststring=$teststring$teststring
6937 # Only check the string length outside the loop.
6938 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6940 # Add a significant safety factor because C++ compilers can tack on
6941 # massive amounts of additional arguments before passing them to the
6942 # linker. It appears as though 1/2 is a usable value.
6943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6950 if test -n $lt_cv_sys_max_cmd_len ; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6952 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6955 $as_echo "none
" >&6; }
6957 max_cmd_len=$lt_cv_sys_max_cmd_len
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6969 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6970 # Try some XSI features
6973 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6975 && eval 'test $(( 1 + 1 )) -eq 2 \
6976 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6979 $as_echo "$xsi_shell" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6983 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6985 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6987 && lt_shell_append
=yes
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6989 $as_echo "$lt_shell_append" >&6; }
6992 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7002 # test EBCDIC or ASCII
7003 case `echo X|tr X '\101'` in
7004 A
) # ASCII based system
7005 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7006 lt_SP2NL
='tr \040 \012'
7007 lt_NL2SP
='tr \015\012 \040\040'
7009 *) # EBCDIC based system
7010 lt_SP2NL
='tr \100 \n'
7011 lt_NL2SP
='tr \r\n \100\100'
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7024 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7025 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7026 $as_echo_n "(cached) " >&6
7028 lt_cv_ld_reload_flag
='-r'
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7031 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7032 reload_flag
=$lt_cv_ld_reload_flag
7033 case $reload_flag in
7035 *) reload_flag
=" $reload_flag" ;;
7037 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7040 if test "$GCC" = yes; then
7041 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7043 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7056 if test -n "$ac_tool_prefix"; then
7057 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7058 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060 $as_echo_n "checking for $ac_word... " >&6; }
7061 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7062 $as_echo_n "(cached) " >&6
7064 if test -n "$OBJDUMP"; then
7065 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7071 test -z "$as_dir" && as_dir
=.
7072 for ac_exec_ext
in '' $ac_executable_extensions; do
7073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084 OBJDUMP
=$ac_cv_prog_OBJDUMP
7085 if test -n "$OBJDUMP"; then
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7087 $as_echo "$OBJDUMP" >&6; }
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090 $as_echo "no" >&6; }
7095 if test -z "$ac_cv_prog_OBJDUMP"; then
7096 ac_ct_OBJDUMP
=$OBJDUMP
7097 # Extract the first word of "objdump", so it can be a program name with args.
7098 set dummy objdump
; ac_word
=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7102 $as_echo_n "(cached) " >&6
7104 if test -n "$ac_ct_OBJDUMP"; then
7105 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir
=.
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7125 if test -n "$ac_ct_OBJDUMP"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7127 $as_echo "$ac_ct_OBJDUMP" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7133 if test "x$ac_ct_OBJDUMP" = x
; then
7136 case $cross_compiling:$ac_tool_warned in
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7140 ac_tool_warned
=yes ;;
7142 OBJDUMP
=$ac_ct_OBJDUMP
7145 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7148 test -z "$OBJDUMP" && OBJDUMP
=objdump
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7159 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7160 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7161 $as_echo_n "(cached) " >&6
7163 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7164 lt_cv_file_magic_test_file
=
7165 lt_cv_deplibs_check_method
='unknown'
7166 # Need to set the preceding variable on all platforms that support
7167 # interlibrary dependencies.
7168 # 'none' -- dependencies not supported.
7169 # `unknown' -- same as none, but documents that we really don't know.
7170 # 'pass_all' -- all dependencies passed with no checks.
7171 # 'test_compile' -- check by making test program.
7172 # 'file_magic [[regex]]' -- check by looking for files in library path
7173 # which responds to the $file_magic_cmd with a given extended regex.
7174 # If you have `file' or equivalent on your system and you're not sure
7175 # whether `pass_all' will *always* work, you probably want this one.
7179 lt_cv_deplibs_check_method
=pass_all
7183 lt_cv_deplibs_check_method
=pass_all
7187 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7188 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7189 lt_cv_file_magic_test_file
=/shlib
/libc.so
7193 # func_win32_libid is a shell function defined in ltmain.sh
7194 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7195 lt_cv_file_magic_cmd
='func_win32_libid'
7199 # Base MSYS/MinGW do not provide the 'file' command needed by
7200 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7201 # unless we find 'file', for example because we are cross-compiling.
7202 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7203 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7204 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7205 lt_cv_file_magic_cmd
='func_win32_libid'
7207 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7208 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7213 # use the weaker test based on 'objdump'. See mingw*.
7214 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7215 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7218 darwin
* | rhapsody
*)
7219 lt_cv_deplibs_check_method
=pass_all
7222 freebsd
* | dragonfly
*)
7223 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7226 # Not sure whether the presence of OpenBSD here was a mistake.
7227 # Let's accept both of them until this is cleared up.
7228 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7229 lt_cv_file_magic_cmd
=/usr
/bin
/file
7230 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7234 lt_cv_deplibs_check_method
=pass_all
7239 lt_cv_deplibs_check_method
=pass_all
7243 lt_cv_deplibs_check_method
=pass_all
7246 hpux10.20
* | hpux11
*)
7247 lt_cv_file_magic_cmd
=/usr
/bin
/file
7250 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7251 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7254 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]'
7255 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7258 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7259 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7265 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7266 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7269 irix5
* | irix6
* | nonstopux
*)
7271 *-32|
*"-32 ") libmagic
=32-bit;;
7272 *-n32|
*"-n32 ") libmagic
=N32
;;
7273 *-64|
*"-64 ") libmagic
=64-bit;;
7274 *) libmagic
=never-match
;;
7276 lt_cv_deplibs_check_method
=pass_all
7279 # This must be Linux ELF.
7280 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7281 lt_cv_deplibs_check_method
=pass_all
7285 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7286 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7288 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7293 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7294 lt_cv_file_magic_cmd
=/usr
/bin
/file
7295 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7299 lt_cv_deplibs_check_method
=pass_all
7303 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7304 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7306 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7310 osf3
* | osf4
* | osf5
*)
7311 lt_cv_deplibs_check_method
=pass_all
7315 lt_cv_deplibs_check_method
=pass_all
7319 lt_cv_deplibs_check_method
=pass_all
7322 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7323 lt_cv_deplibs_check_method
=pass_all
7327 case $host_vendor in
7329 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]'
7330 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7333 lt_cv_deplibs_check_method
=pass_all
7336 lt_cv_file_magic_cmd
='/bin/file'
7337 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7340 lt_cv_file_magic_cmd
='/bin/file'
7341 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7342 lt_cv_file_magic_test_file
=/lib
/libc.so
7345 lt_cv_deplibs_check_method
=pass_all
7348 lt_cv_deplibs_check_method
=pass_all
7354 lt_cv_deplibs_check_method
=pass_all
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7360 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7361 file_magic_cmd
=$lt_cv_file_magic_cmd
7362 deplibs_check_method
=$lt_cv_deplibs_check_method
7363 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7376 if test -n "$ac_tool_prefix"; then
7377 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7378 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 $as_echo_n "checking for $ac_word... " >&6; }
7381 if test "${ac_cv_prog_AR+set}" = set; then :
7382 $as_echo_n "(cached) " >&6
7384 if test -n "$AR"; then
7385 ac_cv_prog_AR
="$AR" # Let the user override the test.
7387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7391 test -z "$as_dir" && as_dir
=.
7392 for ac_exec_ext
in '' $ac_executable_extensions; do
7393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7394 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 if test -n "$AR"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7407 $as_echo "$AR" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7415 if test -z "$ac_cv_prog_AR"; then
7417 # Extract the first word of "ar", so it can be a program name with args.
7418 set dummy
ar; ac_word
=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7422 $as_echo_n "(cached) " >&6
7424 if test -n "$ac_ct_AR"; then
7425 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir
=.
7432 for ac_exec_ext
in '' $ac_executable_extensions; do
7433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7434 ac_cv_prog_ac_ct_AR
="ar"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7445 if test -n "$ac_ct_AR"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7447 $as_echo "$ac_ct_AR" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7453 if test "x$ac_ct_AR" = x
; then
7456 case $cross_compiling:$ac_tool_warned in
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7460 ac_tool_warned
=yes ;;
7468 test -z "$AR" && AR
=ar
7469 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7481 if test -n "$ac_tool_prefix"; then
7482 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7483 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if test "${ac_cv_prog_STRIP+set}" = set; then :
7487 $as_echo_n "(cached) " >&6
7489 if test -n "$STRIP"; then
7490 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7496 test -z "$as_dir" && as_dir
=.
7497 for ac_exec_ext
in '' $ac_executable_extensions; do
7498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7499 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509 STRIP
=$ac_cv_prog_STRIP
7510 if test -n "$STRIP"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7512 $as_echo "$STRIP" >&6; }
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7520 if test -z "$ac_cv_prog_STRIP"; then
7522 # Extract the first word of "strip", so it can be a program name with args.
7523 set dummy strip
; ac_word
=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7529 if test -n "$ac_ct_STRIP"; then
7530 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7536 test -z "$as_dir" && as_dir
=.
7537 for ac_exec_ext
in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_ac_ct_STRIP
="strip"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7550 if test -n "$ac_ct_STRIP"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7552 $as_echo "$ac_ct_STRIP" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7558 if test "x$ac_ct_STRIP" = x
; then
7561 case $cross_compiling:$ac_tool_warned in
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7565 ac_tool_warned
=yes ;;
7570 STRIP
="$ac_cv_prog_STRIP"
7573 test -z "$STRIP" && STRIP
=:
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7582 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7586 $as_echo_n "(cached) " >&6
7588 if test -n "$RANLIB"; then
7589 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7595 test -z "$as_dir" && as_dir
=.
7596 for ac_exec_ext
in '' $ac_executable_extensions; do
7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7598 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 RANLIB
=$ac_cv_prog_RANLIB
7609 if test -n "$RANLIB"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7611 $as_echo "$RANLIB" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7619 if test -z "$ac_cv_prog_RANLIB"; then
7620 ac_ct_RANLIB
=$RANLIB
7621 # Extract the first word of "ranlib", so it can be a program name with args.
7622 set dummy ranlib
; ac_word
=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7626 $as_echo_n "(cached) " >&6
7628 if test -n "$ac_ct_RANLIB"; then
7629 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir
=.
7636 for ac_exec_ext
in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7649 if test -n "$ac_ct_RANLIB"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7651 $as_echo "$ac_ct_RANLIB" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7657 if test "x$ac_ct_RANLIB" = x
; then
7660 case $cross_compiling:$ac_tool_warned in
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7664 ac_tool_warned
=yes ;;
7666 RANLIB
=$ac_ct_RANLIB
7669 RANLIB
="$ac_cv_prog_RANLIB"
7672 test -z "$RANLIB" && RANLIB
=:
7679 # Determine commands to create old-style static archives.
7680 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7681 old_postinstall_cmds
='chmod 644 $oldlib'
7682 old_postuninstall_cmds
=
7684 if test -n "$RANLIB"; then
7687 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7690 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7693 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7698 lock_old_archive_extraction
=yes ;;
7700 lock_old_archive_extraction
=no
;;
7741 # If no C compiler was specified, use CC.
7744 # If no C compiler flags were specified, use CFLAGS.
7745 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7747 # Allow CC to be a program name with arguments.
7751 # Check for command to grab the raw symbol name followed by C symbol from nm.
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7753 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7754 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7755 $as_echo_n "(cached) " >&6
7758 # These are sane defaults that work on at least a few old systems.
7759 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7761 # Character class describing NM global symbol codes.
7762 symcode
='[BCDEGRST]'
7764 # Regexp to match symbols that can be accessed directly from C.
7765 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7767 # Define system-specific variables.
7772 cygwin
* | mingw
* | pw32
* | cegcc
*)
7773 symcode
='[ABCDGISTW]'
7776 if test "$host_cpu" = ia64
; then
7777 symcode
='[ABCDEGRST]'
7781 symcode
='[BCDEGRST]'
7784 symcode
='[BCDEGQRST]'
7795 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7803 # If we're using GNU nm, then use its standard symbol codes.
7804 case `$NM -V 2>&1` in
7805 *GNU
* |
*'with BFD'*)
7806 symcode
='[ABCDGIRSTW]' ;;
7809 # Transform an extracted symbol line into a proper C declaration.
7810 # Some systems (esp. on ia64) link data and code symbols differently,
7811 # so use this general approach.
7812 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7814 # Transform an extracted symbol line into symbol name and symbol address
7815 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7816 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'"
7818 # Handle CRLF in mingw tool chain
7822 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7826 # Try without a prefix underscore, then with it.
7827 for ac_symprfx
in "" "_"; do
7829 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7830 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7832 # Write the raw and C identifiers.
7833 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7834 # Fake it for dumpbin and say T for any non-static function
7835 # and D for any global variable.
7836 # Also find C++ and __fastcall symbols from MSVC++,
7837 # which start with @ or ?.
7838 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7839 " {last_section=section; section=\$ 3};"\
7840 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7841 " \$ 0!~/External *\|/{next};"\
7842 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7843 " {if(hide[section]) next};"\
7844 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7845 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7846 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7847 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7848 " ' prfx=^$ac_symprfx"
7850 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7853 # Check to see that the pipe works correctly.
7857 cat > conftest.
$ac_ext <<_LT_EOF
7862 void nm_test_func(void);
7863 void nm_test_func(void){}
7867 int main(){nm_test_var='a';nm_test_func();return(0);}
7870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7871 (eval $ac_compile) 2>&5
7873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7874 test $ac_status = 0; }; then
7875 # Now try to grab the symbols.
7877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7878 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7881 test $ac_status = 0; } && test -s "$nlist"; then
7882 # Try sorting and uniquifying the output.
7883 if sort "$nlist" |
uniq > "$nlist"T
; then
7884 mv -f "$nlist"T
"$nlist"
7889 # Make sure that we snagged all the symbols we need.
7890 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7891 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7892 cat <<_LT_EOF > conftest.$ac_ext
7898 # Now generate the symbol file.
7899 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7901 cat <<_LT_EOF >> conftest.$ac_ext
7903 /* The mapping between symbol names and symbols. */
7908 lt__PROGRAM__LTX_preloaded_symbols[] =
7910 { "@PROGRAM@", (void *) 0 },
7912 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7913 cat <<\_LT_EOF
>> conftest.
$ac_ext
7917 /* This works around a problem
in FreeBSD linker
*/
7918 #ifdef FREEBSD_WORKAROUND
7919 static const void
*lt_preloaded_setup
() {
7920 return lt__PROGRAM__LTX_preloaded_symbols
;
7928 # Now try linking the two files.
7929 mv conftest.
$ac_objext conftstm.
$ac_objext
7930 lt_save_LIBS
="$LIBS"
7931 lt_save_CFLAGS
="$CFLAGS"
7932 LIBS
="conftstm.$ac_objext"
7933 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7934 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7935 (eval $ac_link) 2>&5
7937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7938 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7941 LIBS
="$lt_save_LIBS"
7942 CFLAGS
="$lt_save_CFLAGS"
7944 echo "cannot find nm_test_func in $nlist" >&5
7947 echo "cannot find nm_test_var in $nlist" >&5
7950 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7953 echo "$progname: failed program was:" >&5
7954 cat conftest.
$ac_ext >&5
7956 rm -rf conftest
* conftst
*
7958 # Do not use the global_symbol_pipe unless it works.
7959 if test "$pipe_works" = yes; then
7962 lt_cv_sys_global_symbol_pipe
=
7968 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7969 lt_cv_sys_global_symbol_to_cdecl
=
7971 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7973 $as_echo "failed" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7976 $as_echo "ok" >&6; }
8000 # Check whether --enable-libtool-lock was given.
8001 if test "${enable_libtool_lock+set}" = set; then :
8002 enableval
=$enable_libtool_lock;
8005 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8007 # Some flags need to be propagated to the compiler or linker for good
8011 # Find out which ABI we are using.
8012 echo 'int i;' > conftest.
$ac_ext
8013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8014 (eval $ac_compile) 2>&5
8016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8017 test $ac_status = 0; }; then
8018 case `/usr/bin/file conftest.$ac_objext` in
8030 # Find out which ABI we are using.
8031 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8033 (eval $ac_compile) 2>&5
8035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8036 test $ac_status = 0; }; then
8037 if test "$lt_cv_prog_gnu_ld" = yes; then
8038 case `/usr/bin/file conftest.$ac_objext` in
8040 LD
="${LD-ld} -melf32bsmip"
8043 LD
="${LD-ld} -melf32bmipn32"
8046 LD
="${LD-ld} -melf64bmip"
8050 case `/usr/bin/file conftest.$ac_objext` in
8066 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
8067 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8068 # Find out which ABI we are using.
8069 echo 'int i;' > conftest.
$ac_ext
8070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8071 (eval $ac_compile) 2>&5
8073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8074 test $ac_status = 0; }; then
8075 case `/usr/bin/file conftest.o` in
8078 x86_64-
*kfreebsd
*-gnu)
8079 LD
="${LD-ld} -m elf_i386_fbsd"
8082 case `/usr/bin/file conftest.o` in
8084 LD
="${LD-ld} -m elf32_x86_64"
8087 LD
="${LD-ld} -m elf_i386"
8091 ppc64-
*linux
*|powerpc64-
*linux
*)
8092 LD
="${LD-ld} -m elf32ppclinux"
8095 LD
="${LD-ld} -m elf_s390"
8098 LD
="${LD-ld} -m elf32_sparc"
8104 x86_64-
*kfreebsd
*-gnu)
8105 LD
="${LD-ld} -m elf_x86_64_fbsd"
8108 LD
="${LD-ld} -m elf_x86_64"
8110 ppc
*-*linux
*|powerpc
*-*linux
*)
8111 LD
="${LD-ld} -m elf64ppc"
8113 s390
*-*linux
*|s390
*-*tpf
*)
8114 LD
="${LD-ld} -m elf64_s390"
8117 LD
="${LD-ld} -m elf64_sparc"
8127 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8128 SAVE_CFLAGS
="$CFLAGS"
8129 CFLAGS
="$CFLAGS -belf"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8131 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8132 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8133 $as_echo_n "(cached) " >&6
8136 ac_cpp
='$CPP $CPPFLAGS'
8137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8141 if test x
$gcc_no_link = xyes
; then
8142 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8155 if ac_fn_c_try_link
"$LINENO"; then :
8156 lt_cv_cc_needs_belf
=yes
8158 lt_cv_cc_needs_belf
=no
8160 rm -f core conftest.err conftest.
$ac_objext \
8161 conftest
$ac_exeext conftest.
$ac_ext
8163 ac_cpp
='$CPP $CPPFLAGS'
8164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8170 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8171 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8172 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8173 CFLAGS
="$SAVE_CFLAGS"
8177 # Find out which ABI we are using.
8178 echo 'int i;' > conftest.
$ac_ext
8179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8180 (eval $ac_compile) 2>&5
8182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8183 test $ac_status = 0; }; then
8184 case `/usr/bin/file conftest.o` in
8186 case $lt_cv_prog_gnu_ld in
8187 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8189 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8201 need_locks
="$enable_libtool_lock"
8205 rhapsody
* | darwin
*)
8206 if test -n "$ac_tool_prefix"; then
8207 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8208 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8210 $as_echo_n "checking for $ac_word... " >&6; }
8211 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8212 $as_echo_n "(cached) " >&6
8214 if test -n "$DSYMUTIL"; then
8215 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8221 test -z "$as_dir" && as_dir
=.
8222 for ac_exec_ext
in '' $ac_executable_extensions; do
8223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8224 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8234 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8235 if test -n "$DSYMUTIL"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8237 $as_echo "$DSYMUTIL" >&6; }
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8240 $as_echo "no" >&6; }
8245 if test -z "$ac_cv_prog_DSYMUTIL"; then
8246 ac_ct_DSYMUTIL
=$DSYMUTIL
8247 # Extract the first word of "dsymutil", so it can be a program name with args.
8248 set dummy dsymutil
; ac_word
=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8250 $as_echo_n "checking for $ac_word... " >&6; }
8251 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8252 $as_echo_n "(cached) " >&6
8254 if test -n "$ac_ct_DSYMUTIL"; then
8255 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir
=.
8262 for ac_exec_ext
in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8275 if test -n "$ac_ct_DSYMUTIL"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8277 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8283 if test "x$ac_ct_DSYMUTIL" = x
; then
8286 case $cross_compiling:$ac_tool_warned in
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8290 ac_tool_warned
=yes ;;
8292 DSYMUTIL
=$ac_ct_DSYMUTIL
8295 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8298 if test -n "$ac_tool_prefix"; then
8299 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8300 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8302 $as_echo_n "checking for $ac_word... " >&6; }
8303 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8304 $as_echo_n "(cached) " >&6
8306 if test -n "$NMEDIT"; then
8307 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8313 test -z "$as_dir" && as_dir
=.
8314 for ac_exec_ext
in '' $ac_executable_extensions; do
8315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8316 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 NMEDIT
=$ac_cv_prog_NMEDIT
8327 if test -n "$NMEDIT"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8329 $as_echo "$NMEDIT" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8337 if test -z "$ac_cv_prog_NMEDIT"; then
8338 ac_ct_NMEDIT
=$NMEDIT
8339 # Extract the first word of "nmedit", so it can be a program name with args.
8340 set dummy nmedit
; ac_word
=$2
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342 $as_echo_n "checking for $ac_word... " >&6; }
8343 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8344 $as_echo_n "(cached) " >&6
8346 if test -n "$ac_ct_NMEDIT"; then
8347 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8353 test -z "$as_dir" && as_dir
=.
8354 for ac_exec_ext
in '' $ac_executable_extensions; do
8355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8356 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8367 if test -n "$ac_ct_NMEDIT"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8369 $as_echo "$ac_ct_NMEDIT" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8375 if test "x$ac_ct_NMEDIT" = x
; then
8378 case $cross_compiling:$ac_tool_warned in
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8382 ac_tool_warned
=yes ;;
8384 NMEDIT
=$ac_ct_NMEDIT
8387 NMEDIT
="$ac_cv_prog_NMEDIT"
8390 if test -n "$ac_tool_prefix"; then
8391 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8392 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8394 $as_echo_n "checking for $ac_word... " >&6; }
8395 if test "${ac_cv_prog_LIPO+set}" = set; then :
8396 $as_echo_n "(cached) " >&6
8398 if test -n "$LIPO"; then
8399 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8405 test -z "$as_dir" && as_dir
=.
8406 for ac_exec_ext
in '' $ac_executable_extensions; do
8407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8408 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8418 LIPO
=$ac_cv_prog_LIPO
8419 if test -n "$LIPO"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8421 $as_echo "$LIPO" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8424 $as_echo "no" >&6; }
8429 if test -z "$ac_cv_prog_LIPO"; then
8431 # Extract the first word of "lipo", so it can be a program name with args.
8432 set dummy lipo
; ac_word
=$2
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8434 $as_echo_n "checking for $ac_word... " >&6; }
8435 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8436 $as_echo_n "(cached) " >&6
8438 if test -n "$ac_ct_LIPO"; then
8439 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8445 test -z "$as_dir" && as_dir
=.
8446 for ac_exec_ext
in '' $ac_executable_extensions; do
8447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8448 ac_cv_prog_ac_ct_LIPO
="lipo"
8449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8458 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8459 if test -n "$ac_ct_LIPO"; then
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8461 $as_echo "$ac_ct_LIPO" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8464 $as_echo "no" >&6; }
8467 if test "x$ac_ct_LIPO" = x
; then
8470 case $cross_compiling:$ac_tool_warned in
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8474 ac_tool_warned
=yes ;;
8479 LIPO
="$ac_cv_prog_LIPO"
8482 if test -n "$ac_tool_prefix"; then
8483 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8484 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8486 $as_echo_n "checking for $ac_word... " >&6; }
8487 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8488 $as_echo_n "(cached) " >&6
8490 if test -n "$OTOOL"; then
8491 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8497 test -z "$as_dir" && as_dir
=.
8498 for ac_exec_ext
in '' $ac_executable_extensions; do
8499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8500 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8510 OTOOL
=$ac_cv_prog_OTOOL
8511 if test -n "$OTOOL"; then
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8513 $as_echo "$OTOOL" >&6; }
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8516 $as_echo "no" >&6; }
8521 if test -z "$ac_cv_prog_OTOOL"; then
8523 # Extract the first word of "otool", so it can be a program name with args.
8524 set dummy otool
; ac_word
=$2
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8526 $as_echo_n "checking for $ac_word... " >&6; }
8527 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8528 $as_echo_n "(cached) " >&6
8530 if test -n "$ac_ct_OTOOL"; then
8531 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8537 test -z "$as_dir" && as_dir
=.
8538 for ac_exec_ext
in '' $ac_executable_extensions; do
8539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8540 ac_cv_prog_ac_ct_OTOOL
="otool"
8541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8550 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8551 if test -n "$ac_ct_OTOOL"; then
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8553 $as_echo "$ac_ct_OTOOL" >&6; }
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8556 $as_echo "no" >&6; }
8559 if test "x$ac_ct_OTOOL" = x
; then
8562 case $cross_compiling:$ac_tool_warned in
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8566 ac_tool_warned
=yes ;;
8571 OTOOL
="$ac_cv_prog_OTOOL"
8574 if test -n "$ac_tool_prefix"; then
8575 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8576 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8578 $as_echo_n "checking for $ac_word... " >&6; }
8579 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8580 $as_echo_n "(cached) " >&6
8582 if test -n "$OTOOL64"; then
8583 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8589 test -z "$as_dir" && as_dir
=.
8590 for ac_exec_ext
in '' $ac_executable_extensions; do
8591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8592 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8602 OTOOL64
=$ac_cv_prog_OTOOL64
8603 if test -n "$OTOOL64"; then
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8605 $as_echo "$OTOOL64" >&6; }
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8608 $as_echo "no" >&6; }
8613 if test -z "$ac_cv_prog_OTOOL64"; then
8614 ac_ct_OTOOL64
=$OTOOL64
8615 # Extract the first word of "otool64", so it can be a program name with args.
8616 set dummy otool64
; ac_word
=$2
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8618 $as_echo_n "checking for $ac_word... " >&6; }
8619 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8620 $as_echo_n "(cached) " >&6
8622 if test -n "$ac_ct_OTOOL64"; then
8623 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8629 test -z "$as_dir" && as_dir
=.
8630 for ac_exec_ext
in '' $ac_executable_extensions; do
8631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8632 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8642 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8643 if test -n "$ac_ct_OTOOL64"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8645 $as_echo "$ac_ct_OTOOL64" >&6; }
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8648 $as_echo "no" >&6; }
8651 if test "x$ac_ct_OTOOL64" = x
; then
8654 case $cross_compiling:$ac_tool_warned in
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8658 ac_tool_warned
=yes ;;
8660 OTOOL64
=$ac_ct_OTOOL64
8663 OTOOL64
="$ac_cv_prog_OTOOL64"
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8693 $as_echo_n "checking for -single_module linker flag... " >&6; }
8694 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8695 $as_echo_n "(cached) " >&6
8697 lt_cv_apple_cc_single_mod
=no
8698 if test -z "${LT_MULTI_MODULE}"; then
8699 # By default we will add the -single_module flag. You can override
8700 # by either setting the environment variable LT_MULTI_MODULE
8701 # non-empty at configure time, or by adding -multi_module to the
8703 rm -rf libconftest.dylib
*
8704 echo "int foo(void){return 1;}" > conftest.c
8705 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8706 -dynamiclib -Wl,-single_module conftest.c" >&5
8707 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8708 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8710 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8711 lt_cv_apple_cc_single_mod
=yes
8713 cat conftest.err
>&5
8715 rm -rf libconftest.dylib
*
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8720 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8722 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8723 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8724 $as_echo_n "(cached) " >&6
8726 lt_cv_ld_exported_symbols_list
=no
8727 save_LDFLAGS
=$LDFLAGS
8728 echo "_main" > conftest.sym
8729 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8730 if test x
$gcc_no_link = xyes
; then
8731 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8744 if ac_fn_c_try_link
"$LINENO"; then :
8745 lt_cv_ld_exported_symbols_list
=yes
8747 lt_cv_ld_exported_symbols_list
=no
8749 rm -f core conftest.err conftest.
$ac_objext \
8750 conftest
$ac_exeext conftest.
$ac_ext
8751 LDFLAGS
="$save_LDFLAGS"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8755 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8757 $as_echo_n "checking for -force_load linker flag... " >&6; }
8758 if test "${lt_cv_ld_force_load+set}" = set; then :
8759 $as_echo_n "(cached) " >&6
8761 lt_cv_ld_force_load
=no
8762 cat > conftest.c
<< _LT_EOF
8763 int forced_loaded() { return 2;}
8765 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8766 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8767 echo "$AR cru libconftest.a conftest.o" >&5
8768 $AR cru libconftest.a conftest.o
2>&5
8769 cat > conftest.c
<< _LT_EOF
8770 int main() { return 0;}
8772 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8773 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8775 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8776 lt_cv_ld_force_load
=yes
8778 cat conftest.err
>&5
8780 rm -f conftest.err libconftest.a conftest conftest.c
8781 rm -rf conftest.dSYM
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8785 $as_echo "$lt_cv_ld_force_load" >&6; }
8787 rhapsody
* | darwin1.
[012])
8788 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8790 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8791 darwin
*) # darwin 5.x on
8792 # if running on 10.5 or later, the deployment target defaults
8793 # to the OS version, if on x86, and 10.4, the deployment
8794 # target defaults to 10.4. Don't you love it?
8795 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8796 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8797 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8799 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8801 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8805 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8806 _lt_dar_single_mod
='$single_module'
8808 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8809 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8811 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8813 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8814 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8821 for ac_header
in dlfcn.h
8823 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8825 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8826 cat >>confdefs.h
<<_ACEOF
8827 #define HAVE_DLFCN_H 1
8846 # Check whether --enable-shared was given.
8847 if test "${enable_shared+set}" = set; then :
8848 enableval
=$enable_shared; p
=${PACKAGE-default}
8850 yes) enable_shared
=yes ;;
8851 no
) enable_shared
=no
;;
8854 # Look at the argument we got. We use all the common list separators.
8855 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8856 for pkg
in $enableval; do
8858 if test "X$pkg" = "X$p"; then
8877 # Check whether --enable-static was given.
8878 if test "${enable_static+set}" = set; then :
8879 enableval
=$enable_static; p
=${PACKAGE-default}
8881 yes) enable_static
=yes ;;
8882 no
) enable_static
=no
;;
8885 # Look at the argument we got. We use all the common list separators.
8886 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8887 for pkg
in $enableval; do
8889 if test "X$pkg" = "X$p"; then
8909 # Check whether --with-pic was given.
8910 if test "${with_pic+set}" = set; then :
8911 withval
=$with_pic; pic_mode
="$withval"
8917 test -z "$pic_mode" && pic_mode
=default
8925 # Check whether --enable-fast-install was given.
8926 if test "${enable_fast_install+set}" = set; then :
8927 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8929 yes) enable_fast_install
=yes ;;
8930 no
) enable_fast_install
=no
;;
8932 enable_fast_install
=no
8933 # Look at the argument we got. We use all the common list separators.
8934 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8935 for pkg
in $enableval; do
8937 if test "X$pkg" = "X$p"; then
8938 enable_fast_install
=yes
8945 enable_fast_install
=yes
8958 # This can be used to rebuild libtool when needed
8959 LIBTOOL_DEPS
="$ltmain"
8961 # Always use our own libtool.
8962 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8989 test -z "$LN_S" && LN_S
="ln -s"
9004 if test -n "${ZSH_VERSION+set}" ; then
9005 setopt NO_GLOB_SUBST
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9009 $as_echo_n "checking for objdir... " >&6; }
9010 if test "${lt_cv_objdir+set}" = set; then :
9011 $as_echo_n "(cached) " >&6
9013 rm -f .libs
2>/dev
/null
9014 mkdir .libs
2>/dev
/null
9015 if test -d .libs
; then
9018 # MS-DOS does not allow filenames that begin with a dot.
9021 rmdir .libs
2>/dev
/null
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9024 $as_echo "$lt_cv_objdir" >&6; }
9025 objdir
=$lt_cv_objdir
9031 cat >>confdefs.h
<<_ACEOF
9032 #define LT_OBJDIR "$lt_cv_objdir/"
9040 # AIX sometimes has problems with the GCC collect2 program. For some
9041 # reason, if we set the COLLECT_NAMES environment variable, the problems
9042 # vanish in a puff of smoke.
9043 if test "X${COLLECT_NAMES+set}" != Xset
; then
9045 export COLLECT_NAMES
9052 can_build_shared
=yes
9054 # All known linkers require a `.a' archive for static linking (except MSVC,
9055 # which needs '.lib').
9058 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9061 old_CFLAGS
="$CFLAGS"
9063 # Set sane defaults for various variables
9064 test -z "$CC" && CC
=cc
9065 test -z "$LTCC" && LTCC
=$CC
9066 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9067 test -z "$LD" && LD
=ld
9068 test -z "$ac_objext" && ac_objext
=o
9070 for cc_temp
in $compiler""; do
9072 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9073 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9078 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9081 # Only perform the check for file, if the check method requires it
9082 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9083 case $deplibs_check_method in
9085 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9087 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9088 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9089 $as_echo_n "(cached) " >&6
9093 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9096 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9097 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9098 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9099 for ac_dir
in $ac_dummy; do
9101 test -z "$ac_dir" && ac_dir
=.
9102 if test -f $ac_dir/${ac_tool_prefix}file; then
9103 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9104 if test -n "$file_magic_test_file"; then
9105 case $deplibs_check_method in
9107 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9108 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9109 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9110 $EGREP "$file_magic_regex" > /dev
/null
; then
9115 *** Warning: the command libtool uses to detect shared libraries,
9116 *** $file_magic_cmd, produces output that libtool cannot recognize.
9117 *** The result is that libtool may fail to recognize shared libraries
9118 *** as such. This will affect the creation of libtool libraries that
9119 *** depend on shared libraries, but programs linked with such libtool
9120 *** libraries will work regardless of this problem. Nevertheless, you
9121 *** may want to report the problem to your system manager and/or to
9122 *** bug-libtool@gnu.org
9132 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9137 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9138 if test -n "$MAGIC_CMD"; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9140 $as_echo "$MAGIC_CMD" >&6; }
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9143 $as_echo "no" >&6; }
9150 if test -z "$lt_cv_path_MAGIC_CMD"; then
9151 if test -n "$ac_tool_prefix"; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9153 $as_echo_n "checking for file... " >&6; }
9154 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9155 $as_echo_n "(cached) " >&6
9159 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9162 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9163 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9164 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9165 for ac_dir
in $ac_dummy; do
9167 test -z "$ac_dir" && ac_dir
=.
9168 if test -f $ac_dir/file; then
9169 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9170 if test -n "$file_magic_test_file"; then
9171 case $deplibs_check_method in
9173 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9174 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9175 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9176 $EGREP "$file_magic_regex" > /dev
/null
; then
9181 *** Warning: the command libtool uses to detect shared libraries,
9182 *** $file_magic_cmd, produces output that libtool cannot recognize.
9183 *** The result is that libtool may fail to recognize shared libraries
9184 *** as such. This will affect the creation of libtool libraries that
9185 *** depend on shared libraries, but programs linked with such libtool
9186 *** libraries will work regardless of this problem. Nevertheless, you
9187 *** may want to report the problem to your system manager and/or to
9188 *** bug-libtool@gnu.org
9198 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9203 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9204 if test -n "$MAGIC_CMD"; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9206 $as_echo "$MAGIC_CMD" >&6; }
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9209 $as_echo "no" >&6; }
9222 # Use C for the default configuration in the libtool script
9226 ac_cpp
='$CPP $CPPFLAGS'
9227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9232 # Source file extension for C test sources.
9235 # Object file extension for compiled C test sources.
9239 # Code to be used in simple compile tests
9240 lt_simple_compile_test_code
="int some_variable = 0;"
9242 # Code to be used in simple link tests
9243 lt_simple_link_test_code
='int main(){return(0);}'
9251 # If no C compiler was specified, use CC.
9254 # If no C compiler flags were specified, use CFLAGS.
9255 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9257 # Allow CC to be a program name with arguments.
9260 # Save the default compiler, since it gets overwritten when the other
9261 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9262 compiler_DEFAULT
=$CC
9264 # save warnings/boilerplate of simple test code
9265 ac_outfile
=conftest.
$ac_objext
9266 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9267 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9268 _lt_compiler_boilerplate
=`cat conftest.err`
9271 ac_outfile
=conftest.
$ac_objext
9272 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9273 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9274 _lt_linker_boilerplate
=`cat conftest.err`
9279 ## There is no encapsulation within the following macros, do not change
9280 ## the running order or otherwise move them around unless you know exactly
9281 ## what you are doing...
9282 if test -n "$compiler"; then
9284 lt_prog_compiler_no_builtin_flag
=
9286 if test "$GCC" = yes; then
9287 case $cc_basename in
9289 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9291 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9295 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9296 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9297 $as_echo_n "(cached) " >&6
9299 lt_cv_prog_compiler_rtti_exceptions
=no
9300 ac_outfile
=conftest.
$ac_objext
9301 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9302 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9303 # Insert the option either (1) after the last *FLAGS variable, or
9304 # (2) before a word containing "conftest.", or (3) at the end.
9305 # Note that $ac_compile itself does not contain backslashes and begins
9306 # with a dollar sign (not a hyphen), so the echo should work correctly.
9307 # The option is referenced via a variable to avoid confusing sed.
9308 lt_compile
=`echo "$ac_compile" | $SED \
9309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9311 -e 's:$: $lt_compiler_flag:'`
9312 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9313 (eval "$lt_compile" 2>conftest.err
)
9315 cat conftest.err
>&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 if (exit $ac_status) && test -s "$ac_outfile"; then
9318 # The compiler can only warn and ignore the option if not recognized
9319 # So say no if there are warnings other than the usual output.
9320 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9321 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9322 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9323 lt_cv_prog_compiler_rtti_exceptions
=yes
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9330 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9332 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9333 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9345 lt_prog_compiler_wl
=
9346 lt_prog_compiler_pic
=
9347 lt_prog_compiler_static
=
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9350 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9352 if test "$GCC" = yes; then
9353 lt_prog_compiler_wl
='-Wl,'
9354 lt_prog_compiler_static
='-static'
9358 # All AIX code is PIC.
9359 if test "$host_cpu" = ia64
; then
9360 # AIX 5 now supports IA64 processor
9361 lt_prog_compiler_static
='-Bstatic'
9363 lt_prog_compiler_pic
='-fPIC'
9369 # see comment about AmigaOS4 .so support
9370 lt_prog_compiler_pic
='-fPIC'
9373 # FIXME: we need at least 68020 code to build shared libraries, but
9374 # adding the `-m68020' flag to GCC prevents building anything better,
9376 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9381 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9382 # PIC is the default for these OSes.
9385 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9386 # This hack is so that the source file can tell whether it is being
9387 # built for inclusion in a dll (and should export symbols for example).
9388 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9389 # (--disable-auto-import) libraries
9390 lt_prog_compiler_pic
='-DDLL_EXPORT'
9393 darwin
* | rhapsody
*)
9394 # PIC is the default on this platform
9395 # Common symbols not allowed in MH_DYLIB files
9396 lt_prog_compiler_pic
='-fno-common'
9400 # PIC is the default for Haiku.
9401 # The "-static" flag exists, but is broken.
9402 lt_prog_compiler_static
=
9406 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9407 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9408 # sets the default TLS model and affects inlining.
9414 lt_prog_compiler_pic
='-fPIC'
9420 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9421 # Instead, we relocate shared libraries at runtime.
9425 # Just because we use GCC doesn't mean we suddenly get shared libraries
9426 # on systems that don't support them.
9427 lt_prog_compiler_can_build_shared
=no
9432 # QNX uses GNU C++, but need to define -shared option too, otherwise
9434 lt_prog_compiler_pic
='-fPIC -shared'
9438 if test -d /usr
/nec
; then
9439 lt_prog_compiler_pic
=-Kconform_pic
9444 lt_prog_compiler_pic
='-fPIC'
9448 case $cc_basename in
9449 nvcc
*) # Cuda Compiler Driver 2.2
9450 lt_prog_compiler_wl
='-Xlinker '
9451 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9455 # PORTME Check for flag to pass linker flags through the system compiler.
9458 lt_prog_compiler_wl
='-Wl,'
9459 if test "$host_cpu" = ia64
; then
9460 # AIX 5 now supports IA64 processor
9461 lt_prog_compiler_static
='-Bstatic'
9463 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9467 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9468 # This hack is so that the source file can tell whether it is being
9469 # built for inclusion in a dll (and should export symbols for example).
9470 lt_prog_compiler_pic
='-DDLL_EXPORT'
9473 hpux9
* | hpux10
* | hpux11
*)
9474 lt_prog_compiler_wl
='-Wl,'
9475 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9482 lt_prog_compiler_pic
='+Z'
9485 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9486 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9489 irix5
* | irix6
* | nonstopux
*)
9490 lt_prog_compiler_wl
='-Wl,'
9491 # PIC (with -KPIC) is the default.
9492 lt_prog_compiler_static
='-non_shared'
9495 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9496 case $cc_basename in
9497 # old Intel for x86_64 which still supported -KPIC.
9499 lt_prog_compiler_wl
='-Wl,'
9500 lt_prog_compiler_pic
='-KPIC'
9501 lt_prog_compiler_static
='-static'
9503 # icc used to be incompatible with GCC.
9504 # ICC 10 doesn't accept -KPIC any more.
9506 lt_prog_compiler_wl
='-Wl,'
9507 lt_prog_compiler_pic
='-fPIC'
9508 lt_prog_compiler_static
='-static'
9510 # Lahey Fortran 8.1.
9512 lt_prog_compiler_wl
='-Wl,'
9513 lt_prog_compiler_pic
='--shared'
9514 lt_prog_compiler_static
='--static'
9516 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9517 # Portland Group compilers (*not* the Pentium gcc compiler,
9518 # which looks to be a dead project)
9519 lt_prog_compiler_wl
='-Wl,'
9520 lt_prog_compiler_pic
='-fpic'
9521 lt_prog_compiler_static
='-Bstatic'
9524 lt_prog_compiler_wl
='-Wl,'
9525 # All Alpha code is PIC.
9526 lt_prog_compiler_static
='-non_shared'
9528 xl
* | bgxl
* | bgf
* | mpixl
*)
9529 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9530 lt_prog_compiler_wl
='-Wl,'
9531 lt_prog_compiler_pic
='-qpic'
9532 lt_prog_compiler_static
='-qstaticlink'
9535 case `$CC -V 2>&1 | sed 5q` in
9536 *Sun\ F
* |
*Sun
*Fortran
*)
9537 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9538 lt_prog_compiler_pic
='-KPIC'
9539 lt_prog_compiler_static
='-Bstatic'
9540 lt_prog_compiler_wl
=''
9544 lt_prog_compiler_pic
='-KPIC'
9545 lt_prog_compiler_static
='-Bstatic'
9546 lt_prog_compiler_wl
='-Wl,'
9554 lt_prog_compiler_pic
='-KPIC'
9555 lt_prog_compiler_static
='-Bstatic'
9559 # QNX uses GNU C++, but need to define -shared option too, otherwise
9561 lt_prog_compiler_pic
='-fPIC -shared'
9564 osf3
* | osf4
* | osf5
*)
9565 lt_prog_compiler_wl
='-Wl,'
9566 # All OSF/1 code is PIC.
9567 lt_prog_compiler_static
='-non_shared'
9571 lt_prog_compiler_static
='-non_shared'
9575 lt_prog_compiler_pic
='-KPIC'
9576 lt_prog_compiler_static
='-Bstatic'
9577 case $cc_basename in
9579 lt_prog_compiler_wl
='-Qoption ld ';;
9581 lt_prog_compiler_wl
='-Wl,';;
9586 lt_prog_compiler_wl
='-Qoption ld '
9587 lt_prog_compiler_pic
='-PIC'
9588 lt_prog_compiler_static
='-Bstatic'
9591 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9592 lt_prog_compiler_wl
='-Wl,'
9593 lt_prog_compiler_pic
='-KPIC'
9594 lt_prog_compiler_static
='-Bstatic'
9598 if test -d /usr
/nec
;then
9599 lt_prog_compiler_pic
='-Kconform_pic'
9600 lt_prog_compiler_static
='-Bstatic'
9604 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9605 lt_prog_compiler_wl
='-Wl,'
9606 lt_prog_compiler_pic
='-KPIC'
9607 lt_prog_compiler_static
='-Bstatic'
9611 lt_prog_compiler_wl
='-Wl,'
9612 lt_prog_compiler_can_build_shared
=no
9616 lt_prog_compiler_pic
='-pic'
9617 lt_prog_compiler_static
='-Bstatic'
9621 lt_prog_compiler_can_build_shared
=no
9627 # For platforms which do not support PIC, -DPIC is meaningless:
9629 lt_prog_compiler_pic
=
9632 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9636 $as_echo "$lt_prog_compiler_pic" >&6; }
9644 # Check to make sure the PIC flag actually works.
9646 if test -n "$lt_prog_compiler_pic"; then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9649 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9650 $as_echo_n "(cached) " >&6
9652 lt_cv_prog_compiler_pic_works
=no
9653 ac_outfile
=conftest.
$ac_objext
9654 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9655 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9656 # Insert the option either (1) after the last *FLAGS variable, or
9657 # (2) before a word containing "conftest.", or (3) at the end.
9658 # Note that $ac_compile itself does not contain backslashes and begins
9659 # with a dollar sign (not a hyphen), so the echo should work correctly.
9660 # The option is referenced via a variable to avoid confusing sed.
9661 lt_compile
=`echo "$ac_compile" | $SED \
9662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9664 -e 's:$: $lt_compiler_flag:'`
9665 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9666 (eval "$lt_compile" 2>conftest.err
)
9668 cat conftest.err
>&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 if (exit $ac_status) && test -s "$ac_outfile"; then
9671 # The compiler can only warn and ignore the option if not recognized
9672 # So say no if there are warnings other than the usual output.
9673 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9674 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9675 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9676 lt_cv_prog_compiler_pic_works
=yes
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9683 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9685 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9686 case $lt_prog_compiler_pic in
9688 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9691 lt_prog_compiler_pic
=
9692 lt_prog_compiler_can_build_shared
=no
9703 # Check to make sure the static flag actually works.
9705 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9707 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9708 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9709 $as_echo_n "(cached) " >&6
9711 lt_cv_prog_compiler_static_works
=no
9712 save_LDFLAGS
="$LDFLAGS"
9713 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9714 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9715 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9716 # The linker can only warn and ignore the option if not recognized
9717 # So say no if there are warnings
9718 if test -s conftest.err
; then
9719 # Append any errors to the config.log.
9720 cat conftest.err
1>&5
9721 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9722 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9723 if diff conftest.exp conftest.er2
>/dev
/null
; then
9724 lt_cv_prog_compiler_static_works
=yes
9727 lt_cv_prog_compiler_static_works
=yes
9731 LDFLAGS
="$save_LDFLAGS"
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9735 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9737 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9740 lt_prog_compiler_static
=
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9750 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9751 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9752 $as_echo_n "(cached) " >&6
9754 lt_cv_prog_compiler_c_o
=no
9755 $RM -r conftest
2>/dev
/null
9759 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9761 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9762 # Insert the option either (1) after the last *FLAGS variable, or
9763 # (2) before a word containing "conftest.", or (3) at the end.
9764 # Note that $ac_compile itself does not contain backslashes and begins
9765 # with a dollar sign (not a hyphen), so the echo should work correctly.
9766 lt_compile
=`echo "$ac_compile" | $SED \
9767 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9768 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9769 -e 's:$: $lt_compiler_flag:'`
9770 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9771 (eval "$lt_compile" 2>out
/conftest.err
)
9773 cat out
/conftest.err
>&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9777 # The compiler can only warn and ignore the option if not recognized
9778 # So say no if there are warnings
9779 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9780 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9781 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9782 lt_cv_prog_compiler_c_o
=yes
9787 # SGI C++ compiler will create directory out/ii_files/ for
9788 # template instantiation
9789 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9790 $RM out
/* && rmdir out
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9797 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9805 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9806 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9807 $as_echo_n "(cached) " >&6
9809 lt_cv_prog_compiler_c_o
=no
9810 $RM -r conftest
2>/dev
/null
9814 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9816 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9817 # Insert the option either (1) after the last *FLAGS variable, or
9818 # (2) before a word containing "conftest.", or (3) at the end.
9819 # Note that $ac_compile itself does not contain backslashes and begins
9820 # with a dollar sign (not a hyphen), so the echo should work correctly.
9821 lt_compile
=`echo "$ac_compile" | $SED \
9822 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9823 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9824 -e 's:$: $lt_compiler_flag:'`
9825 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9826 (eval "$lt_compile" 2>out
/conftest.err
)
9828 cat out
/conftest.err
>&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9832 # The compiler can only warn and ignore the option if not recognized
9833 # So say no if there are warnings
9834 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9835 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9836 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9837 lt_cv_prog_compiler_c_o
=yes
9842 # SGI C++ compiler will create directory out/ii_files/ for
9843 # template instantiation
9844 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9845 $RM out
/* && rmdir out
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9852 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9857 hard_links
="nottested"
9858 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9859 # do not overwrite the value of need_locks provided by the user
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9861 $as_echo_n "checking if we can lock with hard links... " >&6; }
9864 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9866 ln conftest.a conftest.b
2>&5 || hard_links
=no
9867 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9869 $as_echo "$hard_links" >&6; }
9870 if test "$hard_links" = no
; then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9872 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9885 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9888 allow_undefined_flag
=
9889 always_export_symbols
=no
9891 archive_expsym_cmds
=
9892 compiler_needs_object
=no
9893 enable_shared_with_static_runtimes
=no
9894 export_dynamic_flag_spec
=
9895 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9896 hardcode_automatic
=no
9898 hardcode_direct_absolute
=no
9899 hardcode_libdir_flag_spec
=
9900 hardcode_libdir_flag_spec_ld
=
9901 hardcode_libdir_separator
=
9903 hardcode_shlibpath_var
=unsupported
9905 link_all_deplibs
=unknown
9908 old_archive_from_new_cmds
=
9909 old_archive_from_expsyms_cmds
=
9910 thread_safe_flag_spec
=
9911 whole_archive_flag_spec
=
9912 # include_expsyms should be a list of space-separated symbols to be *always*
9913 # included in the symbol list
9915 # exclude_expsyms can be an extended regexp of symbols to exclude
9916 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9917 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9918 # as well as any symbol that contains `d'.
9919 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9920 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9921 # platforms (ab)use it in PIC code, but their linkers get confused if
9922 # the symbol is explicitly referenced. Since portable code cannot
9923 # rely on this symbol name, it's probably fine to never include it in
9924 # preloaded symbol tables.
9925 # Exclude shared library initialization/finalization symbols.
9926 extract_expsyms_cmds
=
9929 cygwin
* | mingw
* | pw32
* | cegcc
*)
9930 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9931 # When not using gcc, we currently assume that we are using
9932 # Microsoft Visual C++.
9933 if test "$GCC" != yes; then
9938 # we just hope/assume this is gcc and not c89 (= MSVC++)
9948 # On some targets, GNU ld is compatible enough with the native linker
9949 # that we're better off using the native interface for both.
9950 lt_use_gnu_ld_interface
=no
9951 if test "$with_gnu_ld" = yes; then
9954 # The AIX port of GNU ld has always aspired to compatibility
9955 # with the native linker. However, as the warning in the GNU ld
9956 # block says, versions before 2.19.5* couldn't really create working
9957 # shared libraries, regardless of the interface used.
9958 case `$LD -v 2>&1` in
9959 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9960 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9961 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9963 lt_use_gnu_ld_interface
=yes
9968 lt_use_gnu_ld_interface
=yes
9973 if test "$lt_use_gnu_ld_interface" = yes; then
9974 # If archive_cmds runs LD, not CC, wlarc should be empty
9977 # Set some defaults for GNU ld with shared library support. These
9978 # are reset later if shared libraries are not supported. Putting them
9979 # here allows them to be overridden if necessary.
9980 runpath_var
=LD_RUN_PATH
9981 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9982 export_dynamic_flag_spec
='${wl}--export-dynamic'
9983 # ancient GNU ld didn't support --whole-archive et. al.
9984 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9985 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9987 whole_archive_flag_spec
=
9989 supports_anon_versioning
=no
9990 case `$LD -v 2>&1` in
9991 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9992 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9993 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9994 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9995 *\
2.11.
*) ;; # other 2.11 versions
9996 *) supports_anon_versioning
=yes ;;
9999 # See if GNU ld supports shared libraries.
10002 # On AIX/PPC, the GNU linker is very broken
10003 if test "$host_cpu" != ia64
; then
10007 *** Warning: the GNU linker, at least up to release 2.19, is reported
10008 *** to be unable to reliably create shared libraries on AIX.
10009 *** Therefore, libtool is disabling shared libraries support. If you
10010 *** really care for shared libraries, you may want to install binutils
10011 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10012 *** You will then need to restart the configuration process.
10021 # see comment about AmigaOS4 .so support
10022 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10023 archive_expsym_cmds
=''
10026 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)'
10027 hardcode_libdir_flag_spec
='-L$libdir'
10028 hardcode_minus_L
=yes
10034 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10035 allow_undefined_flag
=unsupported
10036 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10037 # support --undefined. This deserves some investigation. FIXME
10038 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10044 cygwin
* | mingw
* | pw32
* | cegcc
*)
10045 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10046 # as there is no search path for DLLs.
10047 hardcode_libdir_flag_spec
='-L$libdir'
10048 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10049 allow_undefined_flag
=unsupported
10050 always_export_symbols
=no
10051 enable_shared_with_static_runtimes
=yes
10052 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10054 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10055 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10056 # If the export-symbols file already is a .def file (1st line
10057 # is EXPORTS), use it as is; otherwise, prepend...
10058 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10059 cp $export_symbols $output_objdir/$soname.def;
10061 echo EXPORTS > $output_objdir/$soname.def;
10062 cat $export_symbols >> $output_objdir/$soname.def;
10064 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10071 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10072 link_all_deplibs
=yes
10077 hardcode_shlibpath_var
=no
10078 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10079 export_dynamic_flag_spec
='${wl}-E'
10080 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10081 # Instead, shared libraries are loaded at an image base (0x10000000 by
10082 # default) and relocated if they conflict, which is a slow very memory
10083 # consuming and fragmenting process. To avoid this, we pick a random,
10084 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10085 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10086 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10087 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'
10090 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10092 if test "$host_os" = linux-dietlibc
; then
10093 case $cc_basename in
10094 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10097 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10098 && test "$tmp_diet" = no
10101 tmp_sharedflag
='-shared'
10102 case $cc_basename,$host_cpu in
10103 pgcc
*) # Portland Group C compiler
10104 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'
10105 tmp_addflag
=' $pic_flag'
10107 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10108 # Portland Group f77 and f90 compilers
10109 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'
10110 tmp_addflag
=' $pic_flag -Mnomain' ;;
10111 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10112 tmp_addflag
=' -i_dynamic' ;;
10113 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10114 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10115 ifc
* | ifort
*) # Intel Fortran compiler
10116 tmp_addflag
=' -nofor_main' ;;
10117 lf95
*) # Lahey Fortran 8.1
10118 whole_archive_flag_spec
=
10119 tmp_sharedflag
='--shared' ;;
10120 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10121 tmp_sharedflag
='-qmkshrobj'
10123 nvcc
*) # Cuda Compiler Driver 2.2
10124 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10125 compiler_needs_object
=yes
10128 case `$CC -V 2>&1 | sed 5q` in
10129 *Sun\ C
*) # Sun C 5.9
10130 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'
10131 compiler_needs_object
=yes
10132 tmp_sharedflag
='-G' ;;
10133 *Sun\ F
*) # Sun Fortran 8.3
10134 tmp_sharedflag
='-G' ;;
10136 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10138 if test "x$supports_anon_versioning" = xyes
; then
10139 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10140 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10141 echo "local: *; };" >> $output_objdir/$libname.ver~
10142 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10145 case $cc_basename in
10146 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10147 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10148 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10149 hardcode_libdir_flag_spec
=
10150 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10151 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10152 if test "x$supports_anon_versioning" = xyes
; then
10153 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10154 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10155 echo "local: *; };" >> $output_objdir/$libname.ver~
10156 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10166 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10167 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10170 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10171 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10176 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10180 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10181 *** create shared libraries on Solaris systems. Therefore, libtool
10182 *** is disabling shared libraries support. We urge you to upgrade GNU
10183 *** binutils to release 2.9.1 or newer. Another option is to modify
10184 *** your PATH or compiler configuration so that the native linker is
10185 *** used, and then restart.
10188 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10189 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10190 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10196 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10197 case `$LD -v 2>&1` in
10198 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10202 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10203 *** reliably create shared libraries on SCO systems. Therefore, libtool
10204 *** is disabling shared libraries support. We urge you to upgrade GNU
10205 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10206 *** your PATH or compiler configuration so that the native linker is
10207 *** used, and then restart.
10212 # For security reasons, it is highly recommended that you always
10213 # use absolute paths for naming shared libraries, and exclude the
10214 # DT_RUNPATH tag from executables and libraries. But doing so
10215 # requires that you compile everything twice, which is a pain.
10216 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10217 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10218 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10219 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10228 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10230 hardcode_direct
=yes
10231 hardcode_shlibpath_var
=no
10235 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10236 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10237 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10244 if test "$ld_shlibs" = no
; then
10246 hardcode_libdir_flag_spec
=
10247 export_dynamic_flag_spec
=
10248 whole_archive_flag_spec
=
10251 # PORTME fill in a description of your system's linker (not GNU ld)
10254 allow_undefined_flag
=unsupported
10255 always_export_symbols
=yes
10256 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'
10257 # Note: this linker hardcodes the directories in LIBPATH if there
10258 # are no directories specified by -L.
10259 hardcode_minus_L
=yes
10260 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10261 # Neither direct hardcoding nor static linking is supported with a
10263 hardcode_direct
=unsupported
10268 if test "$host_cpu" = ia64
; then
10269 # On IA64, the linker does run time linking by default, so we don't
10270 # have to do anything special.
10271 aix_use_runtimelinking
=no
10272 exp_sym_flag
='-Bexport'
10275 # If we're using GNU nm, then we don't want the "-C" option.
10276 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10277 # Also, AIX nm treats weak defined symbols like other global
10278 # defined symbols, whereas GNU nm marks them as "W".
10279 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10280 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'
10282 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'
10284 aix_use_runtimelinking
=no
10286 # Test if we are trying to use run time linking or normal
10287 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10288 # need to do runtime linking.
10289 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10290 for ld_flag
in $LDFLAGS; do
10291 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10292 aix_use_runtimelinking
=yes
10299 exp_sym_flag
='-bexport'
10300 no_entry_flag
='-bnoentry'
10303 # When large executables or shared objects are built, AIX ld can
10304 # have problems creating the table of contents. If linking a library
10305 # or program results in "error TOC overflow" add -mminimal-toc to
10306 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10307 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10310 hardcode_direct
=yes
10311 hardcode_direct_absolute
=yes
10312 hardcode_libdir_separator
=':'
10313 link_all_deplibs
=yes
10314 file_list_spec
='${wl}-f,'
10316 if test "$GCC" = yes; then
10317 case $host_os in aix4.
[012]|aix4.
[012].
*)
10318 # We only want to do this on AIX 4.2 and lower, the check
10319 # below for broken collect2 doesn't work under 4.3+
10320 collect2name
=`${CC} -print-prog-name=collect2`
10321 if test -f "$collect2name" &&
10322 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10324 # We have reworked collect2
10327 # We have old collect2
10328 hardcode_direct
=unsupported
10329 # It fails to find uninstalled libraries when the uninstalled
10330 # path is not listed in the libpath. Setting hardcode_minus_L
10331 # to unsupported forces relinking
10332 hardcode_minus_L
=yes
10333 hardcode_libdir_flag_spec
='-L$libdir'
10334 hardcode_libdir_separator
=
10338 shared_flag
='-shared'
10339 if test "$aix_use_runtimelinking" = yes; then
10340 shared_flag
="$shared_flag "'${wl}-G'
10344 if test "$host_cpu" = ia64
; then
10345 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10346 # chokes on -Wl,-G. The following line is correct:
10349 if test "$aix_use_runtimelinking" = yes; then
10350 shared_flag
='${wl}-G'
10352 shared_flag
='${wl}-bM:SRE'
10357 export_dynamic_flag_spec
='${wl}-bexpall'
10358 # It seems that -bexpall does not export symbols beginning with
10359 # underscore (_), so it is better to generate a list of symbols to export.
10360 always_export_symbols
=yes
10361 if test "$aix_use_runtimelinking" = yes; then
10362 # Warning - without using the other runtime loading flags (-brtl),
10363 # -berok will link without error, but may produce a broken library.
10364 allow_undefined_flag
='-berok'
10365 # Determine the default libpath from the value encoded in an
10366 # empty executable.
10367 if test x
$gcc_no_link = xyes
; then
10368 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10381 if ac_fn_c_try_link
"$LINENO"; then :
10383 lt_aix_libpath_sed
='
10384 /Import File Strings/,/^$/ {
10390 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10391 # Check for a 64-bit object if we didn't find anything.
10392 if test -z "$aix_libpath"; then
10393 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10396 rm -f core conftest.err conftest.
$ac_objext \
10397 conftest
$ac_exeext conftest.
$ac_ext
10398 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10400 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10401 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"
10403 if test "$host_cpu" = ia64
; then
10404 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10405 allow_undefined_flag
="-z nodefs"
10406 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"
10408 # Determine the default libpath from the value encoded in an
10409 # empty executable.
10410 if test x
$gcc_no_link = xyes
; then
10411 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10424 if ac_fn_c_try_link
"$LINENO"; then :
10426 lt_aix_libpath_sed
='
10427 /Import File Strings/,/^$/ {
10433 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10434 # Check for a 64-bit object if we didn't find anything.
10435 if test -z "$aix_libpath"; then
10436 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10439 rm -f core conftest.err conftest.
$ac_objext \
10440 conftest
$ac_exeext conftest.
$ac_ext
10441 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10443 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10444 # Warning - without using the other run time loading flags,
10445 # -berok will link without error, but may produce a broken library.
10446 no_undefined_flag
=' ${wl}-bernotok'
10447 allow_undefined_flag
=' ${wl}-berok'
10448 if test "$with_gnu_ld" = yes; then
10449 # We only use this code for GNU lds that support --whole-archive.
10450 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10452 # Exported symbols can be pulled into shared objects from archives
10453 whole_archive_flag_spec
='$convenience'
10455 archive_cmds_need_lc
=yes
10456 # This is similar to how AIX traditionally builds its shared libraries.
10457 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'
10465 # see comment about AmigaOS4 .so support
10466 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10467 archive_expsym_cmds
=''
10470 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)'
10471 hardcode_libdir_flag_spec
='-L$libdir'
10472 hardcode_minus_L
=yes
10478 export_dynamic_flag_spec
=-rdynamic
10481 cygwin
* | mingw
* | pw32
* | cegcc
*)
10482 # When not using gcc, we currently assume that we are using
10483 # Microsoft Visual C++.
10484 # hardcode_libdir_flag_spec is actually meaningless, as there is
10485 # no search path for DLLs.
10486 hardcode_libdir_flag_spec
=' '
10487 allow_undefined_flag
=unsupported
10488 # Tell ltmain to make .lib files, not .a files.
10490 # Tell ltmain to make .dll files, not .so files.
10492 # FIXME: Setting linknames here is a bad hack.
10493 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10494 # The linker will automatically build a .lib file if we build a DLL.
10495 old_archive_from_new_cmds
='true'
10496 # FIXME: Should let the user specify the lib program.
10497 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10498 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10499 enable_shared_with_static_runtimes
=yes
10502 darwin
* | rhapsody
*)
10505 archive_cmds_need_lc
=no
10507 hardcode_automatic
=yes
10508 hardcode_shlibpath_var
=unsupported
10509 if test "$lt_cv_ld_force_load" = "yes"; then
10510 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\"`'
10512 whole_archive_flag_spec
=''
10514 link_all_deplibs
=yes
10515 allow_undefined_flag
="$_lt_dar_allow_undefined"
10516 case $cc_basename in
10517 ifort
*) _lt_dar_can_shared
=yes ;;
10518 *) _lt_dar_can_shared
=$GCC ;;
10520 if test "$_lt_dar_can_shared" = "yes"; then
10521 output_verbose_link_cmd
=func_echo_all
10522 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10523 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10524 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}"
10525 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}"
10534 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10535 hardcode_libdir_flag_spec
='-L$libdir'
10536 hardcode_shlibpath_var
=no
10539 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10540 # support. Future versions do this automatically, but an explicit c++rt0.o
10541 # does not break anything, and helps significantly (at the cost of a little
10544 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10545 hardcode_libdir_flag_spec
='-R$libdir'
10546 hardcode_direct
=yes
10547 hardcode_shlibpath_var
=no
10550 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10552 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10553 hardcode_direct
=yes
10554 hardcode_minus_L
=yes
10555 hardcode_shlibpath_var
=no
10558 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10559 freebsd
* | dragonfly
*)
10560 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10561 hardcode_libdir_flag_spec
='-R$libdir'
10562 hardcode_direct
=yes
10563 hardcode_shlibpath_var
=no
10567 if test "$GCC" = yes; then
10568 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'
10570 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'
10572 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10573 hardcode_libdir_separator
=:
10574 hardcode_direct
=yes
10576 # hardcode_minus_L: Not really in the search PATH,
10577 # but as the default location of the library.
10578 hardcode_minus_L
=yes
10579 export_dynamic_flag_spec
='${wl}-E'
10583 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10584 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10586 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10588 if test "$with_gnu_ld" = no
; then
10589 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10590 hardcode_libdir_flag_spec_ld
='+b $libdir'
10591 hardcode_libdir_separator
=:
10592 hardcode_direct
=yes
10593 hardcode_direct_absolute
=yes
10594 export_dynamic_flag_spec
='${wl}-E'
10595 # hardcode_minus_L: Not really in the search PATH,
10596 # but as the default location of the library.
10597 hardcode_minus_L
=yes
10602 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10605 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10608 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10611 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10624 # Older versions of the 11.00 compiler do not understand -b yet
10625 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10627 $as_echo_n "checking if $CC understands -b... " >&6; }
10628 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10629 $as_echo_n "(cached) " >&6
10631 lt_cv_prog_compiler__b
=no
10632 save_LDFLAGS
="$LDFLAGS"
10633 LDFLAGS
="$LDFLAGS -b"
10634 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10635 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10636 # The linker can only warn and ignore the option if not recognized
10637 # So say no if there are warnings
10638 if test -s conftest.err
; then
10639 # Append any errors to the config.log.
10640 cat conftest.err
1>&5
10641 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10642 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10643 if diff conftest.exp conftest.er2
>/dev
/null
; then
10644 lt_cv_prog_compiler__b
=yes
10647 lt_cv_prog_compiler__b
=yes
10651 LDFLAGS
="$save_LDFLAGS"
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10655 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10657 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10658 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10660 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10666 if test "$with_gnu_ld" = no
; then
10667 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10668 hardcode_libdir_separator
=:
10673 hardcode_shlibpath_var
=no
10676 hardcode_direct
=yes
10677 hardcode_direct_absolute
=yes
10678 export_dynamic_flag_spec
='${wl}-E'
10680 # hardcode_minus_L: Not really in the search PATH,
10681 # but as the default location of the library.
10682 hardcode_minus_L
=yes
10688 irix5
* | irix6
* | nonstopux
*)
10689 if test "$GCC" = yes; then
10690 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'
10691 # Try to use the -exported_symbol ld option, if it does not
10692 # work, assume that -exports_file does not work either and
10693 # implicitly export all symbols.
10694 save_LDFLAGS
="$LDFLAGS"
10695 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10696 if test x
$gcc_no_link = xyes
; then
10697 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10703 if ac_fn_c_try_link
"$LINENO"; then :
10704 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'
10707 rm -f core conftest.err conftest.
$ac_objext \
10708 conftest
$ac_exeext conftest.
$ac_ext
10709 LDFLAGS
="$save_LDFLAGS"
10711 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'
10712 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'
10714 archive_cmds_need_lc
='no'
10715 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10716 hardcode_libdir_separator
=:
10718 link_all_deplibs
=yes
10722 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10723 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10725 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10727 hardcode_libdir_flag_spec
='-R$libdir'
10728 hardcode_direct
=yes
10729 hardcode_shlibpath_var
=no
10733 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10734 hardcode_direct
=yes
10735 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10736 hardcode_libdir_separator
=:
10737 hardcode_shlibpath_var
=no
10744 if test -f /usr
/libexec
/ld.so
; then
10745 hardcode_direct
=yes
10746 hardcode_shlibpath_var
=no
10747 hardcode_direct_absolute
=yes
10748 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10749 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10751 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10752 export_dynamic_flag_spec
='${wl}-E'
10755 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10756 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10757 hardcode_libdir_flag_spec
='-R$libdir'
10760 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10761 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10771 hardcode_libdir_flag_spec
='-L$libdir'
10772 hardcode_minus_L
=yes
10773 allow_undefined_flag
=unsupported
10774 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'
10775 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10779 if test "$GCC" = yes; then
10780 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10781 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'
10783 allow_undefined_flag
=' -expect_unresolved \*'
10784 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'
10786 archive_cmds_need_lc
='no'
10787 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10788 hardcode_libdir_separator
=:
10791 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10792 if test "$GCC" = yes; then
10793 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10794 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'
10795 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10797 allow_undefined_flag
=' -expect_unresolved \*'
10798 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'
10799 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~
10800 $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'
10802 # Both c and cxx compiler support -rpath directly
10803 hardcode_libdir_flag_spec
='-rpath $libdir'
10805 archive_cmds_need_lc
='no'
10806 hardcode_libdir_separator
=:
10810 no_undefined_flag
=' -z defs'
10811 if test "$GCC" = yes; then
10813 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10815 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10817 case `$CC -V 2>&1` in
10820 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10821 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10822 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10826 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10827 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10828 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10832 hardcode_libdir_flag_spec
='-R$libdir'
10833 hardcode_shlibpath_var
=no
10835 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10837 # The compiler driver will combine and reorder linker options,
10838 # but understands `-z linker_flag'. GCC discards it without `$wl',
10839 # but is careful enough not to reorder.
10840 # Supported since Solaris 2.6 (maybe 2.5.1?)
10841 if test "$GCC" = yes; then
10842 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10844 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10848 link_all_deplibs
=yes
10852 if test "x$host_vendor" = xsequent
; then
10853 # Use $CC to link under sequent, because it throws in some extra .o
10854 # files that make .init and .fini sections work.
10855 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10857 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10859 hardcode_libdir_flag_spec
='-L$libdir'
10860 hardcode_direct
=yes
10861 hardcode_minus_L
=yes
10862 hardcode_shlibpath_var
=no
10866 case $host_vendor in
10868 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10869 hardcode_direct
=yes # is this really true???
10872 ## LD is ld it makes a PLAMLIB
10873 ## CC just makes a GrossModule.
10874 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10875 reload_cmds
='$CC -r -o $output$reload_objs'
10879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10880 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10883 runpath_var
='LD_RUN_PATH'
10884 hardcode_shlibpath_var
=no
10888 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10889 hardcode_shlibpath_var
=no
10890 export_dynamic_flag_spec
='-Bexport'
10894 if test -d /usr
/nec
; then
10895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_shlibpath_var
=no
10897 runpath_var
=LD_RUN_PATH
10898 hardcode_runpath_var
=yes
10903 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10904 no_undefined_flag
='${wl}-z,text'
10905 archive_cmds_need_lc
=no
10906 hardcode_shlibpath_var
=no
10907 runpath_var
='LD_RUN_PATH'
10909 if test "$GCC" = yes; then
10910 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10911 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10913 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10918 sysv5
* | sco3.2v5
* | sco5v6
*)
10919 # Note: We can NOT use -z defs as we might desire, because we do not
10920 # link with -lc, and that would cause any symbols used from libc to
10921 # always be unresolved, which means just about no library would
10922 # ever link correctly. If we're not using GNU ld we use -z text
10923 # though, which does catch some bad symbols but isn't as heavy-handed
10925 no_undefined_flag
='${wl}-z,text'
10926 allow_undefined_flag
='${wl}-z,nodefs'
10927 archive_cmds_need_lc
=no
10928 hardcode_shlibpath_var
=no
10929 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10930 hardcode_libdir_separator
=':'
10931 link_all_deplibs
=yes
10932 export_dynamic_flag_spec
='${wl}-Bexport'
10933 runpath_var
='LD_RUN_PATH'
10935 if test "$GCC" = yes; then
10936 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10937 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10939 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10940 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10945 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10946 hardcode_libdir_flag_spec
='-L$libdir'
10947 hardcode_shlibpath_var
=no
10955 if test x
$host_vendor = xsni
; then
10957 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10958 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10965 $as_echo "$ld_shlibs" >&6; }
10966 test "$ld_shlibs" = no
&& can_build_shared
=no
10968 with_gnu_ld
=$with_gnu_ld
10985 # Do we need to explicitly link libc?
10987 case "x$archive_cmds_need_lc" in
10989 # Assume -lc should be added
10990 archive_cmds_need_lc
=yes
10992 if test "$enable_shared" = yes && test "$GCC" = yes; then
10993 case $archive_cmds in
10995 # FIXME: we may have to deal with multi-command sequences.
10998 # Test whether the compiler implicitly links with -lc since on some
10999 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11000 # to ld, don't add -lc before -lgcc.
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11002 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11003 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11004 $as_echo_n "(cached) " >&6
11007 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11010 (eval $ac_compile) 2>&5
11012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11013 test $ac_status = 0; } 2>conftest.err
; then
11016 libobjs
=conftest.
$ac_objext
11018 wl
=$lt_prog_compiler_wl
11019 pic_flag
=$lt_prog_compiler_pic
11025 lt_save_allow_undefined_flag
=$allow_undefined_flag
11026 allow_undefined_flag
=
11027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11028 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11031 test $ac_status = 0; }
11033 lt_cv_archive_cmds_need_lc
=no
11035 lt_cv_archive_cmds_need_lc
=yes
11037 allow_undefined_flag
=$lt_save_allow_undefined_flag
11039 cat conftest.err
1>&5
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11045 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11046 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11210 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11212 if test "$GCC" = yes; then
11214 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11215 *) lt_awk_arg
="/^libraries:/" ;;
11218 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11219 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11221 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11222 case $lt_search_path_spec in
11224 # if the path contains ";" then we assume it to be the separator
11225 # otherwise default to the standard path separator (i.e. ":") - it is
11226 # assumed that no part of a normal pathname contains ";" but that should
11227 # okay in the real world where ";" in dirpaths is itself problematic.
11228 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11231 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11234 # Ok, now we have the path, separated by spaces, we can step through it
11235 # and add multilib dir if necessary.
11236 lt_tmp_lt_search_path_spec
=
11237 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11238 for lt_sys_path
in $lt_search_path_spec; do
11239 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11240 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11242 test -d "$lt_sys_path" && \
11243 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11246 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11247 BEGIN {RS=" "; FS="/|\n";} {
11250 for (lt_i = NF; lt_i > 0; lt_i--) {
11251 if ($lt_i != "" && $lt_i != ".") {
11252 if ($lt_i == "..") {
11255 if (lt_count == 0) {
11256 lt_foo="/" $lt_i lt_foo;
11263 if (lt_foo != "") { lt_freq[lt_foo]++; }
11264 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11266 # AWK program above erroneously prepends '/' to C:/dos/paths
11269 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11270 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11272 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11274 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11276 library_names_spec
=
11277 libname_spec
='lib$name'
11281 postuninstall_cmds
=
11285 shlibpath_overrides_runpath
=unknown
11287 dynamic_linker
="$host_os ld.so"
11288 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11289 need_lib_prefix
=unknown
11290 hardcode_into_libs
=no
11292 # when you set need_version to no, make sure it does not cause -set_version
11293 # flags to be left without arguments
11294 need_version
=unknown
11299 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11300 shlibpath_var
=LIBPATH
11302 # AIX 3 has no versioning support, so we append a major version to the name.
11303 soname_spec
='${libname}${release}${shared_ext}$major'
11310 hardcode_into_libs
=yes
11311 if test "$host_cpu" = ia64
; then
11312 # AIX 5 supports IA64
11313 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11314 shlibpath_var
=LD_LIBRARY_PATH
11316 # With GCC up to 2.95.x, collect2 would create an import file
11317 # for dependence libraries. The import file would start with
11318 # the line `#! .'. This would cause the generated library to
11319 # depend on `.', always an invalid library. This was fixed in
11320 # development snapshots of GCC prior to 3.0.
11322 aix4 | aix4.
[01] | aix4.
[01].
*)
11323 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11325 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11328 can_build_shared
=no
11332 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11333 # soname into executable. Probably we can add versioning support to
11334 # collect2, so additional links can be useful in future.
11335 if test "$aix_use_runtimelinking" = yes; then
11336 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11337 # instead of lib<name>.a to let people know that these are not
11338 # typical AIX shared libraries.
11339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11341 # We preserve .a as extension for shared libraries through AIX4.2
11342 # and later when we are not doing run time linking.
11343 library_names_spec
='${libname}${release}.a $libname.a'
11344 soname_spec
='${libname}${release}${shared_ext}$major'
11346 shlibpath_var
=LIBPATH
11353 # Since July 2007 AmigaOS4 officially supports .so libraries.
11354 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358 library_names_spec
='$libname.ixlibrary $libname.a'
11359 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11360 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'
11366 library_names_spec
='${libname}${shared_ext}'
11367 dynamic_linker
="$host_os ld.so"
11368 shlibpath_var
=LIBRARY_PATH
11374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11375 soname_spec
='${libname}${release}${shared_ext}$major'
11376 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11377 shlibpath_var
=LD_LIBRARY_PATH
11378 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11379 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11380 # the default ld.so.conf also contains /usr/contrib/lib and
11381 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11382 # libtool to hard-code these into programs
11385 cygwin
* | mingw
* | pw32
* | cegcc
*)
11386 version_type
=windows
11391 case $GCC,$host_os in
11392 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11393 library_names_spec
='$libname.dll.a'
11394 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11395 postinstall_cmds
='base_file=`basename \${file}`~
11396 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11397 dldir=$destdir/`dirname \$dlpath`~
11398 test -d \$dldir || mkdir -p \$dldir~
11399 $install_prog $dir/$dlname \$dldir/$dlname~
11400 chmod a+x \$dldir/$dlname~
11401 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11402 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11404 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11405 dlpath=$dir/\$dldll~
11407 shlibpath_overrides_runpath
=yes
11411 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11412 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11414 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11417 # MinGW DLLs use traditional 'lib' prefix
11418 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11421 # pw32 DLLs use 'pw' prefix rather than 'lib'
11422 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11428 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11431 dynamic_linker
='Win32 ld.exe'
11432 # FIXME: first we should search . and the directory the executable is in
11436 darwin
* | rhapsody
*)
11437 dynamic_linker
="$host_os dyld"
11438 version_type
=darwin
11441 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11442 soname_spec
='${libname}${release}${major}$shared_ext'
11443 shlibpath_overrides_runpath
=yes
11444 shlibpath_var
=DYLD_LIBRARY_PATH
11445 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11447 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11448 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11456 soname_spec
='${libname}${release}${shared_ext}$major'
11457 shlibpath_var
=LD_LIBRARY_PATH
11460 freebsd
* | dragonfly
*)
11461 # DragonFly does not have aout. When/if they implement a new
11462 # versioning mechanism, adjust this.
11463 if test -x /usr
/bin
/objformat
; then
11464 objformat
=`/usr/bin/objformat`
11467 freebsd
[23].
*) objformat
=aout
;;
11468 *) objformat
=elf
;;
11471 version_type
=freebsd-
$objformat
11472 case $version_type in
11474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11479 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11483 shlibpath_var
=LD_LIBRARY_PATH
11486 shlibpath_overrides_runpath
=yes
11488 freebsd3.
[01]* | freebsdelf3.
[01]*)
11489 shlibpath_overrides_runpath
=yes
11490 hardcode_into_libs
=yes
11492 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11493 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11494 shlibpath_overrides_runpath
=no
11495 hardcode_into_libs
=yes
11497 *) # from 4.6 on, and DragonFly
11498 shlibpath_overrides_runpath
=yes
11499 hardcode_into_libs
=yes
11508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11509 soname_spec
='${libname}${release}${shared_ext}$major'
11510 shlibpath_var
=LD_LIBRARY_PATH
11511 hardcode_into_libs
=yes
11518 dynamic_linker
="$host_os runtime_loader"
11519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11520 soname_spec
='${libname}${release}${shared_ext}$major'
11521 shlibpath_var
=LIBRARY_PATH
11522 shlibpath_overrides_runpath
=yes
11523 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11524 hardcode_into_libs
=yes
11527 hpux9
* | hpux10
* | hpux11
*)
11528 # Give a soname corresponding to the major version so that dld.sl refuses to
11529 # link against other versions.
11536 hardcode_into_libs
=yes
11537 dynamic_linker
="$host_os dld.so"
11538 shlibpath_var
=LD_LIBRARY_PATH
11539 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11541 soname_spec
='${libname}${release}${shared_ext}$major'
11542 if test "X$HPUX_IA64_MODE" = X32
; then
11543 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11545 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11547 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11551 hardcode_into_libs
=yes
11552 dynamic_linker
="$host_os dld.sl"
11553 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11554 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556 soname_spec
='${libname}${release}${shared_ext}$major'
11557 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11558 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11562 dynamic_linker
="$host_os dld.sl"
11563 shlibpath_var
=SHLIB_PATH
11564 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11566 soname_spec
='${libname}${release}${shared_ext}$major'
11569 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11570 postinstall_cmds
='chmod 555 $lib'
11571 # or fails outright, so override atomically:
11572 install_override_mode
=555
11579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11580 soname_spec
='${libname}${release}${shared_ext}$major'
11581 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11582 shlibpath_var
=LD_LIBRARY_PATH
11583 shlibpath_overrides_runpath
=no
11584 hardcode_into_libs
=yes
11587 irix5
* | irix6
* | nonstopux
*)
11589 nonstopux
*) version_type
=nonstopux
;;
11591 if test "$lt_cv_prog_gnu_ld" = yes; then
11599 soname_spec
='${libname}${release}${shared_ext}$major'
11600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11602 irix5
* | nonstopux
*)
11603 libsuff
= shlibsuff
=
11606 case $LD in # libtool.m4 will add one of these switches to LD
11607 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11608 libsuff
= shlibsuff
= libmagic
=32-bit;;
11609 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11610 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11611 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11612 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11613 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11617 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11618 shlibpath_overrides_runpath
=no
11619 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11620 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11621 hardcode_into_libs
=yes
11624 # No shared lib support for Linux oldld, aout, or coff.
11625 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11629 # This must be Linux ELF.
11630 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11635 soname_spec
='${libname}${release}${shared_ext}$major'
11636 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11637 shlibpath_var
=LD_LIBRARY_PATH
11638 shlibpath_overrides_runpath
=no
11640 # Some binutils ld are patched to set DT_RUNPATH
11641 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11642 $as_echo_n "(cached) " >&6
11644 lt_cv_shlibpath_overrides_runpath
=no
11645 save_LDFLAGS
=$LDFLAGS
11646 save_libdir
=$libdir
11647 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11648 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11649 if test x
$gcc_no_link = xyes
; then
11650 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11663 if ac_fn_c_try_link
"$LINENO"; then :
11664 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11665 lt_cv_shlibpath_overrides_runpath
=yes
11668 rm -f core conftest.err conftest.
$ac_objext \
11669 conftest
$ac_exeext conftest.
$ac_ext
11670 LDFLAGS
=$save_LDFLAGS
11671 libdir
=$save_libdir
11675 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11677 # This implies no fast_install, which is unacceptable.
11678 # Some rework will be needed to allow for fast_install
11679 # before this can be enabled.
11680 hardcode_into_libs
=yes
11682 # Append ld.so.conf contents to the search path
11683 if test -f /etc
/ld.so.conf
; then
11684 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' ' '`
11685 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11688 # We used to test for /lib/ld.so.1 and disable shared libraries on
11689 # powerpc, because MkLinux only supported shared libraries with the
11690 # GNU dynamic linker. Since this was broken with cross compilers,
11691 # most powerpc-linux boxes support dynamic linking these days and
11692 # people can always --disable-shared, the test was removed, and we
11693 # assume the GNU/Linux dynamic linker is in use.
11694 dynamic_linker
='GNU/Linux ld.so'
11701 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11703 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11704 dynamic_linker
='NetBSD (a.out) ld.so'
11706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11707 soname_spec
='${libname}${release}${shared_ext}$major'
11708 dynamic_linker
='NetBSD ld.elf_so'
11710 shlibpath_var
=LD_LIBRARY_PATH
11711 shlibpath_overrides_runpath
=yes
11712 hardcode_into_libs
=yes
11717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11718 shlibpath_var
=LD_LIBRARY_PATH
11719 shlibpath_overrides_runpath
=yes
11726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11727 soname_spec
='${libname}${release}${shared_ext}$major'
11728 shlibpath_var
=LD_LIBRARY_PATH
11729 shlibpath_overrides_runpath
=no
11730 hardcode_into_libs
=yes
11731 dynamic_linker
='ldqnx.so'
11736 sys_lib_dlsearch_path_spec
="/usr/lib"
11738 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11740 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11741 *) need_version
=no
;;
11743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11744 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11745 shlibpath_var
=LD_LIBRARY_PATH
11746 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11748 openbsd2.
[89] | openbsd2.
[89].
*)
11749 shlibpath_overrides_runpath
=no
11752 shlibpath_overrides_runpath
=yes
11756 shlibpath_overrides_runpath
=yes
11761 libname_spec
='$name'
11764 library_names_spec
='$libname${shared_ext} $libname.a'
11765 dynamic_linker
='OS/2 ld.exe'
11766 shlibpath_var
=LIBPATH
11769 osf3
* | osf4
* | osf5
*)
11773 soname_spec
='${libname}${release}${shared_ext}$major'
11774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11775 shlibpath_var
=LD_LIBRARY_PATH
11776 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11777 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11789 soname_spec
='${libname}${release}${shared_ext}$major'
11790 shlibpath_var
=LD_LIBRARY_PATH
11791 shlibpath_overrides_runpath
=yes
11792 hardcode_into_libs
=yes
11793 # ldd complains unless libraries are executable
11794 postinstall_cmds
='chmod +x $lib'
11799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11800 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11801 shlibpath_var
=LD_LIBRARY_PATH
11802 shlibpath_overrides_runpath
=yes
11803 if test "$with_gnu_ld" = yes; then
11811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11812 soname_spec
='${libname}${release}${shared_ext}$major'
11813 shlibpath_var
=LD_LIBRARY_PATH
11814 case $host_vendor in
11816 shlibpath_overrides_runpath
=no
11818 runpath_var
=LD_RUN_PATH
11826 shlibpath_overrides_runpath
=no
11827 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11833 if test -d /usr
/nec
;then
11835 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11836 soname_spec
='$libname${shared_ext}.$major'
11837 shlibpath_var
=LD_LIBRARY_PATH
11841 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11842 version_type
=freebsd-elf
11845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11846 soname_spec
='${libname}${release}${shared_ext}$major'
11847 shlibpath_var
=LD_LIBRARY_PATH
11848 shlibpath_overrides_runpath
=yes
11849 hardcode_into_libs
=yes
11850 if test "$with_gnu_ld" = yes; then
11851 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11853 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11856 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11860 sys_lib_dlsearch_path_spec
='/usr/lib'
11864 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11869 shlibpath_var
=LD_LIBRARY_PATH
11870 shlibpath_overrides_runpath
=no
11871 hardcode_into_libs
=yes
11876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11877 soname_spec
='${libname}${release}${shared_ext}$major'
11878 shlibpath_var
=LD_LIBRARY_PATH
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11886 $as_echo "$dynamic_linker" >&6; }
11887 test "$dynamic_linker" = no
&& can_build_shared
=no
11889 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11890 if test "$GCC" = yes; then
11891 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11894 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11895 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11897 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11898 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11993 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11995 if test -n "$hardcode_libdir_flag_spec" ||
11996 test -n "$runpath_var" ||
11997 test "X$hardcode_automatic" = "Xyes" ; then
11999 # We can hardcode non-existent directories.
12000 if test "$hardcode_direct" != no
&&
12001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12002 # have to relink, otherwise we might link with an installed library
12003 # when we should be linking with a yet-to-be-installed one
12004 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12005 test "$hardcode_minus_L" != no
; then
12006 # Linking always hardcodes the temporary library directory.
12007 hardcode_action
=relink
12009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12010 hardcode_action
=immediate
12013 # We cannot hardcode anything, or else we can only hardcode existing
12015 hardcode_action
=unsupported
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12018 $as_echo "$hardcode_action" >&6; }
12020 if test "$hardcode_action" = relink ||
12021 test "$inherit_rpath" = yes; then
12022 # Fast installation is not supported
12023 enable_fast_install
=no
12024 elif test "$shlibpath_overrides_runpath" = yes ||
12025 test "$enable_shared" = no
; then
12026 # Fast installation is not necessary
12027 enable_fast_install
=needless
12035 if test "x$enable_dlopen" != xyes
; then
12036 enable_dlopen
=unknown
12037 enable_dlopen_self
=unknown
12038 enable_dlopen_self_static
=unknown
12045 lt_cv_dlopen
="load_add_on"
12047 lt_cv_dlopen_self
=yes
12050 mingw
* | pw32
* | cegcc
*)
12051 lt_cv_dlopen
="LoadLibrary"
12056 lt_cv_dlopen
="dlopen"
12061 # if libdl is installed we need to link against it
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12063 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12064 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12065 $as_echo_n "(cached) " >&6
12067 ac_check_lib_save_LIBS
=$LIBS
12069 if test x
$gcc_no_link = xyes
; then
12070 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12090 if ac_fn_c_try_link
"$LINENO"; then :
12091 ac_cv_lib_dl_dlopen
=yes
12093 ac_cv_lib_dl_dlopen
=no
12095 rm -f core conftest.err conftest.
$ac_objext \
12096 conftest
$ac_exeext conftest.
$ac_ext
12097 LIBS
=$ac_check_lib_save_LIBS
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12100 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12101 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12102 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12105 lt_cv_dlopen
="dyld"
12107 lt_cv_dlopen_self
=yes
12114 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12115 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12116 lt_cv_dlopen
="shl_load"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12119 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12120 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12121 $as_echo_n "(cached) " >&6
12123 ac_check_lib_save_LIBS
=$LIBS
12125 if test x
$gcc_no_link = xyes
; then
12126 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12141 return shl_load ();
12146 if ac_fn_c_try_link
"$LINENO"; then :
12147 ac_cv_lib_dld_shl_load
=yes
12149 ac_cv_lib_dld_shl_load
=no
12151 rm -f core conftest.err conftest.
$ac_objext \
12152 conftest
$ac_exeext conftest.
$ac_ext
12153 LIBS
=$ac_check_lib_save_LIBS
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12156 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12157 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12158 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12160 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12161 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12162 lt_cv_dlopen
="dlopen"
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12165 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12166 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12167 $as_echo_n "(cached) " >&6
12169 ac_check_lib_save_LIBS
=$LIBS
12171 if test x
$gcc_no_link = xyes
; then
12172 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12177 /* Override any GCC internal prototype to avoid an error.
12178 Use char because int might match the return type of a GCC
12179 builtin and then its argument prototype would still apply. */
12192 if ac_fn_c_try_link
"$LINENO"; then :
12193 ac_cv_lib_dl_dlopen
=yes
12195 ac_cv_lib_dl_dlopen
=no
12197 rm -f core conftest.err conftest.
$ac_objext \
12198 conftest
$ac_exeext conftest.
$ac_ext
12199 LIBS
=$ac_check_lib_save_LIBS
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12202 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12203 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12204 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12207 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12208 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12209 $as_echo_n "(cached) " >&6
12211 ac_check_lib_save_LIBS
=$LIBS
12212 LIBS
="-lsvld $LIBS"
12213 if test x
$gcc_no_link = xyes
; then
12214 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12219 /* Override any GCC internal prototype to avoid an error.
12220 Use char because int might match the return type of a GCC
12221 builtin and then its argument prototype would still apply. */
12234 if ac_fn_c_try_link
"$LINENO"; then :
12235 ac_cv_lib_svld_dlopen
=yes
12237 ac_cv_lib_svld_dlopen
=no
12239 rm -f core conftest.err conftest.
$ac_objext \
12240 conftest
$ac_exeext conftest.
$ac_ext
12241 LIBS
=$ac_check_lib_save_LIBS
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12244 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12245 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12246 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12249 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12250 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12251 $as_echo_n "(cached) " >&6
12253 ac_check_lib_save_LIBS
=$LIBS
12255 if test x
$gcc_no_link = xyes
; then
12256 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12271 return dld_link ();
12276 if ac_fn_c_try_link
"$LINENO"; then :
12277 ac_cv_lib_dld_dld_link
=yes
12279 ac_cv_lib_dld_dld_link
=no
12281 rm -f core conftest.err conftest.
$ac_objext \
12282 conftest
$ac_exeext conftest.
$ac_ext
12283 LIBS
=$ac_check_lib_save_LIBS
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12286 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12287 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12288 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12309 if test "x$lt_cv_dlopen" != xno
; then
12315 case $lt_cv_dlopen in
12317 save_CPPFLAGS
="$CPPFLAGS"
12318 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12320 save_LDFLAGS
="$LDFLAGS"
12321 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12324 LIBS
="$lt_cv_dlopen_libs $LIBS"
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12327 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12328 if test "${lt_cv_dlopen_self+set}" = set; then :
12329 $as_echo_n "(cached) " >&6
12331 if test "$cross_compiling" = yes; then :
12332 lt_cv_dlopen_self
=cross
12334 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12335 lt_status
=$lt_dlunknown
12336 cat > conftest.
$ac_ext <<_LT_EOF
12337 #line 12337 "configure"
12338 #include "confdefs.h"
12347 # define LT_DLGLOBAL RTLD_GLOBAL
12350 # define LT_DLGLOBAL DL_GLOBAL
12352 # define LT_DLGLOBAL 0
12356 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12357 find out it does not work in some platform. */
12358 #ifndef LT_DLLAZY_OR_NOW
12360 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12363 # define LT_DLLAZY_OR_NOW DL_LAZY
12366 # define LT_DLLAZY_OR_NOW RTLD_NOW
12369 # define LT_DLLAZY_OR_NOW DL_NOW
12371 # define LT_DLLAZY_OR_NOW 0
12378 /* When -fvisbility=hidden is used, assume the code has been annotated
12379 correspondingly for the symbols needed. */
12380 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12381 void fnord () __attribute__((visibility("default")));
12384 void fnord () { int i=42; }
12387 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12388 int status = $lt_dlunknown;
12392 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12395 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12396 else puts (dlerror ());
12398 /* dlclose (self); */
12406 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12407 (eval $ac_link) 2>&5
12409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12410 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12411 (.
/conftest
; exit; ) >&5 2>/dev
/null
12413 case x
$lt_status in
12414 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12415 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12416 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12419 # compilation failed
12420 lt_cv_dlopen_self
=no
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12428 $as_echo "$lt_cv_dlopen_self" >&6; }
12430 if test "x$lt_cv_dlopen_self" = xyes
; then
12431 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12433 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12434 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12435 $as_echo_n "(cached) " >&6
12437 if test "$cross_compiling" = yes; then :
12438 lt_cv_dlopen_self_static
=cross
12440 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12441 lt_status
=$lt_dlunknown
12442 cat > conftest.
$ac_ext <<_LT_EOF
12443 #line 12443 "configure"
12444 #include "confdefs.h"
12453 # define LT_DLGLOBAL RTLD_GLOBAL
12456 # define LT_DLGLOBAL DL_GLOBAL
12458 # define LT_DLGLOBAL 0
12462 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12463 find out it does not work in some platform. */
12464 #ifndef LT_DLLAZY_OR_NOW
12466 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12469 # define LT_DLLAZY_OR_NOW DL_LAZY
12472 # define LT_DLLAZY_OR_NOW RTLD_NOW
12475 # define LT_DLLAZY_OR_NOW DL_NOW
12477 # define LT_DLLAZY_OR_NOW 0
12484 /* When -fvisbility=hidden is used, assume the code has been annotated
12485 correspondingly for the symbols needed. */
12486 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12487 void fnord () __attribute__((visibility("default")));
12490 void fnord () { int i=42; }
12493 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12494 int status = $lt_dlunknown;
12498 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12501 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12502 else puts (dlerror ());
12504 /* dlclose (self); */
12512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12513 (eval $ac_link) 2>&5
12515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12516 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12517 (.
/conftest
; exit; ) >&5 2>/dev
/null
12519 case x
$lt_status in
12520 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12521 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12522 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12525 # compilation failed
12526 lt_cv_dlopen_self_static
=no
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12534 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12537 CPPFLAGS
="$save_CPPFLAGS"
12538 LDFLAGS
="$save_LDFLAGS"
12543 case $lt_cv_dlopen_self in
12544 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12545 *) enable_dlopen_self
=unknown
;;
12548 case $lt_cv_dlopen_self_static in
12549 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12550 *) enable_dlopen_self_static
=unknown
;;
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12573 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12574 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12575 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12576 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12578 $as_echo "yes" >&6; }
12580 # FIXME - insert some real tests, host_os isn't really good enough
12583 if test -n "$STRIP" ; then
12584 striplib
="$STRIP -x"
12585 old_striplib
="$STRIP -S"
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12587 $as_echo "yes" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590 $as_echo "no" >&6; }
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12595 $as_echo "no" >&6; }
12611 # Report which library types will actually be built
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12613 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12615 $as_echo "$can_build_shared" >&6; }
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12618 $as_echo_n "checking whether to build shared libraries... " >&6; }
12619 test "$can_build_shared" = "no" && enable_shared
=no
12621 # On AIX, shared libraries and static libraries use the same namespace, and
12622 # are all built from PIC.
12625 test "$enable_shared" = yes && enable_static
=no
12626 if test -n "$RANLIB"; then
12627 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12628 postinstall_cmds
='$RANLIB $lib'
12633 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12634 test "$enable_shared" = yes && enable_static
=no
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12639 $as_echo "$enable_shared" >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12642 $as_echo_n "checking whether to build static libraries... " >&6; }
12643 # Make sure either enable_shared or enable_static is yes.
12644 test "$enable_shared" = yes || enable_static
=yes
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12646 $as_echo "$enable_static" >&6; }
12653 ac_cpp
='$CPP $CPPFLAGS'
12654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12672 ac_config_commands
="$ac_config_commands libtool"
12677 # Only expand once:
12684 *-cygwin* |
*-mingw*)
12685 # 'host' will be top-level target in the case of a target lib,
12686 # we must compare to with_cross_host to decide if this is a native
12687 # or cross-compiler and select where to install dlls appropriately.
12688 if test -n "$with_cross_host" &&
12689 test x
"$with_cross_host" != x
"no"; then
12690 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12692 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12704 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12706 # We need gfortran to compile parts of the library
12707 #AC_PROG_FC(gfortran)
12709 ac_ext
=${ac_fc_srcext-f}
12710 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12711 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12712 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12713 if test -n "$ac_tool_prefix"; then
12714 for ac_prog
in gfortran
12716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12717 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12719 $as_echo_n "checking for $ac_word... " >&6; }
12720 if test "${ac_cv_prog_FC+set}" = set; then :
12721 $as_echo_n "(cached) " >&6
12723 if test -n "$FC"; then
12724 ac_cv_prog_FC
="$FC" # Let the user override the test.
12726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12727 for as_dir
in $PATH
12730 test -z "$as_dir" && as_dir
=.
12731 for ac_exec_ext
in '' $ac_executable_extensions; do
12732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12733 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12744 if test -n "$FC"; then
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12746 $as_echo "$FC" >&6; }
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12749 $as_echo "no" >&6; }
12753 test -n "$FC" && break
12756 if test -z "$FC"; then
12758 for ac_prog
in gfortran
12760 # Extract the first word of "$ac_prog", so it can be a program name with args.
12761 set dummy
$ac_prog; ac_word
=$2
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12763 $as_echo_n "checking for $ac_word... " >&6; }
12764 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12765 $as_echo_n "(cached) " >&6
12767 if test -n "$ac_ct_FC"; then
12768 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12771 for as_dir
in $PATH
12774 test -z "$as_dir" && as_dir
=.
12775 for ac_exec_ext
in '' $ac_executable_extensions; do
12776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12777 ac_cv_prog_ac_ct_FC
="$ac_prog"
12778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12787 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12788 if test -n "$ac_ct_FC"; then
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12790 $as_echo "$ac_ct_FC" >&6; }
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12793 $as_echo "no" >&6; }
12797 test -n "$ac_ct_FC" && break
12800 if test "x$ac_ct_FC" = x
; then
12803 case $cross_compiling:$ac_tool_warned in
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12807 ac_tool_warned
=yes ;;
12814 # Provide some information about the compiler.
12815 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12818 for ac_option
in --version -v -V -qversion; do
12819 { { ac_try
="$ac_compiler $ac_option >&5"
12820 case "(($ac_try" in
12821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12822 *) ac_try_echo=$ac_try;;
12824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12825 $as_echo "$ac_try_echo"; } >&5
12826 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12828 if test -s conftest.err; then
12830 ... rest of stderr output deleted ...
12831 10q' conftest.err >conftest.er1
12832 cat conftest.er1 >&5
12833 rm -f conftest.er1 conftest.err
12835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12836 test $ac_status = 0; }
12840 # If we don't use `.F
' as extension, the preprocessor is not run on the
12841 # input file. (Note that this only needs to work for GNU compilers.)
12842 ac_save_ext=$ac_ext
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12845 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12846 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12847 $as_echo_n "(cached) " >&6
12849 cat > conftest.$ac_ext <<_ACEOF
12857 if ac_fn_fc_try_compile "$LINENO"; then :
12858 ac_compiler_gnu=yes
12862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12863 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12867 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12868 ac_ext=$ac_save_ext
12869 ac_test_FCFLAGS=${FCFLAGS+set}
12870 ac_save_FCFLAGS=$FCFLAGS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12873 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12874 if test "${ac_cv_prog_fc_g+set}" = set; then :
12875 $as_echo_n "(cached) " >&6
12878 cat > conftest.$ac_ext <<_ACEOF
12883 if ac_fn_fc_try_compile "$LINENO"; then :
12884 ac_cv_prog_fc_g=yes
12888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12892 $as_echo "$ac_cv_prog_fc_g" >&6; }
12893 if test "$ac_test_FCFLAGS" = set; then
12894 FCFLAGS=$ac_save_FCFLAGS
12895 elif test $ac_cv_prog_fc_g = yes; then
12896 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12902 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12910 ac_cpp='$CPP $CPPFLAGS'
12911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12912 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12915 ac_ext=${ac_fc_srcext-f}
12916 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12917 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12918 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12921 if test -z "$FC" || test "X$FC" = "Xno"; then
12925 archive_cmds_need_lc_FC=no
12926 allow_undefined_flag_FC=
12927 always_export_symbols_FC=no
12928 archive_expsym_cmds_FC=
12929 export_dynamic_flag_spec_FC=
12930 hardcode_direct_FC=no
12931 hardcode_direct_absolute_FC=no
12932 hardcode_libdir_flag_spec_FC=
12933 hardcode_libdir_flag_spec_ld_FC=
12934 hardcode_libdir_separator_FC=
12935 hardcode_minus_L_FC=no
12936 hardcode_automatic_FC=no
12937 inherit_rpath_FC=no
12939 module_expsym_cmds_FC=
12940 link_all_deplibs_FC=unknown
12941 old_archive_cmds_FC=$old_archive_cmds
12942 reload_flag_FC=$reload_flag
12943 reload_cmds_FC=$reload_cmds
12944 no_undefined_flag_FC=
12945 whole_archive_flag_spec_FC=
12946 enable_shared_with_static_runtimes_FC=no
12948 # Source file extension for fc test sources.
12949 ac_ext=${ac_fc_srcext-f}
12951 # Object file extension for compiled fc test sources.
12955 # No sense in running all these tests if we already determined that
12956 # the FC compiler isn't working. Some variables
(like enable_shared
)
12957 # are currently assumed to apply to all compilers on this platform,
12958 # and will be corrupted by setting them based on a non-working compiler.
12959 if test "$_lt_disable_FC" != yes; then
12960 # Code to be used in simple compile tests
12961 lt_simple_compile_test_code
="\
12967 # Code to be used in simple link tests
12968 lt_simple_link_test_code
="\
12973 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12980 # If no C compiler was specified, use CC.
12983 # If no C compiler flags were specified, use CFLAGS.
12984 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12986 # Allow CC to be a program name with arguments.
12990 # save warnings/boilerplate of simple test code
12991 ac_outfile
=conftest.
$ac_objext
12992 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12993 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12994 _lt_compiler_boilerplate
=`cat conftest.err`
12997 ac_outfile
=conftest.
$ac_objext
12998 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12999 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13000 _lt_linker_boilerplate
=`cat conftest.err`
13004 # Allow CC to be a program name with arguments.
13009 GCC
=$ac_cv_fc_compiler_gnu
13012 for cc_temp
in $compiler""; do
13014 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13015 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13020 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13023 if test -n "$compiler"; then
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13025 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13027 $as_echo "$can_build_shared" >&6; }
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13030 $as_echo_n "checking whether to build shared libraries... " >&6; }
13031 test "$can_build_shared" = "no" && enable_shared
=no
13033 # On AIX, shared libraries and static libraries use the same namespace, and
13034 # are all built from PIC.
13037 test "$enable_shared" = yes && enable_static
=no
13038 if test -n "$RANLIB"; then
13039 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13040 postinstall_cmds
='$RANLIB $lib'
13044 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13045 test "$enable_shared" = yes && enable_static
=no
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13050 $as_echo "$enable_shared" >&6; }
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13053 $as_echo_n "checking whether to build static libraries... " >&6; }
13054 # Make sure either enable_shared or enable_static is yes.
13055 test "$enable_shared" = yes || enable_static
=yes
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13057 $as_echo "$enable_static" >&6; }
13059 GCC_FC
="$ac_cv_fc_compiler_gnu"
13063 ## There is no encapsulation within the following macros, do not change
13064 ## the running order or otherwise move them around unless you know exactly
13065 ## what you are doing...
13066 # Dependencies to place before and after the object being linked:
13068 postdep_objects_FC
=
13071 compiler_lib_search_path_FC
=
13073 cat > conftest.
$ac_ext <<_LT_EOF
13082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13083 (eval $ac_compile) 2>&5
13085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13086 test $ac_status = 0; }; then
13087 # Parse the compiler output and extract the necessary
13088 # objects, libraries and library flags.
13090 # Sentinel used to keep track of whether or not we are before
13091 # the conftest object file.
13092 pre_test_object_deps_done
=no
13094 for p
in `eval "$output_verbose_link_cmd"`; do
13098 # Some compilers place space between "-{L,R}" and the path.
13099 # Remove the space.
13100 if test $p = "-L" ||
13101 test $p = "-R"; then
13108 if test "$pre_test_object_deps_done" = no
; then
13111 # Internal compiler library paths should come after those
13112 # provided the user. The postdeps already come after the
13113 # user supplied libs so there is no need to process them.
13114 if test -z "$compiler_lib_search_path_FC"; then
13115 compiler_lib_search_path_FC
="${prev}${p}"
13117 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13120 # The "-l" case would never come before the object being
13121 # linked, so don't bother handling this case.
13124 if test -z "$postdeps_FC"; then
13125 postdeps_FC
="${prev}${p}"
13127 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13133 # This assumes that the test object file only shows up
13134 # once in the compiler output.
13135 if test "$p" = "conftest.$objext"; then
13136 pre_test_object_deps_done
=yes
13140 if test "$pre_test_object_deps_done" = no
; then
13141 if test -z "$predep_objects_FC"; then
13142 predep_objects_FC
="$p"
13144 predep_objects_FC
="$predep_objects_FC $p"
13147 if test -z "$postdep_objects_FC"; then
13148 postdep_objects_FC
="$p"
13150 postdep_objects_FC
="$postdep_objects_FC $p"
13155 *) ;; # Ignore the rest.
13163 echo "libtool.m4: error: problem compiling FC test program"
13166 $RM -f confest.
$objext
13168 # PORTME: override above test on systems where it is broken
13171 case " $postdeps_FC " in
13172 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13174 compiler_lib_search_dirs_FC
=
13175 if test -n "${compiler_lib_search_path_FC}"; then
13176 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13209 lt_prog_compiler_wl_FC
=
13210 lt_prog_compiler_pic_FC
=
13211 lt_prog_compiler_static_FC
=
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13214 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13216 if test "$GCC" = yes; then
13217 lt_prog_compiler_wl_FC
='-Wl,'
13218 lt_prog_compiler_static_FC
='-static'
13222 # All AIX code is PIC.
13223 if test "$host_cpu" = ia64
; then
13224 # AIX 5 now supports IA64 processor
13225 lt_prog_compiler_static_FC
='-Bstatic'
13227 lt_prog_compiler_pic_FC
='-fPIC'
13233 # see comment about AmigaOS4 .so support
13234 lt_prog_compiler_pic_FC
='-fPIC'
13237 # FIXME: we need at least 68020 code to build shared libraries, but
13238 # adding the `-m68020' flag to GCC prevents building anything better,
13240 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13245 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13246 # PIC is the default for these OSes.
13249 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13250 # This hack is so that the source file can tell whether it is being
13251 # built for inclusion in a dll (and should export symbols for example).
13252 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13253 # (--disable-auto-import) libraries
13254 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13257 darwin
* | rhapsody
*)
13258 # PIC is the default on this platform
13259 # Common symbols not allowed in MH_DYLIB files
13260 lt_prog_compiler_pic_FC
='-fno-common'
13264 # PIC is the default for Haiku.
13265 # The "-static" flag exists, but is broken.
13266 lt_prog_compiler_static_FC
=
13270 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13271 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13272 # sets the default TLS model and affects inlining.
13278 lt_prog_compiler_pic_FC
='-fPIC'
13284 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13285 # Instead, we relocate shared libraries at runtime.
13289 # Just because we use GCC doesn't mean we suddenly get shared libraries
13290 # on systems that don't support them.
13291 lt_prog_compiler_can_build_shared_FC
=no
13296 # QNX uses GNU C++, but need to define -shared option too, otherwise
13297 # it will coredump.
13298 lt_prog_compiler_pic_FC
='-fPIC -shared'
13302 if test -d /usr
/nec
; then
13303 lt_prog_compiler_pic_FC
=-Kconform_pic
13308 lt_prog_compiler_pic_FC
='-fPIC'
13312 case $cc_basename in
13313 nvcc
*) # Cuda Compiler Driver 2.2
13314 lt_prog_compiler_wl_FC
='-Xlinker '
13315 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13319 # PORTME Check for flag to pass linker flags through the system compiler.
13322 lt_prog_compiler_wl_FC
='-Wl,'
13323 if test "$host_cpu" = ia64
; then
13324 # AIX 5 now supports IA64 processor
13325 lt_prog_compiler_static_FC
='-Bstatic'
13327 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13331 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13332 # This hack is so that the source file can tell whether it is being
13333 # built for inclusion in a dll (and should export symbols for example).
13334 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13337 hpux9
* | hpux10
* | hpux11
*)
13338 lt_prog_compiler_wl_FC
='-Wl,'
13339 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13340 # not for PA HP-UX.
13346 lt_prog_compiler_pic_FC
='+Z'
13349 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13350 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13353 irix5
* | irix6
* | nonstopux
*)
13354 lt_prog_compiler_wl_FC
='-Wl,'
13355 # PIC (with -KPIC) is the default.
13356 lt_prog_compiler_static_FC
='-non_shared'
13359 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13360 case $cc_basename in
13361 # old Intel for x86_64 which still supported -KPIC.
13363 lt_prog_compiler_wl_FC
='-Wl,'
13364 lt_prog_compiler_pic_FC
='-KPIC'
13365 lt_prog_compiler_static_FC
='-static'
13367 # icc used to be incompatible with GCC.
13368 # ICC 10 doesn't accept -KPIC any more.
13370 lt_prog_compiler_wl_FC
='-Wl,'
13371 lt_prog_compiler_pic_FC
='-fPIC'
13372 lt_prog_compiler_static_FC
='-static'
13374 # Lahey Fortran 8.1.
13376 lt_prog_compiler_wl_FC
='-Wl,'
13377 lt_prog_compiler_pic_FC
='--shared'
13378 lt_prog_compiler_static_FC
='--static'
13380 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13381 # Portland Group compilers (*not* the Pentium gcc compiler,
13382 # which looks to be a dead project)
13383 lt_prog_compiler_wl_FC
='-Wl,'
13384 lt_prog_compiler_pic_FC
='-fpic'
13385 lt_prog_compiler_static_FC
='-Bstatic'
13388 lt_prog_compiler_wl_FC
='-Wl,'
13389 # All Alpha code is PIC.
13390 lt_prog_compiler_static_FC
='-non_shared'
13392 xl
* | bgxl
* | bgf
* | mpixl
*)
13393 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13394 lt_prog_compiler_wl_FC
='-Wl,'
13395 lt_prog_compiler_pic_FC
='-qpic'
13396 lt_prog_compiler_static_FC
='-qstaticlink'
13399 case `$CC -V 2>&1 | sed 5q` in
13400 *Sun\ F
* |
*Sun
*Fortran
*)
13401 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13402 lt_prog_compiler_pic_FC
='-KPIC'
13403 lt_prog_compiler_static_FC
='-Bstatic'
13404 lt_prog_compiler_wl_FC
=''
13408 lt_prog_compiler_pic_FC
='-KPIC'
13409 lt_prog_compiler_static_FC
='-Bstatic'
13410 lt_prog_compiler_wl_FC
='-Wl,'
13418 lt_prog_compiler_pic_FC
='-KPIC'
13419 lt_prog_compiler_static_FC
='-Bstatic'
13423 # QNX uses GNU C++, but need to define -shared option too, otherwise
13424 # it will coredump.
13425 lt_prog_compiler_pic_FC
='-fPIC -shared'
13428 osf3
* | osf4
* | osf5
*)
13429 lt_prog_compiler_wl_FC
='-Wl,'
13430 # All OSF/1 code is PIC.
13431 lt_prog_compiler_static_FC
='-non_shared'
13435 lt_prog_compiler_static_FC
='-non_shared'
13439 lt_prog_compiler_pic_FC
='-KPIC'
13440 lt_prog_compiler_static_FC
='-Bstatic'
13441 case $cc_basename in
13442 f77
* | f90
* | f95
*)
13443 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13445 lt_prog_compiler_wl_FC
='-Wl,';;
13450 lt_prog_compiler_wl_FC
='-Qoption ld '
13451 lt_prog_compiler_pic_FC
='-PIC'
13452 lt_prog_compiler_static_FC
='-Bstatic'
13455 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13456 lt_prog_compiler_wl_FC
='-Wl,'
13457 lt_prog_compiler_pic_FC
='-KPIC'
13458 lt_prog_compiler_static_FC
='-Bstatic'
13462 if test -d /usr
/nec
;then
13463 lt_prog_compiler_pic_FC
='-Kconform_pic'
13464 lt_prog_compiler_static_FC
='-Bstatic'
13468 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13469 lt_prog_compiler_wl_FC
='-Wl,'
13470 lt_prog_compiler_pic_FC
='-KPIC'
13471 lt_prog_compiler_static_FC
='-Bstatic'
13475 lt_prog_compiler_wl_FC
='-Wl,'
13476 lt_prog_compiler_can_build_shared_FC
=no
13480 lt_prog_compiler_pic_FC
='-pic'
13481 lt_prog_compiler_static_FC
='-Bstatic'
13485 lt_prog_compiler_can_build_shared_FC
=no
13491 # For platforms which do not support PIC, -DPIC is meaningless:
13493 lt_prog_compiler_pic_FC
=
13496 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13500 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13505 # Check to make sure the PIC flag actually works.
13507 if test -n "$lt_prog_compiler_pic_FC"; then
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13509 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13510 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13511 $as_echo_n "(cached) " >&6
13513 lt_cv_prog_compiler_pic_works_FC
=no
13514 ac_outfile
=conftest.
$ac_objext
13515 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13516 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13517 # Insert the option either (1) after the last *FLAGS variable, or
13518 # (2) before a word containing "conftest.", or (3) at the end.
13519 # Note that $ac_compile itself does not contain backslashes and begins
13520 # with a dollar sign (not a hyphen), so the echo should work correctly.
13521 # The option is referenced via a variable to avoid confusing sed.
13522 lt_compile
=`echo "$ac_compile" | $SED \
13523 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13525 -e 's:$: $lt_compiler_flag:'`
13526 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13527 (eval "$lt_compile" 2>conftest.err
)
13529 cat conftest.err
>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 if (exit $ac_status) && test -s "$ac_outfile"; then
13532 # The compiler can only warn and ignore the option if not recognized
13533 # So say no if there are warnings other than the usual output.
13534 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13535 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13536 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13537 lt_cv_prog_compiler_pic_works_FC
=yes
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13544 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13546 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13547 case $lt_prog_compiler_pic_FC in
13549 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13552 lt_prog_compiler_pic_FC
=
13553 lt_prog_compiler_can_build_shared_FC
=no
13561 # Check to make sure the static flag actually works.
13563 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13565 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13566 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13567 $as_echo_n "(cached) " >&6
13569 lt_cv_prog_compiler_static_works_FC
=no
13570 save_LDFLAGS
="$LDFLAGS"
13571 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13572 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13573 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13574 # The linker can only warn and ignore the option if not recognized
13575 # So say no if there are warnings
13576 if test -s conftest.err
; then
13577 # Append any errors to the config.log.
13578 cat conftest.err
1>&5
13579 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13580 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13581 if diff conftest.exp conftest.er2
>/dev
/null
; then
13582 lt_cv_prog_compiler_static_works_FC
=yes
13585 lt_cv_prog_compiler_static_works_FC
=yes
13589 LDFLAGS
="$save_LDFLAGS"
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13593 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13595 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13598 lt_prog_compiler_static_FC
=
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13605 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13606 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13607 $as_echo_n "(cached) " >&6
13609 lt_cv_prog_compiler_c_o_FC
=no
13610 $RM -r conftest
2>/dev
/null
13614 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13616 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13617 # Insert the option either (1) after the last *FLAGS variable, or
13618 # (2) before a word containing "conftest.", or (3) at the end.
13619 # Note that $ac_compile itself does not contain backslashes and begins
13620 # with a dollar sign (not a hyphen), so the echo should work correctly.
13621 lt_compile
=`echo "$ac_compile" | $SED \
13622 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13623 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13624 -e 's:$: $lt_compiler_flag:'`
13625 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13626 (eval "$lt_compile" 2>out
/conftest.err
)
13628 cat out
/conftest.err
>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13632 # The compiler can only warn and ignore the option if not recognized
13633 # So say no if there are warnings
13634 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13635 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13636 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13637 lt_cv_prog_compiler_c_o_FC
=yes
13642 # SGI C++ compiler will create directory out/ii_files/ for
13643 # template instantiation
13644 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13645 $RM out
/* && rmdir out
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13652 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13658 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13659 $as_echo_n "(cached) " >&6
13661 lt_cv_prog_compiler_c_o_FC
=no
13662 $RM -r conftest
2>/dev
/null
13666 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13668 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13669 # Insert the option either (1) after the last *FLAGS variable, or
13670 # (2) before a word containing "conftest.", or (3) at the end.
13671 # Note that $ac_compile itself does not contain backslashes and begins
13672 # with a dollar sign (not a hyphen), so the echo should work correctly.
13673 lt_compile
=`echo "$ac_compile" | $SED \
13674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13676 -e 's:$: $lt_compiler_flag:'`
13677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13678 (eval "$lt_compile" 2>out
/conftest.err
)
13680 cat out
/conftest.err
>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13684 # The compiler can only warn and ignore the option if not recognized
13685 # So say no if there are warnings
13686 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13687 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13688 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13689 lt_cv_prog_compiler_c_o_FC
=yes
13694 # SGI C++ compiler will create directory out/ii_files/ for
13695 # template instantiation
13696 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13697 $RM out
/* && rmdir out
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13704 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13709 hard_links
="nottested"
13710 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13711 # do not overwrite the value of need_locks provided by the user
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13713 $as_echo_n "checking if we can lock with hard links... " >&6; }
13716 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13718 ln conftest.a conftest.b
2>&5 || hard_links
=no
13719 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13721 $as_echo "$hard_links" >&6; }
13722 if test "$hard_links" = no
; then
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13724 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13734 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13737 allow_undefined_flag_FC
=
13738 always_export_symbols_FC
=no
13740 archive_expsym_cmds_FC
=
13741 compiler_needs_object_FC
=no
13742 enable_shared_with_static_runtimes_FC
=no
13743 export_dynamic_flag_spec_FC
=
13744 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13745 hardcode_automatic_FC
=no
13746 hardcode_direct_FC
=no
13747 hardcode_direct_absolute_FC
=no
13748 hardcode_libdir_flag_spec_FC
=
13749 hardcode_libdir_flag_spec_ld_FC
=
13750 hardcode_libdir_separator_FC
=
13751 hardcode_minus_L_FC
=no
13752 hardcode_shlibpath_var_FC
=unsupported
13753 inherit_rpath_FC
=no
13754 link_all_deplibs_FC
=unknown
13756 module_expsym_cmds_FC
=
13757 old_archive_from_new_cmds_FC
=
13758 old_archive_from_expsyms_cmds_FC
=
13759 thread_safe_flag_spec_FC
=
13760 whole_archive_flag_spec_FC
=
13761 # include_expsyms should be a list of space-separated symbols to be *always*
13762 # included in the symbol list
13763 include_expsyms_FC
=
13764 # exclude_expsyms can be an extended regexp of symbols to exclude
13765 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13766 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13767 # as well as any symbol that contains `d'.
13768 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13769 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13770 # platforms (ab)use it in PIC code, but their linkers get confused if
13771 # the symbol is explicitly referenced. Since portable code cannot
13772 # rely on this symbol name, it's probably fine to never include it in
13773 # preloaded symbol tables.
13774 # Exclude shared library initialization/finalization symbols.
13775 extract_expsyms_cmds
=
13778 cygwin
* | mingw
* | pw32
* | cegcc
*)
13779 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13780 # When not using gcc, we currently assume that we are using
13781 # Microsoft Visual C++.
13782 if test "$GCC" != yes; then
13787 # we just hope/assume this is gcc and not c89 (= MSVC++)
13797 # On some targets, GNU ld is compatible enough with the native linker
13798 # that we're better off using the native interface for both.
13799 lt_use_gnu_ld_interface
=no
13800 if test "$with_gnu_ld" = yes; then
13803 # The AIX port of GNU ld has always aspired to compatibility
13804 # with the native linker. However, as the warning in the GNU ld
13805 # block says, versions before 2.19.5* couldn't really create working
13806 # shared libraries, regardless of the interface used.
13807 case `$LD -v 2>&1` in
13808 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13809 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13810 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13812 lt_use_gnu_ld_interface
=yes
13817 lt_use_gnu_ld_interface
=yes
13822 if test "$lt_use_gnu_ld_interface" = yes; then
13823 # If archive_cmds runs LD, not CC, wlarc should be empty
13826 # Set some defaults for GNU ld with shared library support. These
13827 # are reset later if shared libraries are not supported. Putting them
13828 # here allows them to be overridden if necessary.
13829 runpath_var
=LD_RUN_PATH
13830 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13831 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13832 # ancient GNU ld didn't support --whole-archive et. al.
13833 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13834 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13836 whole_archive_flag_spec_FC
=
13838 supports_anon_versioning
=no
13839 case `$LD -v 2>&1` in
13840 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13841 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13842 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13843 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13844 *\
2.11.
*) ;; # other 2.11 versions
13845 *) supports_anon_versioning
=yes ;;
13848 # See if GNU ld supports shared libraries.
13851 # On AIX/PPC, the GNU linker is very broken
13852 if test "$host_cpu" != ia64
; then
13856 *** Warning: the GNU linker, at least up to release 2.19, is reported
13857 *** to be unable to reliably create shared libraries on AIX.
13858 *** Therefore, libtool is disabling shared libraries support. If you
13859 *** really care for shared libraries, you may want to install binutils
13860 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13861 *** You will then need to restart the configuration process.
13870 # see comment about AmigaOS4 .so support
13871 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13872 archive_expsym_cmds_FC
=''
13875 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)'
13876 hardcode_libdir_flag_spec_FC
='-L$libdir'
13877 hardcode_minus_L_FC
=yes
13883 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13884 allow_undefined_flag_FC
=unsupported
13885 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13886 # support --undefined. This deserves some investigation. FIXME
13887 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13893 cygwin
* | mingw
* | pw32
* | cegcc
*)
13894 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13895 # as there is no search path for DLLs.
13896 hardcode_libdir_flag_spec_FC
='-L$libdir'
13897 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13898 allow_undefined_flag_FC
=unsupported
13899 always_export_symbols_FC
=no
13900 enable_shared_with_static_runtimes_FC
=yes
13901 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13903 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13904 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13905 # If the export-symbols file already is a .def file (1st line
13906 # is EXPORTS), use it as is; otherwise, prepend...
13907 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13908 cp $export_symbols $output_objdir/$soname.def;
13910 echo EXPORTS > $output_objdir/$soname.def;
13911 cat $export_symbols >> $output_objdir/$soname.def;
13913 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13920 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13921 link_all_deplibs_FC
=yes
13925 hardcode_direct_FC
=no
13926 hardcode_shlibpath_var_FC
=no
13927 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13928 export_dynamic_flag_spec_FC
='${wl}-E'
13929 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13930 # Instead, shared libraries are loaded at an image base (0x10000000 by
13931 # default) and relocated if they conflict, which is a slow very memory
13932 # consuming and fragmenting process. To avoid this, we pick a random,
13933 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13934 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13935 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'
13936 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'
13939 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13941 if test "$host_os" = linux-dietlibc
; then
13942 case $cc_basename in
13943 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13946 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13947 && test "$tmp_diet" = no
13950 tmp_sharedflag
='-shared'
13951 case $cc_basename,$host_cpu in
13952 pgcc
*) # Portland Group C compiler
13953 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'
13954 tmp_addflag
=' $pic_flag'
13956 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13957 # Portland Group f77 and f90 compilers
13958 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'
13959 tmp_addflag
=' $pic_flag -Mnomain' ;;
13960 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13961 tmp_addflag
=' -i_dynamic' ;;
13962 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13963 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13964 ifc
* | ifort
*) # Intel Fortran compiler
13965 tmp_addflag
=' -nofor_main' ;;
13966 lf95
*) # Lahey Fortran 8.1
13967 whole_archive_flag_spec_FC
=
13968 tmp_sharedflag
='--shared' ;;
13969 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13970 tmp_sharedflag
='-qmkshrobj'
13972 nvcc
*) # Cuda Compiler Driver 2.2
13973 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13974 compiler_needs_object_FC
=yes
13977 case `$CC -V 2>&1 | sed 5q` in
13978 *Sun\ C
*) # Sun C 5.9
13979 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'
13980 compiler_needs_object_FC
=yes
13981 tmp_sharedflag
='-G' ;;
13982 *Sun\ F
*) # Sun Fortran 8.3
13983 tmp_sharedflag
='-G' ;;
13985 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13987 if test "x$supports_anon_versioning" = xyes
; then
13988 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13989 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13990 echo "local: *; };" >> $output_objdir/$libname.ver~
13991 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13994 case $cc_basename in
13995 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
13996 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13997 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
13998 hardcode_libdir_flag_spec_FC
=
13999 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14000 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14001 if test "x$supports_anon_versioning" = xyes
; then
14002 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14003 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14004 echo "local: *; };" >> $output_objdir/$libname.ver~
14005 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14015 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14016 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14019 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14020 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14025 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14029 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14030 *** create shared libraries on Solaris systems. Therefore, libtool
14031 *** is disabling shared libraries support. We urge you to upgrade GNU
14032 *** binutils to release 2.9.1 or newer. Another option is to modify
14033 *** your PATH or compiler configuration so that the native linker is
14034 *** used, and then restart.
14037 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14038 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14039 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14045 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14046 case `$LD -v 2>&1` in
14047 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14051 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14052 *** reliably create shared libraries on SCO systems. Therefore, libtool
14053 *** is disabling shared libraries support. We urge you to upgrade GNU
14054 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14055 *** your PATH or compiler configuration so that the native linker is
14056 *** used, and then restart.
14061 # For security reasons, it is highly recommended that you always
14062 # use absolute paths for naming shared libraries, and exclude the
14063 # DT_RUNPATH tag from executables and libraries. But doing so
14064 # requires that you compile everything twice, which is a pain.
14065 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14066 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14067 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14068 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14077 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14079 hardcode_direct_FC
=yes
14080 hardcode_shlibpath_var_FC
=no
14084 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14085 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14086 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14093 if test "$ld_shlibs_FC" = no
; then
14095 hardcode_libdir_flag_spec_FC
=
14096 export_dynamic_flag_spec_FC
=
14097 whole_archive_flag_spec_FC
=
14100 # PORTME fill in a description of your system's linker (not GNU ld)
14103 allow_undefined_flag_FC
=unsupported
14104 always_export_symbols_FC
=yes
14105 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'
14106 # Note: this linker hardcodes the directories in LIBPATH if there
14107 # are no directories specified by -L.
14108 hardcode_minus_L_FC
=yes
14109 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14110 # Neither direct hardcoding nor static linking is supported with a
14112 hardcode_direct_FC
=unsupported
14117 if test "$host_cpu" = ia64
; then
14118 # On IA64, the linker does run time linking by default, so we don't
14119 # have to do anything special.
14120 aix_use_runtimelinking
=no
14121 exp_sym_flag
='-Bexport'
14124 # If we're using GNU nm, then we don't want the "-C" option.
14125 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14126 # Also, AIX nm treats weak defined symbols like other global
14127 # defined symbols, whereas GNU nm marks them as "W".
14128 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14129 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'
14131 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'
14133 aix_use_runtimelinking
=no
14135 # Test if we are trying to use run time linking or normal
14136 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14137 # need to do runtime linking.
14138 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14139 for ld_flag
in $LDFLAGS; do
14140 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14141 aix_use_runtimelinking
=yes
14148 exp_sym_flag
='-bexport'
14149 no_entry_flag
='-bnoentry'
14152 # When large executables or shared objects are built, AIX ld can
14153 # have problems creating the table of contents. If linking a library
14154 # or program results in "error TOC overflow" add -mminimal-toc to
14155 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14156 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14159 hardcode_direct_FC
=yes
14160 hardcode_direct_absolute_FC
=yes
14161 hardcode_libdir_separator_FC
=':'
14162 link_all_deplibs_FC
=yes
14163 file_list_spec_FC
='${wl}-f,'
14165 if test "$GCC" = yes; then
14166 case $host_os in aix4.
[012]|aix4.
[012].
*)
14167 # We only want to do this on AIX 4.2 and lower, the check
14168 # below for broken collect2 doesn't work under 4.3+
14169 collect2name
=`${CC} -print-prog-name=collect2`
14170 if test -f "$collect2name" &&
14171 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14173 # We have reworked collect2
14176 # We have old collect2
14177 hardcode_direct_FC
=unsupported
14178 # It fails to find uninstalled libraries when the uninstalled
14179 # path is not listed in the libpath. Setting hardcode_minus_L
14180 # to unsupported forces relinking
14181 hardcode_minus_L_FC
=yes
14182 hardcode_libdir_flag_spec_FC
='-L$libdir'
14183 hardcode_libdir_separator_FC
=
14187 shared_flag
='-shared'
14188 if test "$aix_use_runtimelinking" = yes; then
14189 shared_flag
="$shared_flag "'${wl}-G'
14193 if test "$host_cpu" = ia64
; then
14194 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14195 # chokes on -Wl,-G. The following line is correct:
14198 if test "$aix_use_runtimelinking" = yes; then
14199 shared_flag
='${wl}-G'
14201 shared_flag
='${wl}-bM:SRE'
14206 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14207 # It seems that -bexpall does not export symbols beginning with
14208 # underscore (_), so it is better to generate a list of symbols to export.
14209 always_export_symbols_FC
=yes
14210 if test "$aix_use_runtimelinking" = yes; then
14211 # Warning - without using the other runtime loading flags (-brtl),
14212 # -berok will link without error, but may produce a broken library.
14213 allow_undefined_flag_FC
='-berok'
14214 # Determine the default libpath from the value encoded in an
14215 # empty executable.
14216 if test x
$gcc_no_link = xyes
; then
14217 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14219 cat > conftest.
$ac_ext <<_ACEOF
14224 if ac_fn_fc_try_link
"$LINENO"; then :
14226 lt_aix_libpath_sed
='
14227 /Import File Strings/,/^$/ {
14233 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14234 # Check for a 64-bit object if we didn't find anything.
14235 if test -z "$aix_libpath"; then
14236 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14239 rm -f core conftest.err conftest.
$ac_objext \
14240 conftest
$ac_exeext conftest.
$ac_ext
14241 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14243 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14244 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"
14246 if test "$host_cpu" = ia64
; then
14247 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14248 allow_undefined_flag_FC
="-z nodefs"
14249 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"
14251 # Determine the default libpath from the value encoded in an
14252 # empty executable.
14253 if test x
$gcc_no_link = xyes
; then
14254 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14256 cat > conftest.
$ac_ext <<_ACEOF
14261 if ac_fn_fc_try_link
"$LINENO"; then :
14263 lt_aix_libpath_sed
='
14264 /Import File Strings/,/^$/ {
14270 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14271 # Check for a 64-bit object if we didn't find anything.
14272 if test -z "$aix_libpath"; then
14273 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14276 rm -f core conftest.err conftest.
$ac_objext \
14277 conftest
$ac_exeext conftest.
$ac_ext
14278 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14280 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14281 # Warning - without using the other run time loading flags,
14282 # -berok will link without error, but may produce a broken library.
14283 no_undefined_flag_FC
=' ${wl}-bernotok'
14284 allow_undefined_flag_FC
=' ${wl}-berok'
14285 if test "$with_gnu_ld" = yes; then
14286 # We only use this code for GNU lds that support --whole-archive.
14287 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14289 # Exported symbols can be pulled into shared objects from archives
14290 whole_archive_flag_spec_FC
='$convenience'
14292 archive_cmds_need_lc_FC
=yes
14293 # This is similar to how AIX traditionally builds its shared libraries.
14294 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'
14302 # see comment about AmigaOS4 .so support
14303 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14304 archive_expsym_cmds_FC
=''
14307 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)'
14308 hardcode_libdir_flag_spec_FC
='-L$libdir'
14309 hardcode_minus_L_FC
=yes
14315 export_dynamic_flag_spec_FC
=-rdynamic
14318 cygwin
* | mingw
* | pw32
* | cegcc
*)
14319 # When not using gcc, we currently assume that we are using
14320 # Microsoft Visual C++.
14321 # hardcode_libdir_flag_spec is actually meaningless, as there is
14322 # no search path for DLLs.
14323 hardcode_libdir_flag_spec_FC
=' '
14324 allow_undefined_flag_FC
=unsupported
14325 # Tell ltmain to make .lib files, not .a files.
14327 # Tell ltmain to make .dll files, not .so files.
14329 # FIXME: Setting linknames here is a bad hack.
14330 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14331 # The linker will automatically build a .lib file if we build a DLL.
14332 old_archive_from_new_cmds_FC
='true'
14333 # FIXME: Should let the user specify the lib program.
14334 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14335 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14336 enable_shared_with_static_runtimes_FC
=yes
14339 darwin
* | rhapsody
*)
14342 archive_cmds_need_lc_FC
=no
14343 hardcode_direct_FC
=no
14344 hardcode_automatic_FC
=yes
14345 hardcode_shlibpath_var_FC
=unsupported
14346 if test "$lt_cv_ld_force_load" = "yes"; then
14347 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\"`'
14349 whole_archive_flag_spec_FC
=''
14351 link_all_deplibs_FC
=yes
14352 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14353 case $cc_basename in
14354 ifort
*) _lt_dar_can_shared
=yes ;;
14355 *) _lt_dar_can_shared
=$GCC ;;
14357 if test "$_lt_dar_can_shared" = "yes"; then
14358 output_verbose_link_cmd
=func_echo_all
14359 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}"
14360 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14361 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}"
14362 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}"
14371 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14372 hardcode_libdir_flag_spec_FC
='-L$libdir'
14373 hardcode_shlibpath_var_FC
=no
14376 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14377 # support. Future versions do this automatically, but an explicit c++rt0.o
14378 # does not break anything, and helps significantly (at the cost of a little
14381 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14382 hardcode_libdir_flag_spec_FC
='-R$libdir'
14383 hardcode_direct_FC
=yes
14384 hardcode_shlibpath_var_FC
=no
14387 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14389 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14390 hardcode_direct_FC
=yes
14391 hardcode_minus_L_FC
=yes
14392 hardcode_shlibpath_var_FC
=no
14395 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14396 freebsd
* | dragonfly
*)
14397 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14398 hardcode_libdir_flag_spec_FC
='-R$libdir'
14399 hardcode_direct_FC
=yes
14400 hardcode_shlibpath_var_FC
=no
14404 if test "$GCC" = yes; then
14405 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'
14407 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'
14409 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14410 hardcode_libdir_separator_FC
=:
14411 hardcode_direct_FC
=yes
14413 # hardcode_minus_L: Not really in the search PATH,
14414 # but as the default location of the library.
14415 hardcode_minus_L_FC
=yes
14416 export_dynamic_flag_spec_FC
='${wl}-E'
14420 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14421 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14423 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14425 if test "$with_gnu_ld" = no
; then
14426 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14427 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14428 hardcode_libdir_separator_FC
=:
14429 hardcode_direct_FC
=yes
14430 hardcode_direct_absolute_FC
=yes
14431 export_dynamic_flag_spec_FC
='${wl}-E'
14432 # hardcode_minus_L: Not really in the search PATH,
14433 # but as the default location of the library.
14434 hardcode_minus_L_FC
=yes
14439 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14442 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14445 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14448 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14454 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14457 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14460 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14464 if test "$with_gnu_ld" = no
; then
14465 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14466 hardcode_libdir_separator_FC
=:
14470 hardcode_direct_FC
=no
14471 hardcode_shlibpath_var_FC
=no
14474 hardcode_direct_FC
=yes
14475 hardcode_direct_absolute_FC
=yes
14476 export_dynamic_flag_spec_FC
='${wl}-E'
14478 # hardcode_minus_L: Not really in the search PATH,
14479 # but as the default location of the library.
14480 hardcode_minus_L_FC
=yes
14486 irix5
* | irix6
* | nonstopux
*)
14487 if test "$GCC" = yes; then
14488 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'
14489 # Try to use the -exported_symbol ld option, if it does not
14490 # work, assume that -exports_file does not work either and
14491 # implicitly export all symbols.
14492 save_LDFLAGS
="$LDFLAGS"
14493 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14494 if test x
$gcc_no_link = xyes
; then
14495 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14497 cat > conftest.
$ac_ext <<_ACEOF
14500 if ac_fn_fc_try_link
"$LINENO"; then :
14501 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'
14504 rm -f core conftest.err conftest.
$ac_objext \
14505 conftest
$ac_exeext conftest.
$ac_ext
14506 LDFLAGS
="$save_LDFLAGS"
14508 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'
14509 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'
14511 archive_cmds_need_lc_FC
='no'
14512 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14513 hardcode_libdir_separator_FC
=:
14514 inherit_rpath_FC
=yes
14515 link_all_deplibs_FC
=yes
14519 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14520 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14522 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14524 hardcode_libdir_flag_spec_FC
='-R$libdir'
14525 hardcode_direct_FC
=yes
14526 hardcode_shlibpath_var_FC
=no
14530 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14531 hardcode_direct_FC
=yes
14532 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14533 hardcode_libdir_separator_FC
=:
14534 hardcode_shlibpath_var_FC
=no
14541 if test -f /usr
/libexec
/ld.so
; then
14542 hardcode_direct_FC
=yes
14543 hardcode_shlibpath_var_FC
=no
14544 hardcode_direct_absolute_FC
=yes
14545 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14546 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14547 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14548 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14549 export_dynamic_flag_spec_FC
='${wl}-E'
14552 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14553 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14554 hardcode_libdir_flag_spec_FC
='-R$libdir'
14557 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14558 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14568 hardcode_libdir_flag_spec_FC
='-L$libdir'
14569 hardcode_minus_L_FC
=yes
14570 allow_undefined_flag_FC
=unsupported
14571 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'
14572 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14576 if test "$GCC" = yes; then
14577 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14578 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'
14580 allow_undefined_flag_FC
=' -expect_unresolved \*'
14581 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'
14583 archive_cmds_need_lc_FC
='no'
14584 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14585 hardcode_libdir_separator_FC
=:
14588 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14589 if test "$GCC" = yes; then
14590 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14591 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'
14592 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14594 allow_undefined_flag_FC
=' -expect_unresolved \*'
14595 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'
14596 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~
14597 $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'
14599 # Both c and cxx compiler support -rpath directly
14600 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14602 archive_cmds_need_lc_FC
='no'
14603 hardcode_libdir_separator_FC
=:
14607 no_undefined_flag_FC
=' -z defs'
14608 if test "$GCC" = yes; then
14610 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14611 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14612 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14614 case `$CC -V 2>&1` in
14617 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14618 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14619 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14623 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14624 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14625 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14629 hardcode_libdir_flag_spec_FC
='-R$libdir'
14630 hardcode_shlibpath_var_FC
=no
14632 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14634 # The compiler driver will combine and reorder linker options,
14635 # but understands `-z linker_flag'. GCC discards it without `$wl',
14636 # but is careful enough not to reorder.
14637 # Supported since Solaris 2.6 (maybe 2.5.1?)
14638 if test "$GCC" = yes; then
14639 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14641 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14645 link_all_deplibs_FC
=yes
14649 if test "x$host_vendor" = xsequent
; then
14650 # Use $CC to link under sequent, because it throws in some extra .o
14651 # files that make .init and .fini sections work.
14652 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14654 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14656 hardcode_libdir_flag_spec_FC
='-L$libdir'
14657 hardcode_direct_FC
=yes
14658 hardcode_minus_L_FC
=yes
14659 hardcode_shlibpath_var_FC
=no
14663 case $host_vendor in
14665 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14666 hardcode_direct_FC
=yes # is this really true???
14669 ## LD is ld it makes a PLAMLIB
14670 ## CC just makes a GrossModule.
14671 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14672 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14673 hardcode_direct_FC
=no
14676 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14677 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14680 runpath_var
='LD_RUN_PATH'
14681 hardcode_shlibpath_var_FC
=no
14685 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14686 hardcode_shlibpath_var_FC
=no
14687 export_dynamic_flag_spec_FC
='-Bexport'
14691 if test -d /usr
/nec
; then
14692 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14693 hardcode_shlibpath_var_FC
=no
14694 runpath_var
=LD_RUN_PATH
14695 hardcode_runpath_var
=yes
14700 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14701 no_undefined_flag_FC
='${wl}-z,text'
14702 archive_cmds_need_lc_FC
=no
14703 hardcode_shlibpath_var_FC
=no
14704 runpath_var
='LD_RUN_PATH'
14706 if test "$GCC" = yes; then
14707 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14708 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14710 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14711 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14715 sysv5
* | sco3.2v5
* | sco5v6
*)
14716 # Note: We can NOT use -z defs as we might desire, because we do not
14717 # link with -lc, and that would cause any symbols used from libc to
14718 # always be unresolved, which means just about no library would
14719 # ever link correctly. If we're not using GNU ld we use -z text
14720 # though, which does catch some bad symbols but isn't as heavy-handed
14722 no_undefined_flag_FC
='${wl}-z,text'
14723 allow_undefined_flag_FC
='${wl}-z,nodefs'
14724 archive_cmds_need_lc_FC
=no
14725 hardcode_shlibpath_var_FC
=no
14726 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14727 hardcode_libdir_separator_FC
=':'
14728 link_all_deplibs_FC
=yes
14729 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14730 runpath_var
='LD_RUN_PATH'
14732 if test "$GCC" = yes; then
14733 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14734 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14736 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14737 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14742 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14743 hardcode_libdir_flag_spec_FC
='-L$libdir'
14744 hardcode_shlibpath_var_FC
=no
14752 if test x
$host_vendor = xsni
; then
14754 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14755 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14762 $as_echo "$ld_shlibs_FC" >&6; }
14763 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14765 with_gnu_ld_FC
=$with_gnu_ld
14773 # Do we need to explicitly link libc?
14775 case "x$archive_cmds_need_lc_FC" in
14777 # Assume -lc should be added
14778 archive_cmds_need_lc_FC
=yes
14780 if test "$enable_shared" = yes && test "$GCC" = yes; then
14781 case $archive_cmds_FC in
14783 # FIXME: we may have to deal with multi-command sequences.
14786 # Test whether the compiler implicitly links with -lc since on some
14787 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14788 # to ld, don't add -lc before -lgcc.
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14790 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14791 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14792 $as_echo_n "(cached) " >&6
14795 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14798 (eval $ac_compile) 2>&5
14800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14801 test $ac_status = 0; } 2>conftest.err
; then
14804 libobjs
=conftest.
$ac_objext
14806 wl
=$lt_prog_compiler_wl_FC
14807 pic_flag
=$lt_prog_compiler_pic_FC
14813 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14814 allow_undefined_flag_FC
=
14815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14816 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14819 test $ac_status = 0; }
14821 lt_cv_archive_cmds_need_lc_FC
=no
14823 lt_cv_archive_cmds_need_lc_FC
=yes
14825 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14827 cat conftest.err
1>&5
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14833 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14834 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14905 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14907 library_names_spec
=
14908 libname_spec
='lib$name'
14912 postuninstall_cmds
=
14916 shlibpath_overrides_runpath
=unknown
14918 dynamic_linker
="$host_os ld.so"
14919 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14920 need_lib_prefix
=unknown
14921 hardcode_into_libs
=no
14923 # when you set need_version to no, make sure it does not cause -set_version
14924 # flags to be left without arguments
14925 need_version
=unknown
14930 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14931 shlibpath_var
=LIBPATH
14933 # AIX 3 has no versioning support, so we append a major version to the name.
14934 soname_spec
='${libname}${release}${shared_ext}$major'
14941 hardcode_into_libs
=yes
14942 if test "$host_cpu" = ia64
; then
14943 # AIX 5 supports IA64
14944 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14945 shlibpath_var
=LD_LIBRARY_PATH
14947 # With GCC up to 2.95.x, collect2 would create an import file
14948 # for dependence libraries. The import file would start with
14949 # the line `#! .'. This would cause the generated library to
14950 # depend on `.', always an invalid library. This was fixed in
14951 # development snapshots of GCC prior to 3.0.
14953 aix4 | aix4.
[01] | aix4.
[01].
*)
14954 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14956 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14959 can_build_shared
=no
14963 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14964 # soname into executable. Probably we can add versioning support to
14965 # collect2, so additional links can be useful in future.
14966 if test "$aix_use_runtimelinking" = yes; then
14967 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14968 # instead of lib<name>.a to let people know that these are not
14969 # typical AIX shared libraries.
14970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14972 # We preserve .a as extension for shared libraries through AIX4.2
14973 # and later when we are not doing run time linking.
14974 library_names_spec
='${libname}${release}.a $libname.a'
14975 soname_spec
='${libname}${release}${shared_ext}$major'
14977 shlibpath_var
=LIBPATH
14984 # Since July 2007 AmigaOS4 officially supports .so libraries.
14985 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14989 library_names_spec
='$libname.ixlibrary $libname.a'
14990 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14991 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'
14997 library_names_spec
='${libname}${shared_ext}'
14998 dynamic_linker
="$host_os ld.so"
14999 shlibpath_var
=LIBRARY_PATH
15005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15006 soname_spec
='${libname}${release}${shared_ext}$major'
15007 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15008 shlibpath_var
=LD_LIBRARY_PATH
15009 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15010 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15011 # the default ld.so.conf also contains /usr/contrib/lib and
15012 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15013 # libtool to hard-code these into programs
15016 cygwin
* | mingw
* | pw32
* | cegcc
*)
15017 version_type
=windows
15022 case $GCC,$host_os in
15023 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15024 library_names_spec
='$libname.dll.a'
15025 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15026 postinstall_cmds
='base_file=`basename \${file}`~
15027 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15028 dldir=$destdir/`dirname \$dlpath`~
15029 test -d \$dldir || mkdir -p \$dldir~
15030 $install_prog $dir/$dlname \$dldir/$dlname~
15031 chmod a+x \$dldir/$dlname~
15032 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15033 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15035 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15036 dlpath=$dir/\$dldll~
15038 shlibpath_overrides_runpath
=yes
15042 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15043 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15047 # MinGW DLLs use traditional 'lib' prefix
15048 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15051 # pw32 DLLs use 'pw' prefix rather than 'lib'
15052 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15058 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15061 dynamic_linker
='Win32 ld.exe'
15062 # FIXME: first we should search . and the directory the executable is in
15066 darwin
* | rhapsody
*)
15067 dynamic_linker
="$host_os dyld"
15068 version_type
=darwin
15071 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15072 soname_spec
='${libname}${release}${major}$shared_ext'
15073 shlibpath_overrides_runpath
=yes
15074 shlibpath_var
=DYLD_LIBRARY_PATH
15075 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15077 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15085 soname_spec
='${libname}${release}${shared_ext}$major'
15086 shlibpath_var
=LD_LIBRARY_PATH
15089 freebsd
* | dragonfly
*)
15090 # DragonFly does not have aout. When/if they implement a new
15091 # versioning mechanism, adjust this.
15092 if test -x /usr
/bin
/objformat
; then
15093 objformat
=`/usr/bin/objformat`
15096 freebsd
[23].
*) objformat
=aout
;;
15097 *) objformat
=elf
;;
15100 version_type
=freebsd-
$objformat
15101 case $version_type in
15103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15108 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15112 shlibpath_var
=LD_LIBRARY_PATH
15115 shlibpath_overrides_runpath
=yes
15117 freebsd3.
[01]* | freebsdelf3.
[01]*)
15118 shlibpath_overrides_runpath
=yes
15119 hardcode_into_libs
=yes
15121 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15122 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15123 shlibpath_overrides_runpath
=no
15124 hardcode_into_libs
=yes
15126 *) # from 4.6 on, and DragonFly
15127 shlibpath_overrides_runpath
=yes
15128 hardcode_into_libs
=yes
15137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15138 soname_spec
='${libname}${release}${shared_ext}$major'
15139 shlibpath_var
=LD_LIBRARY_PATH
15140 hardcode_into_libs
=yes
15147 dynamic_linker
="$host_os runtime_loader"
15148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15149 soname_spec
='${libname}${release}${shared_ext}$major'
15150 shlibpath_var
=LIBRARY_PATH
15151 shlibpath_overrides_runpath
=yes
15152 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15153 hardcode_into_libs
=yes
15156 hpux9
* | hpux10
* | hpux11
*)
15157 # Give a soname corresponding to the major version so that dld.sl refuses to
15158 # link against other versions.
15165 hardcode_into_libs
=yes
15166 dynamic_linker
="$host_os dld.so"
15167 shlibpath_var
=LD_LIBRARY_PATH
15168 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15170 soname_spec
='${libname}${release}${shared_ext}$major'
15171 if test "X$HPUX_IA64_MODE" = X32
; then
15172 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15174 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15176 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15180 hardcode_into_libs
=yes
15181 dynamic_linker
="$host_os dld.sl"
15182 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15183 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15185 soname_spec
='${libname}${release}${shared_ext}$major'
15186 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15187 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15191 dynamic_linker
="$host_os dld.sl"
15192 shlibpath_var
=SHLIB_PATH
15193 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15195 soname_spec
='${libname}${release}${shared_ext}$major'
15198 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15199 postinstall_cmds
='chmod 555 $lib'
15200 # or fails outright, so override atomically:
15201 install_override_mode
=555
15208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15209 soname_spec
='${libname}${release}${shared_ext}$major'
15210 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15211 shlibpath_var
=LD_LIBRARY_PATH
15212 shlibpath_overrides_runpath
=no
15213 hardcode_into_libs
=yes
15216 irix5
* | irix6
* | nonstopux
*)
15218 nonstopux
*) version_type
=nonstopux
;;
15220 if test "$lt_cv_prog_gnu_ld" = yes; then
15228 soname_spec
='${libname}${release}${shared_ext}$major'
15229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15231 irix5
* | nonstopux
*)
15232 libsuff
= shlibsuff
=
15235 case $LD in # libtool.m4 will add one of these switches to LD
15236 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15237 libsuff
= shlibsuff
= libmagic
=32-bit;;
15238 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15239 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15240 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15241 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15242 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15246 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15247 shlibpath_overrides_runpath
=no
15248 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15249 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15250 hardcode_into_libs
=yes
15253 # No shared lib support for Linux oldld, aout, or coff.
15254 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15258 # This must be Linux ELF.
15259 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15264 soname_spec
='${libname}${release}${shared_ext}$major'
15265 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15266 shlibpath_var
=LD_LIBRARY_PATH
15267 shlibpath_overrides_runpath
=no
15269 # Some binutils ld are patched to set DT_RUNPATH
15270 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15271 $as_echo_n "(cached) " >&6
15273 lt_cv_shlibpath_overrides_runpath
=no
15274 save_LDFLAGS
=$LDFLAGS
15275 save_libdir
=$libdir
15276 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15277 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15278 if test x
$gcc_no_link = xyes
; then
15279 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15281 cat > conftest.
$ac_ext <<_ACEOF
15286 if ac_fn_fc_try_link
"$LINENO"; then :
15287 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15288 lt_cv_shlibpath_overrides_runpath
=yes
15291 rm -f core conftest.err conftest.
$ac_objext \
15292 conftest
$ac_exeext conftest.
$ac_ext
15293 LDFLAGS
=$save_LDFLAGS
15294 libdir
=$save_libdir
15298 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15300 # This implies no fast_install, which is unacceptable.
15301 # Some rework will be needed to allow for fast_install
15302 # before this can be enabled.
15303 hardcode_into_libs
=yes
15305 # Append ld.so.conf contents to the search path
15306 if test -f /etc
/ld.so.conf
; then
15307 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' ' '`
15308 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15311 # We used to test for /lib/ld.so.1 and disable shared libraries on
15312 # powerpc, because MkLinux only supported shared libraries with the
15313 # GNU dynamic linker. Since this was broken with cross compilers,
15314 # most powerpc-linux boxes support dynamic linking these days and
15315 # people can always --disable-shared, the test was removed, and we
15316 # assume the GNU/Linux dynamic linker is in use.
15317 dynamic_linker
='GNU/Linux ld.so'
15324 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15326 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15327 dynamic_linker
='NetBSD (a.out) ld.so'
15329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15330 soname_spec
='${libname}${release}${shared_ext}$major'
15331 dynamic_linker
='NetBSD ld.elf_so'
15333 shlibpath_var
=LD_LIBRARY_PATH
15334 shlibpath_overrides_runpath
=yes
15335 hardcode_into_libs
=yes
15340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15341 shlibpath_var
=LD_LIBRARY_PATH
15342 shlibpath_overrides_runpath
=yes
15349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15350 soname_spec
='${libname}${release}${shared_ext}$major'
15351 shlibpath_var
=LD_LIBRARY_PATH
15352 shlibpath_overrides_runpath
=no
15353 hardcode_into_libs
=yes
15354 dynamic_linker
='ldqnx.so'
15359 sys_lib_dlsearch_path_spec
="/usr/lib"
15361 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15363 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15364 *) need_version
=no
;;
15366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15367 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15368 shlibpath_var
=LD_LIBRARY_PATH
15369 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15371 openbsd2.
[89] | openbsd2.
[89].
*)
15372 shlibpath_overrides_runpath
=no
15375 shlibpath_overrides_runpath
=yes
15379 shlibpath_overrides_runpath
=yes
15384 libname_spec
='$name'
15387 library_names_spec
='$libname${shared_ext} $libname.a'
15388 dynamic_linker
='OS/2 ld.exe'
15389 shlibpath_var
=LIBPATH
15392 osf3
* | osf4
* | osf5
*)
15396 soname_spec
='${libname}${release}${shared_ext}$major'
15397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398 shlibpath_var
=LD_LIBRARY_PATH
15399 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15400 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15412 soname_spec
='${libname}${release}${shared_ext}$major'
15413 shlibpath_var
=LD_LIBRARY_PATH
15414 shlibpath_overrides_runpath
=yes
15415 hardcode_into_libs
=yes
15416 # ldd complains unless libraries are executable
15417 postinstall_cmds
='chmod +x $lib'
15422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15423 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15424 shlibpath_var
=LD_LIBRARY_PATH
15425 shlibpath_overrides_runpath
=yes
15426 if test "$with_gnu_ld" = yes; then
15434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15435 soname_spec
='${libname}${release}${shared_ext}$major'
15436 shlibpath_var
=LD_LIBRARY_PATH
15437 case $host_vendor in
15439 shlibpath_overrides_runpath
=no
15441 runpath_var
=LD_RUN_PATH
15449 shlibpath_overrides_runpath
=no
15450 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15456 if test -d /usr
/nec
;then
15458 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15459 soname_spec
='$libname${shared_ext}.$major'
15460 shlibpath_var
=LD_LIBRARY_PATH
15464 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15465 version_type
=freebsd-elf
15468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15469 soname_spec
='${libname}${release}${shared_ext}$major'
15470 shlibpath_var
=LD_LIBRARY_PATH
15471 shlibpath_overrides_runpath
=yes
15472 hardcode_into_libs
=yes
15473 if test "$with_gnu_ld" = yes; then
15474 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15476 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15479 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15483 sys_lib_dlsearch_path_spec
='/usr/lib'
15487 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15492 shlibpath_var
=LD_LIBRARY_PATH
15493 shlibpath_overrides_runpath
=no
15494 hardcode_into_libs
=yes
15499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15500 soname_spec
='${libname}${release}${shared_ext}$major'
15501 shlibpath_var
=LD_LIBRARY_PATH
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15509 $as_echo "$dynamic_linker" >&6; }
15510 test "$dynamic_linker" = no
&& can_build_shared
=no
15512 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15513 if test "$GCC" = yes; then
15514 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15517 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15518 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15520 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15521 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15562 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15563 hardcode_action_FC
=
15564 if test -n "$hardcode_libdir_flag_spec_FC" ||
15565 test -n "$runpath_var_FC" ||
15566 test "X$hardcode_automatic_FC" = "Xyes" ; then
15568 # We can hardcode non-existent directories.
15569 if test "$hardcode_direct_FC" != no
&&
15570 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15571 # have to relink, otherwise we might link with an installed library
15572 # when we should be linking with a yet-to-be-installed one
15573 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15574 test "$hardcode_minus_L_FC" != no
; then
15575 # Linking always hardcodes the temporary library directory.
15576 hardcode_action_FC
=relink
15578 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15579 hardcode_action_FC
=immediate
15582 # We cannot hardcode anything, or else we can only hardcode existing
15584 hardcode_action_FC
=unsupported
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15587 $as_echo "$hardcode_action_FC" >&6; }
15589 if test "$hardcode_action_FC" = relink ||
15590 test "$inherit_rpath_FC" = yes; then
15591 # Fast installation is not supported
15592 enable_fast_install
=no
15593 elif test "$shlibpath_overrides_runpath" = yes ||
15594 test "$enable_shared" = no
; then
15595 # Fast installation is not necessary
15596 enable_fast_install
=needless
15605 fi # test -n "$compiler"
15609 fi # test "$_lt_disable_FC" != yes
15612 ac_cpp
='$CPP $CPPFLAGS'
15613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15619 # extra LD Flags which are required for targets
15622 # Darwin needs -single_module when linking libgfortran
15623 extra_ldflags_libgfortran
=-Wl,-single_module
15628 # We need a working compiler at that point, otherwise give a clear
15629 # error message and bail out.
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15632 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15633 ac_ext
=${ac_fc_srcext-f}
15634 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15635 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15636 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15638 cat > conftest.
$ac_ext <<_ACEOF
15641 real, parameter :: bar = sin (12.34 / 2.5)
15644 if ac_fn_fc_try_compile
"$LINENO"; then :
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15646 $as_echo "yes" >&6; }
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15649 $as_echo "no" >&6; }
15650 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15655 ac_cpp
='$CPP $CPPFLAGS'
15656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15662 # Check whether --enable-largefile was given.
15663 if test "${enable_largefile+set}" = set; then :
15664 enableval
=$enable_largefile;
15667 if test "$enable_largefile" != no
; then
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15670 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15671 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15672 $as_echo_n "(cached) " >&6
15674 ac_cv_sys_largefile_CC
=no
15675 if test "$GCC" != yes; then
15678 # IRIX 6.2 and later do not support large files by default,
15679 # so use the C compiler's -n32 option if that helps.
15680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15682 #include <sys/types.h>
15683 /* Check that off_t can represent 2**63 - 1 correctly.
15684 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15685 since some C++ compilers masquerading as C compilers
15686 incorrectly reject 9223372036854775807. */
15687 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15688 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15689 && LARGE_OFF_T % 2147483647 == 1)
15699 if ac_fn_c_try_compile
"$LINENO"; then :
15702 rm -f core conftest.err conftest.
$ac_objext
15704 if ac_fn_c_try_compile
"$LINENO"; then :
15705 ac_cv_sys_largefile_CC
=' -n32'; break
15707 rm -f core conftest.err conftest.
$ac_objext
15711 rm -f conftest.
$ac_ext
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15715 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15716 if test "$ac_cv_sys_largefile_CC" != no
; then
15717 CC
=$CC$ac_cv_sys_largefile_CC
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15721 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15722 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15723 $as_echo_n "(cached) " >&6
15726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15728 #include <sys/types.h>
15729 /* Check that off_t can represent 2**63 - 1 correctly.
15730 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15731 since some C++ compilers masquerading as C compilers
15732 incorrectly reject 9223372036854775807. */
15733 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15734 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15735 && LARGE_OFF_T % 2147483647 == 1)
15745 if ac_fn_c_try_compile
"$LINENO"; then :
15746 ac_cv_sys_file_offset_bits
=no
; break
15748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15751 #define _FILE_OFFSET_BITS 64
15752 #include <sys/types.h>
15753 /* Check that off_t can represent 2**63 - 1 correctly.
15754 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15755 since some C++ compilers masquerading as C compilers
15756 incorrectly reject 9223372036854775807. */
15757 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15758 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15759 && LARGE_OFF_T % 2147483647 == 1)
15769 if ac_fn_c_try_compile
"$LINENO"; then :
15770 ac_cv_sys_file_offset_bits
=64; break
15772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15773 ac_cv_sys_file_offset_bits
=unknown
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15778 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15779 case $ac_cv_sys_file_offset_bits in #(
15782 cat >>confdefs.h
<<_ACEOF
15783 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15788 if test $ac_cv_sys_file_offset_bits = unknown
; then
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15790 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15791 if test "${ac_cv_sys_large_files+set}" = set; then :
15792 $as_echo_n "(cached) " >&6
15795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15796 /* end confdefs.h. */
15797 #include <sys/types.h>
15798 /* Check that off_t can represent 2**63 - 1 correctly.
15799 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15800 since some C++ compilers masquerading as C compilers
15801 incorrectly reject 9223372036854775807. */
15802 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15803 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15804 && LARGE_OFF_T % 2147483647 == 1)
15814 if ac_fn_c_try_compile
"$LINENO"; then :
15815 ac_cv_sys_large_files
=no
; break
15817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15820 #define _LARGE_FILES 1
15821 #include <sys/types.h>
15822 /* Check that off_t can represent 2**63 - 1 correctly.
15823 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15824 since some C++ compilers masquerading as C compilers
15825 incorrectly reject 9223372036854775807. */
15826 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15827 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15828 && LARGE_OFF_T % 2147483647 == 1)
15838 if ac_fn_c_try_compile
"$LINENO"; then :
15839 ac_cv_sys_large_files
=1; break
15841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15842 ac_cv_sys_large_files
=unknown
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15847 $as_echo "$ac_cv_sys_large_files" >&6; }
15848 case $ac_cv_sys_large_files in #(
15851 cat >>confdefs.h
<<_ACEOF
15852 #define _LARGE_FILES $ac_cv_sys_large_files
15862 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15863 if test "x$ac_cv_type_off_t" = x
""yes; then :
15867 cat >>confdefs.h
<<_ACEOF
15868 #define off_t long int
15874 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15875 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15877 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15880 for ac_type
in 'int' 'long int' 'long long int'; do
15881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h. */
15883 $ac_includes_default
15887 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15894 if ac_fn_c_try_compile
"$LINENO"; then :
15896 cat >>confdefs.h
<<_ACEOF
15897 #define intptr_t $ac_type
15902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15903 test -z "$ac_type" && break
15909 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15910 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15912 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15915 for ac_type
in 'unsigned int' 'unsigned long int' \
15916 'unsigned long long int'; do
15917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15918 /* end confdefs.h. */
15919 $ac_includes_default
15923 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15930 if ac_fn_c_try_compile
"$LINENO"; then :
15932 cat >>confdefs.h
<<_ACEOF
15933 #define uintptr_t $ac_type
15938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15939 test -z "$ac_type" && break
15944 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15945 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15947 cat >>confdefs.h
<<_ACEOF
15948 #define HAVE_PTRDIFF_T 1
15955 # check header files (we assume C89 is available, so don't check for that)
15959 for ac_header
in $ac_header_list
15961 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15962 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15964 eval as_val
=\$
$as_ac_Header
15965 if test "x$as_val" = x
""yes; then :
15966 cat >>confdefs.h
<<_ACEOF
15967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16004 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16006 acx_cv_header_stdint
=stddef.h
16007 acx_cv_header_stdint_kind
="(already complete)"
16008 for i
in stdint.h
$inttype_headers; do
16009 unset ac_cv_type_uintptr_t
16010 unset ac_cv_type_uintmax_t
16011 unset ac_cv_type_int_least32_t
16012 unset ac_cv_type_int_fast32_t
16013 unset ac_cv_type_uint64_t
16014 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16015 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16018 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16019 acx_cv_header_stdint
=$i
16024 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16027 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16030 acx_cv_header_stdint_kind
="(mostly complete)"
16033 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16036 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16039 acx_cv_header_stdint_kind
="(mostly complete)"
16042 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16045 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16048 acx_cv_header_stdint_kind
="(mostly complete)"
16051 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16054 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16057 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16062 if test "$acx_cv_header_stdint" = stddef.h
; then
16063 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16064 for i
in stdint.h
$inttype_headers; do
16065 unset ac_cv_type_uintptr_t
16066 unset ac_cv_type_uint32_t
16067 unset ac_cv_type_uint64_t
16068 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16069 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16072 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16073 acx_cv_header_stdint
=$i
16078 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16081 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16085 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16088 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16095 if test "$acx_cv_header_stdint" = stddef.h
; then
16096 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16097 for i
in sys
/types.h
$inttype_headers; do
16098 unset ac_cv_type_u_int32_t
16099 unset ac_cv_type_u_int64_t
16100 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16101 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16104 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16105 acx_cv_header_stdint
=$i
16110 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16113 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16120 if test "$acx_cv_header_stdint" = stddef.h
; then
16121 acx_cv_header_stdint_kind
="(using manual detection)"
16124 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16125 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16126 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16127 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16128 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16130 # ----------------- Summarize what we found so far
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16133 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16135 case `$as_basename -- gstdint.h ||
16136 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16137 Xgstdint.h : 'X\(//\)$' \| \
16138 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16139 $as_echo X/gstdint.h |
16140 sed '/^.*\/\([^/][^/]*\)\/*$/{
16153 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16154 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16155 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16156 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16161 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16163 # ----------------- done included file, check C basic types --------
16165 # Lacking an uintptr_t? Test size of void *
16166 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16167 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16168 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16169 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16170 # This bug is HP SR number 8606223364.
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16172 $as_echo_n "checking size of void *... " >&6; }
16173 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16174 $as_echo_n "(cached) " >&6
16176 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16179 if test "$ac_cv_type_void_p" = yes; then
16180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16182 { as_fn_set_status
77
16183 as_fn_error
"cannot compute sizeof (void *)
16184 See \`config.log' for more details." "$LINENO" 5; }; }
16186 ac_cv_sizeof_void_p
=0
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16192 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16196 cat >>confdefs.h
<<_ACEOF
16197 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16203 # Lacking an uint64_t? Test size of long
16204 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16205 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16206 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16207 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16208 # This bug is HP SR number 8606223364.
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16210 $as_echo_n "checking size of long... " >&6; }
16211 if test "${ac_cv_sizeof_long+set}" = set; then :
16212 $as_echo_n "(cached) " >&6
16214 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16217 if test "$ac_cv_type_long" = yes; then
16218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16220 { as_fn_set_status
77
16221 as_fn_error
"cannot compute sizeof (long)
16222 See \`config.log' for more details." "$LINENO" 5; }; }
16224 ac_cv_sizeof_long
=0
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16230 $as_echo "$ac_cv_sizeof_long" >&6; }
16234 cat >>confdefs.h
<<_ACEOF
16235 #define SIZEOF_LONG $ac_cv_sizeof_long
16241 if test $acx_cv_header_stdint = stddef.h
; then
16242 # Lacking a good header? Test size of everything and deduce all types.
16243 # The cast to long int works around a bug in the HP C Compiler
16244 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16245 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16246 # This bug is HP SR number 8606223364.
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16248 $as_echo_n "checking size of int... " >&6; }
16249 if test "${ac_cv_sizeof_int+set}" = set; then :
16250 $as_echo_n "(cached) " >&6
16252 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16255 if test "$ac_cv_type_int" = yes; then
16256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16258 { as_fn_set_status
77
16259 as_fn_error
"cannot compute sizeof (int)
16260 See \`config.log' for more details." "$LINENO" 5; }; }
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16268 $as_echo "$ac_cv_sizeof_int" >&6; }
16272 cat >>confdefs.h
<<_ACEOF
16273 #define SIZEOF_INT $ac_cv_sizeof_int
16277 # The cast to long int works around a bug in the HP C Compiler
16278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16280 # This bug is HP SR number 8606223364.
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16282 $as_echo_n "checking size of short... " >&6; }
16283 if test "${ac_cv_sizeof_short+set}" = set; then :
16284 $as_echo_n "(cached) " >&6
16286 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16289 if test "$ac_cv_type_short" = yes; then
16290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16292 { as_fn_set_status
77
16293 as_fn_error
"cannot compute sizeof (short)
16294 See \`config.log' for more details." "$LINENO" 5; }; }
16296 ac_cv_sizeof_short
=0
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16302 $as_echo "$ac_cv_sizeof_short" >&6; }
16306 cat >>confdefs.h
<<_ACEOF
16307 #define SIZEOF_SHORT $ac_cv_sizeof_short
16311 # The cast to long int works around a bug in the HP C Compiler
16312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16314 # This bug is HP SR number 8606223364.
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16316 $as_echo_n "checking size of char... " >&6; }
16317 if test "${ac_cv_sizeof_char+set}" = set; then :
16318 $as_echo_n "(cached) " >&6
16320 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16323 if test "$ac_cv_type_char" = yes; then
16324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16326 { as_fn_set_status
77
16327 as_fn_error
"cannot compute sizeof (char)
16328 See \`config.log' for more details." "$LINENO" 5; }; }
16330 ac_cv_sizeof_char
=0
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16336 $as_echo "$ac_cv_sizeof_char" >&6; }
16340 cat >>confdefs.h
<<_ACEOF
16341 #define SIZEOF_CHAR $ac_cv_sizeof_char
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16347 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16348 case "$ac_cv_sizeof_char" in
16349 1) acx_cv_type_int8_t
=char
;;
16350 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16353 $as_echo "$acx_cv_type_int8_t" >&6; }
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16356 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16357 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16358 2:*) acx_cv_type_int16_t
=int
;;
16359 *:2) acx_cv_type_int16_t
=short
;;
16360 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16363 $as_echo "$acx_cv_type_int16_t" >&6; }
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16366 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16367 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16368 4:*) acx_cv_type_int32_t
=int
;;
16369 *:4) acx_cv_type_int32_t
=long
;;
16370 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16373 $as_echo "$acx_cv_type_int32_t" >&6; }
16376 # These tests are here to make the output prettier
16378 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16379 case "$ac_cv_sizeof_long" in
16380 8) acx_cv_type_int64_t
=long
;;
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16383 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16385 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16388 # Now we can use the above types
16390 if test "$ac_cv_type_uintptr_t" != yes; then
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16392 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16393 case $ac_cv_sizeof_void_p in
16394 2) acx_cv_type_intptr_t
=int16_t
;;
16395 4) acx_cv_type_intptr_t
=int32_t
;;
16396 8) acx_cv_type_intptr_t
=int64_t
;;
16397 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16400 $as_echo "$acx_cv_type_intptr_t" >&6; }
16403 # ----------------- done all checks, emit header -------------
16404 ac_config_commands
="$ac_config_commands gstdint.h"
16409 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16410 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16412 cat >>confdefs.h
<<_ACEOF
16413 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16418 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16419 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16421 cat >>confdefs.h
<<_ACEOF
16422 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16427 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16428 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16430 cat >>confdefs.h
<<_ACEOF
16431 #define HAVE_STRUCT_STAT_ST_RDEV 1
16438 # Check for library functions.
16442 for ac_func
in $ac_func_list
16444 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16445 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16446 eval as_val
=\$
$as_ac_var
16447 if test "x$as_val" = x
""yes; then :
16448 cat >>confdefs.h
<<_ACEOF
16449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16559 # Check strerror_r, cannot be above as versions with two and three arguments exist
16561 ac_save_CFLAGS
="$CFLAGS"
16562 CFLAGS
="-Wimplicit-function-declaration -Werror"
16563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16565 #define _GNU_SOURCE 1
16566 #include <string.h>
16567 #include <locale.h>
16571 char s[128]; strerror_r(5, s, 128);
16576 if ac_fn_c_try_compile
"$LINENO"; then :
16578 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16582 CFLAGS
="$ac_save_CFLAGS"
16584 ac_save_CFLAGS
="$CFLAGS"
16585 CFLAGS
="-Wimplicit-function-declaration -Werror"
16586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16588 #define _GNU_SOURCE 1
16589 #include <string.h>
16590 #include <locale.h>
16594 char s[128]; strerror_r(5, s);
16599 if ac_fn_c_try_compile
"$LINENO"; then :
16601 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16605 CFLAGS
="$ac_save_CFLAGS"
16608 # Check for C99 (and other IEEE) math functions
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16610 $as_echo_n "checking for sin in -lm... " >&6; }
16611 if test "${ac_cv_lib_m_sin+set}" = set; then :
16612 $as_echo_n "(cached) " >&6
16614 ac_check_lib_save_LIBS
=$LIBS
16616 if test x
$gcc_no_link = xyes
; then
16617 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16622 /* Override any GCC internal prototype to avoid an error.
16623 Use char because int might match the return type of a GCC
16624 builtin and then its argument prototype would still apply. */
16637 if ac_fn_c_try_link
"$LINENO"; then :
16638 ac_cv_lib_m_sin
=yes
16642 rm -f core conftest.err conftest.
$ac_objext \
16643 conftest
$ac_exeext conftest.
$ac_ext
16644 LIBS
=$ac_check_lib_save_LIBS
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16647 $as_echo "$ac_cv_lib_m_sin" >&6; }
16648 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16649 cat >>confdefs.h
<<_ACEOF
16650 #define HAVE_LIBM 1
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16664 $as_echo_n "checking for acosf... " >&6; }
16665 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16666 $as_echo_n "(cached) " >&6
16668 if test x
$gcc_no_link = xyes
; then
16669 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16674 #ifdef HAVE_COMPLEX_H
16675 #include <complex.h>
16681 int (*ptr)() = (int (*)())acosf;
16690 if ac_fn_c_try_link
"$LINENO"; then :
16691 gcc_cv_math_func_acosf
=yes
16693 gcc_cv_math_func_acosf
=no
16695 rm -f core conftest.err conftest.
$ac_objext \
16696 conftest
$ac_exeext conftest.
$ac_ext
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16699 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16700 if test $gcc_cv_math_func_acosf = yes; then
16702 cat >>confdefs.h
<<_ACEOF
16703 #define HAVE_ACOSF 1
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16712 $as_echo_n "checking for acos... " >&6; }
16713 if test "${gcc_cv_math_func_acos+set}" = set; then :
16714 $as_echo_n "(cached) " >&6
16716 if test x
$gcc_no_link = xyes
; then
16717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16722 #ifdef HAVE_COMPLEX_H
16723 #include <complex.h>
16729 int (*ptr)() = (int (*)())acos;
16738 if ac_fn_c_try_link
"$LINENO"; then :
16739 gcc_cv_math_func_acos
=yes
16741 gcc_cv_math_func_acos
=no
16743 rm -f core conftest.err conftest.
$ac_objext \
16744 conftest
$ac_exeext conftest.
$ac_ext
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16747 $as_echo "$gcc_cv_math_func_acos" >&6; }
16748 if test $gcc_cv_math_func_acos = yes; then
16750 cat >>confdefs.h
<<_ACEOF
16751 #define HAVE_ACOS 1
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16760 $as_echo_n "checking for acosl... " >&6; }
16761 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16762 $as_echo_n "(cached) " >&6
16764 if test x
$gcc_no_link = xyes
; then
16765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16770 #ifdef HAVE_COMPLEX_H
16771 #include <complex.h>
16777 int (*ptr)() = (int (*)())acosl;
16786 if ac_fn_c_try_link
"$LINENO"; then :
16787 gcc_cv_math_func_acosl
=yes
16789 gcc_cv_math_func_acosl
=no
16791 rm -f core conftest.err conftest.
$ac_objext \
16792 conftest
$ac_exeext conftest.
$ac_ext
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16795 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16796 if test $gcc_cv_math_func_acosl = yes; then
16798 cat >>confdefs.h
<<_ACEOF
16799 #define HAVE_ACOSL 1
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16808 $as_echo_n "checking for acoshf... " >&6; }
16809 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16810 $as_echo_n "(cached) " >&6
16812 if test x
$gcc_no_link = xyes
; then
16813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 #ifdef HAVE_COMPLEX_H
16819 #include <complex.h>
16825 int (*ptr)() = (int (*)())acoshf;
16834 if ac_fn_c_try_link
"$LINENO"; then :
16835 gcc_cv_math_func_acoshf
=yes
16837 gcc_cv_math_func_acoshf
=no
16839 rm -f core conftest.err conftest.
$ac_objext \
16840 conftest
$ac_exeext conftest.
$ac_ext
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16843 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16844 if test $gcc_cv_math_func_acoshf = yes; then
16846 cat >>confdefs.h
<<_ACEOF
16847 #define HAVE_ACOSHF 1
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16856 $as_echo_n "checking for acosh... " >&6; }
16857 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16858 $as_echo_n "(cached) " >&6
16860 if test x
$gcc_no_link = xyes
; then
16861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16866 #ifdef HAVE_COMPLEX_H
16867 #include <complex.h>
16873 int (*ptr)() = (int (*)())acosh;
16882 if ac_fn_c_try_link
"$LINENO"; then :
16883 gcc_cv_math_func_acosh
=yes
16885 gcc_cv_math_func_acosh
=no
16887 rm -f core conftest.err conftest.
$ac_objext \
16888 conftest
$ac_exeext conftest.
$ac_ext
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16891 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16892 if test $gcc_cv_math_func_acosh = yes; then
16894 cat >>confdefs.h
<<_ACEOF
16895 #define HAVE_ACOSH 1
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16904 $as_echo_n "checking for acoshl... " >&6; }
16905 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16906 $as_echo_n "(cached) " >&6
16908 if test x
$gcc_no_link = xyes
; then
16909 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16914 #ifdef HAVE_COMPLEX_H
16915 #include <complex.h>
16921 int (*ptr)() = (int (*)())acoshl;
16930 if ac_fn_c_try_link
"$LINENO"; then :
16931 gcc_cv_math_func_acoshl
=yes
16933 gcc_cv_math_func_acoshl
=no
16935 rm -f core conftest.err conftest.
$ac_objext \
16936 conftest
$ac_exeext conftest.
$ac_ext
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16939 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16940 if test $gcc_cv_math_func_acoshl = yes; then
16942 cat >>confdefs.h
<<_ACEOF
16943 #define HAVE_ACOSHL 1
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16952 $as_echo_n "checking for asinf... " >&6; }
16953 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16954 $as_echo_n "(cached) " >&6
16956 if test x
$gcc_no_link = xyes
; then
16957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16962 #ifdef HAVE_COMPLEX_H
16963 #include <complex.h>
16969 int (*ptr)() = (int (*)())asinf;
16978 if ac_fn_c_try_link
"$LINENO"; then :
16979 gcc_cv_math_func_asinf
=yes
16981 gcc_cv_math_func_asinf
=no
16983 rm -f core conftest.err conftest.
$ac_objext \
16984 conftest
$ac_exeext conftest.
$ac_ext
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
16987 $as_echo "$gcc_cv_math_func_asinf" >&6; }
16988 if test $gcc_cv_math_func_asinf = yes; then
16990 cat >>confdefs.h
<<_ACEOF
16991 #define HAVE_ASINF 1
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17000 $as_echo_n "checking for asin... " >&6; }
17001 if test "${gcc_cv_math_func_asin+set}" = set; then :
17002 $as_echo_n "(cached) " >&6
17004 if test x
$gcc_no_link = xyes
; then
17005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17010 #ifdef HAVE_COMPLEX_H
17011 #include <complex.h>
17017 int (*ptr)() = (int (*)())asin;
17026 if ac_fn_c_try_link
"$LINENO"; then :
17027 gcc_cv_math_func_asin
=yes
17029 gcc_cv_math_func_asin
=no
17031 rm -f core conftest.err conftest.
$ac_objext \
17032 conftest
$ac_exeext conftest.
$ac_ext
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17035 $as_echo "$gcc_cv_math_func_asin" >&6; }
17036 if test $gcc_cv_math_func_asin = yes; then
17038 cat >>confdefs.h
<<_ACEOF
17039 #define HAVE_ASIN 1
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17048 $as_echo_n "checking for asinl... " >&6; }
17049 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17050 $as_echo_n "(cached) " >&6
17052 if test x
$gcc_no_link = xyes
; then
17053 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17058 #ifdef HAVE_COMPLEX_H
17059 #include <complex.h>
17065 int (*ptr)() = (int (*)())asinl;
17074 if ac_fn_c_try_link
"$LINENO"; then :
17075 gcc_cv_math_func_asinl
=yes
17077 gcc_cv_math_func_asinl
=no
17079 rm -f core conftest.err conftest.
$ac_objext \
17080 conftest
$ac_exeext conftest.
$ac_ext
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17083 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17084 if test $gcc_cv_math_func_asinl = yes; then
17086 cat >>confdefs.h
<<_ACEOF
17087 #define HAVE_ASINL 1
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17096 $as_echo_n "checking for asinhf... " >&6; }
17097 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17098 $as_echo_n "(cached) " >&6
17100 if test x
$gcc_no_link = xyes
; then
17101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17106 #ifdef HAVE_COMPLEX_H
17107 #include <complex.h>
17113 int (*ptr)() = (int (*)())asinhf;
17122 if ac_fn_c_try_link
"$LINENO"; then :
17123 gcc_cv_math_func_asinhf
=yes
17125 gcc_cv_math_func_asinhf
=no
17127 rm -f core conftest.err conftest.
$ac_objext \
17128 conftest
$ac_exeext conftest.
$ac_ext
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17131 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17132 if test $gcc_cv_math_func_asinhf = yes; then
17134 cat >>confdefs.h
<<_ACEOF
17135 #define HAVE_ASINHF 1
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17144 $as_echo_n "checking for asinh... " >&6; }
17145 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17146 $as_echo_n "(cached) " >&6
17148 if test x
$gcc_no_link = xyes
; then
17149 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17154 #ifdef HAVE_COMPLEX_H
17155 #include <complex.h>
17161 int (*ptr)() = (int (*)())asinh;
17170 if ac_fn_c_try_link
"$LINENO"; then :
17171 gcc_cv_math_func_asinh
=yes
17173 gcc_cv_math_func_asinh
=no
17175 rm -f core conftest.err conftest.
$ac_objext \
17176 conftest
$ac_exeext conftest.
$ac_ext
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17179 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17180 if test $gcc_cv_math_func_asinh = yes; then
17182 cat >>confdefs.h
<<_ACEOF
17183 #define HAVE_ASINH 1
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17192 $as_echo_n "checking for asinhl... " >&6; }
17193 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17194 $as_echo_n "(cached) " >&6
17196 if test x
$gcc_no_link = xyes
; then
17197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17202 #ifdef HAVE_COMPLEX_H
17203 #include <complex.h>
17209 int (*ptr)() = (int (*)())asinhl;
17218 if ac_fn_c_try_link
"$LINENO"; then :
17219 gcc_cv_math_func_asinhl
=yes
17221 gcc_cv_math_func_asinhl
=no
17223 rm -f core conftest.err conftest.
$ac_objext \
17224 conftest
$ac_exeext conftest.
$ac_ext
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17227 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17228 if test $gcc_cv_math_func_asinhl = yes; then
17230 cat >>confdefs.h
<<_ACEOF
17231 #define HAVE_ASINHL 1
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17240 $as_echo_n "checking for atan2f... " >&6; }
17241 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17242 $as_echo_n "(cached) " >&6
17244 if test x
$gcc_no_link = xyes
; then
17245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17250 #ifdef HAVE_COMPLEX_H
17251 #include <complex.h>
17257 int (*ptr)() = (int (*)())atan2f;
17266 if ac_fn_c_try_link
"$LINENO"; then :
17267 gcc_cv_math_func_atan2f
=yes
17269 gcc_cv_math_func_atan2f
=no
17271 rm -f core conftest.err conftest.
$ac_objext \
17272 conftest
$ac_exeext conftest.
$ac_ext
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17275 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17276 if test $gcc_cv_math_func_atan2f = yes; then
17278 cat >>confdefs.h
<<_ACEOF
17279 #define HAVE_ATAN2F 1
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17288 $as_echo_n "checking for atan2... " >&6; }
17289 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17290 $as_echo_n "(cached) " >&6
17292 if test x
$gcc_no_link = xyes
; then
17293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17298 #ifdef HAVE_COMPLEX_H
17299 #include <complex.h>
17305 int (*ptr)() = (int (*)())atan2;
17314 if ac_fn_c_try_link
"$LINENO"; then :
17315 gcc_cv_math_func_atan2
=yes
17317 gcc_cv_math_func_atan2
=no
17319 rm -f core conftest.err conftest.
$ac_objext \
17320 conftest
$ac_exeext conftest.
$ac_ext
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17323 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17324 if test $gcc_cv_math_func_atan2 = yes; then
17326 cat >>confdefs.h
<<_ACEOF
17327 #define HAVE_ATAN2 1
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17336 $as_echo_n "checking for atan2l... " >&6; }
17337 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17338 $as_echo_n "(cached) " >&6
17340 if test x
$gcc_no_link = xyes
; then
17341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17346 #ifdef HAVE_COMPLEX_H
17347 #include <complex.h>
17353 int (*ptr)() = (int (*)())atan2l;
17362 if ac_fn_c_try_link
"$LINENO"; then :
17363 gcc_cv_math_func_atan2l
=yes
17365 gcc_cv_math_func_atan2l
=no
17367 rm -f core conftest.err conftest.
$ac_objext \
17368 conftest
$ac_exeext conftest.
$ac_ext
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17371 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17372 if test $gcc_cv_math_func_atan2l = yes; then
17374 cat >>confdefs.h
<<_ACEOF
17375 #define HAVE_ATAN2L 1
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17384 $as_echo_n "checking for atanf... " >&6; }
17385 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17386 $as_echo_n "(cached) " >&6
17388 if test x
$gcc_no_link = xyes
; then
17389 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17394 #ifdef HAVE_COMPLEX_H
17395 #include <complex.h>
17401 int (*ptr)() = (int (*)())atanf;
17410 if ac_fn_c_try_link
"$LINENO"; then :
17411 gcc_cv_math_func_atanf
=yes
17413 gcc_cv_math_func_atanf
=no
17415 rm -f core conftest.err conftest.
$ac_objext \
17416 conftest
$ac_exeext conftest.
$ac_ext
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17419 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17420 if test $gcc_cv_math_func_atanf = yes; then
17422 cat >>confdefs.h
<<_ACEOF
17423 #define HAVE_ATANF 1
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17432 $as_echo_n "checking for atan... " >&6; }
17433 if test "${gcc_cv_math_func_atan+set}" = set; then :
17434 $as_echo_n "(cached) " >&6
17436 if test x
$gcc_no_link = xyes
; then
17437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17442 #ifdef HAVE_COMPLEX_H
17443 #include <complex.h>
17449 int (*ptr)() = (int (*)())atan;
17458 if ac_fn_c_try_link
"$LINENO"; then :
17459 gcc_cv_math_func_atan
=yes
17461 gcc_cv_math_func_atan
=no
17463 rm -f core conftest.err conftest.
$ac_objext \
17464 conftest
$ac_exeext conftest.
$ac_ext
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17467 $as_echo "$gcc_cv_math_func_atan" >&6; }
17468 if test $gcc_cv_math_func_atan = yes; then
17470 cat >>confdefs.h
<<_ACEOF
17471 #define HAVE_ATAN 1
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17480 $as_echo_n "checking for atanl... " >&6; }
17481 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17482 $as_echo_n "(cached) " >&6
17484 if test x
$gcc_no_link = xyes
; then
17485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17488 /* end confdefs.h. */
17490 #ifdef HAVE_COMPLEX_H
17491 #include <complex.h>
17497 int (*ptr)() = (int (*)())atanl;
17506 if ac_fn_c_try_link
"$LINENO"; then :
17507 gcc_cv_math_func_atanl
=yes
17509 gcc_cv_math_func_atanl
=no
17511 rm -f core conftest.err conftest.
$ac_objext \
17512 conftest
$ac_exeext conftest.
$ac_ext
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17515 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17516 if test $gcc_cv_math_func_atanl = yes; then
17518 cat >>confdefs.h
<<_ACEOF
17519 #define HAVE_ATANL 1
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17528 $as_echo_n "checking for atanhf... " >&6; }
17529 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17530 $as_echo_n "(cached) " >&6
17532 if test x
$gcc_no_link = xyes
; then
17533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17538 #ifdef HAVE_COMPLEX_H
17539 #include <complex.h>
17545 int (*ptr)() = (int (*)())atanhf;
17554 if ac_fn_c_try_link
"$LINENO"; then :
17555 gcc_cv_math_func_atanhf
=yes
17557 gcc_cv_math_func_atanhf
=no
17559 rm -f core conftest.err conftest.
$ac_objext \
17560 conftest
$ac_exeext conftest.
$ac_ext
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17563 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17564 if test $gcc_cv_math_func_atanhf = yes; then
17566 cat >>confdefs.h
<<_ACEOF
17567 #define HAVE_ATANHF 1
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17576 $as_echo_n "checking for atanh... " >&6; }
17577 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17578 $as_echo_n "(cached) " >&6
17580 if test x
$gcc_no_link = xyes
; then
17581 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17586 #ifdef HAVE_COMPLEX_H
17587 #include <complex.h>
17593 int (*ptr)() = (int (*)())atanh;
17602 if ac_fn_c_try_link
"$LINENO"; then :
17603 gcc_cv_math_func_atanh
=yes
17605 gcc_cv_math_func_atanh
=no
17607 rm -f core conftest.err conftest.
$ac_objext \
17608 conftest
$ac_exeext conftest.
$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17611 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17612 if test $gcc_cv_math_func_atanh = yes; then
17614 cat >>confdefs.h
<<_ACEOF
17615 #define HAVE_ATANH 1
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17624 $as_echo_n "checking for atanhl... " >&6; }
17625 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17626 $as_echo_n "(cached) " >&6
17628 if test x
$gcc_no_link = xyes
; then
17629 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17634 #ifdef HAVE_COMPLEX_H
17635 #include <complex.h>
17641 int (*ptr)() = (int (*)())atanhl;
17650 if ac_fn_c_try_link
"$LINENO"; then :
17651 gcc_cv_math_func_atanhl
=yes
17653 gcc_cv_math_func_atanhl
=no
17655 rm -f core conftest.err conftest.
$ac_objext \
17656 conftest
$ac_exeext conftest.
$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17659 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17660 if test $gcc_cv_math_func_atanhl = yes; then
17662 cat >>confdefs.h
<<_ACEOF
17663 #define HAVE_ATANHL 1
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17672 $as_echo_n "checking for cargf... " >&6; }
17673 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17674 $as_echo_n "(cached) " >&6
17676 if test x
$gcc_no_link = xyes
; then
17677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17682 #ifdef HAVE_COMPLEX_H
17683 #include <complex.h>
17689 int (*ptr)() = (int (*)())cargf;
17698 if ac_fn_c_try_link
"$LINENO"; then :
17699 gcc_cv_math_func_cargf
=yes
17701 gcc_cv_math_func_cargf
=no
17703 rm -f core conftest.err conftest.
$ac_objext \
17704 conftest
$ac_exeext conftest.
$ac_ext
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17707 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17708 if test $gcc_cv_math_func_cargf = yes; then
17710 cat >>confdefs.h
<<_ACEOF
17711 #define HAVE_CARGF 1
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17720 $as_echo_n "checking for carg... " >&6; }
17721 if test "${gcc_cv_math_func_carg+set}" = set; then :
17722 $as_echo_n "(cached) " >&6
17724 if test x
$gcc_no_link = xyes
; then
17725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17730 #ifdef HAVE_COMPLEX_H
17731 #include <complex.h>
17737 int (*ptr)() = (int (*)())carg;
17746 if ac_fn_c_try_link
"$LINENO"; then :
17747 gcc_cv_math_func_carg
=yes
17749 gcc_cv_math_func_carg
=no
17751 rm -f core conftest.err conftest.
$ac_objext \
17752 conftest
$ac_exeext conftest.
$ac_ext
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17755 $as_echo "$gcc_cv_math_func_carg" >&6; }
17756 if test $gcc_cv_math_func_carg = yes; then
17758 cat >>confdefs.h
<<_ACEOF
17759 #define HAVE_CARG 1
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17768 $as_echo_n "checking for cargl... " >&6; }
17769 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17770 $as_echo_n "(cached) " >&6
17772 if test x
$gcc_no_link = xyes
; then
17773 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17778 #ifdef HAVE_COMPLEX_H
17779 #include <complex.h>
17785 int (*ptr)() = (int (*)())cargl;
17794 if ac_fn_c_try_link
"$LINENO"; then :
17795 gcc_cv_math_func_cargl
=yes
17797 gcc_cv_math_func_cargl
=no
17799 rm -f core conftest.err conftest.
$ac_objext \
17800 conftest
$ac_exeext conftest.
$ac_ext
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17803 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17804 if test $gcc_cv_math_func_cargl = yes; then
17806 cat >>confdefs.h
<<_ACEOF
17807 #define HAVE_CARGL 1
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17816 $as_echo_n "checking for ceilf... " >&6; }
17817 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17818 $as_echo_n "(cached) " >&6
17820 if test x
$gcc_no_link = xyes
; then
17821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17826 #ifdef HAVE_COMPLEX_H
17827 #include <complex.h>
17833 int (*ptr)() = (int (*)())ceilf;
17842 if ac_fn_c_try_link
"$LINENO"; then :
17843 gcc_cv_math_func_ceilf
=yes
17845 gcc_cv_math_func_ceilf
=no
17847 rm -f core conftest.err conftest.
$ac_objext \
17848 conftest
$ac_exeext conftest.
$ac_ext
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17851 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17852 if test $gcc_cv_math_func_ceilf = yes; then
17854 cat >>confdefs.h
<<_ACEOF
17855 #define HAVE_CEILF 1
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17864 $as_echo_n "checking for ceil... " >&6; }
17865 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17866 $as_echo_n "(cached) " >&6
17868 if test x
$gcc_no_link = xyes
; then
17869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17874 #ifdef HAVE_COMPLEX_H
17875 #include <complex.h>
17881 int (*ptr)() = (int (*)())ceil;
17890 if ac_fn_c_try_link
"$LINENO"; then :
17891 gcc_cv_math_func_ceil
=yes
17893 gcc_cv_math_func_ceil
=no
17895 rm -f core conftest.err conftest.
$ac_objext \
17896 conftest
$ac_exeext conftest.
$ac_ext
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17899 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17900 if test $gcc_cv_math_func_ceil = yes; then
17902 cat >>confdefs.h
<<_ACEOF
17903 #define HAVE_CEIL 1
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17912 $as_echo_n "checking for ceill... " >&6; }
17913 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17916 if test x
$gcc_no_link = xyes
; then
17917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17922 #ifdef HAVE_COMPLEX_H
17923 #include <complex.h>
17929 int (*ptr)() = (int (*)())ceill;
17938 if ac_fn_c_try_link
"$LINENO"; then :
17939 gcc_cv_math_func_ceill
=yes
17941 gcc_cv_math_func_ceill
=no
17943 rm -f core conftest.err conftest.
$ac_objext \
17944 conftest
$ac_exeext conftest.
$ac_ext
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17947 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17948 if test $gcc_cv_math_func_ceill = yes; then
17950 cat >>confdefs.h
<<_ACEOF
17951 #define HAVE_CEILL 1
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17960 $as_echo_n "checking for copysignf... " >&6; }
17961 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17962 $as_echo_n "(cached) " >&6
17964 if test x
$gcc_no_link = xyes
; then
17965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17970 #ifdef HAVE_COMPLEX_H
17971 #include <complex.h>
17977 int (*ptr)() = (int (*)())copysignf;
17986 if ac_fn_c_try_link
"$LINENO"; then :
17987 gcc_cv_math_func_copysignf
=yes
17989 gcc_cv_math_func_copysignf
=no
17991 rm -f core conftest.err conftest.
$ac_objext \
17992 conftest
$ac_exeext conftest.
$ac_ext
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
17995 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
17996 if test $gcc_cv_math_func_copysignf = yes; then
17998 cat >>confdefs.h
<<_ACEOF
17999 #define HAVE_COPYSIGNF 1
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18008 $as_echo_n "checking for copysign... " >&6; }
18009 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18010 $as_echo_n "(cached) " >&6
18012 if test x
$gcc_no_link = xyes
; then
18013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18018 #ifdef HAVE_COMPLEX_H
18019 #include <complex.h>
18025 int (*ptr)() = (int (*)())copysign;
18034 if ac_fn_c_try_link
"$LINENO"; then :
18035 gcc_cv_math_func_copysign
=yes
18037 gcc_cv_math_func_copysign
=no
18039 rm -f core conftest.err conftest.
$ac_objext \
18040 conftest
$ac_exeext conftest.
$ac_ext
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18043 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18044 if test $gcc_cv_math_func_copysign = yes; then
18046 cat >>confdefs.h
<<_ACEOF
18047 #define HAVE_COPYSIGN 1
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18056 $as_echo_n "checking for copysignl... " >&6; }
18057 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18058 $as_echo_n "(cached) " >&6
18060 if test x
$gcc_no_link = xyes
; then
18061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18066 #ifdef HAVE_COMPLEX_H
18067 #include <complex.h>
18073 int (*ptr)() = (int (*)())copysignl;
18082 if ac_fn_c_try_link
"$LINENO"; then :
18083 gcc_cv_math_func_copysignl
=yes
18085 gcc_cv_math_func_copysignl
=no
18087 rm -f core conftest.err conftest.
$ac_objext \
18088 conftest
$ac_exeext conftest.
$ac_ext
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18091 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18092 if test $gcc_cv_math_func_copysignl = yes; then
18094 cat >>confdefs.h
<<_ACEOF
18095 #define HAVE_COPYSIGNL 1
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18104 $as_echo_n "checking for cosf... " >&6; }
18105 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18106 $as_echo_n "(cached) " >&6
18108 if test x
$gcc_no_link = xyes
; then
18109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18112 /* end confdefs.h. */
18114 #ifdef HAVE_COMPLEX_H
18115 #include <complex.h>
18121 int (*ptr)() = (int (*)())cosf;
18130 if ac_fn_c_try_link
"$LINENO"; then :
18131 gcc_cv_math_func_cosf
=yes
18133 gcc_cv_math_func_cosf
=no
18135 rm -f core conftest.err conftest.
$ac_objext \
18136 conftest
$ac_exeext conftest.
$ac_ext
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18139 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18140 if test $gcc_cv_math_func_cosf = yes; then
18142 cat >>confdefs.h
<<_ACEOF
18143 #define HAVE_COSF 1
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18152 $as_echo_n "checking for cos... " >&6; }
18153 if test "${gcc_cv_math_func_cos+set}" = set; then :
18154 $as_echo_n "(cached) " >&6
18156 if test x
$gcc_no_link = xyes
; then
18157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18160 /* end confdefs.h. */
18162 #ifdef HAVE_COMPLEX_H
18163 #include <complex.h>
18169 int (*ptr)() = (int (*)())cos;
18178 if ac_fn_c_try_link
"$LINENO"; then :
18179 gcc_cv_math_func_cos
=yes
18181 gcc_cv_math_func_cos
=no
18183 rm -f core conftest.err conftest.
$ac_objext \
18184 conftest
$ac_exeext conftest.
$ac_ext
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18187 $as_echo "$gcc_cv_math_func_cos" >&6; }
18188 if test $gcc_cv_math_func_cos = yes; then
18190 cat >>confdefs.h
<<_ACEOF
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18200 $as_echo_n "checking for cosl... " >&6; }
18201 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18202 $as_echo_n "(cached) " >&6
18204 if test x
$gcc_no_link = xyes
; then
18205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18208 /* end confdefs.h. */
18210 #ifdef HAVE_COMPLEX_H
18211 #include <complex.h>
18217 int (*ptr)() = (int (*)())cosl;
18226 if ac_fn_c_try_link
"$LINENO"; then :
18227 gcc_cv_math_func_cosl
=yes
18229 gcc_cv_math_func_cosl
=no
18231 rm -f core conftest.err conftest.
$ac_objext \
18232 conftest
$ac_exeext conftest.
$ac_ext
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18235 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18236 if test $gcc_cv_math_func_cosl = yes; then
18238 cat >>confdefs.h
<<_ACEOF
18239 #define HAVE_COSL 1
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18248 $as_echo_n "checking for ccosf... " >&6; }
18249 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18250 $as_echo_n "(cached) " >&6
18252 if test x
$gcc_no_link = xyes
; then
18253 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18258 #ifdef HAVE_COMPLEX_H
18259 #include <complex.h>
18265 int (*ptr)() = (int (*)())ccosf;
18274 if ac_fn_c_try_link
"$LINENO"; then :
18275 gcc_cv_math_func_ccosf
=yes
18277 gcc_cv_math_func_ccosf
=no
18279 rm -f core conftest.err conftest.
$ac_objext \
18280 conftest
$ac_exeext conftest.
$ac_ext
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18283 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18284 if test $gcc_cv_math_func_ccosf = yes; then
18286 cat >>confdefs.h
<<_ACEOF
18287 #define HAVE_CCOSF 1
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18296 $as_echo_n "checking for ccos... " >&6; }
18297 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18298 $as_echo_n "(cached) " >&6
18300 if test x
$gcc_no_link = xyes
; then
18301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18306 #ifdef HAVE_COMPLEX_H
18307 #include <complex.h>
18313 int (*ptr)() = (int (*)())ccos;
18322 if ac_fn_c_try_link
"$LINENO"; then :
18323 gcc_cv_math_func_ccos
=yes
18325 gcc_cv_math_func_ccos
=no
18327 rm -f core conftest.err conftest.
$ac_objext \
18328 conftest
$ac_exeext conftest.
$ac_ext
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18331 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18332 if test $gcc_cv_math_func_ccos = yes; then
18334 cat >>confdefs.h
<<_ACEOF
18335 #define HAVE_CCOS 1
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18344 $as_echo_n "checking for ccosl... " >&6; }
18345 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18346 $as_echo_n "(cached) " >&6
18348 if test x
$gcc_no_link = xyes
; then
18349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18352 /* end confdefs.h. */
18354 #ifdef HAVE_COMPLEX_H
18355 #include <complex.h>
18361 int (*ptr)() = (int (*)())ccosl;
18370 if ac_fn_c_try_link
"$LINENO"; then :
18371 gcc_cv_math_func_ccosl
=yes
18373 gcc_cv_math_func_ccosl
=no
18375 rm -f core conftest.err conftest.
$ac_objext \
18376 conftest
$ac_exeext conftest.
$ac_ext
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18379 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18380 if test $gcc_cv_math_func_ccosl = yes; then
18382 cat >>confdefs.h
<<_ACEOF
18383 #define HAVE_CCOSL 1
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18392 $as_echo_n "checking for coshf... " >&6; }
18393 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18394 $as_echo_n "(cached) " >&6
18396 if test x
$gcc_no_link = xyes
; then
18397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18402 #ifdef HAVE_COMPLEX_H
18403 #include <complex.h>
18409 int (*ptr)() = (int (*)())coshf;
18418 if ac_fn_c_try_link
"$LINENO"; then :
18419 gcc_cv_math_func_coshf
=yes
18421 gcc_cv_math_func_coshf
=no
18423 rm -f core conftest.err conftest.
$ac_objext \
18424 conftest
$ac_exeext conftest.
$ac_ext
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18427 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18428 if test $gcc_cv_math_func_coshf = yes; then
18430 cat >>confdefs.h
<<_ACEOF
18431 #define HAVE_COSHF 1
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18440 $as_echo_n "checking for cosh... " >&6; }
18441 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18444 if test x
$gcc_no_link = xyes
; then
18445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18450 #ifdef HAVE_COMPLEX_H
18451 #include <complex.h>
18457 int (*ptr)() = (int (*)())cosh;
18466 if ac_fn_c_try_link
"$LINENO"; then :
18467 gcc_cv_math_func_cosh
=yes
18469 gcc_cv_math_func_cosh
=no
18471 rm -f core conftest.err conftest.
$ac_objext \
18472 conftest
$ac_exeext conftest.
$ac_ext
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18475 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18476 if test $gcc_cv_math_func_cosh = yes; then
18478 cat >>confdefs.h
<<_ACEOF
18479 #define HAVE_COSH 1
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18488 $as_echo_n "checking for coshl... " >&6; }
18489 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18490 $as_echo_n "(cached) " >&6
18492 if test x
$gcc_no_link = xyes
; then
18493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18498 #ifdef HAVE_COMPLEX_H
18499 #include <complex.h>
18505 int (*ptr)() = (int (*)())coshl;
18514 if ac_fn_c_try_link
"$LINENO"; then :
18515 gcc_cv_math_func_coshl
=yes
18517 gcc_cv_math_func_coshl
=no
18519 rm -f core conftest.err conftest.
$ac_objext \
18520 conftest
$ac_exeext conftest.
$ac_ext
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18523 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18524 if test $gcc_cv_math_func_coshl = yes; then
18526 cat >>confdefs.h
<<_ACEOF
18527 #define HAVE_COSHL 1
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18536 $as_echo_n "checking for ccoshf... " >&6; }
18537 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18538 $as_echo_n "(cached) " >&6
18540 if test x
$gcc_no_link = xyes
; then
18541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18546 #ifdef HAVE_COMPLEX_H
18547 #include <complex.h>
18553 int (*ptr)() = (int (*)())ccoshf;
18562 if ac_fn_c_try_link
"$LINENO"; then :
18563 gcc_cv_math_func_ccoshf
=yes
18565 gcc_cv_math_func_ccoshf
=no
18567 rm -f core conftest.err conftest.
$ac_objext \
18568 conftest
$ac_exeext conftest.
$ac_ext
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18571 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18572 if test $gcc_cv_math_func_ccoshf = yes; then
18574 cat >>confdefs.h
<<_ACEOF
18575 #define HAVE_CCOSHF 1
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18584 $as_echo_n "checking for ccosh... " >&6; }
18585 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18586 $as_echo_n "(cached) " >&6
18588 if test x
$gcc_no_link = xyes
; then
18589 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18594 #ifdef HAVE_COMPLEX_H
18595 #include <complex.h>
18601 int (*ptr)() = (int (*)())ccosh;
18610 if ac_fn_c_try_link
"$LINENO"; then :
18611 gcc_cv_math_func_ccosh
=yes
18613 gcc_cv_math_func_ccosh
=no
18615 rm -f core conftest.err conftest.
$ac_objext \
18616 conftest
$ac_exeext conftest.
$ac_ext
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18619 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18620 if test $gcc_cv_math_func_ccosh = yes; then
18622 cat >>confdefs.h
<<_ACEOF
18623 #define HAVE_CCOSH 1
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18632 $as_echo_n "checking for ccoshl... " >&6; }
18633 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18634 $as_echo_n "(cached) " >&6
18636 if test x
$gcc_no_link = xyes
; then
18637 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18642 #ifdef HAVE_COMPLEX_H
18643 #include <complex.h>
18649 int (*ptr)() = (int (*)())ccoshl;
18658 if ac_fn_c_try_link
"$LINENO"; then :
18659 gcc_cv_math_func_ccoshl
=yes
18661 gcc_cv_math_func_ccoshl
=no
18663 rm -f core conftest.err conftest.
$ac_objext \
18664 conftest
$ac_exeext conftest.
$ac_ext
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18667 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18668 if test $gcc_cv_math_func_ccoshl = yes; then
18670 cat >>confdefs.h
<<_ACEOF
18671 #define HAVE_CCOSHL 1
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18680 $as_echo_n "checking for expf... " >&6; }
18681 if test "${gcc_cv_math_func_expf+set}" = set; then :
18682 $as_echo_n "(cached) " >&6
18684 if test x
$gcc_no_link = xyes
; then
18685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18690 #ifdef HAVE_COMPLEX_H
18691 #include <complex.h>
18697 int (*ptr)() = (int (*)())expf;
18706 if ac_fn_c_try_link
"$LINENO"; then :
18707 gcc_cv_math_func_expf
=yes
18709 gcc_cv_math_func_expf
=no
18711 rm -f core conftest.err conftest.
$ac_objext \
18712 conftest
$ac_exeext conftest.
$ac_ext
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18715 $as_echo "$gcc_cv_math_func_expf" >&6; }
18716 if test $gcc_cv_math_func_expf = yes; then
18718 cat >>confdefs.h
<<_ACEOF
18719 #define HAVE_EXPF 1
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18728 $as_echo_n "checking for exp... " >&6; }
18729 if test "${gcc_cv_math_func_exp+set}" = set; then :
18730 $as_echo_n "(cached) " >&6
18732 if test x
$gcc_no_link = xyes
; then
18733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18738 #ifdef HAVE_COMPLEX_H
18739 #include <complex.h>
18745 int (*ptr)() = (int (*)())exp;
18754 if ac_fn_c_try_link
"$LINENO"; then :
18755 gcc_cv_math_func_exp
=yes
18757 gcc_cv_math_func_exp
=no
18759 rm -f core conftest.err conftest.
$ac_objext \
18760 conftest
$ac_exeext conftest.
$ac_ext
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18763 $as_echo "$gcc_cv_math_func_exp" >&6; }
18764 if test $gcc_cv_math_func_exp = yes; then
18766 cat >>confdefs.h
<<_ACEOF
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18776 $as_echo_n "checking for expl... " >&6; }
18777 if test "${gcc_cv_math_func_expl+set}" = set; then :
18778 $as_echo_n "(cached) " >&6
18780 if test x
$gcc_no_link = xyes
; then
18781 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18786 #ifdef HAVE_COMPLEX_H
18787 #include <complex.h>
18793 int (*ptr)() = (int (*)())expl;
18802 if ac_fn_c_try_link
"$LINENO"; then :
18803 gcc_cv_math_func_expl
=yes
18805 gcc_cv_math_func_expl
=no
18807 rm -f core conftest.err conftest.
$ac_objext \
18808 conftest
$ac_exeext conftest.
$ac_ext
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18811 $as_echo "$gcc_cv_math_func_expl" >&6; }
18812 if test $gcc_cv_math_func_expl = yes; then
18814 cat >>confdefs.h
<<_ACEOF
18815 #define HAVE_EXPL 1
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18824 $as_echo_n "checking for cexpf... " >&6; }
18825 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18826 $as_echo_n "(cached) " >&6
18828 if test x
$gcc_no_link = xyes
; then
18829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18834 #ifdef HAVE_COMPLEX_H
18835 #include <complex.h>
18841 int (*ptr)() = (int (*)())cexpf;
18850 if ac_fn_c_try_link
"$LINENO"; then :
18851 gcc_cv_math_func_cexpf
=yes
18853 gcc_cv_math_func_cexpf
=no
18855 rm -f core conftest.err conftest.
$ac_objext \
18856 conftest
$ac_exeext conftest.
$ac_ext
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18859 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18860 if test $gcc_cv_math_func_cexpf = yes; then
18862 cat >>confdefs.h
<<_ACEOF
18863 #define HAVE_CEXPF 1
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18872 $as_echo_n "checking for cexp... " >&6; }
18873 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18874 $as_echo_n "(cached) " >&6
18876 if test x
$gcc_no_link = xyes
; then
18877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18882 #ifdef HAVE_COMPLEX_H
18883 #include <complex.h>
18889 int (*ptr)() = (int (*)())cexp;
18898 if ac_fn_c_try_link
"$LINENO"; then :
18899 gcc_cv_math_func_cexp
=yes
18901 gcc_cv_math_func_cexp
=no
18903 rm -f core conftest.err conftest.
$ac_objext \
18904 conftest
$ac_exeext conftest.
$ac_ext
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18907 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18908 if test $gcc_cv_math_func_cexp = yes; then
18910 cat >>confdefs.h
<<_ACEOF
18911 #define HAVE_CEXP 1
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18920 $as_echo_n "checking for cexpl... " >&6; }
18921 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18922 $as_echo_n "(cached) " >&6
18924 if test x
$gcc_no_link = xyes
; then
18925 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18930 #ifdef HAVE_COMPLEX_H
18931 #include <complex.h>
18937 int (*ptr)() = (int (*)())cexpl;
18946 if ac_fn_c_try_link
"$LINENO"; then :
18947 gcc_cv_math_func_cexpl
=yes
18949 gcc_cv_math_func_cexpl
=no
18951 rm -f core conftest.err conftest.
$ac_objext \
18952 conftest
$ac_exeext conftest.
$ac_ext
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18955 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18956 if test $gcc_cv_math_func_cexpl = yes; then
18958 cat >>confdefs.h
<<_ACEOF
18959 #define HAVE_CEXPL 1
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
18968 $as_echo_n "checking for fabsf... " >&6; }
18969 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
18970 $as_echo_n "(cached) " >&6
18972 if test x
$gcc_no_link = xyes
; then
18973 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18978 #ifdef HAVE_COMPLEX_H
18979 #include <complex.h>
18985 int (*ptr)() = (int (*)())fabsf;
18994 if ac_fn_c_try_link
"$LINENO"; then :
18995 gcc_cv_math_func_fabsf
=yes
18997 gcc_cv_math_func_fabsf
=no
18999 rm -f core conftest.err conftest.
$ac_objext \
19000 conftest
$ac_exeext conftest.
$ac_ext
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19003 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19004 if test $gcc_cv_math_func_fabsf = yes; then
19006 cat >>confdefs.h
<<_ACEOF
19007 #define HAVE_FABSF 1
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19016 $as_echo_n "checking for fabs... " >&6; }
19017 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19018 $as_echo_n "(cached) " >&6
19020 if test x
$gcc_no_link = xyes
; then
19021 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19026 #ifdef HAVE_COMPLEX_H
19027 #include <complex.h>
19033 int (*ptr)() = (int (*)())fabs;
19042 if ac_fn_c_try_link
"$LINENO"; then :
19043 gcc_cv_math_func_fabs
=yes
19045 gcc_cv_math_func_fabs
=no
19047 rm -f core conftest.err conftest.
$ac_objext \
19048 conftest
$ac_exeext conftest.
$ac_ext
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19051 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19052 if test $gcc_cv_math_func_fabs = yes; then
19054 cat >>confdefs.h
<<_ACEOF
19055 #define HAVE_FABS 1
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19064 $as_echo_n "checking for fabsl... " >&6; }
19065 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19066 $as_echo_n "(cached) " >&6
19068 if test x
$gcc_no_link = xyes
; then
19069 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19074 #ifdef HAVE_COMPLEX_H
19075 #include <complex.h>
19081 int (*ptr)() = (int (*)())fabsl;
19090 if ac_fn_c_try_link
"$LINENO"; then :
19091 gcc_cv_math_func_fabsl
=yes
19093 gcc_cv_math_func_fabsl
=no
19095 rm -f core conftest.err conftest.
$ac_objext \
19096 conftest
$ac_exeext conftest.
$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19099 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19100 if test $gcc_cv_math_func_fabsl = yes; then
19102 cat >>confdefs.h
<<_ACEOF
19103 #define HAVE_FABSL 1
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19112 $as_echo_n "checking for cabsf... " >&6; }
19113 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19114 $as_echo_n "(cached) " >&6
19116 if test x
$gcc_no_link = xyes
; then
19117 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19122 #ifdef HAVE_COMPLEX_H
19123 #include <complex.h>
19129 int (*ptr)() = (int (*)())cabsf;
19138 if ac_fn_c_try_link
"$LINENO"; then :
19139 gcc_cv_math_func_cabsf
=yes
19141 gcc_cv_math_func_cabsf
=no
19143 rm -f core conftest.err conftest.
$ac_objext \
19144 conftest
$ac_exeext conftest.
$ac_ext
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19147 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19148 if test $gcc_cv_math_func_cabsf = yes; then
19150 cat >>confdefs.h
<<_ACEOF
19151 #define HAVE_CABSF 1
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19160 $as_echo_n "checking for cabs... " >&6; }
19161 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19162 $as_echo_n "(cached) " >&6
19164 if test x
$gcc_no_link = xyes
; then
19165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19170 #ifdef HAVE_COMPLEX_H
19171 #include <complex.h>
19177 int (*ptr)() = (int (*)())cabs;
19186 if ac_fn_c_try_link
"$LINENO"; then :
19187 gcc_cv_math_func_cabs
=yes
19189 gcc_cv_math_func_cabs
=no
19191 rm -f core conftest.err conftest.
$ac_objext \
19192 conftest
$ac_exeext conftest.
$ac_ext
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19195 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19196 if test $gcc_cv_math_func_cabs = yes; then
19198 cat >>confdefs.h
<<_ACEOF
19199 #define HAVE_CABS 1
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19208 $as_echo_n "checking for cabsl... " >&6; }
19209 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19210 $as_echo_n "(cached) " >&6
19212 if test x
$gcc_no_link = xyes
; then
19213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19218 #ifdef HAVE_COMPLEX_H
19219 #include <complex.h>
19225 int (*ptr)() = (int (*)())cabsl;
19234 if ac_fn_c_try_link
"$LINENO"; then :
19235 gcc_cv_math_func_cabsl
=yes
19237 gcc_cv_math_func_cabsl
=no
19239 rm -f core conftest.err conftest.
$ac_objext \
19240 conftest
$ac_exeext conftest.
$ac_ext
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19243 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19244 if test $gcc_cv_math_func_cabsl = yes; then
19246 cat >>confdefs.h
<<_ACEOF
19247 #define HAVE_CABSL 1
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19256 $as_echo_n "checking for floorf... " >&6; }
19257 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19258 $as_echo_n "(cached) " >&6
19260 if test x
$gcc_no_link = xyes
; then
19261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19266 #ifdef HAVE_COMPLEX_H
19267 #include <complex.h>
19273 int (*ptr)() = (int (*)())floorf;
19282 if ac_fn_c_try_link
"$LINENO"; then :
19283 gcc_cv_math_func_floorf
=yes
19285 gcc_cv_math_func_floorf
=no
19287 rm -f core conftest.err conftest.
$ac_objext \
19288 conftest
$ac_exeext conftest.
$ac_ext
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19291 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19292 if test $gcc_cv_math_func_floorf = yes; then
19294 cat >>confdefs.h
<<_ACEOF
19295 #define HAVE_FLOORF 1
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19304 $as_echo_n "checking for floor... " >&6; }
19305 if test "${gcc_cv_math_func_floor+set}" = set; then :
19306 $as_echo_n "(cached) " >&6
19308 if test x
$gcc_no_link = xyes
; then
19309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19314 #ifdef HAVE_COMPLEX_H
19315 #include <complex.h>
19321 int (*ptr)() = (int (*)())floor;
19330 if ac_fn_c_try_link
"$LINENO"; then :
19331 gcc_cv_math_func_floor
=yes
19333 gcc_cv_math_func_floor
=no
19335 rm -f core conftest.err conftest.
$ac_objext \
19336 conftest
$ac_exeext conftest.
$ac_ext
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19339 $as_echo "$gcc_cv_math_func_floor" >&6; }
19340 if test $gcc_cv_math_func_floor = yes; then
19342 cat >>confdefs.h
<<_ACEOF
19343 #define HAVE_FLOOR 1
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19352 $as_echo_n "checking for floorl... " >&6; }
19353 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19354 $as_echo_n "(cached) " >&6
19356 if test x
$gcc_no_link = xyes
; then
19357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19362 #ifdef HAVE_COMPLEX_H
19363 #include <complex.h>
19369 int (*ptr)() = (int (*)())floorl;
19378 if ac_fn_c_try_link
"$LINENO"; then :
19379 gcc_cv_math_func_floorl
=yes
19381 gcc_cv_math_func_floorl
=no
19383 rm -f core conftest.err conftest.
$ac_objext \
19384 conftest
$ac_exeext conftest.
$ac_ext
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19387 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19388 if test $gcc_cv_math_func_floorl = yes; then
19390 cat >>confdefs.h
<<_ACEOF
19391 #define HAVE_FLOORL 1
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19400 $as_echo_n "checking for fmodf... " >&6; }
19401 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19402 $as_echo_n "(cached) " >&6
19404 if test x
$gcc_no_link = xyes
; then
19405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19410 #ifdef HAVE_COMPLEX_H
19411 #include <complex.h>
19417 int (*ptr)() = (int (*)())fmodf;
19426 if ac_fn_c_try_link
"$LINENO"; then :
19427 gcc_cv_math_func_fmodf
=yes
19429 gcc_cv_math_func_fmodf
=no
19431 rm -f core conftest.err conftest.
$ac_objext \
19432 conftest
$ac_exeext conftest.
$ac_ext
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19435 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19436 if test $gcc_cv_math_func_fmodf = yes; then
19438 cat >>confdefs.h
<<_ACEOF
19439 #define HAVE_FMODF 1
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19448 $as_echo_n "checking for fmod... " >&6; }
19449 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19450 $as_echo_n "(cached) " >&6
19452 if test x
$gcc_no_link = xyes
; then
19453 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19458 #ifdef HAVE_COMPLEX_H
19459 #include <complex.h>
19465 int (*ptr)() = (int (*)())fmod;
19474 if ac_fn_c_try_link
"$LINENO"; then :
19475 gcc_cv_math_func_fmod
=yes
19477 gcc_cv_math_func_fmod
=no
19479 rm -f core conftest.err conftest.
$ac_objext \
19480 conftest
$ac_exeext conftest.
$ac_ext
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19483 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19484 if test $gcc_cv_math_func_fmod = yes; then
19486 cat >>confdefs.h
<<_ACEOF
19487 #define HAVE_FMOD 1
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19496 $as_echo_n "checking for fmodl... " >&6; }
19497 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19498 $as_echo_n "(cached) " >&6
19500 if test x
$gcc_no_link = xyes
; then
19501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19506 #ifdef HAVE_COMPLEX_H
19507 #include <complex.h>
19513 int (*ptr)() = (int (*)())fmodl;
19522 if ac_fn_c_try_link
"$LINENO"; then :
19523 gcc_cv_math_func_fmodl
=yes
19525 gcc_cv_math_func_fmodl
=no
19527 rm -f core conftest.err conftest.
$ac_objext \
19528 conftest
$ac_exeext conftest.
$ac_ext
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19531 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19532 if test $gcc_cv_math_func_fmodl = yes; then
19534 cat >>confdefs.h
<<_ACEOF
19535 #define HAVE_FMODL 1
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19544 $as_echo_n "checking for frexpf... " >&6; }
19545 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19546 $as_echo_n "(cached) " >&6
19548 if test x
$gcc_no_link = xyes
; then
19549 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19554 #ifdef HAVE_COMPLEX_H
19555 #include <complex.h>
19561 int (*ptr)() = (int (*)())frexpf;
19570 if ac_fn_c_try_link
"$LINENO"; then :
19571 gcc_cv_math_func_frexpf
=yes
19573 gcc_cv_math_func_frexpf
=no
19575 rm -f core conftest.err conftest.
$ac_objext \
19576 conftest
$ac_exeext conftest.
$ac_ext
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19579 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19580 if test $gcc_cv_math_func_frexpf = yes; then
19582 cat >>confdefs.h
<<_ACEOF
19583 #define HAVE_FREXPF 1
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19592 $as_echo_n "checking for frexp... " >&6; }
19593 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19594 $as_echo_n "(cached) " >&6
19596 if test x
$gcc_no_link = xyes
; then
19597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19602 #ifdef HAVE_COMPLEX_H
19603 #include <complex.h>
19609 int (*ptr)() = (int (*)())frexp;
19618 if ac_fn_c_try_link
"$LINENO"; then :
19619 gcc_cv_math_func_frexp
=yes
19621 gcc_cv_math_func_frexp
=no
19623 rm -f core conftest.err conftest.
$ac_objext \
19624 conftest
$ac_exeext conftest.
$ac_ext
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19627 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19628 if test $gcc_cv_math_func_frexp = yes; then
19630 cat >>confdefs.h
<<_ACEOF
19631 #define HAVE_FREXP 1
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19640 $as_echo_n "checking for frexpl... " >&6; }
19641 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19642 $as_echo_n "(cached) " >&6
19644 if test x
$gcc_no_link = xyes
; then
19645 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19650 #ifdef HAVE_COMPLEX_H
19651 #include <complex.h>
19657 int (*ptr)() = (int (*)())frexpl;
19666 if ac_fn_c_try_link
"$LINENO"; then :
19667 gcc_cv_math_func_frexpl
=yes
19669 gcc_cv_math_func_frexpl
=no
19671 rm -f core conftest.err conftest.
$ac_objext \
19672 conftest
$ac_exeext conftest.
$ac_ext
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19675 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19676 if test $gcc_cv_math_func_frexpl = yes; then
19678 cat >>confdefs.h
<<_ACEOF
19679 #define HAVE_FREXPL 1
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19688 $as_echo_n "checking for hypotf... " >&6; }
19689 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19690 $as_echo_n "(cached) " >&6
19692 if test x
$gcc_no_link = xyes
; then
19693 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19698 #ifdef HAVE_COMPLEX_H
19699 #include <complex.h>
19705 int (*ptr)() = (int (*)())hypotf;
19714 if ac_fn_c_try_link
"$LINENO"; then :
19715 gcc_cv_math_func_hypotf
=yes
19717 gcc_cv_math_func_hypotf
=no
19719 rm -f core conftest.err conftest.
$ac_objext \
19720 conftest
$ac_exeext conftest.
$ac_ext
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19723 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19724 if test $gcc_cv_math_func_hypotf = yes; then
19726 cat >>confdefs.h
<<_ACEOF
19727 #define HAVE_HYPOTF 1
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19736 $as_echo_n "checking for hypot... " >&6; }
19737 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19738 $as_echo_n "(cached) " >&6
19740 if test x
$gcc_no_link = xyes
; then
19741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19746 #ifdef HAVE_COMPLEX_H
19747 #include <complex.h>
19753 int (*ptr)() = (int (*)())hypot;
19762 if ac_fn_c_try_link
"$LINENO"; then :
19763 gcc_cv_math_func_hypot
=yes
19765 gcc_cv_math_func_hypot
=no
19767 rm -f core conftest.err conftest.
$ac_objext \
19768 conftest
$ac_exeext conftest.
$ac_ext
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19771 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19772 if test $gcc_cv_math_func_hypot = yes; then
19774 cat >>confdefs.h
<<_ACEOF
19775 #define HAVE_HYPOT 1
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19784 $as_echo_n "checking for hypotl... " >&6; }
19785 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19786 $as_echo_n "(cached) " >&6
19788 if test x
$gcc_no_link = xyes
; then
19789 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19794 #ifdef HAVE_COMPLEX_H
19795 #include <complex.h>
19801 int (*ptr)() = (int (*)())hypotl;
19810 if ac_fn_c_try_link
"$LINENO"; then :
19811 gcc_cv_math_func_hypotl
=yes
19813 gcc_cv_math_func_hypotl
=no
19815 rm -f core conftest.err conftest.
$ac_objext \
19816 conftest
$ac_exeext conftest.
$ac_ext
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19819 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19820 if test $gcc_cv_math_func_hypotl = yes; then
19822 cat >>confdefs.h
<<_ACEOF
19823 #define HAVE_HYPOTL 1
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19832 $as_echo_n "checking for ldexpf... " >&6; }
19833 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19834 $as_echo_n "(cached) " >&6
19836 if test x
$gcc_no_link = xyes
; then
19837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19842 #ifdef HAVE_COMPLEX_H
19843 #include <complex.h>
19849 int (*ptr)() = (int (*)())ldexpf;
19858 if ac_fn_c_try_link
"$LINENO"; then :
19859 gcc_cv_math_func_ldexpf
=yes
19861 gcc_cv_math_func_ldexpf
=no
19863 rm -f core conftest.err conftest.
$ac_objext \
19864 conftest
$ac_exeext conftest.
$ac_ext
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19867 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19868 if test $gcc_cv_math_func_ldexpf = yes; then
19870 cat >>confdefs.h
<<_ACEOF
19871 #define HAVE_LDEXPF 1
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19880 $as_echo_n "checking for ldexp... " >&6; }
19881 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19884 if test x
$gcc_no_link = xyes
; then
19885 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19890 #ifdef HAVE_COMPLEX_H
19891 #include <complex.h>
19897 int (*ptr)() = (int (*)())ldexp;
19906 if ac_fn_c_try_link
"$LINENO"; then :
19907 gcc_cv_math_func_ldexp
=yes
19909 gcc_cv_math_func_ldexp
=no
19911 rm -f core conftest.err conftest.
$ac_objext \
19912 conftest
$ac_exeext conftest.
$ac_ext
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19915 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19916 if test $gcc_cv_math_func_ldexp = yes; then
19918 cat >>confdefs.h
<<_ACEOF
19919 #define HAVE_LDEXP 1
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19928 $as_echo_n "checking for ldexpl... " >&6; }
19929 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19930 $as_echo_n "(cached) " >&6
19932 if test x
$gcc_no_link = xyes
; then
19933 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19938 #ifdef HAVE_COMPLEX_H
19939 #include <complex.h>
19945 int (*ptr)() = (int (*)())ldexpl;
19954 if ac_fn_c_try_link
"$LINENO"; then :
19955 gcc_cv_math_func_ldexpl
=yes
19957 gcc_cv_math_func_ldexpl
=no
19959 rm -f core conftest.err conftest.
$ac_objext \
19960 conftest
$ac_exeext conftest.
$ac_ext
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19963 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19964 if test $gcc_cv_math_func_ldexpl = yes; then
19966 cat >>confdefs.h
<<_ACEOF
19967 #define HAVE_LDEXPL 1
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
19976 $as_echo_n "checking for logf... " >&6; }
19977 if test "${gcc_cv_math_func_logf+set}" = set; then :
19978 $as_echo_n "(cached) " >&6
19980 if test x
$gcc_no_link = xyes
; then
19981 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19984 /* end confdefs.h. */
19986 #ifdef HAVE_COMPLEX_H
19987 #include <complex.h>
19993 int (*ptr)() = (int (*)())logf;
20002 if ac_fn_c_try_link
"$LINENO"; then :
20003 gcc_cv_math_func_logf
=yes
20005 gcc_cv_math_func_logf
=no
20007 rm -f core conftest.err conftest.
$ac_objext \
20008 conftest
$ac_exeext conftest.
$ac_ext
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20011 $as_echo "$gcc_cv_math_func_logf" >&6; }
20012 if test $gcc_cv_math_func_logf = yes; then
20014 cat >>confdefs.h
<<_ACEOF
20015 #define HAVE_LOGF 1
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20024 $as_echo_n "checking for log... " >&6; }
20025 if test "${gcc_cv_math_func_log+set}" = set; then :
20026 $as_echo_n "(cached) " >&6
20028 if test x
$gcc_no_link = xyes
; then
20029 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20034 #ifdef HAVE_COMPLEX_H
20035 #include <complex.h>
20041 int (*ptr)() = (int (*)())log;
20050 if ac_fn_c_try_link
"$LINENO"; then :
20051 gcc_cv_math_func_log
=yes
20053 gcc_cv_math_func_log
=no
20055 rm -f core conftest.err conftest.
$ac_objext \
20056 conftest
$ac_exeext conftest.
$ac_ext
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20059 $as_echo "$gcc_cv_math_func_log" >&6; }
20060 if test $gcc_cv_math_func_log = yes; then
20062 cat >>confdefs.h
<<_ACEOF
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20072 $as_echo_n "checking for logl... " >&6; }
20073 if test "${gcc_cv_math_func_logl+set}" = set; then :
20074 $as_echo_n "(cached) " >&6
20076 if test x
$gcc_no_link = xyes
; then
20077 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20080 /* end confdefs.h. */
20082 #ifdef HAVE_COMPLEX_H
20083 #include <complex.h>
20089 int (*ptr)() = (int (*)())logl;
20098 if ac_fn_c_try_link
"$LINENO"; then :
20099 gcc_cv_math_func_logl
=yes
20101 gcc_cv_math_func_logl
=no
20103 rm -f core conftest.err conftest.
$ac_objext \
20104 conftest
$ac_exeext conftest.
$ac_ext
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20107 $as_echo "$gcc_cv_math_func_logl" >&6; }
20108 if test $gcc_cv_math_func_logl = yes; then
20110 cat >>confdefs.h
<<_ACEOF
20111 #define HAVE_LOGL 1
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20120 $as_echo_n "checking for clogf... " >&6; }
20121 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20122 $as_echo_n "(cached) " >&6
20124 if test x
$gcc_no_link = xyes
; then
20125 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20130 #ifdef HAVE_COMPLEX_H
20131 #include <complex.h>
20137 int (*ptr)() = (int (*)())clogf;
20146 if ac_fn_c_try_link
"$LINENO"; then :
20147 gcc_cv_math_func_clogf
=yes
20149 gcc_cv_math_func_clogf
=no
20151 rm -f core conftest.err conftest.
$ac_objext \
20152 conftest
$ac_exeext conftest.
$ac_ext
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20155 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20156 if test $gcc_cv_math_func_clogf = yes; then
20158 cat >>confdefs.h
<<_ACEOF
20159 #define HAVE_CLOGF 1
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20168 $as_echo_n "checking for clog... " >&6; }
20169 if test "${gcc_cv_math_func_clog+set}" = set; then :
20170 $as_echo_n "(cached) " >&6
20172 if test x
$gcc_no_link = xyes
; then
20173 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20178 #ifdef HAVE_COMPLEX_H
20179 #include <complex.h>
20185 int (*ptr)() = (int (*)())clog;
20194 if ac_fn_c_try_link
"$LINENO"; then :
20195 gcc_cv_math_func_clog
=yes
20197 gcc_cv_math_func_clog
=no
20199 rm -f core conftest.err conftest.
$ac_objext \
20200 conftest
$ac_exeext conftest.
$ac_ext
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20203 $as_echo "$gcc_cv_math_func_clog" >&6; }
20204 if test $gcc_cv_math_func_clog = yes; then
20206 cat >>confdefs.h
<<_ACEOF
20207 #define HAVE_CLOG 1
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20216 $as_echo_n "checking for clogl... " >&6; }
20217 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20218 $as_echo_n "(cached) " >&6
20220 if test x
$gcc_no_link = xyes
; then
20221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20226 #ifdef HAVE_COMPLEX_H
20227 #include <complex.h>
20233 int (*ptr)() = (int (*)())clogl;
20242 if ac_fn_c_try_link
"$LINENO"; then :
20243 gcc_cv_math_func_clogl
=yes
20245 gcc_cv_math_func_clogl
=no
20247 rm -f core conftest.err conftest.
$ac_objext \
20248 conftest
$ac_exeext conftest.
$ac_ext
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20251 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20252 if test $gcc_cv_math_func_clogl = yes; then
20254 cat >>confdefs.h
<<_ACEOF
20255 #define HAVE_CLOGL 1
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20264 $as_echo_n "checking for log10f... " >&6; }
20265 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20266 $as_echo_n "(cached) " >&6
20268 if test x
$gcc_no_link = xyes
; then
20269 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h. */
20274 #ifdef HAVE_COMPLEX_H
20275 #include <complex.h>
20281 int (*ptr)() = (int (*)())log10f;
20290 if ac_fn_c_try_link
"$LINENO"; then :
20291 gcc_cv_math_func_log10f
=yes
20293 gcc_cv_math_func_log10f
=no
20295 rm -f core conftest.err conftest.
$ac_objext \
20296 conftest
$ac_exeext conftest.
$ac_ext
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20299 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20300 if test $gcc_cv_math_func_log10f = yes; then
20302 cat >>confdefs.h
<<_ACEOF
20303 #define HAVE_LOG10F 1
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20312 $as_echo_n "checking for log10... " >&6; }
20313 if test "${gcc_cv_math_func_log10+set}" = set; then :
20314 $as_echo_n "(cached) " >&6
20316 if test x
$gcc_no_link = xyes
; then
20317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20322 #ifdef HAVE_COMPLEX_H
20323 #include <complex.h>
20329 int (*ptr)() = (int (*)())log10;
20338 if ac_fn_c_try_link
"$LINENO"; then :
20339 gcc_cv_math_func_log10
=yes
20341 gcc_cv_math_func_log10
=no
20343 rm -f core conftest.err conftest.
$ac_objext \
20344 conftest
$ac_exeext conftest.
$ac_ext
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20347 $as_echo "$gcc_cv_math_func_log10" >&6; }
20348 if test $gcc_cv_math_func_log10 = yes; then
20350 cat >>confdefs.h
<<_ACEOF
20351 #define HAVE_LOG10 1
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20360 $as_echo_n "checking for log10l... " >&6; }
20361 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20362 $as_echo_n "(cached) " >&6
20364 if test x
$gcc_no_link = xyes
; then
20365 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h. */
20370 #ifdef HAVE_COMPLEX_H
20371 #include <complex.h>
20377 int (*ptr)() = (int (*)())log10l;
20386 if ac_fn_c_try_link
"$LINENO"; then :
20387 gcc_cv_math_func_log10l
=yes
20389 gcc_cv_math_func_log10l
=no
20391 rm -f core conftest.err conftest.
$ac_objext \
20392 conftest
$ac_exeext conftest.
$ac_ext
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20395 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20396 if test $gcc_cv_math_func_log10l = yes; then
20398 cat >>confdefs.h
<<_ACEOF
20399 #define HAVE_LOG10L 1
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20408 $as_echo_n "checking for clog10f... " >&6; }
20409 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20410 $as_echo_n "(cached) " >&6
20412 if test x
$gcc_no_link = xyes
; then
20413 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20418 #ifdef HAVE_COMPLEX_H
20419 #include <complex.h>
20425 int (*ptr)() = (int (*)())clog10f;
20434 if ac_fn_c_try_link
"$LINENO"; then :
20435 gcc_cv_math_func_clog10f
=yes
20437 gcc_cv_math_func_clog10f
=no
20439 rm -f core conftest.err conftest.
$ac_objext \
20440 conftest
$ac_exeext conftest.
$ac_ext
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20443 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20444 if test $gcc_cv_math_func_clog10f = yes; then
20446 cat >>confdefs.h
<<_ACEOF
20447 #define HAVE_CLOG10F 1
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20456 $as_echo_n "checking for clog10... " >&6; }
20457 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20458 $as_echo_n "(cached) " >&6
20460 if test x
$gcc_no_link = xyes
; then
20461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20464 /* end confdefs.h. */
20466 #ifdef HAVE_COMPLEX_H
20467 #include <complex.h>
20473 int (*ptr)() = (int (*)())clog10;
20482 if ac_fn_c_try_link
"$LINENO"; then :
20483 gcc_cv_math_func_clog10
=yes
20485 gcc_cv_math_func_clog10
=no
20487 rm -f core conftest.err conftest.
$ac_objext \
20488 conftest
$ac_exeext conftest.
$ac_ext
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20491 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20492 if test $gcc_cv_math_func_clog10 = yes; then
20494 cat >>confdefs.h
<<_ACEOF
20495 #define HAVE_CLOG10 1
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20504 $as_echo_n "checking for clog10l... " >&6; }
20505 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20506 $as_echo_n "(cached) " >&6
20508 if test x
$gcc_no_link = xyes
; then
20509 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20512 /* end confdefs.h. */
20514 #ifdef HAVE_COMPLEX_H
20515 #include <complex.h>
20521 int (*ptr)() = (int (*)())clog10l;
20530 if ac_fn_c_try_link
"$LINENO"; then :
20531 gcc_cv_math_func_clog10l
=yes
20533 gcc_cv_math_func_clog10l
=no
20535 rm -f core conftest.err conftest.
$ac_objext \
20536 conftest
$ac_exeext conftest.
$ac_ext
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20539 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20540 if test $gcc_cv_math_func_clog10l = yes; then
20542 cat >>confdefs.h
<<_ACEOF
20543 #define HAVE_CLOG10L 1
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20552 $as_echo_n "checking for nextafterf... " >&6; }
20553 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20554 $as_echo_n "(cached) " >&6
20556 if test x
$gcc_no_link = xyes
; then
20557 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h. */
20562 #ifdef HAVE_COMPLEX_H
20563 #include <complex.h>
20569 int (*ptr)() = (int (*)())nextafterf;
20578 if ac_fn_c_try_link
"$LINENO"; then :
20579 gcc_cv_math_func_nextafterf
=yes
20581 gcc_cv_math_func_nextafterf
=no
20583 rm -f core conftest.err conftest.
$ac_objext \
20584 conftest
$ac_exeext conftest.
$ac_ext
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20587 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20588 if test $gcc_cv_math_func_nextafterf = yes; then
20590 cat >>confdefs.h
<<_ACEOF
20591 #define HAVE_NEXTAFTERF 1
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20600 $as_echo_n "checking for nextafter... " >&6; }
20601 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20602 $as_echo_n "(cached) " >&6
20604 if test x
$gcc_no_link = xyes
; then
20605 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20608 /* end confdefs.h. */
20610 #ifdef HAVE_COMPLEX_H
20611 #include <complex.h>
20617 int (*ptr)() = (int (*)())nextafter;
20626 if ac_fn_c_try_link
"$LINENO"; then :
20627 gcc_cv_math_func_nextafter
=yes
20629 gcc_cv_math_func_nextafter
=no
20631 rm -f core conftest.err conftest.
$ac_objext \
20632 conftest
$ac_exeext conftest.
$ac_ext
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20635 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20636 if test $gcc_cv_math_func_nextafter = yes; then
20638 cat >>confdefs.h
<<_ACEOF
20639 #define HAVE_NEXTAFTER 1
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20648 $as_echo_n "checking for nextafterl... " >&6; }
20649 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20650 $as_echo_n "(cached) " >&6
20652 if test x
$gcc_no_link = xyes
; then
20653 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20658 #ifdef HAVE_COMPLEX_H
20659 #include <complex.h>
20665 int (*ptr)() = (int (*)())nextafterl;
20674 if ac_fn_c_try_link
"$LINENO"; then :
20675 gcc_cv_math_func_nextafterl
=yes
20677 gcc_cv_math_func_nextafterl
=no
20679 rm -f core conftest.err conftest.
$ac_objext \
20680 conftest
$ac_exeext conftest.
$ac_ext
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20683 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20684 if test $gcc_cv_math_func_nextafterl = yes; then
20686 cat >>confdefs.h
<<_ACEOF
20687 #define HAVE_NEXTAFTERL 1
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20696 $as_echo_n "checking for powf... " >&6; }
20697 if test "${gcc_cv_math_func_powf+set}" = set; then :
20698 $as_echo_n "(cached) " >&6
20700 if test x
$gcc_no_link = xyes
; then
20701 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20706 #ifdef HAVE_COMPLEX_H
20707 #include <complex.h>
20713 int (*ptr)() = (int (*)())powf;
20722 if ac_fn_c_try_link
"$LINENO"; then :
20723 gcc_cv_math_func_powf
=yes
20725 gcc_cv_math_func_powf
=no
20727 rm -f core conftest.err conftest.
$ac_objext \
20728 conftest
$ac_exeext conftest.
$ac_ext
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20731 $as_echo "$gcc_cv_math_func_powf" >&6; }
20732 if test $gcc_cv_math_func_powf = yes; then
20734 cat >>confdefs.h
<<_ACEOF
20735 #define HAVE_POWF 1
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20744 $as_echo_n "checking for pow... " >&6; }
20745 if test "${gcc_cv_math_func_pow+set}" = set; then :
20746 $as_echo_n "(cached) " >&6
20748 if test x
$gcc_no_link = xyes
; then
20749 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20754 #ifdef HAVE_COMPLEX_H
20755 #include <complex.h>
20761 int (*ptr)() = (int (*)())pow;
20770 if ac_fn_c_try_link
"$LINENO"; then :
20771 gcc_cv_math_func_pow
=yes
20773 gcc_cv_math_func_pow
=no
20775 rm -f core conftest.err conftest.
$ac_objext \
20776 conftest
$ac_exeext conftest.
$ac_ext
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20779 $as_echo "$gcc_cv_math_func_pow" >&6; }
20780 if test $gcc_cv_math_func_pow = yes; then
20782 cat >>confdefs.h
<<_ACEOF
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20792 $as_echo_n "checking for powl... " >&6; }
20793 if test "${gcc_cv_math_func_powl+set}" = set; then :
20794 $as_echo_n "(cached) " >&6
20796 if test x
$gcc_no_link = xyes
; then
20797 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20802 #ifdef HAVE_COMPLEX_H
20803 #include <complex.h>
20809 int (*ptr)() = (int (*)())powl;
20818 if ac_fn_c_try_link
"$LINENO"; then :
20819 gcc_cv_math_func_powl
=yes
20821 gcc_cv_math_func_powl
=no
20823 rm -f core conftest.err conftest.
$ac_objext \
20824 conftest
$ac_exeext conftest.
$ac_ext
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20827 $as_echo "$gcc_cv_math_func_powl" >&6; }
20828 if test $gcc_cv_math_func_powl = yes; then
20830 cat >>confdefs.h
<<_ACEOF
20831 #define HAVE_POWL 1
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20840 $as_echo_n "checking for cpowf... " >&6; }
20841 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20842 $as_echo_n "(cached) " >&6
20844 if test x
$gcc_no_link = xyes
; then
20845 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20848 /* end confdefs.h. */
20850 #ifdef HAVE_COMPLEX_H
20851 #include <complex.h>
20857 int (*ptr)() = (int (*)())cpowf;
20866 if ac_fn_c_try_link
"$LINENO"; then :
20867 gcc_cv_math_func_cpowf
=yes
20869 gcc_cv_math_func_cpowf
=no
20871 rm -f core conftest.err conftest.
$ac_objext \
20872 conftest
$ac_exeext conftest.
$ac_ext
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20875 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20876 if test $gcc_cv_math_func_cpowf = yes; then
20878 cat >>confdefs.h
<<_ACEOF
20879 #define HAVE_CPOWF 1
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20888 $as_echo_n "checking for cpow... " >&6; }
20889 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20890 $as_echo_n "(cached) " >&6
20892 if test x
$gcc_no_link = xyes
; then
20893 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20896 /* end confdefs.h. */
20898 #ifdef HAVE_COMPLEX_H
20899 #include <complex.h>
20905 int (*ptr)() = (int (*)())cpow;
20914 if ac_fn_c_try_link
"$LINENO"; then :
20915 gcc_cv_math_func_cpow
=yes
20917 gcc_cv_math_func_cpow
=no
20919 rm -f core conftest.err conftest.
$ac_objext \
20920 conftest
$ac_exeext conftest.
$ac_ext
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20923 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20924 if test $gcc_cv_math_func_cpow = yes; then
20926 cat >>confdefs.h
<<_ACEOF
20927 #define HAVE_CPOW 1
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20936 $as_echo_n "checking for cpowl... " >&6; }
20937 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20938 $as_echo_n "(cached) " >&6
20940 if test x
$gcc_no_link = xyes
; then
20941 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20944 /* end confdefs.h. */
20946 #ifdef HAVE_COMPLEX_H
20947 #include <complex.h>
20953 int (*ptr)() = (int (*)())cpowl;
20962 if ac_fn_c_try_link
"$LINENO"; then :
20963 gcc_cv_math_func_cpowl
=yes
20965 gcc_cv_math_func_cpowl
=no
20967 rm -f core conftest.err conftest.
$ac_objext \
20968 conftest
$ac_exeext conftest.
$ac_ext
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
20971 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
20972 if test $gcc_cv_math_func_cpowl = yes; then
20974 cat >>confdefs.h
<<_ACEOF
20975 #define HAVE_CPOWL 1
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
20984 $as_echo_n "checking for roundf... " >&6; }
20985 if test "${gcc_cv_math_func_roundf+set}" = set; then :
20986 $as_echo_n "(cached) " >&6
20988 if test x
$gcc_no_link = xyes
; then
20989 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20992 /* end confdefs.h. */
20994 #ifdef HAVE_COMPLEX_H
20995 #include <complex.h>
21001 int (*ptr)() = (int (*)())roundf;
21010 if ac_fn_c_try_link
"$LINENO"; then :
21011 gcc_cv_math_func_roundf
=yes
21013 gcc_cv_math_func_roundf
=no
21015 rm -f core conftest.err conftest.
$ac_objext \
21016 conftest
$ac_exeext conftest.
$ac_ext
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21019 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21020 if test $gcc_cv_math_func_roundf = yes; then
21022 cat >>confdefs.h
<<_ACEOF
21023 #define HAVE_ROUNDF 1
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21032 $as_echo_n "checking for round... " >&6; }
21033 if test "${gcc_cv_math_func_round+set}" = set; then :
21034 $as_echo_n "(cached) " >&6
21036 if test x
$gcc_no_link = xyes
; then
21037 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21042 #ifdef HAVE_COMPLEX_H
21043 #include <complex.h>
21049 int (*ptr)() = (int (*)())round;
21058 if ac_fn_c_try_link
"$LINENO"; then :
21059 gcc_cv_math_func_round
=yes
21061 gcc_cv_math_func_round
=no
21063 rm -f core conftest.err conftest.
$ac_objext \
21064 conftest
$ac_exeext conftest.
$ac_ext
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21067 $as_echo "$gcc_cv_math_func_round" >&6; }
21068 if test $gcc_cv_math_func_round = yes; then
21070 cat >>confdefs.h
<<_ACEOF
21071 #define HAVE_ROUND 1
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21080 $as_echo_n "checking for roundl... " >&6; }
21081 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21082 $as_echo_n "(cached) " >&6
21084 if test x
$gcc_no_link = xyes
; then
21085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h. */
21090 #ifdef HAVE_COMPLEX_H
21091 #include <complex.h>
21097 int (*ptr)() = (int (*)())roundl;
21106 if ac_fn_c_try_link
"$LINENO"; then :
21107 gcc_cv_math_func_roundl
=yes
21109 gcc_cv_math_func_roundl
=no
21111 rm -f core conftest.err conftest.
$ac_objext \
21112 conftest
$ac_exeext conftest.
$ac_ext
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21115 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21116 if test $gcc_cv_math_func_roundl = yes; then
21118 cat >>confdefs.h
<<_ACEOF
21119 #define HAVE_ROUNDL 1
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21128 $as_echo_n "checking for lroundf... " >&6; }
21129 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21130 $as_echo_n "(cached) " >&6
21132 if test x
$gcc_no_link = xyes
; then
21133 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21138 #ifdef HAVE_COMPLEX_H
21139 #include <complex.h>
21145 int (*ptr)() = (int (*)())lroundf;
21154 if ac_fn_c_try_link
"$LINENO"; then :
21155 gcc_cv_math_func_lroundf
=yes
21157 gcc_cv_math_func_lroundf
=no
21159 rm -f core conftest.err conftest.
$ac_objext \
21160 conftest
$ac_exeext conftest.
$ac_ext
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21163 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21164 if test $gcc_cv_math_func_lroundf = yes; then
21166 cat >>confdefs.h
<<_ACEOF
21167 #define HAVE_LROUNDF 1
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21176 $as_echo_n "checking for lround... " >&6; }
21177 if test "${gcc_cv_math_func_lround+set}" = set; then :
21178 $as_echo_n "(cached) " >&6
21180 if test x
$gcc_no_link = xyes
; then
21181 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21186 #ifdef HAVE_COMPLEX_H
21187 #include <complex.h>
21193 int (*ptr)() = (int (*)())lround;
21202 if ac_fn_c_try_link
"$LINENO"; then :
21203 gcc_cv_math_func_lround
=yes
21205 gcc_cv_math_func_lround
=no
21207 rm -f core conftest.err conftest.
$ac_objext \
21208 conftest
$ac_exeext conftest.
$ac_ext
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21211 $as_echo "$gcc_cv_math_func_lround" >&6; }
21212 if test $gcc_cv_math_func_lround = yes; then
21214 cat >>confdefs.h
<<_ACEOF
21215 #define HAVE_LROUND 1
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21224 $as_echo_n "checking for lroundl... " >&6; }
21225 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21226 $as_echo_n "(cached) " >&6
21228 if test x
$gcc_no_link = xyes
; then
21229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21232 /* end confdefs.h. */
21234 #ifdef HAVE_COMPLEX_H
21235 #include <complex.h>
21241 int (*ptr)() = (int (*)())lroundl;
21250 if ac_fn_c_try_link
"$LINENO"; then :
21251 gcc_cv_math_func_lroundl
=yes
21253 gcc_cv_math_func_lroundl
=no
21255 rm -f core conftest.err conftest.
$ac_objext \
21256 conftest
$ac_exeext conftest.
$ac_ext
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21259 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21260 if test $gcc_cv_math_func_lroundl = yes; then
21262 cat >>confdefs.h
<<_ACEOF
21263 #define HAVE_LROUNDL 1
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21272 $as_echo_n "checking for llroundf... " >&6; }
21273 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21274 $as_echo_n "(cached) " >&6
21276 if test x
$gcc_no_link = xyes
; then
21277 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21280 /* end confdefs.h. */
21282 #ifdef HAVE_COMPLEX_H
21283 #include <complex.h>
21289 int (*ptr)() = (int (*)())llroundf;
21298 if ac_fn_c_try_link
"$LINENO"; then :
21299 gcc_cv_math_func_llroundf
=yes
21301 gcc_cv_math_func_llroundf
=no
21303 rm -f core conftest.err conftest.
$ac_objext \
21304 conftest
$ac_exeext conftest.
$ac_ext
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21307 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21308 if test $gcc_cv_math_func_llroundf = yes; then
21310 cat >>confdefs.h
<<_ACEOF
21311 #define HAVE_LLROUNDF 1
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21320 $as_echo_n "checking for llround... " >&6; }
21321 if test "${gcc_cv_math_func_llround+set}" = set; then :
21322 $as_echo_n "(cached) " >&6
21324 if test x
$gcc_no_link = xyes
; then
21325 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21328 /* end confdefs.h. */
21330 #ifdef HAVE_COMPLEX_H
21331 #include <complex.h>
21337 int (*ptr)() = (int (*)())llround;
21346 if ac_fn_c_try_link
"$LINENO"; then :
21347 gcc_cv_math_func_llround
=yes
21349 gcc_cv_math_func_llround
=no
21351 rm -f core conftest.err conftest.
$ac_objext \
21352 conftest
$ac_exeext conftest.
$ac_ext
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21355 $as_echo "$gcc_cv_math_func_llround" >&6; }
21356 if test $gcc_cv_math_func_llround = yes; then
21358 cat >>confdefs.h
<<_ACEOF
21359 #define HAVE_LLROUND 1
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21368 $as_echo_n "checking for llroundl... " >&6; }
21369 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21370 $as_echo_n "(cached) " >&6
21372 if test x
$gcc_no_link = xyes
; then
21373 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21376 /* end confdefs.h. */
21378 #ifdef HAVE_COMPLEX_H
21379 #include <complex.h>
21385 int (*ptr)() = (int (*)())llroundl;
21394 if ac_fn_c_try_link
"$LINENO"; then :
21395 gcc_cv_math_func_llroundl
=yes
21397 gcc_cv_math_func_llroundl
=no
21399 rm -f core conftest.err conftest.
$ac_objext \
21400 conftest
$ac_exeext conftest.
$ac_ext
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21403 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21404 if test $gcc_cv_math_func_llroundl = yes; then
21406 cat >>confdefs.h
<<_ACEOF
21407 #define HAVE_LLROUNDL 1
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21416 $as_echo_n "checking for scalbnf... " >&6; }
21417 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21418 $as_echo_n "(cached) " >&6
21420 if test x
$gcc_no_link = xyes
; then
21421 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21426 #ifdef HAVE_COMPLEX_H
21427 #include <complex.h>
21433 int (*ptr)() = (int (*)())scalbnf;
21442 if ac_fn_c_try_link
"$LINENO"; then :
21443 gcc_cv_math_func_scalbnf
=yes
21445 gcc_cv_math_func_scalbnf
=no
21447 rm -f core conftest.err conftest.
$ac_objext \
21448 conftest
$ac_exeext conftest.
$ac_ext
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21451 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21452 if test $gcc_cv_math_func_scalbnf = yes; then
21454 cat >>confdefs.h
<<_ACEOF
21455 #define HAVE_SCALBNF 1
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21464 $as_echo_n "checking for scalbn... " >&6; }
21465 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21466 $as_echo_n "(cached) " >&6
21468 if test x
$gcc_no_link = xyes
; then
21469 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21472 /* end confdefs.h. */
21474 #ifdef HAVE_COMPLEX_H
21475 #include <complex.h>
21481 int (*ptr)() = (int (*)())scalbn;
21490 if ac_fn_c_try_link
"$LINENO"; then :
21491 gcc_cv_math_func_scalbn
=yes
21493 gcc_cv_math_func_scalbn
=no
21495 rm -f core conftest.err conftest.
$ac_objext \
21496 conftest
$ac_exeext conftest.
$ac_ext
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21499 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21500 if test $gcc_cv_math_func_scalbn = yes; then
21502 cat >>confdefs.h
<<_ACEOF
21503 #define HAVE_SCALBN 1
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21512 $as_echo_n "checking for scalbnl... " >&6; }
21513 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21514 $as_echo_n "(cached) " >&6
21516 if test x
$gcc_no_link = xyes
; then
21517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h. */
21522 #ifdef HAVE_COMPLEX_H
21523 #include <complex.h>
21529 int (*ptr)() = (int (*)())scalbnl;
21538 if ac_fn_c_try_link
"$LINENO"; then :
21539 gcc_cv_math_func_scalbnl
=yes
21541 gcc_cv_math_func_scalbnl
=no
21543 rm -f core conftest.err conftest.
$ac_objext \
21544 conftest
$ac_exeext conftest.
$ac_ext
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21547 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21548 if test $gcc_cv_math_func_scalbnl = yes; then
21550 cat >>confdefs.h
<<_ACEOF
21551 #define HAVE_SCALBNL 1
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21560 $as_echo_n "checking for sinf... " >&6; }
21561 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21564 if test x
$gcc_no_link = xyes
; then
21565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21570 #ifdef HAVE_COMPLEX_H
21571 #include <complex.h>
21577 int (*ptr)() = (int (*)())sinf;
21586 if ac_fn_c_try_link
"$LINENO"; then :
21587 gcc_cv_math_func_sinf
=yes
21589 gcc_cv_math_func_sinf
=no
21591 rm -f core conftest.err conftest.
$ac_objext \
21592 conftest
$ac_exeext conftest.
$ac_ext
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21595 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21596 if test $gcc_cv_math_func_sinf = yes; then
21598 cat >>confdefs.h
<<_ACEOF
21599 #define HAVE_SINF 1
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21608 $as_echo_n "checking for sin... " >&6; }
21609 if test "${gcc_cv_math_func_sin+set}" = set; then :
21610 $as_echo_n "(cached) " >&6
21612 if test x
$gcc_no_link = xyes
; then
21613 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h. */
21618 #ifdef HAVE_COMPLEX_H
21619 #include <complex.h>
21625 int (*ptr)() = (int (*)())sin;
21634 if ac_fn_c_try_link
"$LINENO"; then :
21635 gcc_cv_math_func_sin
=yes
21637 gcc_cv_math_func_sin
=no
21639 rm -f core conftest.err conftest.
$ac_objext \
21640 conftest
$ac_exeext conftest.
$ac_ext
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21643 $as_echo "$gcc_cv_math_func_sin" >&6; }
21644 if test $gcc_cv_math_func_sin = yes; then
21646 cat >>confdefs.h
<<_ACEOF
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21656 $as_echo_n "checking for sinl... " >&6; }
21657 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21658 $as_echo_n "(cached) " >&6
21660 if test x
$gcc_no_link = xyes
; then
21661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21666 #ifdef HAVE_COMPLEX_H
21667 #include <complex.h>
21673 int (*ptr)() = (int (*)())sinl;
21682 if ac_fn_c_try_link
"$LINENO"; then :
21683 gcc_cv_math_func_sinl
=yes
21685 gcc_cv_math_func_sinl
=no
21687 rm -f core conftest.err conftest.
$ac_objext \
21688 conftest
$ac_exeext conftest.
$ac_ext
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21691 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21692 if test $gcc_cv_math_func_sinl = yes; then
21694 cat >>confdefs.h
<<_ACEOF
21695 #define HAVE_SINL 1
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21704 $as_echo_n "checking for csinf... " >&6; }
21705 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21706 $as_echo_n "(cached) " >&6
21708 if test x
$gcc_no_link = xyes
; then
21709 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21712 /* end confdefs.h. */
21714 #ifdef HAVE_COMPLEX_H
21715 #include <complex.h>
21721 int (*ptr)() = (int (*)())csinf;
21730 if ac_fn_c_try_link
"$LINENO"; then :
21731 gcc_cv_math_func_csinf
=yes
21733 gcc_cv_math_func_csinf
=no
21735 rm -f core conftest.err conftest.
$ac_objext \
21736 conftest
$ac_exeext conftest.
$ac_ext
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21739 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21740 if test $gcc_cv_math_func_csinf = yes; then
21742 cat >>confdefs.h
<<_ACEOF
21743 #define HAVE_CSINF 1
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21752 $as_echo_n "checking for csin... " >&6; }
21753 if test "${gcc_cv_math_func_csin+set}" = set; then :
21754 $as_echo_n "(cached) " >&6
21756 if test x
$gcc_no_link = xyes
; then
21757 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21762 #ifdef HAVE_COMPLEX_H
21763 #include <complex.h>
21769 int (*ptr)() = (int (*)())csin;
21778 if ac_fn_c_try_link
"$LINENO"; then :
21779 gcc_cv_math_func_csin
=yes
21781 gcc_cv_math_func_csin
=no
21783 rm -f core conftest.err conftest.
$ac_objext \
21784 conftest
$ac_exeext conftest.
$ac_ext
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21787 $as_echo "$gcc_cv_math_func_csin" >&6; }
21788 if test $gcc_cv_math_func_csin = yes; then
21790 cat >>confdefs.h
<<_ACEOF
21791 #define HAVE_CSIN 1
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21800 $as_echo_n "checking for csinl... " >&6; }
21801 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21802 $as_echo_n "(cached) " >&6
21804 if test x
$gcc_no_link = xyes
; then
21805 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21808 /* end confdefs.h. */
21810 #ifdef HAVE_COMPLEX_H
21811 #include <complex.h>
21817 int (*ptr)() = (int (*)())csinl;
21826 if ac_fn_c_try_link
"$LINENO"; then :
21827 gcc_cv_math_func_csinl
=yes
21829 gcc_cv_math_func_csinl
=no
21831 rm -f core conftest.err conftest.
$ac_objext \
21832 conftest
$ac_exeext conftest.
$ac_ext
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21835 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21836 if test $gcc_cv_math_func_csinl = yes; then
21838 cat >>confdefs.h
<<_ACEOF
21839 #define HAVE_CSINL 1
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21848 $as_echo_n "checking for sinhf... " >&6; }
21849 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21850 $as_echo_n "(cached) " >&6
21852 if test x
$gcc_no_link = xyes
; then
21853 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21858 #ifdef HAVE_COMPLEX_H
21859 #include <complex.h>
21865 int (*ptr)() = (int (*)())sinhf;
21874 if ac_fn_c_try_link
"$LINENO"; then :
21875 gcc_cv_math_func_sinhf
=yes
21877 gcc_cv_math_func_sinhf
=no
21879 rm -f core conftest.err conftest.
$ac_objext \
21880 conftest
$ac_exeext conftest.
$ac_ext
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21883 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21884 if test $gcc_cv_math_func_sinhf = yes; then
21886 cat >>confdefs.h
<<_ACEOF
21887 #define HAVE_SINHF 1
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21896 $as_echo_n "checking for sinh... " >&6; }
21897 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21898 $as_echo_n "(cached) " >&6
21900 if test x
$gcc_no_link = xyes
; then
21901 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21904 /* end confdefs.h. */
21906 #ifdef HAVE_COMPLEX_H
21907 #include <complex.h>
21913 int (*ptr)() = (int (*)())sinh;
21922 if ac_fn_c_try_link
"$LINENO"; then :
21923 gcc_cv_math_func_sinh
=yes
21925 gcc_cv_math_func_sinh
=no
21927 rm -f core conftest.err conftest.
$ac_objext \
21928 conftest
$ac_exeext conftest.
$ac_ext
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21931 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21932 if test $gcc_cv_math_func_sinh = yes; then
21934 cat >>confdefs.h
<<_ACEOF
21935 #define HAVE_SINH 1
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21944 $as_echo_n "checking for sinhl... " >&6; }
21945 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21946 $as_echo_n "(cached) " >&6
21948 if test x
$gcc_no_link = xyes
; then
21949 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21952 /* end confdefs.h. */
21954 #ifdef HAVE_COMPLEX_H
21955 #include <complex.h>
21961 int (*ptr)() = (int (*)())sinhl;
21970 if ac_fn_c_try_link
"$LINENO"; then :
21971 gcc_cv_math_func_sinhl
=yes
21973 gcc_cv_math_func_sinhl
=no
21975 rm -f core conftest.err conftest.
$ac_objext \
21976 conftest
$ac_exeext conftest.
$ac_ext
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
21979 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
21980 if test $gcc_cv_math_func_sinhl = yes; then
21982 cat >>confdefs.h
<<_ACEOF
21983 #define HAVE_SINHL 1
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
21992 $as_echo_n "checking for csinhf... " >&6; }
21993 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
21994 $as_echo_n "(cached) " >&6
21996 if test x
$gcc_no_link = xyes
; then
21997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22000 /* end confdefs.h. */
22002 #ifdef HAVE_COMPLEX_H
22003 #include <complex.h>
22009 int (*ptr)() = (int (*)())csinhf;
22018 if ac_fn_c_try_link
"$LINENO"; then :
22019 gcc_cv_math_func_csinhf
=yes
22021 gcc_cv_math_func_csinhf
=no
22023 rm -f core conftest.err conftest.
$ac_objext \
22024 conftest
$ac_exeext conftest.
$ac_ext
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22027 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22028 if test $gcc_cv_math_func_csinhf = yes; then
22030 cat >>confdefs.h
<<_ACEOF
22031 #define HAVE_CSINHF 1
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22040 $as_echo_n "checking for csinh... " >&6; }
22041 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22042 $as_echo_n "(cached) " >&6
22044 if test x
$gcc_no_link = xyes
; then
22045 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22048 /* end confdefs.h. */
22050 #ifdef HAVE_COMPLEX_H
22051 #include <complex.h>
22057 int (*ptr)() = (int (*)())csinh;
22066 if ac_fn_c_try_link
"$LINENO"; then :
22067 gcc_cv_math_func_csinh
=yes
22069 gcc_cv_math_func_csinh
=no
22071 rm -f core conftest.err conftest.
$ac_objext \
22072 conftest
$ac_exeext conftest.
$ac_ext
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22075 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22076 if test $gcc_cv_math_func_csinh = yes; then
22078 cat >>confdefs.h
<<_ACEOF
22079 #define HAVE_CSINH 1
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22088 $as_echo_n "checking for csinhl... " >&6; }
22089 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22090 $as_echo_n "(cached) " >&6
22092 if test x
$gcc_no_link = xyes
; then
22093 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22096 /* end confdefs.h. */
22098 #ifdef HAVE_COMPLEX_H
22099 #include <complex.h>
22105 int (*ptr)() = (int (*)())csinhl;
22114 if ac_fn_c_try_link
"$LINENO"; then :
22115 gcc_cv_math_func_csinhl
=yes
22117 gcc_cv_math_func_csinhl
=no
22119 rm -f core conftest.err conftest.
$ac_objext \
22120 conftest
$ac_exeext conftest.
$ac_ext
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22123 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22124 if test $gcc_cv_math_func_csinhl = yes; then
22126 cat >>confdefs.h
<<_ACEOF
22127 #define HAVE_CSINHL 1
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22136 $as_echo_n "checking for sqrtf... " >&6; }
22137 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22140 if test x
$gcc_no_link = xyes
; then
22141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h. */
22146 #ifdef HAVE_COMPLEX_H
22147 #include <complex.h>
22153 int (*ptr)() = (int (*)())sqrtf;
22162 if ac_fn_c_try_link
"$LINENO"; then :
22163 gcc_cv_math_func_sqrtf
=yes
22165 gcc_cv_math_func_sqrtf
=no
22167 rm -f core conftest.err conftest.
$ac_objext \
22168 conftest
$ac_exeext conftest.
$ac_ext
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22171 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22172 if test $gcc_cv_math_func_sqrtf = yes; then
22174 cat >>confdefs.h
<<_ACEOF
22175 #define HAVE_SQRTF 1
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22184 $as_echo_n "checking for sqrt... " >&6; }
22185 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22186 $as_echo_n "(cached) " >&6
22188 if test x
$gcc_no_link = xyes
; then
22189 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22192 /* end confdefs.h. */
22194 #ifdef HAVE_COMPLEX_H
22195 #include <complex.h>
22201 int (*ptr)() = (int (*)())sqrt;
22210 if ac_fn_c_try_link
"$LINENO"; then :
22211 gcc_cv_math_func_sqrt
=yes
22213 gcc_cv_math_func_sqrt
=no
22215 rm -f core conftest.err conftest.
$ac_objext \
22216 conftest
$ac_exeext conftest.
$ac_ext
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22219 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22220 if test $gcc_cv_math_func_sqrt = yes; then
22222 cat >>confdefs.h
<<_ACEOF
22223 #define HAVE_SQRT 1
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22232 $as_echo_n "checking for sqrtl... " >&6; }
22233 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22234 $as_echo_n "(cached) " >&6
22236 if test x
$gcc_no_link = xyes
; then
22237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22240 /* end confdefs.h. */
22242 #ifdef HAVE_COMPLEX_H
22243 #include <complex.h>
22249 int (*ptr)() = (int (*)())sqrtl;
22258 if ac_fn_c_try_link
"$LINENO"; then :
22259 gcc_cv_math_func_sqrtl
=yes
22261 gcc_cv_math_func_sqrtl
=no
22263 rm -f core conftest.err conftest.
$ac_objext \
22264 conftest
$ac_exeext conftest.
$ac_ext
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22267 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22268 if test $gcc_cv_math_func_sqrtl = yes; then
22270 cat >>confdefs.h
<<_ACEOF
22271 #define HAVE_SQRTL 1
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22280 $as_echo_n "checking for csqrtf... " >&6; }
22281 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22282 $as_echo_n "(cached) " >&6
22284 if test x
$gcc_no_link = xyes
; then
22285 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22290 #ifdef HAVE_COMPLEX_H
22291 #include <complex.h>
22297 int (*ptr)() = (int (*)())csqrtf;
22306 if ac_fn_c_try_link
"$LINENO"; then :
22307 gcc_cv_math_func_csqrtf
=yes
22309 gcc_cv_math_func_csqrtf
=no
22311 rm -f core conftest.err conftest.
$ac_objext \
22312 conftest
$ac_exeext conftest.
$ac_ext
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22315 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22316 if test $gcc_cv_math_func_csqrtf = yes; then
22318 cat >>confdefs.h
<<_ACEOF
22319 #define HAVE_CSQRTF 1
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22328 $as_echo_n "checking for csqrt... " >&6; }
22329 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22332 if test x
$gcc_no_link = xyes
; then
22333 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22336 /* end confdefs.h. */
22338 #ifdef HAVE_COMPLEX_H
22339 #include <complex.h>
22345 int (*ptr)() = (int (*)())csqrt;
22354 if ac_fn_c_try_link
"$LINENO"; then :
22355 gcc_cv_math_func_csqrt
=yes
22357 gcc_cv_math_func_csqrt
=no
22359 rm -f core conftest.err conftest.
$ac_objext \
22360 conftest
$ac_exeext conftest.
$ac_ext
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22363 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22364 if test $gcc_cv_math_func_csqrt = yes; then
22366 cat >>confdefs.h
<<_ACEOF
22367 #define HAVE_CSQRT 1
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22376 $as_echo_n "checking for csqrtl... " >&6; }
22377 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22378 $as_echo_n "(cached) " >&6
22380 if test x
$gcc_no_link = xyes
; then
22381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22384 /* end confdefs.h. */
22386 #ifdef HAVE_COMPLEX_H
22387 #include <complex.h>
22393 int (*ptr)() = (int (*)())csqrtl;
22402 if ac_fn_c_try_link
"$LINENO"; then :
22403 gcc_cv_math_func_csqrtl
=yes
22405 gcc_cv_math_func_csqrtl
=no
22407 rm -f core conftest.err conftest.
$ac_objext \
22408 conftest
$ac_exeext conftest.
$ac_ext
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22411 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22412 if test $gcc_cv_math_func_csqrtl = yes; then
22414 cat >>confdefs.h
<<_ACEOF
22415 #define HAVE_CSQRTL 1
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22424 $as_echo_n "checking for tanf... " >&6; }
22425 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22426 $as_echo_n "(cached) " >&6
22428 if test x
$gcc_no_link = xyes
; then
22429 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22432 /* end confdefs.h. */
22434 #ifdef HAVE_COMPLEX_H
22435 #include <complex.h>
22441 int (*ptr)() = (int (*)())tanf;
22450 if ac_fn_c_try_link
"$LINENO"; then :
22451 gcc_cv_math_func_tanf
=yes
22453 gcc_cv_math_func_tanf
=no
22455 rm -f core conftest.err conftest.
$ac_objext \
22456 conftest
$ac_exeext conftest.
$ac_ext
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22459 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22460 if test $gcc_cv_math_func_tanf = yes; then
22462 cat >>confdefs.h
<<_ACEOF
22463 #define HAVE_TANF 1
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22472 $as_echo_n "checking for tan... " >&6; }
22473 if test "${gcc_cv_math_func_tan+set}" = set; then :
22474 $as_echo_n "(cached) " >&6
22476 if test x
$gcc_no_link = xyes
; then
22477 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22480 /* end confdefs.h. */
22482 #ifdef HAVE_COMPLEX_H
22483 #include <complex.h>
22489 int (*ptr)() = (int (*)())tan;
22498 if ac_fn_c_try_link
"$LINENO"; then :
22499 gcc_cv_math_func_tan
=yes
22501 gcc_cv_math_func_tan
=no
22503 rm -f core conftest.err conftest.
$ac_objext \
22504 conftest
$ac_exeext conftest.
$ac_ext
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22507 $as_echo "$gcc_cv_math_func_tan" >&6; }
22508 if test $gcc_cv_math_func_tan = yes; then
22510 cat >>confdefs.h
<<_ACEOF
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22520 $as_echo_n "checking for tanl... " >&6; }
22521 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22522 $as_echo_n "(cached) " >&6
22524 if test x
$gcc_no_link = xyes
; then
22525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22528 /* end confdefs.h. */
22530 #ifdef HAVE_COMPLEX_H
22531 #include <complex.h>
22537 int (*ptr)() = (int (*)())tanl;
22546 if ac_fn_c_try_link
"$LINENO"; then :
22547 gcc_cv_math_func_tanl
=yes
22549 gcc_cv_math_func_tanl
=no
22551 rm -f core conftest.err conftest.
$ac_objext \
22552 conftest
$ac_exeext conftest.
$ac_ext
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22555 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22556 if test $gcc_cv_math_func_tanl = yes; then
22558 cat >>confdefs.h
<<_ACEOF
22559 #define HAVE_TANL 1
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22568 $as_echo_n "checking for ctanf... " >&6; }
22569 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22570 $as_echo_n "(cached) " >&6
22572 if test x
$gcc_no_link = xyes
; then
22573 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22576 /* end confdefs.h. */
22578 #ifdef HAVE_COMPLEX_H
22579 #include <complex.h>
22585 int (*ptr)() = (int (*)())ctanf;
22594 if ac_fn_c_try_link
"$LINENO"; then :
22595 gcc_cv_math_func_ctanf
=yes
22597 gcc_cv_math_func_ctanf
=no
22599 rm -f core conftest.err conftest.
$ac_objext \
22600 conftest
$ac_exeext conftest.
$ac_ext
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22603 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22604 if test $gcc_cv_math_func_ctanf = yes; then
22606 cat >>confdefs.h
<<_ACEOF
22607 #define HAVE_CTANF 1
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22616 $as_echo_n "checking for ctan... " >&6; }
22617 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22618 $as_echo_n "(cached) " >&6
22620 if test x
$gcc_no_link = xyes
; then
22621 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22624 /* end confdefs.h. */
22626 #ifdef HAVE_COMPLEX_H
22627 #include <complex.h>
22633 int (*ptr)() = (int (*)())ctan;
22642 if ac_fn_c_try_link
"$LINENO"; then :
22643 gcc_cv_math_func_ctan
=yes
22645 gcc_cv_math_func_ctan
=no
22647 rm -f core conftest.err conftest.
$ac_objext \
22648 conftest
$ac_exeext conftest.
$ac_ext
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22651 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22652 if test $gcc_cv_math_func_ctan = yes; then
22654 cat >>confdefs.h
<<_ACEOF
22655 #define HAVE_CTAN 1
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22664 $as_echo_n "checking for ctanl... " >&6; }
22665 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22666 $as_echo_n "(cached) " >&6
22668 if test x
$gcc_no_link = xyes
; then
22669 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22672 /* end confdefs.h. */
22674 #ifdef HAVE_COMPLEX_H
22675 #include <complex.h>
22681 int (*ptr)() = (int (*)())ctanl;
22690 if ac_fn_c_try_link
"$LINENO"; then :
22691 gcc_cv_math_func_ctanl
=yes
22693 gcc_cv_math_func_ctanl
=no
22695 rm -f core conftest.err conftest.
$ac_objext \
22696 conftest
$ac_exeext conftest.
$ac_ext
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22699 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22700 if test $gcc_cv_math_func_ctanl = yes; then
22702 cat >>confdefs.h
<<_ACEOF
22703 #define HAVE_CTANL 1
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22712 $as_echo_n "checking for tanhf... " >&6; }
22713 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22714 $as_echo_n "(cached) " >&6
22716 if test x
$gcc_no_link = xyes
; then
22717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22720 /* end confdefs.h. */
22722 #ifdef HAVE_COMPLEX_H
22723 #include <complex.h>
22729 int (*ptr)() = (int (*)())tanhf;
22738 if ac_fn_c_try_link
"$LINENO"; then :
22739 gcc_cv_math_func_tanhf
=yes
22741 gcc_cv_math_func_tanhf
=no
22743 rm -f core conftest.err conftest.
$ac_objext \
22744 conftest
$ac_exeext conftest.
$ac_ext
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22747 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22748 if test $gcc_cv_math_func_tanhf = yes; then
22750 cat >>confdefs.h
<<_ACEOF
22751 #define HAVE_TANHF 1
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22760 $as_echo_n "checking for tanh... " >&6; }
22761 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22762 $as_echo_n "(cached) " >&6
22764 if test x
$gcc_no_link = xyes
; then
22765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22768 /* end confdefs.h. */
22770 #ifdef HAVE_COMPLEX_H
22771 #include <complex.h>
22777 int (*ptr)() = (int (*)())tanh;
22786 if ac_fn_c_try_link
"$LINENO"; then :
22787 gcc_cv_math_func_tanh
=yes
22789 gcc_cv_math_func_tanh
=no
22791 rm -f core conftest.err conftest.
$ac_objext \
22792 conftest
$ac_exeext conftest.
$ac_ext
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22795 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22796 if test $gcc_cv_math_func_tanh = yes; then
22798 cat >>confdefs.h
<<_ACEOF
22799 #define HAVE_TANH 1
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22808 $as_echo_n "checking for tanhl... " >&6; }
22809 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22810 $as_echo_n "(cached) " >&6
22812 if test x
$gcc_no_link = xyes
; then
22813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22816 /* end confdefs.h. */
22818 #ifdef HAVE_COMPLEX_H
22819 #include <complex.h>
22825 int (*ptr)() = (int (*)())tanhl;
22834 if ac_fn_c_try_link
"$LINENO"; then :
22835 gcc_cv_math_func_tanhl
=yes
22837 gcc_cv_math_func_tanhl
=no
22839 rm -f core conftest.err conftest.
$ac_objext \
22840 conftest
$ac_exeext conftest.
$ac_ext
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22843 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22844 if test $gcc_cv_math_func_tanhl = yes; then
22846 cat >>confdefs.h
<<_ACEOF
22847 #define HAVE_TANHL 1
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22856 $as_echo_n "checking for ctanhf... " >&6; }
22857 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22858 $as_echo_n "(cached) " >&6
22860 if test x
$gcc_no_link = xyes
; then
22861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22864 /* end confdefs.h. */
22866 #ifdef HAVE_COMPLEX_H
22867 #include <complex.h>
22873 int (*ptr)() = (int (*)())ctanhf;
22882 if ac_fn_c_try_link
"$LINENO"; then :
22883 gcc_cv_math_func_ctanhf
=yes
22885 gcc_cv_math_func_ctanhf
=no
22887 rm -f core conftest.err conftest.
$ac_objext \
22888 conftest
$ac_exeext conftest.
$ac_ext
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22891 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22892 if test $gcc_cv_math_func_ctanhf = yes; then
22894 cat >>confdefs.h
<<_ACEOF
22895 #define HAVE_CTANHF 1
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22904 $as_echo_n "checking for ctanh... " >&6; }
22905 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22906 $as_echo_n "(cached) " >&6
22908 if test x
$gcc_no_link = xyes
; then
22909 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h. */
22914 #ifdef HAVE_COMPLEX_H
22915 #include <complex.h>
22921 int (*ptr)() = (int (*)())ctanh;
22930 if ac_fn_c_try_link
"$LINENO"; then :
22931 gcc_cv_math_func_ctanh
=yes
22933 gcc_cv_math_func_ctanh
=no
22935 rm -f core conftest.err conftest.
$ac_objext \
22936 conftest
$ac_exeext conftest.
$ac_ext
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22939 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22940 if test $gcc_cv_math_func_ctanh = yes; then
22942 cat >>confdefs.h
<<_ACEOF
22943 #define HAVE_CTANH 1
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22952 $as_echo_n "checking for ctanhl... " >&6; }
22953 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22954 $as_echo_n "(cached) " >&6
22956 if test x
$gcc_no_link = xyes
; then
22957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22962 #ifdef HAVE_COMPLEX_H
22963 #include <complex.h>
22969 int (*ptr)() = (int (*)())ctanhl;
22978 if ac_fn_c_try_link
"$LINENO"; then :
22979 gcc_cv_math_func_ctanhl
=yes
22981 gcc_cv_math_func_ctanhl
=no
22983 rm -f core conftest.err conftest.
$ac_objext \
22984 conftest
$ac_exeext conftest.
$ac_ext
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
22987 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
22988 if test $gcc_cv_math_func_ctanhl = yes; then
22990 cat >>confdefs.h
<<_ACEOF
22991 #define HAVE_CTANHL 1
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23000 $as_echo_n "checking for truncf... " >&6; }
23001 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23002 $as_echo_n "(cached) " >&6
23004 if test x
$gcc_no_link = xyes
; then
23005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23008 /* end confdefs.h. */
23010 #ifdef HAVE_COMPLEX_H
23011 #include <complex.h>
23017 int (*ptr)() = (int (*)())truncf;
23026 if ac_fn_c_try_link
"$LINENO"; then :
23027 gcc_cv_math_func_truncf
=yes
23029 gcc_cv_math_func_truncf
=no
23031 rm -f core conftest.err conftest.
$ac_objext \
23032 conftest
$ac_exeext conftest.
$ac_ext
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23035 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23036 if test $gcc_cv_math_func_truncf = yes; then
23038 cat >>confdefs.h
<<_ACEOF
23039 #define HAVE_TRUNCF 1
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23048 $as_echo_n "checking for trunc... " >&6; }
23049 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23050 $as_echo_n "(cached) " >&6
23052 if test x
$gcc_no_link = xyes
; then
23053 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h. */
23058 #ifdef HAVE_COMPLEX_H
23059 #include <complex.h>
23065 int (*ptr)() = (int (*)())trunc;
23074 if ac_fn_c_try_link
"$LINENO"; then :
23075 gcc_cv_math_func_trunc
=yes
23077 gcc_cv_math_func_trunc
=no
23079 rm -f core conftest.err conftest.
$ac_objext \
23080 conftest
$ac_exeext conftest.
$ac_ext
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23083 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23084 if test $gcc_cv_math_func_trunc = yes; then
23086 cat >>confdefs.h
<<_ACEOF
23087 #define HAVE_TRUNC 1
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23096 $as_echo_n "checking for truncl... " >&6; }
23097 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23098 $as_echo_n "(cached) " >&6
23100 if test x
$gcc_no_link = xyes
; then
23101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23104 /* end confdefs.h. */
23106 #ifdef HAVE_COMPLEX_H
23107 #include <complex.h>
23113 int (*ptr)() = (int (*)())truncl;
23122 if ac_fn_c_try_link
"$LINENO"; then :
23123 gcc_cv_math_func_truncl
=yes
23125 gcc_cv_math_func_truncl
=no
23127 rm -f core conftest.err conftest.
$ac_objext \
23128 conftest
$ac_exeext conftest.
$ac_ext
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23131 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23132 if test $gcc_cv_math_func_truncl = yes; then
23134 cat >>confdefs.h
<<_ACEOF
23135 #define HAVE_TRUNCL 1
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23144 $as_echo_n "checking for erff... " >&6; }
23145 if test "${gcc_cv_math_func_erff+set}" = set; then :
23146 $as_echo_n "(cached) " >&6
23148 if test x
$gcc_no_link = xyes
; then
23149 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23152 /* end confdefs.h. */
23154 #ifdef HAVE_COMPLEX_H
23155 #include <complex.h>
23161 int (*ptr)() = (int (*)())erff;
23170 if ac_fn_c_try_link
"$LINENO"; then :
23171 gcc_cv_math_func_erff
=yes
23173 gcc_cv_math_func_erff
=no
23175 rm -f core conftest.err conftest.
$ac_objext \
23176 conftest
$ac_exeext conftest.
$ac_ext
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23179 $as_echo "$gcc_cv_math_func_erff" >&6; }
23180 if test $gcc_cv_math_func_erff = yes; then
23182 cat >>confdefs.h
<<_ACEOF
23183 #define HAVE_ERFF 1
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23192 $as_echo_n "checking for erf... " >&6; }
23193 if test "${gcc_cv_math_func_erf+set}" = set; then :
23194 $as_echo_n "(cached) " >&6
23196 if test x
$gcc_no_link = xyes
; then
23197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23200 /* end confdefs.h. */
23202 #ifdef HAVE_COMPLEX_H
23203 #include <complex.h>
23209 int (*ptr)() = (int (*)())erf;
23218 if ac_fn_c_try_link
"$LINENO"; then :
23219 gcc_cv_math_func_erf
=yes
23221 gcc_cv_math_func_erf
=no
23223 rm -f core conftest.err conftest.
$ac_objext \
23224 conftest
$ac_exeext conftest.
$ac_ext
23226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23227 $as_echo "$gcc_cv_math_func_erf" >&6; }
23228 if test $gcc_cv_math_func_erf = yes; then
23230 cat >>confdefs.h
<<_ACEOF
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23240 $as_echo_n "checking for erfl... " >&6; }
23241 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23242 $as_echo_n "(cached) " >&6
23244 if test x
$gcc_no_link = xyes
; then
23245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23248 /* end confdefs.h. */
23250 #ifdef HAVE_COMPLEX_H
23251 #include <complex.h>
23257 int (*ptr)() = (int (*)())erfl;
23266 if ac_fn_c_try_link
"$LINENO"; then :
23267 gcc_cv_math_func_erfl
=yes
23269 gcc_cv_math_func_erfl
=no
23271 rm -f core conftest.err conftest.
$ac_objext \
23272 conftest
$ac_exeext conftest.
$ac_ext
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23275 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23276 if test $gcc_cv_math_func_erfl = yes; then
23278 cat >>confdefs.h
<<_ACEOF
23279 #define HAVE_ERFL 1
23287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23288 $as_echo_n "checking for erfcf... " >&6; }
23289 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23290 $as_echo_n "(cached) " >&6
23292 if test x
$gcc_no_link = xyes
; then
23293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23296 /* end confdefs.h. */
23298 #ifdef HAVE_COMPLEX_H
23299 #include <complex.h>
23305 int (*ptr)() = (int (*)())erfcf;
23314 if ac_fn_c_try_link
"$LINENO"; then :
23315 gcc_cv_math_func_erfcf
=yes
23317 gcc_cv_math_func_erfcf
=no
23319 rm -f core conftest.err conftest.
$ac_objext \
23320 conftest
$ac_exeext conftest.
$ac_ext
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23323 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23324 if test $gcc_cv_math_func_erfcf = yes; then
23326 cat >>confdefs.h
<<_ACEOF
23327 #define HAVE_ERFCF 1
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23336 $as_echo_n "checking for erfc... " >&6; }
23337 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23338 $as_echo_n "(cached) " >&6
23340 if test x
$gcc_no_link = xyes
; then
23341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23344 /* end confdefs.h. */
23346 #ifdef HAVE_COMPLEX_H
23347 #include <complex.h>
23353 int (*ptr)() = (int (*)())erfc;
23362 if ac_fn_c_try_link
"$LINENO"; then :
23363 gcc_cv_math_func_erfc
=yes
23365 gcc_cv_math_func_erfc
=no
23367 rm -f core conftest.err conftest.
$ac_objext \
23368 conftest
$ac_exeext conftest.
$ac_ext
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23371 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23372 if test $gcc_cv_math_func_erfc = yes; then
23374 cat >>confdefs.h
<<_ACEOF
23375 #define HAVE_ERFC 1
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23384 $as_echo_n "checking for erfcl... " >&6; }
23385 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23386 $as_echo_n "(cached) " >&6
23388 if test x
$gcc_no_link = xyes
; then
23389 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23392 /* end confdefs.h. */
23394 #ifdef HAVE_COMPLEX_H
23395 #include <complex.h>
23401 int (*ptr)() = (int (*)())erfcl;
23410 if ac_fn_c_try_link
"$LINENO"; then :
23411 gcc_cv_math_func_erfcl
=yes
23413 gcc_cv_math_func_erfcl
=no
23415 rm -f core conftest.err conftest.
$ac_objext \
23416 conftest
$ac_exeext conftest.
$ac_ext
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23419 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23420 if test $gcc_cv_math_func_erfcl = yes; then
23422 cat >>confdefs.h
<<_ACEOF
23423 #define HAVE_ERFCL 1
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23432 $as_echo_n "checking for j0f... " >&6; }
23433 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23434 $as_echo_n "(cached) " >&6
23436 if test x
$gcc_no_link = xyes
; then
23437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23440 /* end confdefs.h. */
23442 #ifdef HAVE_COMPLEX_H
23443 #include <complex.h>
23449 int (*ptr)() = (int (*)())j0f;
23458 if ac_fn_c_try_link
"$LINENO"; then :
23459 gcc_cv_math_func_j0f
=yes
23461 gcc_cv_math_func_j0f
=no
23463 rm -f core conftest.err conftest.
$ac_objext \
23464 conftest
$ac_exeext conftest.
$ac_ext
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23467 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23468 if test $gcc_cv_math_func_j0f = yes; then
23470 cat >>confdefs.h
<<_ACEOF
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23480 $as_echo_n "checking for j0... " >&6; }
23481 if test "${gcc_cv_math_func_j0+set}" = set; then :
23482 $as_echo_n "(cached) " >&6
23484 if test x
$gcc_no_link = xyes
; then
23485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23488 /* end confdefs.h. */
23490 #ifdef HAVE_COMPLEX_H
23491 #include <complex.h>
23497 int (*ptr)() = (int (*)())j0;
23506 if ac_fn_c_try_link
"$LINENO"; then :
23507 gcc_cv_math_func_j0
=yes
23509 gcc_cv_math_func_j0
=no
23511 rm -f core conftest.err conftest.
$ac_objext \
23512 conftest
$ac_exeext conftest.
$ac_ext
23514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23515 $as_echo "$gcc_cv_math_func_j0" >&6; }
23516 if test $gcc_cv_math_func_j0 = yes; then
23518 cat >>confdefs.h
<<_ACEOF
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23528 $as_echo_n "checking for j0l... " >&6; }
23529 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23530 $as_echo_n "(cached) " >&6
23532 if test x
$gcc_no_link = xyes
; then
23533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23538 #ifdef HAVE_COMPLEX_H
23539 #include <complex.h>
23545 int (*ptr)() = (int (*)())j0l;
23554 if ac_fn_c_try_link
"$LINENO"; then :
23555 gcc_cv_math_func_j0l
=yes
23557 gcc_cv_math_func_j0l
=no
23559 rm -f core conftest.err conftest.
$ac_objext \
23560 conftest
$ac_exeext conftest.
$ac_ext
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23563 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23564 if test $gcc_cv_math_func_j0l = yes; then
23566 cat >>confdefs.h
<<_ACEOF
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23576 $as_echo_n "checking for j1f... " >&6; }
23577 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23580 if test x
$gcc_no_link = xyes
; then
23581 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23584 /* end confdefs.h. */
23586 #ifdef HAVE_COMPLEX_H
23587 #include <complex.h>
23593 int (*ptr)() = (int (*)())j1f;
23602 if ac_fn_c_try_link
"$LINENO"; then :
23603 gcc_cv_math_func_j1f
=yes
23605 gcc_cv_math_func_j1f
=no
23607 rm -f core conftest.err conftest.
$ac_objext \
23608 conftest
$ac_exeext conftest.
$ac_ext
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23611 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23612 if test $gcc_cv_math_func_j1f = yes; then
23614 cat >>confdefs.h
<<_ACEOF
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23624 $as_echo_n "checking for j1... " >&6; }
23625 if test "${gcc_cv_math_func_j1+set}" = set; then :
23626 $as_echo_n "(cached) " >&6
23628 if test x
$gcc_no_link = xyes
; then
23629 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23632 /* end confdefs.h. */
23634 #ifdef HAVE_COMPLEX_H
23635 #include <complex.h>
23641 int (*ptr)() = (int (*)())j1;
23650 if ac_fn_c_try_link
"$LINENO"; then :
23651 gcc_cv_math_func_j1
=yes
23653 gcc_cv_math_func_j1
=no
23655 rm -f core conftest.err conftest.
$ac_objext \
23656 conftest
$ac_exeext conftest.
$ac_ext
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23659 $as_echo "$gcc_cv_math_func_j1" >&6; }
23660 if test $gcc_cv_math_func_j1 = yes; then
23662 cat >>confdefs.h
<<_ACEOF
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23672 $as_echo_n "checking for j1l... " >&6; }
23673 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23674 $as_echo_n "(cached) " >&6
23676 if test x
$gcc_no_link = xyes
; then
23677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23680 /* end confdefs.h. */
23682 #ifdef HAVE_COMPLEX_H
23683 #include <complex.h>
23689 int (*ptr)() = (int (*)())j1l;
23698 if ac_fn_c_try_link
"$LINENO"; then :
23699 gcc_cv_math_func_j1l
=yes
23701 gcc_cv_math_func_j1l
=no
23703 rm -f core conftest.err conftest.
$ac_objext \
23704 conftest
$ac_exeext conftest.
$ac_ext
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23707 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23708 if test $gcc_cv_math_func_j1l = yes; then
23710 cat >>confdefs.h
<<_ACEOF
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23720 $as_echo_n "checking for jnf... " >&6; }
23721 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23722 $as_echo_n "(cached) " >&6
23724 if test x
$gcc_no_link = xyes
; then
23725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23728 /* end confdefs.h. */
23730 #ifdef HAVE_COMPLEX_H
23731 #include <complex.h>
23737 int (*ptr)() = (int (*)())jnf;
23746 if ac_fn_c_try_link
"$LINENO"; then :
23747 gcc_cv_math_func_jnf
=yes
23749 gcc_cv_math_func_jnf
=no
23751 rm -f core conftest.err conftest.
$ac_objext \
23752 conftest
$ac_exeext conftest.
$ac_ext
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23755 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23756 if test $gcc_cv_math_func_jnf = yes; then
23758 cat >>confdefs.h
<<_ACEOF
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23768 $as_echo_n "checking for jn... " >&6; }
23769 if test "${gcc_cv_math_func_jn+set}" = set; then :
23770 $as_echo_n "(cached) " >&6
23772 if test x
$gcc_no_link = xyes
; then
23773 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h. */
23778 #ifdef HAVE_COMPLEX_H
23779 #include <complex.h>
23785 int (*ptr)() = (int (*)())jn;
23794 if ac_fn_c_try_link
"$LINENO"; then :
23795 gcc_cv_math_func_jn
=yes
23797 gcc_cv_math_func_jn
=no
23799 rm -f core conftest.err conftest.
$ac_objext \
23800 conftest
$ac_exeext conftest.
$ac_ext
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23803 $as_echo "$gcc_cv_math_func_jn" >&6; }
23804 if test $gcc_cv_math_func_jn = yes; then
23806 cat >>confdefs.h
<<_ACEOF
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23816 $as_echo_n "checking for jnl... " >&6; }
23817 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23818 $as_echo_n "(cached) " >&6
23820 if test x
$gcc_no_link = xyes
; then
23821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23824 /* end confdefs.h. */
23826 #ifdef HAVE_COMPLEX_H
23827 #include <complex.h>
23833 int (*ptr)() = (int (*)())jnl;
23842 if ac_fn_c_try_link
"$LINENO"; then :
23843 gcc_cv_math_func_jnl
=yes
23845 gcc_cv_math_func_jnl
=no
23847 rm -f core conftest.err conftest.
$ac_objext \
23848 conftest
$ac_exeext conftest.
$ac_ext
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23851 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23852 if test $gcc_cv_math_func_jnl = yes; then
23854 cat >>confdefs.h
<<_ACEOF
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23864 $as_echo_n "checking for y0f... " >&6; }
23865 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23866 $as_echo_n "(cached) " >&6
23868 if test x
$gcc_no_link = xyes
; then
23869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23872 /* end confdefs.h. */
23874 #ifdef HAVE_COMPLEX_H
23875 #include <complex.h>
23881 int (*ptr)() = (int (*)())y0f;
23890 if ac_fn_c_try_link
"$LINENO"; then :
23891 gcc_cv_math_func_y0f
=yes
23893 gcc_cv_math_func_y0f
=no
23895 rm -f core conftest.err conftest.
$ac_objext \
23896 conftest
$ac_exeext conftest.
$ac_ext
23898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23899 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23900 if test $gcc_cv_math_func_y0f = yes; then
23902 cat >>confdefs.h
<<_ACEOF
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23912 $as_echo_n "checking for y0... " >&6; }
23913 if test "${gcc_cv_math_func_y0+set}" = set; then :
23914 $as_echo_n "(cached) " >&6
23916 if test x
$gcc_no_link = xyes
; then
23917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23920 /* end confdefs.h. */
23922 #ifdef HAVE_COMPLEX_H
23923 #include <complex.h>
23929 int (*ptr)() = (int (*)())y0;
23938 if ac_fn_c_try_link
"$LINENO"; then :
23939 gcc_cv_math_func_y0
=yes
23941 gcc_cv_math_func_y0
=no
23943 rm -f core conftest.err conftest.
$ac_objext \
23944 conftest
$ac_exeext conftest.
$ac_ext
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23947 $as_echo "$gcc_cv_math_func_y0" >&6; }
23948 if test $gcc_cv_math_func_y0 = yes; then
23950 cat >>confdefs.h
<<_ACEOF
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23960 $as_echo_n "checking for y0l... " >&6; }
23961 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23962 $as_echo_n "(cached) " >&6
23964 if test x
$gcc_no_link = xyes
; then
23965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23968 /* end confdefs.h. */
23970 #ifdef HAVE_COMPLEX_H
23971 #include <complex.h>
23977 int (*ptr)() = (int (*)())y0l;
23986 if ac_fn_c_try_link
"$LINENO"; then :
23987 gcc_cv_math_func_y0l
=yes
23989 gcc_cv_math_func_y0l
=no
23991 rm -f core conftest.err conftest.
$ac_objext \
23992 conftest
$ac_exeext conftest.
$ac_ext
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
23995 $as_echo "$gcc_cv_math_func_y0l" >&6; }
23996 if test $gcc_cv_math_func_y0l = yes; then
23998 cat >>confdefs.h
<<_ACEOF
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24008 $as_echo_n "checking for y1f... " >&6; }
24009 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24010 $as_echo_n "(cached) " >&6
24012 if test x
$gcc_no_link = xyes
; then
24013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24018 #ifdef HAVE_COMPLEX_H
24019 #include <complex.h>
24025 int (*ptr)() = (int (*)())y1f;
24034 if ac_fn_c_try_link
"$LINENO"; then :
24035 gcc_cv_math_func_y1f
=yes
24037 gcc_cv_math_func_y1f
=no
24039 rm -f core conftest.err conftest.
$ac_objext \
24040 conftest
$ac_exeext conftest.
$ac_ext
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24043 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24044 if test $gcc_cv_math_func_y1f = yes; then
24046 cat >>confdefs.h
<<_ACEOF
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24056 $as_echo_n "checking for y1... " >&6; }
24057 if test "${gcc_cv_math_func_y1+set}" = set; then :
24058 $as_echo_n "(cached) " >&6
24060 if test x
$gcc_no_link = xyes
; then
24061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24064 /* end confdefs.h. */
24066 #ifdef HAVE_COMPLEX_H
24067 #include <complex.h>
24073 int (*ptr)() = (int (*)())y1;
24082 if ac_fn_c_try_link
"$LINENO"; then :
24083 gcc_cv_math_func_y1
=yes
24085 gcc_cv_math_func_y1
=no
24087 rm -f core conftest.err conftest.
$ac_objext \
24088 conftest
$ac_exeext conftest.
$ac_ext
24090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24091 $as_echo "$gcc_cv_math_func_y1" >&6; }
24092 if test $gcc_cv_math_func_y1 = yes; then
24094 cat >>confdefs.h
<<_ACEOF
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24104 $as_echo_n "checking for y1l... " >&6; }
24105 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24106 $as_echo_n "(cached) " >&6
24108 if test x
$gcc_no_link = xyes
; then
24109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24114 #ifdef HAVE_COMPLEX_H
24115 #include <complex.h>
24121 int (*ptr)() = (int (*)())y1l;
24130 if ac_fn_c_try_link
"$LINENO"; then :
24131 gcc_cv_math_func_y1l
=yes
24133 gcc_cv_math_func_y1l
=no
24135 rm -f core conftest.err conftest.
$ac_objext \
24136 conftest
$ac_exeext conftest.
$ac_ext
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24139 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24140 if test $gcc_cv_math_func_y1l = yes; then
24142 cat >>confdefs.h
<<_ACEOF
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24152 $as_echo_n "checking for ynf... " >&6; }
24153 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24154 $as_echo_n "(cached) " >&6
24156 if test x
$gcc_no_link = xyes
; then
24157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h. */
24162 #ifdef HAVE_COMPLEX_H
24163 #include <complex.h>
24169 int (*ptr)() = (int (*)())ynf;
24178 if ac_fn_c_try_link
"$LINENO"; then :
24179 gcc_cv_math_func_ynf
=yes
24181 gcc_cv_math_func_ynf
=no
24183 rm -f core conftest.err conftest.
$ac_objext \
24184 conftest
$ac_exeext conftest.
$ac_ext
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24187 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24188 if test $gcc_cv_math_func_ynf = yes; then
24190 cat >>confdefs.h
<<_ACEOF
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24200 $as_echo_n "checking for yn... " >&6; }
24201 if test "${gcc_cv_math_func_yn+set}" = set; then :
24202 $as_echo_n "(cached) " >&6
24204 if test x
$gcc_no_link = xyes
; then
24205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24208 /* end confdefs.h. */
24210 #ifdef HAVE_COMPLEX_H
24211 #include <complex.h>
24217 int (*ptr)() = (int (*)())yn;
24226 if ac_fn_c_try_link
"$LINENO"; then :
24227 gcc_cv_math_func_yn
=yes
24229 gcc_cv_math_func_yn
=no
24231 rm -f core conftest.err conftest.
$ac_objext \
24232 conftest
$ac_exeext conftest.
$ac_ext
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24235 $as_echo "$gcc_cv_math_func_yn" >&6; }
24236 if test $gcc_cv_math_func_yn = yes; then
24238 cat >>confdefs.h
<<_ACEOF
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24248 $as_echo_n "checking for ynl... " >&6; }
24249 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24250 $as_echo_n "(cached) " >&6
24252 if test x
$gcc_no_link = xyes
; then
24253 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24256 /* end confdefs.h. */
24258 #ifdef HAVE_COMPLEX_H
24259 #include <complex.h>
24265 int (*ptr)() = (int (*)())ynl;
24274 if ac_fn_c_try_link
"$LINENO"; then :
24275 gcc_cv_math_func_ynl
=yes
24277 gcc_cv_math_func_ynl
=no
24279 rm -f core conftest.err conftest.
$ac_objext \
24280 conftest
$ac_exeext conftest.
$ac_ext
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24283 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24284 if test $gcc_cv_math_func_ynl = yes; then
24286 cat >>confdefs.h
<<_ACEOF
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24296 $as_echo_n "checking for tgamma... " >&6; }
24297 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24298 $as_echo_n "(cached) " >&6
24300 if test x
$gcc_no_link = xyes
; then
24301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24304 /* end confdefs.h. */
24306 #ifdef HAVE_COMPLEX_H
24307 #include <complex.h>
24313 int (*ptr)() = (int (*)())tgamma;
24322 if ac_fn_c_try_link
"$LINENO"; then :
24323 gcc_cv_math_func_tgamma
=yes
24325 gcc_cv_math_func_tgamma
=no
24327 rm -f core conftest.err conftest.
$ac_objext \
24328 conftest
$ac_exeext conftest.
$ac_ext
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24331 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24332 if test $gcc_cv_math_func_tgamma = yes; then
24334 cat >>confdefs.h
<<_ACEOF
24335 #define HAVE_TGAMMA 1
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24344 $as_echo_n "checking for tgammaf... " >&6; }
24345 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24346 $as_echo_n "(cached) " >&6
24348 if test x
$gcc_no_link = xyes
; then
24349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24354 #ifdef HAVE_COMPLEX_H
24355 #include <complex.h>
24361 int (*ptr)() = (int (*)())tgammaf;
24370 if ac_fn_c_try_link
"$LINENO"; then :
24371 gcc_cv_math_func_tgammaf
=yes
24373 gcc_cv_math_func_tgammaf
=no
24375 rm -f core conftest.err conftest.
$ac_objext \
24376 conftest
$ac_exeext conftest.
$ac_ext
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24379 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24380 if test $gcc_cv_math_func_tgammaf = yes; then
24382 cat >>confdefs.h
<<_ACEOF
24383 #define HAVE_TGAMMAF 1
24391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24392 $as_echo_n "checking for tgammal... " >&6; }
24393 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24394 $as_echo_n "(cached) " >&6
24396 if test x
$gcc_no_link = xyes
; then
24397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24402 #ifdef HAVE_COMPLEX_H
24403 #include <complex.h>
24409 int (*ptr)() = (int (*)())tgammal;
24418 if ac_fn_c_try_link
"$LINENO"; then :
24419 gcc_cv_math_func_tgammal
=yes
24421 gcc_cv_math_func_tgammal
=no
24423 rm -f core conftest.err conftest.
$ac_objext \
24424 conftest
$ac_exeext conftest.
$ac_ext
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24427 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24428 if test $gcc_cv_math_func_tgammal = yes; then
24430 cat >>confdefs.h
<<_ACEOF
24431 #define HAVE_TGAMMAL 1
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24440 $as_echo_n "checking for lgamma... " >&6; }
24441 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24444 if test x
$gcc_no_link = xyes
; then
24445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24448 /* end confdefs.h. */
24450 #ifdef HAVE_COMPLEX_H
24451 #include <complex.h>
24457 int (*ptr)() = (int (*)())lgamma;
24466 if ac_fn_c_try_link
"$LINENO"; then :
24467 gcc_cv_math_func_lgamma
=yes
24469 gcc_cv_math_func_lgamma
=no
24471 rm -f core conftest.err conftest.
$ac_objext \
24472 conftest
$ac_exeext conftest.
$ac_ext
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24475 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24476 if test $gcc_cv_math_func_lgamma = yes; then
24478 cat >>confdefs.h
<<_ACEOF
24479 #define HAVE_LGAMMA 1
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24488 $as_echo_n "checking for lgammaf... " >&6; }
24489 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24490 $as_echo_n "(cached) " >&6
24492 if test x
$gcc_no_link = xyes
; then
24493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24496 /* end confdefs.h. */
24498 #ifdef HAVE_COMPLEX_H
24499 #include <complex.h>
24505 int (*ptr)() = (int (*)())lgammaf;
24514 if ac_fn_c_try_link
"$LINENO"; then :
24515 gcc_cv_math_func_lgammaf
=yes
24517 gcc_cv_math_func_lgammaf
=no
24519 rm -f core conftest.err conftest.
$ac_objext \
24520 conftest
$ac_exeext conftest.
$ac_ext
24522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24523 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24524 if test $gcc_cv_math_func_lgammaf = yes; then
24526 cat >>confdefs.h
<<_ACEOF
24527 #define HAVE_LGAMMAF 1
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24536 $as_echo_n "checking for lgammal... " >&6; }
24537 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24538 $as_echo_n "(cached) " >&6
24540 if test x
$gcc_no_link = xyes
; then
24541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24544 /* end confdefs.h. */
24546 #ifdef HAVE_COMPLEX_H
24547 #include <complex.h>
24553 int (*ptr)() = (int (*)())lgammal;
24562 if ac_fn_c_try_link
"$LINENO"; then :
24563 gcc_cv_math_func_lgammal
=yes
24565 gcc_cv_math_func_lgammal
=no
24567 rm -f core conftest.err conftest.
$ac_objext \
24568 conftest
$ac_exeext conftest.
$ac_ext
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24571 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24572 if test $gcc_cv_math_func_lgammal = yes; then
24574 cat >>confdefs.h
<<_ACEOF
24575 #define HAVE_LGAMMAL 1
24581 # Check for GFORTRAN_C99_1.1 funcs
24585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24586 $as_echo_n "checking for cacos... " >&6; }
24587 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24588 $as_echo_n "(cached) " >&6
24590 if test x
$gcc_no_link = xyes
; then
24591 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24594 /* end confdefs.h. */
24596 #ifdef HAVE_COMPLEX_H
24597 #include <complex.h>
24603 int (*ptr)() = (int (*)())cacos;
24612 if ac_fn_c_try_link
"$LINENO"; then :
24613 gcc_cv_math_func_cacos
=yes
24615 gcc_cv_math_func_cacos
=no
24617 rm -f core conftest.err conftest.
$ac_objext \
24618 conftest
$ac_exeext conftest.
$ac_ext
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24621 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24622 if test $gcc_cv_math_func_cacos = yes; then
24624 cat >>confdefs.h
<<_ACEOF
24625 #define HAVE_CACOS 1
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24634 $as_echo_n "checking for cacosf... " >&6; }
24635 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24636 $as_echo_n "(cached) " >&6
24638 if test x
$gcc_no_link = xyes
; then
24639 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h. */
24644 #ifdef HAVE_COMPLEX_H
24645 #include <complex.h>
24651 int (*ptr)() = (int (*)())cacosf;
24660 if ac_fn_c_try_link
"$LINENO"; then :
24661 gcc_cv_math_func_cacosf
=yes
24663 gcc_cv_math_func_cacosf
=no
24665 rm -f core conftest.err conftest.
$ac_objext \
24666 conftest
$ac_exeext conftest.
$ac_ext
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24669 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24670 if test $gcc_cv_math_func_cacosf = yes; then
24672 cat >>confdefs.h
<<_ACEOF
24673 #define HAVE_CACOSF 1
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24682 $as_echo_n "checking for cacosh... " >&6; }
24683 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24686 if test x
$gcc_no_link = xyes
; then
24687 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24690 /* end confdefs.h. */
24692 #ifdef HAVE_COMPLEX_H
24693 #include <complex.h>
24699 int (*ptr)() = (int (*)())cacosh;
24708 if ac_fn_c_try_link
"$LINENO"; then :
24709 gcc_cv_math_func_cacosh
=yes
24711 gcc_cv_math_func_cacosh
=no
24713 rm -f core conftest.err conftest.
$ac_objext \
24714 conftest
$ac_exeext conftest.
$ac_ext
24716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24717 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24718 if test $gcc_cv_math_func_cacosh = yes; then
24720 cat >>confdefs.h
<<_ACEOF
24721 #define HAVE_CACOSH 1
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24730 $as_echo_n "checking for cacoshf... " >&6; }
24731 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24732 $as_echo_n "(cached) " >&6
24734 if test x
$gcc_no_link = xyes
; then
24735 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24738 /* end confdefs.h. */
24740 #ifdef HAVE_COMPLEX_H
24741 #include <complex.h>
24747 int (*ptr)() = (int (*)())cacoshf;
24756 if ac_fn_c_try_link
"$LINENO"; then :
24757 gcc_cv_math_func_cacoshf
=yes
24759 gcc_cv_math_func_cacoshf
=no
24761 rm -f core conftest.err conftest.
$ac_objext \
24762 conftest
$ac_exeext conftest.
$ac_ext
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24765 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24766 if test $gcc_cv_math_func_cacoshf = yes; then
24768 cat >>confdefs.h
<<_ACEOF
24769 #define HAVE_CACOSHF 1
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24778 $as_echo_n "checking for cacoshl... " >&6; }
24779 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24780 $as_echo_n "(cached) " >&6
24782 if test x
$gcc_no_link = xyes
; then
24783 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h. */
24788 #ifdef HAVE_COMPLEX_H
24789 #include <complex.h>
24795 int (*ptr)() = (int (*)())cacoshl;
24804 if ac_fn_c_try_link
"$LINENO"; then :
24805 gcc_cv_math_func_cacoshl
=yes
24807 gcc_cv_math_func_cacoshl
=no
24809 rm -f core conftest.err conftest.
$ac_objext \
24810 conftest
$ac_exeext conftest.
$ac_ext
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24813 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24814 if test $gcc_cv_math_func_cacoshl = yes; then
24816 cat >>confdefs.h
<<_ACEOF
24817 #define HAVE_CACOSHL 1
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24826 $as_echo_n "checking for cacosl... " >&6; }
24827 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24828 $as_echo_n "(cached) " >&6
24830 if test x
$gcc_no_link = xyes
; then
24831 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24834 /* end confdefs.h. */
24836 #ifdef HAVE_COMPLEX_H
24837 #include <complex.h>
24843 int (*ptr)() = (int (*)())cacosl;
24852 if ac_fn_c_try_link
"$LINENO"; then :
24853 gcc_cv_math_func_cacosl
=yes
24855 gcc_cv_math_func_cacosl
=no
24857 rm -f core conftest.err conftest.
$ac_objext \
24858 conftest
$ac_exeext conftest.
$ac_ext
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24861 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24862 if test $gcc_cv_math_func_cacosl = yes; then
24864 cat >>confdefs.h
<<_ACEOF
24865 #define HAVE_CACOSL 1
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24874 $as_echo_n "checking for casin... " >&6; }
24875 if test "${gcc_cv_math_func_casin+set}" = set; then :
24876 $as_echo_n "(cached) " >&6
24878 if test x
$gcc_no_link = xyes
; then
24879 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24884 #ifdef HAVE_COMPLEX_H
24885 #include <complex.h>
24891 int (*ptr)() = (int (*)())casin;
24900 if ac_fn_c_try_link
"$LINENO"; then :
24901 gcc_cv_math_func_casin
=yes
24903 gcc_cv_math_func_casin
=no
24905 rm -f core conftest.err conftest.
$ac_objext \
24906 conftest
$ac_exeext conftest.
$ac_ext
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24909 $as_echo "$gcc_cv_math_func_casin" >&6; }
24910 if test $gcc_cv_math_func_casin = yes; then
24912 cat >>confdefs.h
<<_ACEOF
24913 #define HAVE_CASIN 1
24921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24922 $as_echo_n "checking for casinf... " >&6; }
24923 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24924 $as_echo_n "(cached) " >&6
24926 if test x
$gcc_no_link = xyes
; then
24927 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24930 /* end confdefs.h. */
24932 #ifdef HAVE_COMPLEX_H
24933 #include <complex.h>
24939 int (*ptr)() = (int (*)())casinf;
24948 if ac_fn_c_try_link
"$LINENO"; then :
24949 gcc_cv_math_func_casinf
=yes
24951 gcc_cv_math_func_casinf
=no
24953 rm -f core conftest.err conftest.
$ac_objext \
24954 conftest
$ac_exeext conftest.
$ac_ext
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24957 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24958 if test $gcc_cv_math_func_casinf = yes; then
24960 cat >>confdefs.h
<<_ACEOF
24961 #define HAVE_CASINF 1
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24970 $as_echo_n "checking for casinh... " >&6; }
24971 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24972 $as_echo_n "(cached) " >&6
24974 if test x
$gcc_no_link = xyes
; then
24975 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24978 /* end confdefs.h. */
24980 #ifdef HAVE_COMPLEX_H
24981 #include <complex.h>
24987 int (*ptr)() = (int (*)())casinh;
24996 if ac_fn_c_try_link
"$LINENO"; then :
24997 gcc_cv_math_func_casinh
=yes
24999 gcc_cv_math_func_casinh
=no
25001 rm -f core conftest.err conftest.
$ac_objext \
25002 conftest
$ac_exeext conftest.
$ac_ext
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25005 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25006 if test $gcc_cv_math_func_casinh = yes; then
25008 cat >>confdefs.h
<<_ACEOF
25009 #define HAVE_CASINH 1
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25018 $as_echo_n "checking for casinhf... " >&6; }
25019 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25020 $as_echo_n "(cached) " >&6
25022 if test x
$gcc_no_link = xyes
; then
25023 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25026 /* end confdefs.h. */
25028 #ifdef HAVE_COMPLEX_H
25029 #include <complex.h>
25035 int (*ptr)() = (int (*)())casinhf;
25044 if ac_fn_c_try_link
"$LINENO"; then :
25045 gcc_cv_math_func_casinhf
=yes
25047 gcc_cv_math_func_casinhf
=no
25049 rm -f core conftest.err conftest.
$ac_objext \
25050 conftest
$ac_exeext conftest.
$ac_ext
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25053 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25054 if test $gcc_cv_math_func_casinhf = yes; then
25056 cat >>confdefs.h
<<_ACEOF
25057 #define HAVE_CASINHF 1
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25066 $as_echo_n "checking for casinhl... " >&6; }
25067 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25068 $as_echo_n "(cached) " >&6
25070 if test x
$gcc_no_link = xyes
; then
25071 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25074 /* end confdefs.h. */
25076 #ifdef HAVE_COMPLEX_H
25077 #include <complex.h>
25083 int (*ptr)() = (int (*)())casinhl;
25092 if ac_fn_c_try_link
"$LINENO"; then :
25093 gcc_cv_math_func_casinhl
=yes
25095 gcc_cv_math_func_casinhl
=no
25097 rm -f core conftest.err conftest.
$ac_objext \
25098 conftest
$ac_exeext conftest.
$ac_ext
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25101 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25102 if test $gcc_cv_math_func_casinhl = yes; then
25104 cat >>confdefs.h
<<_ACEOF
25105 #define HAVE_CASINHL 1
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25114 $as_echo_n "checking for casinl... " >&6; }
25115 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25116 $as_echo_n "(cached) " >&6
25118 if test x
$gcc_no_link = xyes
; then
25119 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25122 /* end confdefs.h. */
25124 #ifdef HAVE_COMPLEX_H
25125 #include <complex.h>
25131 int (*ptr)() = (int (*)())casinl;
25140 if ac_fn_c_try_link
"$LINENO"; then :
25141 gcc_cv_math_func_casinl
=yes
25143 gcc_cv_math_func_casinl
=no
25145 rm -f core conftest.err conftest.
$ac_objext \
25146 conftest
$ac_exeext conftest.
$ac_ext
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25149 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25150 if test $gcc_cv_math_func_casinl = yes; then
25152 cat >>confdefs.h
<<_ACEOF
25153 #define HAVE_CASINL 1
25161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25162 $as_echo_n "checking for catan... " >&6; }
25163 if test "${gcc_cv_math_func_catan+set}" = set; then :
25164 $as_echo_n "(cached) " >&6
25166 if test x
$gcc_no_link = xyes
; then
25167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25170 /* end confdefs.h. */
25172 #ifdef HAVE_COMPLEX_H
25173 #include <complex.h>
25179 int (*ptr)() = (int (*)())catan;
25188 if ac_fn_c_try_link
"$LINENO"; then :
25189 gcc_cv_math_func_catan
=yes
25191 gcc_cv_math_func_catan
=no
25193 rm -f core conftest.err conftest.
$ac_objext \
25194 conftest
$ac_exeext conftest.
$ac_ext
25196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25197 $as_echo "$gcc_cv_math_func_catan" >&6; }
25198 if test $gcc_cv_math_func_catan = yes; then
25200 cat >>confdefs.h
<<_ACEOF
25201 #define HAVE_CATAN 1
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25210 $as_echo_n "checking for catanf... " >&6; }
25211 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25212 $as_echo_n "(cached) " >&6
25214 if test x
$gcc_no_link = xyes
; then
25215 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25218 /* end confdefs.h. */
25220 #ifdef HAVE_COMPLEX_H
25221 #include <complex.h>
25227 int (*ptr)() = (int (*)())catanf;
25236 if ac_fn_c_try_link
"$LINENO"; then :
25237 gcc_cv_math_func_catanf
=yes
25239 gcc_cv_math_func_catanf
=no
25241 rm -f core conftest.err conftest.
$ac_objext \
25242 conftest
$ac_exeext conftest.
$ac_ext
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25245 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25246 if test $gcc_cv_math_func_catanf = yes; then
25248 cat >>confdefs.h
<<_ACEOF
25249 #define HAVE_CATANF 1
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25258 $as_echo_n "checking for catanh... " >&6; }
25259 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25262 if test x
$gcc_no_link = xyes
; then
25263 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25266 /* end confdefs.h. */
25268 #ifdef HAVE_COMPLEX_H
25269 #include <complex.h>
25275 int (*ptr)() = (int (*)())catanh;
25284 if ac_fn_c_try_link
"$LINENO"; then :
25285 gcc_cv_math_func_catanh
=yes
25287 gcc_cv_math_func_catanh
=no
25289 rm -f core conftest.err conftest.
$ac_objext \
25290 conftest
$ac_exeext conftest.
$ac_ext
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25293 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25294 if test $gcc_cv_math_func_catanh = yes; then
25296 cat >>confdefs.h
<<_ACEOF
25297 #define HAVE_CATANH 1
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25306 $as_echo_n "checking for catanhf... " >&6; }
25307 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25308 $as_echo_n "(cached) " >&6
25310 if test x
$gcc_no_link = xyes
; then
25311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25316 #ifdef HAVE_COMPLEX_H
25317 #include <complex.h>
25323 int (*ptr)() = (int (*)())catanhf;
25332 if ac_fn_c_try_link
"$LINENO"; then :
25333 gcc_cv_math_func_catanhf
=yes
25335 gcc_cv_math_func_catanhf
=no
25337 rm -f core conftest.err conftest.
$ac_objext \
25338 conftest
$ac_exeext conftest.
$ac_ext
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25341 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25342 if test $gcc_cv_math_func_catanhf = yes; then
25344 cat >>confdefs.h
<<_ACEOF
25345 #define HAVE_CATANHF 1
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25354 $as_echo_n "checking for catanhl... " >&6; }
25355 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25356 $as_echo_n "(cached) " >&6
25358 if test x
$gcc_no_link = xyes
; then
25359 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25362 /* end confdefs.h. */
25364 #ifdef HAVE_COMPLEX_H
25365 #include <complex.h>
25371 int (*ptr)() = (int (*)())catanhl;
25380 if ac_fn_c_try_link
"$LINENO"; then :
25381 gcc_cv_math_func_catanhl
=yes
25383 gcc_cv_math_func_catanhl
=no
25385 rm -f core conftest.err conftest.
$ac_objext \
25386 conftest
$ac_exeext conftest.
$ac_ext
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25389 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25390 if test $gcc_cv_math_func_catanhl = yes; then
25392 cat >>confdefs.h
<<_ACEOF
25393 #define HAVE_CATANHL 1
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25402 $as_echo_n "checking for catanl... " >&6; }
25403 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25404 $as_echo_n "(cached) " >&6
25406 if test x
$gcc_no_link = xyes
; then
25407 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h. */
25412 #ifdef HAVE_COMPLEX_H
25413 #include <complex.h>
25419 int (*ptr)() = (int (*)())catanl;
25428 if ac_fn_c_try_link
"$LINENO"; then :
25429 gcc_cv_math_func_catanl
=yes
25431 gcc_cv_math_func_catanl
=no
25433 rm -f core conftest.err conftest.
$ac_objext \
25434 conftest
$ac_exeext conftest.
$ac_ext
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25437 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25438 if test $gcc_cv_math_func_catanl = yes; then
25440 cat >>confdefs.h
<<_ACEOF
25441 #define HAVE_CATANL 1
25447 # On AIX, clog is present in libm as __clog
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25449 $as_echo_n "checking for __clog in -lm... " >&6; }
25450 if test "${ac_cv_lib_m___clog+set}" = set; then :
25451 $as_echo_n "(cached) " >&6
25453 ac_check_lib_save_LIBS
=$LIBS
25455 if test x
$gcc_no_link = xyes
; then
25456 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25459 /* end confdefs.h. */
25461 /* Override any GCC internal prototype to avoid an error.
25462 Use char because int might match the return type of a GCC
25463 builtin and then its argument prototype would still apply. */
25476 if ac_fn_c_try_link
"$LINENO"; then :
25477 ac_cv_lib_m___clog
=yes
25479 ac_cv_lib_m___clog
=no
25481 rm -f core conftest.err conftest.
$ac_objext \
25482 conftest
$ac_exeext conftest.
$ac_ext
25483 LIBS
=$ac_check_lib_save_LIBS
25485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25486 $as_echo "$ac_cv_lib_m___clog" >&6; }
25487 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25489 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25494 # Check whether the system has a working stat()
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25497 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25498 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25499 $as_echo_n "(cached) " >&6
25502 if test "$cross_compiling" = yes; then :
25504 case "${target}" in
25505 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25506 *) libgfor_cv_have_working_stat
=yes;;
25509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25510 /* end confdefs.h. */
25513 #include <sys/types.h>
25514 #include <sys/stat.h>
25515 #include <unistd.h>
25520 struct stat st1, st2;
25522 f = fopen ("foo", "w");
25523 g = fopen ("bar", "w");
25524 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25526 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25533 if ac_fn_c_try_run
"$LINENO"; then :
25534 libgfor_cv_have_working_stat
=yes
25536 libgfor_cv_have_working_stat
=no
25538 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25539 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25544 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25545 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25547 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25551 # Check whether __mingw_snprintf() is present
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25554 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25555 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25556 $as_echo_n "(cached) " >&6
25559 if test x
$gcc_no_link = xyes
; then
25560 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25563 /* end confdefs.h. */
25566 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25572 __mingw_snprintf (NULL, 0, "%d\n", 1);
25578 if ac_fn_c_try_link
"$LINENO"; then :
25579 eval "libgfor_cv_have_mingw_snprintf=yes"
25581 eval "libgfor_cv_have_mingw_snprintf=no"
25583 rm -f core conftest.err conftest.
$ac_objext \
25584 conftest
$ac_exeext conftest.
$ac_ext
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25588 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25589 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25591 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25596 # Check whether libquadmath should be used
25597 # Check whether --enable-libquadmath-support was given.
25598 if test "${enable_libquadmath_support+set}" = set; then :
25599 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25601 ENABLE_LIBQUADMATH_SUPPORT
=yes
25604 enable_libquadmath_support
=
25605 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25606 enable_libquadmath_support
=no
25609 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25613 if test "x$enable_libquadmath_support" != xno
; then
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25616 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25617 if test "${libgfor_cv_have_float128+set}" = set; then :
25618 $as_echo_n "(cached) " >&6
25621 if test x
$gcc_no_link = xyes
; then
25622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25623 /* end confdefs.h. */
25625 typedef _Complex float __attribute__((mode(TC))) __complex128;
25627 __float128 foo (__float128 x)
25630 __complex128 z1, z2;
25636 return (__float128) z2;
25639 __float128 bar (__float128 x)
25641 return x * __builtin_huge_valq ();
25655 if ac_fn_c_try_compile
"$LINENO"; then :
25657 libgfor_cv_have_float128
=yes
25661 libgfor_cv_have_float128
=no
25664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25666 if test x
$gcc_no_link = xyes
; then
25667 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25670 /* end confdefs.h. */
25672 typedef _Complex float __attribute__((mode(TC))) __complex128;
25674 __float128 foo (__float128 x)
25677 __complex128 z1, z2;
25683 return (__float128) z2;
25686 __float128 bar (__float128 x)
25688 return x * __builtin_huge_valq ();
25702 if ac_fn_c_try_link
"$LINENO"; then :
25704 libgfor_cv_have_float128
=yes
25708 libgfor_cv_have_float128
=no
25711 rm -f core conftest.err conftest.
$ac_objext \
25712 conftest
$ac_exeext conftest.
$ac_ext
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25716 $as_echo "$libgfor_cv_have_float128" >&6; }
25718 if test "x$libgfor_cv_have_float128" = xyes
; then
25720 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25723 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25725 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25726 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25727 $as_echo_n "(cached) " >&6
25730 # Test for native Solaris options first.
25731 # No whitespace after -z to pass it through -Wl.
25732 libgfor_cv_as_needed_option
="-zignore"
25733 libgfor_cv_no_as_needed_option
="-zrecord"
25734 save_LDFLAGS
="$LDFLAGS"
25735 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25736 libgfor_cv_have_as_needed
=no
25738 ac_c_werror_flag
=yes
25739 if test x
$gcc_no_link = xyes
; then
25740 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25743 /* end confdefs.h. */
25753 if ac_fn_c_try_link
"$LINENO"; then :
25754 libgfor_cv_have_as_needed
=yes
25756 libgfor_cv_have_as_needed
=no
25758 rm -f core conftest.err conftest.
$ac_objext \
25759 conftest
$ac_exeext conftest.
$ac_ext
25760 LDFLAGS
="$save_LDFLAGS"
25761 if test "x$libgfor_cv_have_as_needed" = xno
; then
25762 libgfor_cv_as_needed_option
="--as-needed"
25763 libgfor_cv_no_as_needed_option
="--no-as-needed"
25764 save_LDFLAGS
="$LDFLAGS"
25765 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25766 libgfor_cv_have_as_needed
=no
25768 ac_c_werror_flag
=yes
25769 if test x
$gcc_no_link = xyes
; then
25770 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25773 /* end confdefs.h. */
25783 if ac_fn_c_try_link
"$LINENO"; then :
25784 libgfor_cv_have_as_needed
=yes
25786 libgfor_cv_have_as_needed
=no
25788 rm -f core conftest.err conftest.
$ac_objext \
25789 conftest
$ac_exeext conftest.
$ac_ext
25790 LDFLAGS
="$save_LDFLAGS"
25792 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25796 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25798 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25799 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25801 LIBQUADSPEC
="-lquadmath"
25803 if test -f ..
/libquadmath
/libquadmath.la
; then
25804 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25805 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25806 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25808 LIBQUADLIB
="-lquadmath"
25814 # for --disable-quadmath
25825 if test "x$libgfor_cv_have_float128" = xyes
; then
25826 LIBGFOR_BUILD_QUAD_TRUE
=
25827 LIBGFOR_BUILD_QUAD_FALSE
='#'
25829 LIBGFOR_BUILD_QUAD_TRUE
='#'
25830 LIBGFOR_BUILD_QUAD_FALSE
=
25835 # Check for GNU libc feenableexcept
25836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25837 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25838 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25839 $as_echo_n "(cached) " >&6
25841 ac_check_lib_save_LIBS
=$LIBS
25843 if test x
$gcc_no_link = xyes
; then
25844 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25847 /* end confdefs.h. */
25849 /* Override any GCC internal prototype to avoid an error.
25850 Use char because int might match the return type of a GCC
25851 builtin and then its argument prototype would still apply. */
25855 char feenableexcept ();
25859 return feenableexcept ();
25864 if ac_fn_c_try_link
"$LINENO"; then :
25865 ac_cv_lib_m_feenableexcept
=yes
25867 ac_cv_lib_m_feenableexcept
=no
25869 rm -f core conftest.err conftest.
$ac_objext \
25870 conftest
$ac_exeext conftest.
$ac_ext
25871 LIBS
=$ac_check_lib_save_LIBS
25873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25874 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25875 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25876 have_feenableexcept
=yes
25877 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25882 # At least for glibc, clock_gettime is in librt. But don't
25883 # pull that in if it still doesn't give us the function we want. This
25884 # test is copied from libgomp, and modified to not link in -lrt as
25885 # libgfortran calls clock_gettime via a weak reference if it's found
25887 if test $ac_cv_func_clock_gettime = no
; then
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25889 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25890 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25891 $as_echo_n "(cached) " >&6
25893 ac_check_lib_save_LIBS
=$LIBS
25895 if test x
$gcc_no_link = xyes
; then
25896 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25899 /* end confdefs.h. */
25901 /* Override any GCC internal prototype to avoid an error.
25902 Use char because int might match the return type of a GCC
25903 builtin and then its argument prototype would still apply. */
25907 char clock_gettime ();
25911 return clock_gettime ();
25916 if ac_fn_c_try_link
"$LINENO"; then :
25917 ac_cv_lib_rt_clock_gettime
=yes
25919 ac_cv_lib_rt_clock_gettime
=no
25921 rm -f core conftest.err conftest.
$ac_objext \
25922 conftest
$ac_exeext conftest.
$ac_ext
25923 LIBS
=$ac_check_lib_save_LIBS
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25926 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25927 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25929 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25935 # Check for SysV fpsetmask
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25938 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25939 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25940 $as_echo_n "(cached) " >&6
25943 if test x
$gcc_no_link = xyes
; then
25944 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25949 #if HAVE_FLOATINGPOINT_H
25950 # include <floatingpoint.h>
25951 #endif /* HAVE_FLOATINGPOINT_H */
25953 # include <ieeefp.h>
25954 #endif /* HAVE_IEEEFP_H */
25963 if ac_fn_c_try_link
"$LINENO"; then :
25964 eval "libgfor_cv_have_fpsetmask=yes"
25966 eval "libgfor_cv_have_fpsetmask=no"
25968 rm -f core conftest.err conftest.
$ac_objext \
25969 conftest
$ac_exeext conftest.
$ac_ext
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25973 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25974 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25977 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25982 # Check for AIX fp_trap and fp_enable
25983 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25984 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25986 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25990 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25991 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25993 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25998 # Runs configure.host to set up necessary host-dependent shell variables.
25999 # We then display a message about it, and propagate them through the
26001 .
${srcdir}/configure.
host
26002 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26003 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26004 FPU_HOST_HEADER
=config
/${fpu_host}.h
26007 # Some targets require additional compiler options for IEEE compatibility.
26008 IEEE_FLAGS
="${ieee_flags}"
26012 # Check for POSIX getpwuid_r
26014 # There are two versions of getpwuid_r, the POSIX one with 5
26015 # arguments, and another one with 4 arguments used by at least HP-UX
26017 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26019 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26020 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26021 $as_echo_n "(cached) " >&6
26024 if test x
$gcc_no_link = xyes
; then
26025 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26028 /* end confdefs.h. */
26031 #include <sys/types.h>
26037 getpwuid_r(0, NULL, NULL, 0, NULL);
26043 if ac_fn_c_try_link
"$LINENO"; then :
26044 libgfor_cv_posix_getpwuid_r
="yes"
26046 libgfor_cv_posix_getpwuid_r
="no"
26048 rm -f core conftest.err conftest.
$ac_objext \
26049 conftest
$ac_exeext conftest.
$ac_ext
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26052 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26054 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26056 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26061 # Check out attribute support.
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26064 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26065 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26066 $as_echo_n "(cached) " >&6
26069 save_CFLAGS
="$CFLAGS"
26070 CFLAGS
="$CFLAGS -Werror"
26071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26072 /* end confdefs.h. */
26073 void __attribute__((visibility("hidden"))) foo(void) { }
26082 if ac_fn_c_try_compile
"$LINENO"; then :
26083 libgfor_cv_have_attribute_visibility
=yes
26085 libgfor_cv_have_attribute_visibility
=no
26087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26088 CFLAGS
="$save_CFLAGS"
26090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26091 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26092 if test $libgfor_cv_have_attribute_visibility = yes; then
26094 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26099 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26100 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26101 $as_echo_n "(cached) " >&6
26104 save_CFLAGS
="$CFLAGS"
26105 CFLAGS
="$CFLAGS -Werror"
26106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26108 void __attribute__((dllexport)) foo(void) { }
26117 if ac_fn_c_try_compile
"$LINENO"; then :
26118 libgfor_cv_have_attribute_dllexport
=yes
26120 libgfor_cv_have_attribute_dllexport
=no
26122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26123 CFLAGS
="$save_CFLAGS"
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26126 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26127 if test $libgfor_cv_have_attribute_dllexport = yes; then
26129 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26134 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26135 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26136 $as_echo_n "(cached) " >&6
26139 if test x
$gcc_no_link = xyes
; then
26140 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26143 /* end confdefs.h. */
26146 extern void bar(void) __attribute__((alias("foo")));
26155 if ac_fn_c_try_link
"$LINENO"; then :
26156 libgfor_cv_have_attribute_alias
=yes
26158 libgfor_cv_have_attribute_alias
=no
26160 rm -f core conftest.err conftest.
$ac_objext \
26161 conftest
$ac_exeext conftest.
$ac_ext
26163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26164 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26165 if test $libgfor_cv_have_attribute_alias = yes; then
26167 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26171 # Check out sync builtins support.
26173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26174 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26175 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26176 $as_echo_n "(cached) " >&6
26179 if test x
$gcc_no_link = xyes
; then
26180 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26183 /* end confdefs.h. */
26189 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26190 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26195 if ac_fn_c_try_link
"$LINENO"; then :
26196 libgfor_cv_have_sync_fetch_and_add
=yes
26198 libgfor_cv_have_sync_fetch_and_add
=no
26200 rm -f core conftest.err conftest.
$ac_objext \
26201 conftest
$ac_exeext conftest.
$ac_ext
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26204 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26205 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26207 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26211 # Check out #pragma weak.
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26214 $as_echo_n "checking whether pragma weak works... " >&6; }
26215 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26216 $as_echo_n "(cached) " >&6
26219 gfor_save_CFLAGS
="$CFLAGS"
26220 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26222 /* end confdefs.h. */
26235 if ac_fn_c_try_compile
"$LINENO"; then :
26236 libgfor_cv_have_pragma_weak
=yes
26238 libgfor_cv_have_pragma_weak
=no
26240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26243 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26244 if test $libgfor_cv_have_pragma_weak = yes; then
26246 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26250 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26252 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26257 # Various other checks on target
26259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26260 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26261 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26262 $as_echo_n "(cached) " >&6
26265 if test "$cross_compiling" = yes; then :
26267 case "${target}" in
26268 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26269 *) libgfor_cv_have_unlink_open_file
=yes;;
26272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26273 /* end confdefs.h. */
26277 #include <unistd.h>
26278 #include <sys/stat.h>
26284 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26287 if (unlink ("testfile") == -1)
26289 write (fd, "This is a test\n", 15);
26292 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26298 if ac_fn_c_try_run
"$LINENO"; then :
26299 libgfor_cv_have_unlink_open_file
=yes
26301 libgfor_cv_have_unlink_open_file
=no
26303 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26304 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26309 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26310 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26312 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26316 # Check whether line terminator is LF or CRLF
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26319 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26320 if test "${libgfor_cv_have_crlf+set}" = set; then :
26321 $as_echo_n "(cached) " >&6
26324 if test "$cross_compiling" = yes; then :
26326 case "${target}" in
26327 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26328 *) libgfor_cv_have_crlf
=no
;;
26331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26332 /* end confdefs.h. */
26334 /* This test program should exit with status 0 if system uses a CRLF as
26335 line terminator, and status 1 otherwise.
26336 Since it is used to check for mingw systems, and should return 0 in any
26337 other case, in case of a failure we will not use CRLF. */
26338 #include <sys/stat.h>
26339 #include <stdlib.h>
26351 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26354 if (write (fd, "\n", 1) < 0)
26359 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26361 bytes = read (fd, buff, 5);
26362 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26369 if ac_fn_c_try_run
"$LINENO"; then :
26370 libgfor_cv_have_crlf
=yes
26372 libgfor_cv_have_crlf
=no
26374 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26375 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26380 $as_echo "$libgfor_cv_have_crlf" >&6; }
26381 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26383 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26387 # Check whether we have _Unwind_GetIPInfo for backtrace
26390 # Check whether --with-system-libunwind was given.
26391 if test "${with_system_libunwind+set}" = set; then :
26392 withval
=$with_system_libunwind;
26395 # If system-libunwind was not specifically set, pick a default setting.
26396 if test x
$with_system_libunwind = x
; then
26398 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26399 *) with_system_libunwind
=no
;;
26402 # Based on system-libunwind and target, do we have ipinfo?
26403 if test x
$with_system_libunwind = xyes
; then
26405 ia64-
*-*) have_unwind_getipinfo
=no
;;
26406 *) have_unwind_getipinfo
=yes ;;
26409 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26412 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26413 *) have_unwind_getipinfo
=yes ;;
26418 if test x
$have_unwind_getipinfo = xyes
; then
26420 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26425 cat >confcache
<<\_ACEOF
26426 # This file is a shell script that caches the results of configure
26427 # tests run on this system so they can be shared between configure
26428 # scripts and configure runs, see configure's option --config-cache.
26429 # It is not useful on other systems. If it contains results you don't
26430 # want to keep, you may remove or edit it.
26432 # config.status only pays attention to the cache file if you give it
26433 # the --recheck option to rerun configure.
26435 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26436 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26437 # following values.
26441 # The following way of writing the cache mishandles newlines in values,
26442 # but we know of no workaround that is simple, portable, and efficient.
26443 # So, we kill variables containing newlines.
26444 # Ultrix sh set writes to stderr and can't be redirected directly,
26445 # and sets the high bit in the cache file unless we assign to the vars.
26447 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26448 eval ac_val
=\$
$ac_var
26452 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26453 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26456 _ | IFS | as_nl
) ;; #(
26457 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26458 *) { eval $ac_var=; unset $ac_var;} ;;
26464 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26465 *${as_nl}ac_space
=\
*)
26466 # `set' does not quote correctly, so add quotes: double-quote
26467 # substitution turns \\\\ into \\, and sed turns \\ into \.
26470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26473 # `set' quotes correctly as required by POSIX, so do not add quotes.
26474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26485 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26487 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26488 if test -w "$cache_file"; then
26489 test "x$cache_file" != "x/dev/null" &&
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26491 $as_echo "$as_me: updating cache $cache_file" >&6;}
26492 cat confcache
>$cache_file
26494 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26495 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26500 if test ${multilib} = yes; then
26501 multilib_arg
="--enable-multilib"
26506 # Write our Makefile and spec file.
26507 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26509 cat >confcache
<<\_ACEOF
26510 # This file is a shell script that caches the results of configure
26511 # tests run on this system so they can be shared between configure
26512 # scripts and configure runs, see configure's option --config-cache.
26513 # It is not useful on other systems. If it contains results you don't
26514 # want to keep, you may remove or edit it.
26516 # config.status only pays attention to the cache file if you give it
26517 # the --recheck option to rerun configure.
26519 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26521 # following values.
26525 # The following way of writing the cache mishandles newlines in values,
26526 # but we know of no workaround that is simple, portable, and efficient.
26527 # So, we kill variables containing newlines.
26528 # Ultrix sh set writes to stderr and can't be redirected directly,
26529 # and sets the high bit in the cache file unless we assign to the vars.
26531 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26532 eval ac_val
=\$
$ac_var
26536 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26537 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26540 _ | IFS | as_nl
) ;; #(
26541 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26542 *) { eval $ac_var=; unset $ac_var;} ;;
26548 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26549 *${as_nl}ac_space
=\
*)
26550 # `set' does not quote correctly, so add quotes: double-quote
26551 # substitution turns \\\\ into \\, and sed turns \\ into \.
26554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26557 # `set' quotes correctly as required by POSIX, so do not add quotes.
26558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26569 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26571 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26572 if test -w "$cache_file"; then
26573 test "x$cache_file" != "x/dev/null" &&
26574 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26575 $as_echo "$as_me: updating cache $cache_file" >&6;}
26576 cat confcache
>$cache_file
26578 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26579 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26584 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26585 # Let make expand exec_prefix.
26586 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26588 DEFS
=-DHAVE_CONFIG_H
26592 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26593 # 1. Remove the extension, and $U if already installed.
26594 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26595 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26596 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26597 # will be set to the directory where LIBOBJS objects are built.
26598 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26599 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26601 LIBOBJS
=$ac_libobjs
26603 LTLIBOBJS
=$ac_ltlibobjs
26606 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26607 as_fn_error
"conditional \"onestep\" was never defined.
26608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26610 if test -n "$EXEEXT"; then
26612 am__EXEEXT_FALSE
='#'
26614 am__EXEEXT_TRUE
='#'
26618 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26619 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26622 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26623 as_fn_error
"conditional \"AMDEP\" was never defined.
26624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26626 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26627 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26630 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26631 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26634 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26635 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26638 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26639 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26642 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26643 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26646 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26647 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26651 : ${CONFIG_STATUS=./config.status}
26653 ac_clean_files_save
=$ac_clean_files
26654 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26656 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26658 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26660 # Generated by $as_me.
26661 # Run this file to recreate the current configuration.
26662 # Compiler output produced by configure, useful for debugging
26663 # configure, is in config.log if it exists.
26666 ac_cs_recheck=false
26669 SHELL=\${CONFIG_SHELL-$SHELL}
26672 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26673 ## -------------------- ##
26674 ## M4sh Initialization. ##
26675 ## -------------------- ##
26677 # Be more Bourne compatible
26678 DUALCASE
=1; export DUALCASE
# for MKS sh
26679 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26682 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26683 # is contrary to our usage. Disable this feature.
26684 alias -g '${1+"$@"}'='"$@"'
26685 setopt NO_GLOB_SUBST
26687 case `(set -o) 2>/dev/null` in #(
26699 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26700 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26701 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26702 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26703 # Prefer a ksh shell builtin over an external printf program on Solaris,
26704 # but without wasting forks for bash or zsh.
26705 if test -z "$BASH_VERSION$ZSH_VERSION" \
26706 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26707 as_echo='print
-r --'
26708 as_echo_n='print
-rn --'
26709 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26710 as_echo='printf %s
\n'
26711 as_echo_n='printf %s
'
26713 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26714 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26715 as_echo_n='/usr
/ucb
/echo -n'
26717 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26718 as_echo_n_body='eval
26722 expr "X$arg" : "X\\(.*\\)$as_nl";
26723 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26725 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26727 export as_echo_n_body
26728 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26730 export as_echo_body
26731 as_echo='sh
-c $as_echo_body as_echo
'
26734 # The user is always right.
26735 if test "${PATH_SEPARATOR+set}" != set; then
26737 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26738 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26745 # We need space, tab and new line, in precisely that order. Quoting is
26746 # there to prevent editors from complaining about space-tab.
26747 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26748 # splitting by setting IFS to empty value.)
26751 # Find who we are. Look in the path if we contain no directory separator.
26753 *[\\/]* ) as_myself=$0 ;;
26754 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26755 for as_dir in $PATH
26758 test -z "$as_dir" && as_dir=.
26759 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26765 # We did not find ourselves, most probably we were run as `sh COMMAND'
26766 # in which case we are not to be found in the path.
26767 if test "x$as_myself" = x
; then
26770 if test ! -f "$as_myself"; then
26771 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26775 # Unset variables that we do not need and which cause bugs (e.g. in
26776 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26777 # suppresses any "Segmentation fault" message there. '((' could
26778 # trigger a bug in pdksh 5.2.14.
26779 for as_var
in BASH_ENV ENV MAIL MAILPATH
26780 do eval test x\
${$as_var+set} = xset \
26781 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26794 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26797 # as_fn_error ERROR [LINENO LOG_FD]
26798 # ---------------------------------
26799 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26800 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26801 # script with status $?, using 1 if that was 0.
26804 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26806 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26807 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26809 $as_echo "$as_me: error: $1" >&2
26810 as_fn_exit
$as_status
26814 # as_fn_set_status STATUS
26815 # -----------------------
26816 # Set $? to STATUS, without forking.
26817 as_fn_set_status
()
26820 } # as_fn_set_status
26822 # as_fn_exit STATUS
26823 # -----------------
26824 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26828 as_fn_set_status
$1
26834 # Portably unset VAR.
26837 { eval $1=; unset $1;}
26839 as_unset
=as_fn_unset
26840 # as_fn_append VAR VALUE
26841 # ----------------------
26842 # Append the text in VALUE to the end of the definition contained in VAR. Take
26843 # advantage of any shell optimizations that allow amortized linear growth over
26844 # repeated appends, instead of the typical quadratic growth present in naive
26846 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26847 eval 'as_fn_append ()
26858 # as_fn_arith ARG...
26859 # ------------------
26860 # Perform arithmetic evaluation on the ARGs, and store the result in the
26861 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26862 # must be portable across $(()) and expr.
26863 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26864 eval 'as_fn_arith ()
26871 as_val
=`expr "$@" || test $? -eq 1`
26876 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26877 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26883 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26884 as_basename
=basename
26889 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26895 as_me
=`$as_basename -- "$0" ||
26896 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26897 X"$0" : 'X\(//\)$' \| \
26898 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26900 sed '/^.*\/\([^/][^/]*\)\/*$/{
26914 # Avoid depending upon Character Ranges.
26915 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26916 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26917 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26918 as_cr_digits
='0123456789'
26919 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26921 ECHO_C
= ECHO_N
= ECHO_T
=
26922 case `echo -n x` in #(((((
26924 case `echo 'xy\c'` in
26925 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26927 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26934 rm -f conf$$ conf$$.exe conf$$.
file
26935 if test -d conf$$.dir
; then
26936 rm -f conf$$.dir
/conf$$.
file
26939 mkdir conf$$.dir
2>/dev
/null
26941 if (echo >conf$$.
file) 2>/dev
/null
; then
26942 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26944 # ... but there are two gotchas:
26945 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26946 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26947 # In both cases, we have to default to `cp -p'.
26948 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26950 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26958 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26959 rmdir conf$$.dir
2>/dev
/null
26964 # Create "$as_dir" as a directory, including parents if necessary.
26969 -*) as_dir
=.
/$as_dir;;
26971 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26975 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26976 *) as_qdir
=$as_dir;;
26978 as_dirs
="'$as_qdir' $as_dirs"
26979 as_dir
=`$as_dirname -- "$as_dir" ||
26980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26981 X"$as_dir" : 'X\(//\)[^/]' \| \
26982 X"$as_dir" : 'X\(//\)$' \| \
26983 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26984 $as_echo X"$as_dir" |
26985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26989 /^X\(\/\/\)[^/].*/{
27002 test -d "$as_dir" && break
27004 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27005 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27009 if mkdir
-p .
2>/dev
/null
; then
27010 as_mkdir_p
='mkdir -p "$as_dir"'
27012 test -d .
/-p && rmdir .
/-p
27016 if test -x / >/dev
/null
2>&1; then
27017 as_test_x
='test -x'
27019 if ls -dL / >/dev
/null
2>&1; then
27026 if test -d "$1"; then
27032 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27033 ???[sx]*):;;*)false;;esac;fi
27037 as_executable_p
=$as_test_x
27039 # Sed expression to map a string onto a valid CPP name.
27040 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27042 # Sed expression to map a string onto a valid variable name.
27043 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27047 ## ----------------------------------- ##
27048 ## Main body of $CONFIG_STATUS script. ##
27049 ## ----------------------------------- ##
27051 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27054 # Save the log message, to keep $0 and so on meaningful, and to
27055 # report actual input values of CONFIG_FILES etc. instead of their
27056 # values after options handling.
27058 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27059 generated by GNU Autoconf 2.64. Invocation command line was
27061 CONFIG_FILES = $CONFIG_FILES
27062 CONFIG_HEADERS = $CONFIG_HEADERS
27063 CONFIG_LINKS = $CONFIG_LINKS
27064 CONFIG_COMMANDS = $CONFIG_COMMANDS
27067 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27072 case $ac_config_files in *"
27073 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27076 case $ac_config_headers in *"
27077 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27082 # Files that config.status was made for.
27083 config_files="$ac_config_files"
27084 config_headers="$ac_config_headers"
27085 config_commands="$ac_config_commands"
27089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27091 \`$as_me' instantiates files and other configuration actions
27092 from templates according to the current configuration. Unless the files
27093 and actions are specified as TAGs, all are instantiated by default.
27095 Usage: $0 [OPTION]... [TAG]...
27097 -h, --help print this help, then exit
27098 -V, --version print version number and configuration settings, then exit
27099 -q, --quiet, --silent
27100 do not print progress messages
27101 -d, --debug don't remove temporary files
27102 --recheck update $as_me by reconfiguring in the same conditions
27103 --file=FILE[:TEMPLATE]
27104 instantiate the configuration file FILE
27105 --header=FILE[:TEMPLATE]
27106 instantiate the configuration header FILE
27108 Configuration files:
27111 Configuration headers:
27114 Configuration commands:
27117 Report bugs to the package provider.
27118 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27119 General help using GNU software: <http://www.gnu.org/gethelp/>."
27122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27124 GNU Fortran Runtime Library config.status 0.3
27125 configured by $0, generated by GNU Autoconf 2.64,
27126 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27128 Copyright (C) 2009 Free Software Foundation, Inc.
27129 This config.status script is free software; the Free Software Foundation
27130 gives unlimited permission to copy, distribute and modify it."
27137 test -n "\$AWK" || AWK=awk
27140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27141 # The default lists apply if the user does not specify any file.
27147 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27148 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27159 # Handling of the options.
27160 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27162 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27163 $as_echo "$ac_cs_version"; exit ;;
27164 --debug |
--debu |
--deb |
--de |
--d |
-d )
27166 --file |
--fil |
--fi |
--f )
27169 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27171 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27172 ac_need_defaults
=false
;;
27173 --header |
--heade |
--head |
--hea )
27176 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27178 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27179 ac_need_defaults
=false
;;
27181 # Conflict between --help and --header
27182 as_fn_error
"ambiguous option: \`$1'
27183 Try \`$0 --help' for more information.";;
27184 --help |
--hel |
-h )
27185 $as_echo "$ac_cs_usage"; exit ;;
27186 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27187 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27190 # This is an error.
27191 -*) as_fn_error
"unrecognized option: \`$1'
27192 Try \`$0 --help' for more information." ;;
27194 *) as_fn_append ac_config_targets
" $1"
27195 ac_need_defaults
=false
;;
27201 ac_configure_extra_args
=
27203 if $ac_cs_silent; then
27205 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27210 if \$ac_cs_recheck; then
27211 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27213 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27214 CONFIG_SHELL='$SHELL'
27215 export CONFIG_SHELL
27220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27224 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27225 ## Running $as_me. ##
27231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27239 with_multisubdir="$with_multisubdir"
27240 with_multisrctop="$with_multisrctop"
27241 with_target_subdir="$with_target_subdir"
27242 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27243 multi_basedir="$multi_basedir"
27244 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27247 GFORTRAN="$GFORTRAN"
27249 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27252 # The HP-UX ksh and POSIX shell print the target directory to stdout
27253 # if CDPATH is set.
27254 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27256 sed_quote_subst='$sed_quote_subst'
27257 double_quote_subst='$double_quote_subst'
27258 delay_variable_subst='$delay_variable_subst'
27259 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27260 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27261 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27262 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27263 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27264 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27265 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27266 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27267 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27268 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27269 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27270 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27271 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27272 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27273 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27274 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27275 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27276 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27277 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27278 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27279 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27280 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27281 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27282 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27283 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27284 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27285 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27286 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27287 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27288 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27289 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27290 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27291 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27292 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27293 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27294 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27295 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27296 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27297 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27298 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27299 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27300 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27301 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27302 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27303 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27304 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27305 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27306 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27307 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"`'
27308 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27309 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27310 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27311 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27312 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27313 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27314 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27315 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27316 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27317 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27318 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27319 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27320 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27321 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27322 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27323 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27324 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27325 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27326 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27327 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27328 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27329 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27330 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27331 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27332 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27333 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27334 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27335 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27336 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27337 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27338 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27339 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27340 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27341 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27342 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27343 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27344 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27345 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27346 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27347 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27348 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27349 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27350 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27351 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27352 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27353 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27354 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27355 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27356 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27357 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27358 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27359 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27360 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27361 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27362 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27363 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27364 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27365 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27366 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27367 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27368 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27369 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27370 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27371 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27372 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27373 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27374 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27375 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27376 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27377 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27378 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27379 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27380 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27381 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27382 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27383 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27384 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27385 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27386 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27387 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27388 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27389 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27390 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27391 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27392 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27393 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27394 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27395 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27396 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27397 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27398 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27399 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27400 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27401 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27402 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27403 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27404 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27405 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27406 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27407 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27408 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27409 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27410 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27411 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27412 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27413 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27414 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27415 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27416 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27417 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27418 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27419 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27420 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27421 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27422 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27423 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27424 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27425 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27426 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27427 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27428 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27429 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27430 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27431 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27432 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27433 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27436 LTCFLAGS='$LTCFLAGS'
27437 compiler='$compiler_DEFAULT'
27439 # A function that is used when there is no print builtin or printf.
27440 func_fallback_echo ()
27442 eval 'cat <<_LTECHO_EOF
27447 # Quote evaled strings.
27461 deplibs_check_method \
27470 lt_cv_sys_global_symbol_pipe \
27471 lt_cv_sys_global_symbol_to_cdecl \
27472 lt_cv_sys_global_symbol_to_c_name_address \
27473 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27474 lt_prog_compiler_no_builtin_flag \
27475 lt_prog_compiler_wl \
27476 lt_prog_compiler_pic \
27477 lt_prog_compiler_static \
27478 lt_cv_prog_compiler_c_o \
27486 export_dynamic_flag_spec \
27487 whole_archive_flag_spec \
27488 compiler_needs_object \
27490 allow_undefined_flag \
27491 no_undefined_flag \
27492 hardcode_libdir_flag_spec \
27493 hardcode_libdir_flag_spec_ld \
27494 hardcode_libdir_separator \
27499 variables_saved_for_relink \
27501 library_names_spec \
27503 install_override_mode \
27507 compiler_lib_search_dirs \
27512 compiler_lib_search_path \
27516 lt_prog_compiler_no_builtin_flag_FC \
27517 lt_prog_compiler_wl_FC \
27518 lt_prog_compiler_pic_FC \
27519 lt_prog_compiler_static_FC \
27520 lt_cv_prog_compiler_c_o_FC \
27521 export_dynamic_flag_spec_FC \
27522 whole_archive_flag_spec_FC \
27523 compiler_needs_object_FC \
27525 allow_undefined_flag_FC \
27526 no_undefined_flag_FC \
27527 hardcode_libdir_flag_spec_FC \
27528 hardcode_libdir_flag_spec_ld_FC \
27529 hardcode_libdir_separator_FC \
27530 fix_srcfile_path_FC \
27531 exclude_expsyms_FC \
27532 include_expsyms_FC \
27533 file_list_spec_FC \
27534 compiler_lib_search_dirs_FC \
27535 predep_objects_FC \
27536 postdep_objects_FC \
27539 compiler_lib_search_path_FC; do
27540 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27541 *[\\\\\\\`\\"\\\$]*)
27542 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27545 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27550 # Double-quote double-evaled strings.
27551 for var in reload_cmds \
27552 old_postinstall_cmds \
27553 old_postuninstall_cmds \
27555 extract_expsyms_cmds \
27556 old_archive_from_new_cmds \
27557 old_archive_from_expsyms_cmds \
27559 archive_expsym_cmds \
27561 module_expsym_cmds \
27562 export_symbols_cmds \
27565 postuninstall_cmds \
27567 sys_lib_search_path_spec \
27568 sys_lib_dlsearch_path_spec \
27570 old_archive_cmds_FC \
27571 old_archive_from_new_cmds_FC \
27572 old_archive_from_expsyms_cmds_FC \
27574 archive_expsym_cmds_FC \
27576 module_expsym_cmds_FC \
27577 export_symbols_cmds_FC \
27578 prelink_cmds_FC; do
27579 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27580 *[\\\\\\\`\\"\\\$]*)
27581 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27584 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27589 ac_aux_dir='$ac_aux_dir'
27590 xsi_shell='$xsi_shell'
27591 lt_shell_append='$lt_shell_append'
27593 # See if we are running on zsh, and set the options which allow our
27594 # commands through without removal of \ escapes INIT.
27595 if test -n "\${ZSH_VERSION+set}" ; then
27596 setopt NO_GLOB_SUBST
27602 TIMESTAMP='$TIMESTAMP'
27613 acx_cv_header_stdint="$acx_cv_header_stdint"
27614 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27615 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27616 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27617 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27618 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27619 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27620 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27621 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27622 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27623 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27624 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27625 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27626 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27633 # Handling of arguments.
27634 for ac_config_target
in $ac_config_targets
27636 case $ac_config_target in
27637 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27638 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27639 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27640 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27641 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27642 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27643 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27645 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27650 # If the user did not use the arguments to specify the items to instantiate,
27651 # then the envvar interface is used. Set only those that are not.
27652 # We use the long form for the default assignment because of an extremely
27653 # bizarre bug on SunOS 4.1.3.
27654 if $ac_need_defaults; then
27655 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27656 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27657 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27660 # Have a temporary directory for convenience. Make it in the build tree
27661 # simply because there is no reason against having it here, and in addition,
27662 # creating and moving files from /tmp can sometimes cause problems.
27663 # Hook for its removal unless debugging.
27664 # Note that there is a small window in which the directory will not be cleaned:
27665 # after its creation but before its name has been assigned to `$tmp'.
27669 trap 'exit_status=$?
27670 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27672 trap 'as_fn_exit 1' 1 2 13 15
27674 # Create a (secure) tmp directory for tmp files.
27677 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27678 test -n "$tmp" && test -d "$tmp"
27681 tmp
=.
/conf$$
-$RANDOM
27682 (umask 077 && mkdir
"$tmp")
27683 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27685 # Set up the scripts for CONFIG_FILES section.
27686 # No need to generate them if there are no CONFIG_FILES.
27687 # This happens for instance with `./config.status config.h'.
27688 if test -n "$CONFIG_FILES"; then
27691 ac_cr
=`echo X | tr X '\015'`
27692 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27693 # But we know of no other shell where ac_cr would be empty at this
27694 # point, so we can use a bashism as a fallback.
27695 if test "x$ac_cr" = x
; then
27696 eval ac_cr
=\$
\'\\r
\'
27698 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27699 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27702 ac_cs_awk_cr
=$ac_cr
27705 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27710 echo "cat >conf$$subs.awk <<_ACEOF" &&
27711 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27713 } >conf$$subs.sh ||
27714 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27715 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27717 for ac_last_try in false false false false false :; do
27718 . ./conf$$subs.sh ||
27719 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27721 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27722 if test $ac_delim_n = $ac_delim_num; then
27724 elif $ac_last_try; then
27725 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27727 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27730 rm -f conf$$subs.sh
27732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27733 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27737 s/^/S["/; s
/!.
*/"]=/
27747 s/\(.\{148\}\).*/\1/
27749 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27754 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27761 s/\(.\{148\}\).*/\1/
27763 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27767 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27772 ' <conf$$subs.awk | sed '
27777 ' >>$CONFIG_STATUS || ac_write_fail=1
27778 rm -f conf$$subs.awk
27779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27781 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27782 for (key in S) S_is_set[key] = 1
27788 nfields = split(line, field, "@
")
27790 len = length(field[1])
27791 for (i = 2; i < nfields; i++) {
27793 keylen = length(key)
27794 if (S_is_set[key]) {
27796 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27797 len += length(value) + length(field[++i])
27808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27809 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27810 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27813 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27814 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27817 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27818 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27819 # trailing colons and then remove the whole line if VPATH becomes empty
27820 # (actually we leave an empty line to preserve line numbers).
27821 if test "x
$srcdir" = x.; then
27822 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27823 s/:*\$(srcdir):*/:/
27824 s/:*\${srcdir}:*/:/
27826 s/^\([^=]*=[ ]*\):*/\1/
27832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27833 fi # test -n "$CONFIG_FILES"
27835 # Set up the scripts for CONFIG_HEADERS section.
27836 # No need to generate them if there are no CONFIG_HEADERS.
27837 # This happens for instance with `./config.status Makefile'.
27838 if test -n "$CONFIG_HEADERS"; then
27839 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27843 # Transform confdefs.h into an awk script `defines.awk', embedded as
27844 # here-document in config.status, that substitutes the proper values into
27845 # config.h.in to produce config.h.
27847 # Create a delimiter string that does not exist in confdefs.h, to ease
27848 # handling of long lines.
27850 for ac_last_try in false false :; do
27851 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27852 if test -z "$ac_t"; then
27854 elif $ac_last_try; then
27855 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27857 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27861 # For the awk script, D is an array of macro values keyed by name,
27862 # likewise P contains macro parameters if any. Preserve backslash
27863 # newline sequences.
27865 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27867 s/.\{148\}/&'"$ac_delim"'/g
27870 s/^[ ]*#[ ]*define[ ][ ]*/ /
27877 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27879 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27884 D["\
1"]=" \
3\\\\\\n
"\\/p
27886 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27891 s/.\{148\}/&'"$ac_delim"'/g
27896 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27899 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27901 ' <confdefs.h | sed '
27902 s/'"$ac_delim"'/"\\\
27903 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27906 for (key in D) D_is_set[key] = 1
27909 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27911 split(line, arg, " ")
27912 if (arg[1] == "#") {
27916 defundef
= substr
(arg
[1], 2)
27919 split(mac1
, mac2
, "(") #)
27921 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27922 if (D_is_set
[macro
]) {
27923 # Preserve the white space surrounding the "#".
27924 print prefix
"define", macro P
[macro
] D
[macro
]
27927 # Replace #undef with comments. This is necessary, for example,
27928 # in the case of _POSIX_SOURCE, which is predefined and required
27929 # on some systems where configure will not decide to define it.
27930 if (defundef
== "undef") {
27931 print
"/*", prefix defundef
, macro
, "*/"
27939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27940 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27941 fi # test -n "$CONFIG_HEADERS"
27944 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27949 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27951 case $ac_mode$ac_tag in
27953 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27954 :[FH
]-) ac_tag
=-:-;;
27955 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27972 -) ac_f
="$tmp/stdin";;
27973 *) # Look for the file first in the build tree, then in the source tree
27974 # (if the path is not absolute). The absolute path cannot be DOS-style,
27975 # because $ac_f cannot contain `:'.
27979 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27981 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27983 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27984 as_fn_append ac_file_inputs
" '$ac_f'"
27987 # Let's still pretend it is `configure' which instantiates (i.e., don't
27988 # use $as_me), people would be surprised to read:
27989 # /* config.h. Generated by config.status. */
27990 configure_input
='Generated from '`
27991 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27993 if test x
"$ac_file" != x-
; then
27994 configure_input
="$ac_file. $configure_input"
27995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27996 $as_echo "$as_me: creating $ac_file" >&6;}
27998 # Neutralize special characters interpreted by sed in replacement strings.
27999 case $configure_input in #(
28000 *\
&* |
*\|
* |
*\\* )
28001 ac_sed_conf_input
=`$as_echo "$configure_input" |
28002 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28003 *) ac_sed_conf_input
=$configure_input;;
28007 *:-:* |
*:-) cat >"$tmp/stdin" \
28008 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28013 ac_dir
=`$as_dirname -- "$ac_file" ||
28014 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28015 X"$ac_file" : 'X\(//\)[^/]' \| \
28016 X"$ac_file" : 'X\(//\)$' \| \
28017 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28018 $as_echo X"$ac_file" |
28019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28023 /^X\(\/\/\)[^/].*/{
28036 as_dir
="$ac_dir"; as_fn_mkdir_p
28040 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28042 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28043 # A ".." for each directory in $ac_dir_suffix.
28044 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28045 case $ac_top_builddir_sub in
28046 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28047 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28050 ac_abs_top_builddir
=$ac_pwd
28051 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28052 # for backward compatibility:
28053 ac_top_builddir
=$ac_top_build_prefix
28056 .
) # We are building in place.
28058 ac_top_srcdir
=$ac_top_builddir_sub
28059 ac_abs_top_srcdir
=$ac_pwd ;;
28060 [\\/]* | ?
:[\\/]* ) # Absolute name.
28061 ac_srcdir
=$srcdir$ac_dir_suffix;
28062 ac_top_srcdir
=$srcdir
28063 ac_abs_top_srcdir
=$srcdir ;;
28064 *) # Relative name.
28065 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28066 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28067 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28069 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28079 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28080 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28082 ac_MKDIR_P
=$MKDIR_P
28084 [\\/$
]* | ?
:[\\/]* ) ;;
28085 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28090 # If the template does not know about datarootdir, expand it.
28091 # FIXME: This hack should be removed a few years after 2.60.
28092 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28103 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28104 *datarootdir
*) ac_datarootdir_seen
=yes;;
28105 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28107 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28110 ac_datarootdir_hack='
28111 s&@datadir@&$datadir&g
28112 s&@docdir@&$docdir&g
28113 s&@infodir@&$infodir&g
28114 s&@localedir@&$localedir&g
28115 s&@mandir@&$mandir&g
28116 s&\\\${datarootdir}&$datarootdir&g' ;;
28120 # Neutralize VPATH when `$srcdir' = `.'.
28121 # Shell code in configure.ac might set extrasub.
28122 # FIXME: do we really want to maintain this feature?
28123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28124 ac_sed_extra="$ac_vpsub
28127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28129 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28130 s|@configure_input@|
$ac_sed_conf_input|
;t t
28131 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28132 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28133 s
&@srcdir@
&$ac_srcdir&;t t
28134 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28135 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28136 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28137 s
&@builddir@
&$ac_builddir&;t t
28138 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28139 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28140 s
&@INSTALL@
&$ac_INSTALL&;t t
28141 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28142 $ac_datarootdir_hack
28144 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28145 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28147 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28148 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28149 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28151 which seems to be undefined. Please make sure it is defined." >&5
28152 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28153 which seems to be undefined. Please make sure it is defined." >&2;}
28157 -) cat "$tmp/out" && rm -f "$tmp/out";;
28158 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28160 || as_fn_error "could not create $ac_file" "$LINENO" 5
28166 if test x"$ac_file" != x-; then
28168 $as_echo "/* $configure_input */" \
28169 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28170 } >"$tmp/config.h" \
28171 || as_fn_error "could not create $ac_file" "$LINENO" 5
28172 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28174 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28177 mv "$tmp/config.h" "$ac_file" \
28178 || as_fn_error "could not create $ac_file" "$LINENO" 5
28181 $as_echo "/* $configure_input */" \
28182 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28183 || as_fn_error "could not create -" "$LINENO" 5
28185 # Compute "$ac_file"'s index
in $config_headers.
28188 for _am_header
in $config_headers :; do
28189 case $_am_header in
28190 $_am_arg |
$_am_arg:* )
28193 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28196 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28197 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28198 X"$_am_arg" : 'X\(//\)[^/]' \| \
28199 X"$_am_arg" : 'X\(//\)$' \| \
28200 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28201 $as_echo X"$_am_arg" |
28202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28206 /^X\(\/\/\)[^/].*/{
28218 s/.*/./; q'`/stamp-h
$_am_stamp_count
28221 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28222 $as_echo "$as_me: executing $ac_file commands" >&6;}
28227 case $ac_file$ac_mode in
28229 # Only add multilib support code if we just rebuilt the top-level
28231 case " $CONFIG_FILES " in
28233 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28236 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28237 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28238 # are listed without --file. Let's play safe and only enable the eval
28239 # if we detect the quoting.
28240 case $CONFIG_FILES in
28241 *\'*) eval set x
"$CONFIG_FILES" ;;
28242 *) set x
$CONFIG_FILES ;;
28247 # Strip MF so we end up with the name of the file.
28248 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28249 # Check whether this is an Automake generated Makefile or not.
28250 # We used to match only the files named `Makefile.in', but
28251 # some people rename them; so instead we look at the file content.
28252 # Grep'ing the first line is not enough: some people post-process
28253 # each Makefile.in and add a new line on top of each file to say so.
28254 # Grep'ing the whole file is not good either: AIX grep has a line
28255 # limit of 2048, but all sed's we know have understand at least 4000.
28256 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28257 dirpart
=`$as_dirname -- "$mf" ||
28258 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28259 X"$mf" : 'X\(//\)[^/]' \| \
28260 X"$mf" : 'X\(//\)$' \| \
28261 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28267 /^X\(\/\/\)[^/].*/{
28283 # Extract the definition of DEPDIR, am__include, and am__quote
28284 # from the Makefile without running `make'.
28285 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28286 test -z "$DEPDIR" && continue
28287 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28288 test -z "am__include" && continue
28289 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28290 # When using ansi2knr, U may be empty or an underscore; expand it
28291 U
=`sed -n 's/^U = //p' < "$mf"`
28292 # Find all dependency output files, they are included files with
28293 # $(DEPDIR) in their names. We invoke sed twice because it is the
28294 # simplest approach to changing $(DEPDIR) to its actual value in the
28296 for file in `sed -n "
28297 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28298 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28299 # Make sure the directory exists.
28300 test -f "$dirpart/$file" && continue
28301 fdir
=`$as_dirname -- "$file" ||
28302 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28303 X"$file" : 'X\(//\)[^/]' \| \
28304 X"$file" : 'X\(//\)$' \| \
28305 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28306 $as_echo X"$file" |
28307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28311 /^X\(\/\/\)[^/].*/{
28324 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28325 # echo "creating $dirpart/$file"
28326 echo '# dummy' > "$dirpart/$file"
28333 # See if we are running on zsh, and set the options which allow our
28334 # commands through without removal of \ escapes.
28335 if test -n "${ZSH_VERSION+set}" ; then
28336 setopt NO_GLOB_SUBST
28339 cfgfile
="${ofile}T"
28340 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28343 cat <<_LT_EOF >> "$cfgfile"
28346 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28347 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28349 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28351 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28352 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28353 # Written by Gordon Matzigkeit, 1996
28355 # This file is part of GNU Libtool.
28357 # GNU Libtool is free software; you can redistribute it and/or
28358 # modify it under the terms of the GNU General Public License as
28359 # published by the Free Software Foundation; either version 2 of
28360 # the License, or (at your option) any later version.
28362 # As a special exception to the GNU General Public License,
28363 # if you distribute this file as part of a program or library that
28364 # is built using GNU Libtool, you may include this file under the
28365 # same distribution terms that you use for the rest of that program.
28367 # GNU Libtool is distributed in the hope that it will be useful,
28368 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28369 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28370 # GNU General Public License for more details.
28372 # You should have received a copy of the GNU General Public License
28373 # along with GNU Libtool; see the file COPYING. If not, a copy
28374 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28375 # obtained by writing to the Free Software Foundation, Inc.,
28376 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28379 # The names of the tagged configurations supported by this script.
28380 available_tags="FC "
28382 # ### BEGIN LIBTOOL CONFIG
28384 # Which release of libtool.m4 was used?
28385 macro_version=$macro_version
28386 macro_revision=$macro_revision
28388 # Whether or not to build shared libraries.
28389 build_libtool_libs=$enable_shared
28391 # Whether or not to build static libraries.
28392 build_old_libs=$enable_static
28394 # What type of objects to build.
28397 # Whether or not to optimize for fast installation.
28398 fast_install=$enable_fast_install
28400 # Shell to use when invoking shell scripts.
28403 # An echo program that protects backslashes.
28407 host_alias=$host_alias
28411 # The build system.
28412 build_alias=$build_alias
28416 # A sed program that does not truncate output.
28419 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28420 Xsed="\$SED -e 1s/^X//"
28422 # A grep program that handles long lines.
28428 # A literal string matcher.
28431 # A BSD- or MS-compatible name lister.
28434 # Whether we need soft or hard links.
28437 # What is the maximum length of a command?
28438 max_cmd_len=$max_cmd_len
28440 # Object file suffix (normally "o").
28443 # Executable file suffix (normally "").
28446 # whether the shell understands "unset".
28449 # turn spaces into newlines.
28452 # turn newlines into spaces.
28455 # An object symbol dumper.
28456 OBJDUMP=$lt_OBJDUMP
28458 # Method to check whether dependent libraries are shared objects.
28459 deplibs_check_method=$lt_deplibs_check_method
28461 # Command to use when deplibs_check_method == "file_magic".
28462 file_magic_cmd=$lt_file_magic_cmd
28466 AR_FLAGS=$lt_AR_FLAGS
28468 # A symbol stripping program.
28471 # Commands used to install an old-style archive.
28473 old_postinstall_cmds=$lt_old_postinstall_cmds
28474 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28476 # Whether to use a lock for old archive extraction.
28477 lock_old_archive_extraction=$lock_old_archive_extraction
28482 # LTCC compiler flags.
28483 LTCFLAGS=$lt_CFLAGS
28485 # Take the output of nm and produce a listing of raw symbols and C names.
28486 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28488 # Transform the output of nm in a proper C declaration.
28489 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28491 # Transform the output of nm in a C name address pair.
28492 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28494 # Transform the output of nm in a C name address pair when lib prefix is needed.
28495 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28497 # The name of the directory that contains temporary libtool files.
28500 # Used to examine libraries when file_magic_cmd begins with "file".
28501 MAGIC_CMD=$MAGIC_CMD
28503 # Must we lock files when doing compilation?
28504 need_locks=$lt_need_locks
28506 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28507 DSYMUTIL=$lt_DSYMUTIL
28509 # Tool to change global to local symbols on Mac OS X.
28512 # Tool to manipulate fat objects and archives on Mac OS X.
28515 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28518 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28519 OTOOL64=$lt_OTOOL64
28521 # Old archive suffix (normally "a").
28524 # Shared library suffix (normally ".so").
28525 shrext_cmds=$lt_shrext_cmds
28527 # The commands to extract the exported symbol list from a shared archive.
28528 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28530 # Variables whose values should be saved in libtool wrapper scripts and
28531 # restored at link time.
28532 variables_saved_for_relink=$lt_variables_saved_for_relink
28534 # Do we need the "lib" prefix for modules?
28535 need_lib_prefix=$need_lib_prefix
28537 # Do we need a version for libraries?
28538 need_version=$need_version
28540 # Library versioning type.
28541 version_type=$version_type
28543 # Shared library runtime path variable.
28544 runpath_var=$runpath_var
28546 # Shared library path variable.
28547 shlibpath_var=$shlibpath_var
28549 # Is shlibpath searched before the hard-coded library search path?
28550 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28552 # Format of library name prefix.
28553 libname_spec=$lt_libname_spec
28555 # List of archive names. First name is the real one, the rest are links.
28556 # The last name is the one that the linker finds with -lNAME
28557 library_names_spec=$lt_library_names_spec
28559 # The coded name of the library, if different from the real name.
28560 soname_spec=$lt_soname_spec
28562 # Permission mode override for installation of shared libraries.
28563 install_override_mode=$lt_install_override_mode
28565 # Command to use after installation of a shared archive.
28566 postinstall_cmds=$lt_postinstall_cmds
28568 # Command to use after uninstallation of a shared archive.
28569 postuninstall_cmds=$lt_postuninstall_cmds
28571 # Commands used to finish a libtool library installation in a directory.
28572 finish_cmds=$lt_finish_cmds
28574 # As "finish_cmds", except a single script fragment to be evaled but
28576 finish_eval=$lt_finish_eval
28578 # Whether we should hardcode library paths into libraries.
28579 hardcode_into_libs=$hardcode_into_libs
28581 # Compile-time system search path for libraries.
28582 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28584 # Run-time system search path for libraries.
28585 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28587 # Whether dlopen is supported.
28588 dlopen_support=$enable_dlopen
28590 # Whether dlopen of programs is supported.
28591 dlopen_self=$enable_dlopen_self
28593 # Whether dlopen of statically linked programs is supported.
28594 dlopen_self_static=$enable_dlopen_self_static
28596 # Commands to strip libraries.
28597 old_striplib=$lt_old_striplib
28598 striplib=$lt_striplib
28601 # The linker used to build libraries.
28604 # How to create reloadable object files.
28605 reload_flag=$lt_reload_flag
28606 reload_cmds=$lt_reload_cmds
28608 # Commands used to build an old-style archive.
28609 old_archive_cmds=$lt_old_archive_cmds
28611 # A language specific compiler.
28614 # Is the compiler the GNU compiler?
28617 # Compiler flag to turn off builtin functions.
28618 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28620 # How to pass a linker flag through the compiler.
28621 wl=$lt_lt_prog_compiler_wl
28623 # Additional compiler flags for building library objects.
28624 pic_flag=$lt_lt_prog_compiler_pic
28626 # Compiler flag to prevent dynamic linking.
28627 link_static_flag=$lt_lt_prog_compiler_static
28629 # Does compiler simultaneously support -c and -o options?
28630 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28632 # Whether or not to add -lc for building shared libraries.
28633 build_libtool_need_lc=$archive_cmds_need_lc
28635 # Whether or not to disallow shared libs when runtime libs are static.
28636 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28638 # Compiler flag to allow reflexive dlopens.
28639 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28641 # Compiler flag to generate shared objects directly from archives.
28642 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28644 # Whether the compiler copes with passing no objects directly.
28645 compiler_needs_object=$lt_compiler_needs_object
28647 # Create an old-style archive from a shared archive.
28648 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28650 # Create a temporary old-style archive to link instead of a shared archive.
28651 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28653 # Commands used to build a shared archive.
28654 archive_cmds=$lt_archive_cmds
28655 archive_expsym_cmds=$lt_archive_expsym_cmds
28657 # Commands used to build a loadable module if different from building
28658 # a shared archive.
28659 module_cmds=$lt_module_cmds
28660 module_expsym_cmds=$lt_module_expsym_cmds
28662 # Whether we are building with GNU ld or not.
28663 with_gnu_ld=$lt_with_gnu_ld
28665 # Flag that allows shared libraries with undefined symbols to be built.
28666 allow_undefined_flag=$lt_allow_undefined_flag
28668 # Flag that enforces no undefined symbols.
28669 no_undefined_flag=$lt_no_undefined_flag
28671 # Flag to hardcode \$libdir into a binary during linking.
28672 # This must work even if \$libdir does not exist
28673 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28675 # If ld is used when linking, flag to hardcode \$libdir into a binary
28676 # during linking. This must work even if \$libdir does not exist.
28677 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28679 # Whether we need a single "-rpath" flag with a separated argument.
28680 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28682 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28683 # DIR into the resulting binary.
28684 hardcode_direct=$hardcode_direct
28686 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28687 # DIR into the resulting binary and the resulting library dependency is
28688 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28689 # library is relocated.
28690 hardcode_direct_absolute=$hardcode_direct_absolute
28692 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28693 # into the resulting binary.
28694 hardcode_minus_L=$hardcode_minus_L
28696 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28697 # into the resulting binary.
28698 hardcode_shlibpath_var=$hardcode_shlibpath_var
28700 # Set to "yes" if building a shared library automatically hardcodes DIR
28701 # into the library and all subsequent libraries and executables linked
28703 hardcode_automatic=$hardcode_automatic
28705 # Set to yes if linker adds runtime paths of dependent libraries
28706 # to runtime path list.
28707 inherit_rpath=$inherit_rpath
28709 # Whether libtool must link a program against all its dependency libraries.
28710 link_all_deplibs=$link_all_deplibs
28712 # Fix the shell variable \$srcfile for the compiler.
28713 fix_srcfile_path=$lt_fix_srcfile_path
28715 # Set to "yes" if exported symbols are required.
28716 always_export_symbols=$always_export_symbols
28718 # The commands to list exported symbols.
28719 export_symbols_cmds=$lt_export_symbols_cmds
28721 # Symbols that should not be listed in the preloaded symbols.
28722 exclude_expsyms=$lt_exclude_expsyms
28724 # Symbols that must always be exported.
28725 include_expsyms=$lt_include_expsyms
28727 # Commands necessary for linking programs (against libraries) with templates.
28728 prelink_cmds=$lt_prelink_cmds
28730 # Specify filename containing input files.
28731 file_list_spec=$lt_file_list_spec
28733 # How to hardcode a shared library path into an executable.
28734 hardcode_action=$hardcode_action
28736 # The directories searched by this compiler when creating a shared library.
28737 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28739 # Dependencies to place before and after the objects being linked to
28740 # create a shared library.
28741 predep_objects=$lt_predep_objects
28742 postdep_objects=$lt_postdep_objects
28743 predeps=$lt_predeps
28744 postdeps=$lt_postdeps
28746 # The library search path used internally by the compiler when linking
28747 # a shared library.
28748 compiler_lib_search_path=$lt_compiler_lib_search_path
28750 # ### END LIBTOOL CONFIG
28756 cat <<\_LT_EOF
>> "$cfgfile"
28757 # AIX sometimes has problems with the GCC collect2 program. For some
28758 # reason, if we set the COLLECT_NAMES environment variable, the problems
28759 # vanish in a puff of smoke.
28760 if test "X${COLLECT_NAMES+set}" != Xset
; then
28762 export COLLECT_NAMES
28769 ltmain
="$ac_aux_dir/ltmain.sh"
28772 # We use sed instead of cat because bash on DJGPP gets confused if
28773 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28774 # text mode, it properly converts lines to CR/LF. This bash problem
28775 # is reportedly fixed, but why not run on old versions too?
28776 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28777 ||
(rm -f "$cfgfile"; exit 1)
28781 cat << \_LT_EOF
>> "$cfgfile"
28783 # func_dirname file append nondir_replacement
28784 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28785 # otherwise set result to NONDIR_REPLACEMENT.
28789 */*) func_dirname_result
="${1%/*}${2}" ;;
28790 * ) func_dirname_result
="${3}" ;;
28794 # func_basename file
28797 func_basename_result
="${1##*/}"
28800 # func_dirname_and_basename file append nondir_replacement
28801 # perform func_basename and func_dirname in a single function
28803 # dirname: Compute the dirname of FILE. If nonempty,
28804 # add APPEND to the result, otherwise set result
28805 # to NONDIR_REPLACEMENT.
28806 # value returned in "$func_dirname_result"
28807 # basename: Compute filename of FILE.
28808 # value retuned in "$func_basename_result"
28809 # Implementation must be kept synchronized with func_dirname
28810 # and func_basename. For efficiency, we do not delegate to
28811 # those functions but instead duplicate the functionality here.
28812 func_dirname_and_basename
()
28815 */*) func_dirname_result
="${1%/*}${2}" ;;
28816 * ) func_dirname_result
="${3}" ;;
28818 func_basename_result
="${1##*/}"
28821 # func_stripname prefix suffix name
28822 # strip PREFIX and SUFFIX off of NAME.
28823 # PREFIX and SUFFIX must not contain globbing or regex special
28824 # characters, hashes, percent signs, but SUFFIX may contain a leading
28825 # dot (in which case that matches only a dot).
28828 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28829 # positional parameters, so assign one to ordinary parameter first.
28830 func_stripname_result
=${3}
28831 func_stripname_result
=${func_stripname_result#"${1}"}
28832 func_stripname_result
=${func_stripname_result%"${2}"}
28838 func_opt_split_opt
=${1%%=*}
28839 func_opt_split_arg
=${1#*=}
28846 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28847 *) func_lo2o_result
=${1} ;;
28851 # func_xform libobj-or-source
28854 func_xform_result
=${1%.*}.lo
28857 # func_arith arithmetic-term...
28860 func_arith_result
=$
(( $
* ))
28864 # STRING may not start with a hyphen.
28867 func_len_result
=${#1}
28872 *) # Bourne compatible functions.
28873 cat << \_LT_EOF
>> "$cfgfile"
28875 # func_dirname file append nondir_replacement
28876 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28877 # otherwise set result to NONDIR_REPLACEMENT.
28880 # Extract subdirectory from the argument.
28881 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28882 if test "X$func_dirname_result" = "X${1}"; then
28883 func_dirname_result
="${3}"
28885 func_dirname_result
="$func_dirname_result${2}"
28889 # func_basename file
28892 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28896 # func_stripname prefix suffix name
28897 # strip PREFIX and SUFFIX off of NAME.
28898 # PREFIX and SUFFIX must not contain globbing or regex special
28899 # characters, hashes, percent signs, but SUFFIX may contain a leading
28900 # dot (in which case that matches only a dot).
28901 # func_strip_suffix prefix name
28905 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28906 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28911 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28912 my_sed_long_arg
='1s/^-[^=]*=//'
28917 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28918 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28924 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28927 # func_xform libobj-or-source
28930 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28933 # func_arith arithmetic-term...
28936 func_arith_result
=`expr "$@"`
28940 # STRING may not start with a hyphen.
28943 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28949 case $lt_shell_append in
28951 cat << \_LT_EOF
>> "$cfgfile"
28953 # func_append var value
28954 # Append VALUE to the end of shell variable VAR.
28962 cat << \_LT_EOF
>> "$cfgfile"
28964 # func_append var value
28965 # Append VALUE to the end of shell variable VAR.
28976 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28977 ||
(rm -f "$cfgfile"; exit 1)
28979 mv -f "$cfgfile" "$ofile" ||
28980 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28984 cat <<_LT_EOF >> "$ofile"
28986 # ### BEGIN LIBTOOL TAG CONFIG: FC
28988 # The linker used to build libraries.
28991 # How to create reloadable object files.
28992 reload_flag=$lt_reload_flag_FC
28993 reload_cmds=$lt_reload_cmds_FC
28995 # Commands used to build an old-style archive.
28996 old_archive_cmds=$lt_old_archive_cmds_FC
28998 # A language specific compiler.
29001 # Is the compiler the GNU compiler?
29004 # Compiler flag to turn off builtin functions.
29005 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29007 # How to pass a linker flag through the compiler.
29008 wl=$lt_lt_prog_compiler_wl_FC
29010 # Additional compiler flags for building library objects.
29011 pic_flag=$lt_lt_prog_compiler_pic_FC
29013 # Compiler flag to prevent dynamic linking.
29014 link_static_flag=$lt_lt_prog_compiler_static_FC
29016 # Does compiler simultaneously support -c and -o options?
29017 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29019 # Whether or not to add -lc for building shared libraries.
29020 build_libtool_need_lc=$archive_cmds_need_lc_FC
29022 # Whether or not to disallow shared libs when runtime libs are static.
29023 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29025 # Compiler flag to allow reflexive dlopens.
29026 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29028 # Compiler flag to generate shared objects directly from archives.
29029 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29031 # Whether the compiler copes with passing no objects directly.
29032 compiler_needs_object=$lt_compiler_needs_object_FC
29034 # Create an old-style archive from a shared archive.
29035 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29037 # Create a temporary old-style archive to link instead of a shared archive.
29038 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29040 # Commands used to build a shared archive.
29041 archive_cmds=$lt_archive_cmds_FC
29042 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29044 # Commands used to build a loadable module if different from building
29045 # a shared archive.
29046 module_cmds=$lt_module_cmds_FC
29047 module_expsym_cmds=$lt_module_expsym_cmds_FC
29049 # Whether we are building with GNU ld or not.
29050 with_gnu_ld=$lt_with_gnu_ld_FC
29052 # Flag that allows shared libraries with undefined symbols to be built.
29053 allow_undefined_flag=$lt_allow_undefined_flag_FC
29055 # Flag that enforces no undefined symbols.
29056 no_undefined_flag=$lt_no_undefined_flag_FC
29058 # Flag to hardcode \$libdir into a binary during linking.
29059 # This must work even if \$libdir does not exist
29060 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29062 # If ld is used when linking, flag to hardcode \$libdir into a binary
29063 # during linking. This must work even if \$libdir does not exist.
29064 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29066 # Whether we need a single "-rpath" flag with a separated argument.
29067 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29069 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29070 # DIR into the resulting binary.
29071 hardcode_direct=$hardcode_direct_FC
29073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29074 # DIR into the resulting binary and the resulting library dependency is
29075 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29076 # library is relocated.
29077 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29079 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29080 # into the resulting binary.
29081 hardcode_minus_L=$hardcode_minus_L_FC
29083 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29084 # into the resulting binary.
29085 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29087 # Set to "yes" if building a shared library automatically hardcodes DIR
29088 # into the library and all subsequent libraries and executables linked
29090 hardcode_automatic=$hardcode_automatic_FC
29092 # Set to yes if linker adds runtime paths of dependent libraries
29093 # to runtime path list.
29094 inherit_rpath=$inherit_rpath_FC
29096 # Whether libtool must link a program against all its dependency libraries.
29097 link_all_deplibs=$link_all_deplibs_FC
29099 # Fix the shell variable \$srcfile for the compiler.
29100 fix_srcfile_path=$lt_fix_srcfile_path_FC
29102 # Set to "yes" if exported symbols are required.
29103 always_export_symbols=$always_export_symbols_FC
29105 # The commands to list exported symbols.
29106 export_symbols_cmds=$lt_export_symbols_cmds_FC
29108 # Symbols that should not be listed in the preloaded symbols.
29109 exclude_expsyms=$lt_exclude_expsyms_FC
29111 # Symbols that must always be exported.
29112 include_expsyms=$lt_include_expsyms_FC
29114 # Commands necessary for linking programs (against libraries) with templates.
29115 prelink_cmds=$lt_prelink_cmds_FC
29117 # Specify filename containing input files.
29118 file_list_spec=$lt_file_list_spec_FC
29120 # How to hardcode a shared library path into an executable.
29121 hardcode_action=$hardcode_action_FC
29123 # The directories searched by this compiler when creating a shared library.
29124 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29126 # Dependencies to place before and after the objects being linked to
29127 # create a shared library.
29128 predep_objects=$lt_predep_objects_FC
29129 postdep_objects=$lt_postdep_objects_FC
29130 predeps=$lt_predeps_FC
29131 postdeps=$lt_postdeps_FC
29133 # The library search path used internally by the compiler when linking
29134 # a shared library.
29135 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29137 # ### END LIBTOOL TAG CONFIG: FC
29142 if test "$GCC" = yes; then
29143 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29145 echo "/* generated for $CC */" > tmp-stdint.h
29148 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29150 #ifndef GCC_GENERATED_STDINT_H
29151 #define GCC_GENERATED_STDINT_H 1
29153 #include <sys/types.h>
29156 if test "$acx_cv_header_stdint" != stdint.h
; then
29157 echo "#include <stddef.h>" >> tmp-stdint.h
29159 if test "$acx_cv_header_stdint" != stddef.h
; then
29160 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29163 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29164 /* glibc uses these symbols as guards to prevent redefinitions. */
29165 #ifdef __int8_t_defined
29170 #ifdef __uint32_t_defined
29176 # ----------------- done header, emit basic int types -------------
29177 if test "$acx_cv_header_stdint" = stddef.h
; then
29178 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29182 #ifndef __uint8_t_defined
29183 #define __uint8_t_defined
29185 typedef unsigned $acx_cv_type_int8_t uint8_t;
29192 #ifndef __uint16_t_defined
29193 #define __uint16_t_defined
29195 typedef unsigned $acx_cv_type_int16_t uint16_t;
29202 #ifndef __uint32_t_defined
29203 #define __uint32_t_defined
29205 typedef unsigned $acx_cv_type_int32_t uint32_t;
29212 #ifndef __int8_t_defined
29213 #define __int8_t_defined
29215 typedef $acx_cv_type_int8_t int8_t;
29222 #ifndef __int16_t_defined
29223 #define __int16_t_defined
29225 typedef $acx_cv_type_int16_t int16_t;
29232 #ifndef __int32_t_defined
29233 #define __int32_t_defined
29235 typedef $acx_cv_type_int32_t int32_t;
29240 elif test "$ac_cv_type_u_int32_t" = yes; then
29241 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29243 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29256 #ifndef __uint8_t_defined
29257 #define __uint8_t_defined
29259 typedef u_int8_t uint8_t;
29266 #ifndef __uint16_t_defined
29267 #define __uint16_t_defined
29269 typedef u_int16_t uint16_t;
29276 #ifndef __uint32_t_defined
29277 #define __uint32_t_defined
29279 typedef u_int32_t uint32_t;
29285 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29287 /* Some systems have guard macros to prevent redefinitions, define them. */
29309 # ------------- done basic int types, emit int64_t types ------------
29310 if test "$ac_cv_type_uint64_t" = yes; then
29311 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29313 /* system headers have good uint64_t and int64_t */
29321 elif test "$ac_cv_type_u_int64_t" = yes; then
29322 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29324 /* system headers have an u_int64_t (and int64_t) */
29330 #ifndef __uint64_t_defined
29331 #define __uint64_t_defined
29333 typedef u_int64_t uint64_t;
29338 elif test -n "$acx_cv_type_int64_t"; then
29339 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29341 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29345 typedef $acx_cv_type_int64_t int64_t;
29350 #ifndef __uint64_t_defined
29351 #define __uint64_t_defined
29353 typedef unsigned $acx_cv_type_int64_t uint64_t;
29359 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29361 /* some common heuristics for int64_t, using compiler-specific tests */
29362 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29365 #ifndef __int64_t_defined
29367 typedef long long int64_t;
29374 typedef unsigned long long uint64_t;
29378 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29379 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29380 does not implement __extension__. But that compiler doesn't define
29382 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29383 # define __extension__
29389 __extension__ typedef long long int64_t;
29395 __extension__ typedef unsigned long long uint64_t;
29399 #elif !defined __STRICT_ANSI__
29400 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29405 typedef __int64 int64_t;
29411 typedef unsigned __int64 uint64_t;
29414 # endif /* compiler */
29416 #endif /* ANSI version */
29420 # ------------- done int64_t types, emit intptr types ------------
29421 if test "$ac_cv_type_uintptr_t" != yes; then
29422 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29424 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29425 #ifndef __uintptr_t_defined
29427 typedef u$acx_cv_type_intptr_t uintptr_t;
29430 #ifndef __intptr_t_defined
29432 typedef $acx_cv_type_intptr_t intptr_t;
29438 # ------------- done intptr types, emit int_least types ------------
29439 if test "$ac_cv_type_int_least32_t" != yes; then
29440 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29442 /* Define int_least types */
29443 typedef int8_t int_least8_t;
29444 typedef int16_t int_least16_t;
29445 typedef int32_t int_least32_t;
29447 typedef int64_t int_least64_t;
29450 typedef uint8_t uint_least8_t;
29451 typedef uint16_t uint_least16_t;
29452 typedef uint32_t uint_least32_t;
29454 typedef uint64_t uint_least64_t;
29459 # ------------- done intptr types, emit int_fast types ------------
29460 if test "$ac_cv_type_int_fast32_t" != yes; then
29461 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29463 /* Define int_fast types. short is often slow */
29464 typedef int8_t int_fast8_t;
29465 typedef int int_fast16_t;
29466 typedef int32_t int_fast32_t;
29468 typedef int64_t int_fast64_t;
29471 typedef uint8_t uint_fast8_t;
29472 typedef unsigned int uint_fast16_t;
29473 typedef uint32_t uint_fast32_t;
29475 typedef uint64_t uint_fast64_t;
29480 if test "$ac_cv_type_uintmax_t" != yes; then
29481 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29483 /* Define intmax based on what we found */
29486 typedef int64_t intmax_t;
29488 typedef long intmax_t;
29493 typedef uint64_t uintmax_t;
29495 typedef unsigned long uintmax_t;
29501 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29503 #endif /* GCC_GENERATED_STDINT_H */
29506 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29509 mv -f tmp-stdint.h gstdint.h
29520 ac_clean_files
=$ac_clean_files_save
29522 test $ac_write_fail = 0 ||
29523 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29526 # configure is writing to config.log, and then calls config.status.
29527 # config.status does its own redirection, appending to config.log.
29528 # Unfortunately, on DOS this fails, as config.log is still kept open
29529 # by configure, so config.status won't be able to write to it; its
29530 # output is simply discarded. So we exec the FD to /dev/null,
29531 # effectively closing config.log, so it can be properly (re)opened and
29532 # appended to by config.status. When coming back to configure, we
29533 # need to make the FD available again.
29534 if test "$no_create" != yes; then
29536 ac_config_status_args
=
29537 test "$silent" = yes &&
29538 ac_config_status_args
="$ac_config_status_args --quiet"
29540 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29542 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29543 # would make configure fail if this is the last instruction.
29544 $ac_cs_success || as_fn_exit $?
29546 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29548 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}