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
" fpxcp.h"
2547 as_fn_append ac_header_list
" pwd.h"
2548 as_fn_append ac_header_list
" complex.h"
2549 as_fn_append ac_func_list
" getrusage"
2550 as_fn_append ac_func_list
" times"
2551 as_fn_append ac_func_list
" mkstemp"
2552 as_fn_append ac_func_list
" strtof"
2553 as_fn_append ac_func_list
" strtold"
2554 as_fn_append ac_func_list
" snprintf"
2555 as_fn_append ac_func_list
" ftruncate"
2556 as_fn_append ac_func_list
" chsize"
2557 as_fn_append ac_func_list
" chdir"
2558 as_fn_append ac_func_list
" getlogin"
2559 as_fn_append ac_func_list
" gethostname"
2560 as_fn_append ac_func_list
" kill"
2561 as_fn_append ac_func_list
" link"
2562 as_fn_append ac_func_list
" symlink"
2563 as_fn_append ac_func_list
" sleep"
2564 as_fn_append ac_func_list
" ttyname"
2565 as_fn_append ac_func_list
" alarm"
2566 as_fn_append ac_func_list
" access"
2567 as_fn_append ac_func_list
" fork"
2568 as_fn_append ac_func_list
" execl"
2569 as_fn_append ac_func_list
" wait"
2570 as_fn_append ac_func_list
" setmode"
2571 as_fn_append ac_func_list
" execve"
2572 as_fn_append ac_func_list
" pipe"
2573 as_fn_append ac_func_list
" dup2"
2574 as_fn_append ac_func_list
" close"
2575 as_fn_append ac_func_list
" fcntl"
2576 as_fn_append ac_func_list
" strcasestr"
2577 as_fn_append ac_func_list
" getrlimit"
2578 as_fn_append ac_func_list
" gettimeofday"
2579 as_fn_append ac_func_list
" stat"
2580 as_fn_append ac_func_list
" fstat"
2581 as_fn_append ac_func_list
" lstat"
2582 as_fn_append ac_func_list
" getpwuid"
2583 as_fn_append ac_func_list
" vsnprintf"
2584 as_fn_append ac_func_list
" dup"
2585 as_fn_append ac_func_list
" getcwd"
2586 as_fn_append ac_func_list
" localtime_r"
2587 as_fn_append ac_func_list
" gmtime_r"
2588 as_fn_append ac_func_list
" getpwuid_r"
2589 as_fn_append ac_func_list
" ttyname_r"
2590 as_fn_append ac_func_list
" clock_gettime"
2591 as_fn_append ac_func_list
" readlink"
2592 as_fn_append ac_func_list
" getgid"
2593 as_fn_append ac_func_list
" getpid"
2594 as_fn_append ac_func_list
" getppid"
2595 as_fn_append ac_func_list
" getuid"
2596 as_fn_append ac_func_list
" geteuid"
2597 as_fn_append ac_func_list
" umask"
2598 as_fn_append ac_func_list
" getegid"
2599 as_fn_append ac_func_list
" secure_getenv"
2600 as_fn_append ac_func_list
" __secure_getenv"
2601 as_fn_append ac_func_list
" mkostemp"
2602 as_fn_append ac_header_list
" math.h"
2603 # Check that the precious variables saved in the cache have kept the same
2605 ac_cache_corrupted
=false
2606 for ac_var
in $ac_precious_vars; do
2607 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2608 eval ac_new_set
=\
$ac_env_${ac_var}_set
2609 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2610 eval ac_new_val
=\
$ac_env_${ac_var}_value
2611 case $ac_old_set,$ac_new_set in
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2614 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2615 ac_cache_corrupted
=: ;;
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2618 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2619 ac_cache_corrupted
=: ;;
2622 if test "x$ac_old_val" != "x$ac_new_val"; then
2623 # differences in whitespace do not lead to failure.
2624 ac_old_val_w
=`echo x $ac_old_val`
2625 ac_new_val_w
=`echo x $ac_new_val`
2626 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2628 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2629 ac_cache_corrupted
=:
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2632 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2633 eval $ac_var=\
$ac_old_val
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2636 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2638 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2641 # Pass precious variables to config.status.
2642 if test "$ac_new_set" = set; then
2644 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2645 *) ac_arg
=$ac_var=$ac_new_val ;;
2647 case " $ac_configure_args " in
2648 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2649 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2653 if $ac_cache_corrupted; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2657 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2658 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2660 ## -------------------- ##
2661 ## Main body of script. ##
2662 ## -------------------- ##
2665 ac_cpp
='$CPP $CPPFLAGS'
2666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2674 ac_config_headers
="$ac_config_headers config.h"
2677 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2678 for ac_t
in install-sh
install.sh shtool
; do
2679 if test -f "$ac_dir/$ac_t"; then
2681 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2686 if test -z "$ac_aux_dir"; then
2687 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2690 # These three variables are undocumented and unsupported,
2691 # and are intended to be withdrawn in a future Autoconf release.
2692 # They can cause serious problems if a builder's source tree is in a directory
2693 # whose full name contains unusual characters.
2694 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2695 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2696 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2699 # Make sure we can run config.sub.
2700 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2701 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2704 $as_echo_n "checking build system type... " >&6; }
2705 if test "${ac_cv_build+set}" = set; then :
2706 $as_echo_n "(cached) " >&6
2708 ac_build_alias
=$build_alias
2709 test "x$ac_build_alias" = x
&&
2710 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2711 test "x$ac_build_alias" = x
&&
2712 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2713 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2714 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2718 $as_echo "$ac_cv_build" >&6; }
2719 case $ac_cv_build in
2721 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2724 ac_save_IFS
=$IFS; IFS
='-'
2730 # Remember, the first character of IFS is used to create $*,
2731 # except with old shells:
2734 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2737 case ${build_alias} in
2738 "") build_noncanonical
=${build} ;;
2739 *) build_noncanonical
=${build_alias} ;;
2742 case ${host_alias} in
2743 "") host_noncanonical
=${build_noncanonical} ;;
2744 *) host_noncanonical
=${host_alias} ;;
2747 case ${target_alias} in
2748 "") target_noncanonical
=${host_noncanonical} ;;
2749 *) target_noncanonical
=${target_alias} ;;
2753 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2754 # have matching libraries, they should use host libraries: Makefile.tpl
2755 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2756 # However, they still use the build modules, because the corresponding
2757 # host modules (e.g. bison) are only built for the host when bootstrap
2759 # - build_subdir is where we find build modules, and never changes.
2760 # - build_libsubdir is where we find build libraries, and can be overridden.
2762 # Prefix 'build-' so this never conflicts with target_subdir.
2763 build_subdir
="build-${build_noncanonical}"
2765 # Check whether --with-build-libsubdir was given.
2766 if test "${with_build_libsubdir+set}" = set; then :
2767 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2769 build_libsubdir
="$build_subdir"
2772 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2773 if ( test $srcdir = .
&& test -d gcc
) \
2774 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2775 host_subdir
="host-${host_noncanonical}"
2780 target_subdir
=${target_noncanonical}
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2788 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2789 # Check whether --enable-version-specific-runtime-libs was given.
2790 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2791 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2792 yes) version_specific_libs
=yes ;;
2793 no
) version_specific_libs
=no
;;
2794 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2797 version_specific_libs
=no
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2801 $as_echo "$version_specific_libs" >&6; }
2803 # Build with intermodule optimisations
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2805 $as_echo_n "checking for --enable-intermodule... " >&6; }
2806 # Check whether --enable-intermodule was given.
2807 if test "${enable_intermodule+set}" = set; then :
2808 enableval
=$enable_intermodule; case "$enable_intermodule" in
2809 yes) onestep
="-onestep";;
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2817 $as_echo "$enable_intermodule" >&6; }
2818 if test x
$onestep = x-onestep
; then
2828 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2830 # You will slowly go insane if you do not grok the following fact: when
2831 # building this library, the top-level /target/ becomes the library's /host/.
2833 # configure then causes --target to default to --host, exactly like any
2834 # other package using autoconf. Therefore, 'target' and 'host' will
2835 # always be the same. This makes sense both for native and cross compilers
2836 # just think about it for a little while. :-)
2838 # Also, if this library is being configured as part of a cross compiler, the
2839 # top-level configure script will pass the "real" host as $with_cross_host.
2841 # Do not delete or change the following two lines. For why, see
2842 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2844 $as_echo_n "checking host system type... " >&6; }
2845 if test "${ac_cv_host+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2848 if test "x$host_alias" = x
; then
2849 ac_cv_host
=$ac_cv_build
2851 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2852 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2857 $as_echo "$ac_cv_host" >&6; }
2860 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2863 ac_save_IFS
=$IFS; IFS
='-'
2869 # Remember, the first character of IFS is used to create $*,
2870 # except with old shells:
2873 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2877 $as_echo_n "checking target system type... " >&6; }
2878 if test "${ac_cv_target+set}" = set; then :
2879 $as_echo_n "(cached) " >&6
2881 if test "x$target_alias" = x
; then
2882 ac_cv_target
=$ac_cv_host
2884 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2885 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2890 $as_echo "$ac_cv_target" >&6; }
2891 case $ac_cv_target in
2893 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2895 target
=$ac_cv_target
2896 ac_save_IFS
=$IFS; IFS
='-'
2902 # Remember, the first character of IFS is used to create $*,
2903 # except with old shells:
2906 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2909 # The aliases save the names the user supplied, while $host etc.
2910 # will get canonicalized.
2911 test -n "$target_alias" &&
2912 test "$program_prefix$program_suffix$program_transform_name" = \
2914 program_prefix
=${target_alias}-
2919 target_alias
=${target_alias-$host_alias}
2922 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2923 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2924 # 1.9.6: minimum required version
2925 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2926 # of other PACKAGE_* variables will, however, and there's nothing
2927 # we can do about that; they come from AC_INIT).
2928 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2929 # file in the top srcdir, etc, etc), so stop complaining.
2930 # no-dist: we don't want 'dist' and related rules.
2931 # -Wall: turns on all automake warnings...
2932 # -Wno-portability: ...except this one, since GNU make is required.
2933 am__api_version
='1.11'
2935 # Find a good install program. We prefer a C program (faster),
2936 # so one script is as good as another. But avoid the broken or
2937 # incompatible versions:
2938 # SysV /etc/install, /usr/sbin/install
2939 # SunOS /usr/etc/install
2940 # IRIX /sbin/install
2942 # AmigaOS /C/install, which installs bootblocks on floppy discs
2943 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2944 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2945 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2946 # OS/2's system install, which has a completely different semantic
2947 # ./install, which can be erroneously created by make from ./install.sh.
2948 # Reject install programs that cannot install multiple files.
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2950 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2951 if test -z "$INSTALL"; then
2952 if test "${ac_cv_path_install+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir
=.
2960 # Account for people who put trailing slashes in PATH elements.
2961 case $as_dir/ in #((
2962 .
/ | .
// |
/[cC
]/* | \
2963 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2964 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2967 # OSF1 and SCO ODT 3.0 have their own names for install.
2968 # Don't use installbsd from OSF since it installs stuff as root
2970 for ac_prog
in ginstall scoinst
install; do
2971 for ac_exec_ext
in '' $ac_executable_extensions; do
2972 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2973 if test $ac_prog = install &&
2974 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2975 # AIX install. It has an incompatible calling convention.
2977 elif test $ac_prog = install &&
2978 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2979 # program-specific install script used by HP pwplus--don't use.
2982 rm -rf conftest.one conftest.two conftest.dir
2983 echo one
> conftest.one
2984 echo two
> conftest.two
2986 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2987 test -s conftest.one
&& test -s conftest.two
&&
2988 test -s conftest.dir
/conftest.one
&&
2989 test -s conftest.dir
/conftest.two
2991 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3004 rm -rf conftest.one conftest.two conftest.dir
3007 if test "${ac_cv_path_install+set}" = set; then
3008 INSTALL
=$ac_cv_path_install
3010 # As a last resort, use the slow shell script. Don't cache a
3011 # value for INSTALL within a source directory, because that will
3012 # break other packages using the cache if that directory is
3013 # removed, or if the value is a relative name.
3014 INSTALL
=$ac_install_sh
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3018 $as_echo "$INSTALL" >&6; }
3020 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3021 # It thinks the first close brace ends the variable substitution.
3022 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3024 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3026 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3029 $as_echo_n "checking whether build environment is sane... " >&6; }
3032 echo timestamp
> conftest.
file
3033 # Reject unsafe characters in $srcdir or the absolute working directory
3034 # name. Accept space and tab only in the latter.
3038 *[\\\"\
#\$\&\'\`$am_lf]*)
3039 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3042 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3043 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3046 # Do `set' in a subshell so we don't clobber the current shell's
3047 # arguments. Must try -L first in case configure is actually a
3048 # symlink; some systems play weird games with the mod time of symlinks
3049 # (eg FreeBSD returns the mod time of the symlink's containing
3052 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3053 if test "$*" = "X"; then
3055 set X
`ls -t "$srcdir/configure" conftest.file`
3058 if test "$*" != "X $srcdir/configure conftest.file" \
3059 && test "$*" != "X conftest.file $srcdir/configure"; then
3061 # If neither matched, then we have a broken ls. This can happen
3062 # if, for instance, CONFIG_SHELL is bash and it inherits a
3063 # broken ls alias from the environment. This has actually
3064 # happened. Such a system could not be considered "sane".
3065 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3066 alias in your environment" "$LINENO" 5
3069 test "$2" = conftest.
file
3075 as_fn_error
"newly created file is older than distributed files!
3076 Check your system clock" "$LINENO" 5
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3079 $as_echo "yes" >&6; }
3080 test "$program_prefix" != NONE
&&
3081 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3082 # Use a double $ so make ignores it.
3083 test "$program_suffix" != NONE
&&
3084 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3085 # Double any \ or $.
3086 # By default was `s,x,x', remove it if useless.
3087 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3088 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3090 # expand $ac_aux_dir to an absolute path
3091 am_aux_dir
=`cd $ac_aux_dir && pwd`
3093 if test x
"${MISSING+set}" != xset
; then
3096 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3098 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3101 # Use eval to expand $SHELL
3102 if eval "$MISSING --run true"; then
3103 am_missing_run
="$MISSING --run "
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3107 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3110 if test x
"${install_sh}" != xset
; then
3113 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3115 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3119 # Installed binaries are usually stripped using `strip' when the user
3120 # run `make install-strip'. However `strip' might not be the right
3121 # tool to use in cross-compilation environments, therefore Automake
3122 # will honor the `STRIP' environment variable to overrule this program.
3123 if test "$cross_compiling" != no
; then
3124 if test -n "$ac_tool_prefix"; then
3125 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3126 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if test "${ac_cv_prog_STRIP+set}" = set; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$STRIP"; then
3133 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir
=.
3140 for ac_exec_ext
in '' $ac_executable_extensions; do
3141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 STRIP
=$ac_cv_prog_STRIP
3153 if test -n "$STRIP"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3155 $as_echo "$STRIP" >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3163 if test -z "$ac_cv_prog_STRIP"; then
3165 # Extract the first word of "strip", so it can be a program name with args.
3166 set dummy strip
; ac_word
=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3170 $as_echo_n "(cached) " >&6
3172 if test -n "$ac_ct_STRIP"; then
3173 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir
=.
3180 for ac_exec_ext
in '' $ac_executable_extensions; do
3181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3182 ac_cv_prog_ac_ct_STRIP
="strip"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3193 if test -n "$ac_ct_STRIP"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3195 $as_echo "$ac_ct_STRIP" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3201 if test "x$ac_ct_STRIP" = x
; then
3204 case $cross_compiling:$ac_tool_warned in
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3208 ac_tool_warned
=yes ;;
3213 STRIP
="$ac_cv_prog_STRIP"
3217 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3220 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3221 if test -z "$MKDIR_P"; then
3222 if test "${ac_cv_path_mkdir+set}" = set; then :
3223 $as_echo_n "(cached) " >&6
3225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3226 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3229 test -z "$as_dir" && as_dir
=.
3230 for ac_prog
in mkdir gmkdir
; do
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3233 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3234 'mkdir (GNU coreutils) '* | \
3235 'mkdir (coreutils) '* | \
3236 'mkdir (fileutils) '4.1*)
3237 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3247 if test "${ac_cv_path_mkdir+set}" = set; then
3248 MKDIR_P
="$ac_cv_path_mkdir -p"
3250 # As a last resort, use the slow shell script. Don't cache a
3251 # value for MKDIR_P within a source directory, because that will
3252 # break other packages using the cache if that directory is
3253 # removed, or if the value is a relative name.
3254 test -d .
/--version && rmdir .
/--version
3255 MKDIR_P
="$ac_install_sh -d"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3259 $as_echo "$MKDIR_P" >&6; }
3263 [\\/$
]* | ?
:[\\/]*) ;;
3264 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3267 for ac_prog
in gawk mawk nawk
awk
3269 # Extract the first word of "$ac_prog", so it can be a program name with args.
3270 set dummy
$ac_prog; ac_word
=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if test "${ac_cv_prog_AWK+set}" = set; then :
3274 $as_echo_n "(cached) " >&6
3276 if test -n "$AWK"; then
3277 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir
=.
3284 for ac_exec_ext
in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 ac_cv_prog_AWK
="$ac_prog"
3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test -n "$AWK"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3299 $as_echo "$AWK" >&6; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3306 test -n "$AWK" && break
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3310 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3312 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3313 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3314 $as_echo_n "(cached) " >&6
3316 cat >conftest.
make <<\_ACEOF
3319 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3322 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3324 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3326 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3330 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3337 SET_MAKE
="MAKE=${MAKE-make}"
3340 rm -rf .tst
2>/dev
/null
3341 mkdir .tst
2>/dev
/null
3342 if test -d .tst
; then
3347 rmdir .tst
2>/dev
/null
3349 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3350 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3351 # is not polluted with repeated "-I."
3352 am__isrc
=' -I$(srcdir)'
3353 # test to see if srcdir already configured
3354 if test -f $srcdir/config.status
; then
3355 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3359 # test whether we have cygpath
3360 if test -z "$CYGPATH_W"; then
3361 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3362 CYGPATH_W
='cygpath -w'
3369 # Define the identity of the package.
3370 PACKAGE
='libgfortran'
3374 # Some tools Automake needs.
3376 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3379 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3382 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3385 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3388 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3390 # We need awk for the "check" target. The system "awk" is bad on
3392 # Always define AMTAR for backward compatibility. Yes, it's still used
3393 # in the wild :-( We should find a proper way to deprecate it ...
3396 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3405 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3406 # Check whether --enable-maintainer-mode was given.
3407 if test "${enable_maintainer_mode+set}" = set; then :
3408 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3410 USE_MAINTAINER_MODE
=no
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3414 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3415 if test $USE_MAINTAINER_MODE = yes; then
3416 MAINTAINER_MODE_TRUE
=
3417 MAINTAINER_MODE_FALSE
='#'
3419 MAINTAINER_MODE_TRUE
='#'
3420 MAINTAINER_MODE_FALSE
=
3423 MAINT
=$MAINTAINER_MODE_TRUE
3426 # Default to --enable-multilib
3427 # Check whether --enable-multilib was given.
3428 if test "${enable_multilib+set}" = set; then :
3429 enableval
=$enable_multilib; case "$enableval" in
3430 yes) multilib
=yes ;;
3432 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3439 # We may get other options which we leave undocumented:
3440 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3441 # See config-ml.in if you want the gory details.
3443 if test "$srcdir" = "."; then
3444 if test "$with_target_subdir" != "."; then
3445 multi_basedir
="$srcdir/$with_multisrctop../.."
3447 multi_basedir
="$srcdir/$with_multisrctop.."
3450 multi_basedir
="$srcdir/.."
3454 # Even if the default multilib is not a cross compilation,
3455 # it may be that some of the other multilibs are.
3456 if test $cross_compiling = no
&& test $multilib = yes \
3457 && test "x${with_multisubdir}" != x
; then
3458 cross_compiling
=maybe
3461 ac_config_commands
="$ac_config_commands default-1"
3464 # Handy for debugging:
3465 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3467 # Are we being configured with some form of cross compiler?
3468 # NB: We don't actually need to know this just now, but when, say, a test
3469 # suite is included, we'll have to know.
3470 if test "$build" != "$host"; then
3471 LIBGFOR_IS_NATIVE
=false
3474 LIBGFOR_IS_NATIVE
=true
3477 DEPDIR
="${am__leading_dot}deps"
3479 ac_config_commands
="$ac_config_commands depfiles"
3482 am_make
=${MAKE-make}
3483 cat > confinc
<< 'END'
3485 @
echo this is the am__doit target
3488 # If we don't find an include directive, just comment out the code.
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3490 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3494 # First try GNU make style include.
3495 echo "include confinc" > confmf
3496 # Ignore all kinds of additional output from `make'.
3497 case `$am_make -s -f confmf 2> /dev/null` in #(
3498 *the\ am__doit\ target
*)
3504 # Now try BSD make style include.
3505 if test "$am__include" = "#"; then
3506 echo '.include "confinc"' > confmf
3507 case `$am_make -s -f confmf 2> /dev/null` in #(
3508 *the\ am__doit\ target
*)
3509 am__include
=.include
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3518 $as_echo "$_am_result" >&6; }
3519 rm -f confinc confmf
3521 # Check whether --enable-dependency-tracking was given.
3522 if test "${enable_dependency_tracking+set}" = set; then :
3523 enableval
=$enable_dependency_tracking;
3526 if test "x$enable_dependency_tracking" != xno
; then
3527 am_depcomp
="$ac_aux_dir/depcomp"
3531 if test "x$enable_dependency_tracking" != xno; then
3541 ac_cpp
='$CPP $CPPFLAGS'
3542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3545 if test -n "$ac_tool_prefix"; then
3546 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3547 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_CC+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3553 if test -n "$CC"; then
3554 ac_cv_prog_CC
="$CC" # Let the user override the test.
3556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3560 test -z "$as_dir" && as_dir
=.
3561 for ac_exec_ext
in '' $ac_executable_extensions; do
3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 if test -n "$CC"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3576 $as_echo "$CC" >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3584 if test -z "$ac_cv_prog_CC"; then
3586 # Extract the first word of "gcc", so it can be a program name with args.
3587 set dummy gcc
; ac_word
=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3591 $as_echo_n "(cached) " >&6
3593 if test -n "$ac_ct_CC"; then
3594 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir
=.
3601 for ac_exec_ext
in '' $ac_executable_extensions; do
3602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603 ac_cv_prog_ac_ct_CC
="gcc"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3614 if test -n "$ac_ct_CC"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3616 $as_echo "$ac_ct_CC" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3622 if test "x$ac_ct_CC" = x
; then
3625 case $cross_compiling:$ac_tool_warned in
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3629 ac_tool_warned
=yes ;;
3637 if test -z "$CC"; then
3638 if test -n "$ac_tool_prefix"; then
3639 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3640 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if test "${ac_cv_prog_CC+set}" = set; then :
3644 $as_echo_n "(cached) " >&6
3646 if test -n "$CC"; then
3647 ac_cv_prog_CC
="$CC" # Let the user override the test.
3649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir
=.
3654 for ac_exec_ext
in '' $ac_executable_extensions; do
3655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3656 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 if test -n "$CC"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3669 $as_echo "$CC" >&6; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3678 if test -z "$CC"; then
3679 # Extract the first word of "cc", so it can be a program name with args.
3680 set dummy cc
; ac_word
=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if test "${ac_cv_prog_CC+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC
="$CC" # Let the user override the test.
3690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3694 test -z "$as_dir" && as_dir
=.
3695 for ac_exec_ext
in '' $ac_executable_extensions; do
3696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3698 ac_prog_rejected
=yes
3702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709 if test $ac_prog_rejected = yes; then
3710 # We found a bogon in the path, so make sure we never use it.
3711 set dummy
$ac_cv_prog_CC
3713 if test $# != 0; then
3714 # We chose a different compiler from the bogus one.
3715 # However, it has the same basename, so the bogon will be chosen
3716 # first if we set CC to just the basename; use the full file name.
3718 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3734 if test -z "$CC"; then
3735 if test -n "$ac_tool_prefix"; then
3736 for ac_prog
in cl.exe
3738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3739 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC
="$CC" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3775 test -n "$CC" && break
3778 if test -z "$CC"; then
3780 for ac_prog
in cl.exe
3782 # Extract the first word of "$ac_prog", so it can be a program name with args.
3783 set dummy
$ac_prog; ac_word
=$2
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 $as_echo_n "checking for $ac_word... " >&6; }
3786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3789 if test -n "$ac_ct_CC"; then
3790 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3796 test -z "$as_dir" && as_dir
=.
3797 for ac_exec_ext
in '' $ac_executable_extensions; do
3798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3799 ac_cv_prog_ac_ct_CC
="$ac_prog"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3809 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3810 if test -n "$ac_ct_CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3812 $as_echo "$ac_ct_CC" >&6; }
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3819 test -n "$ac_ct_CC" && break
3822 if test "x$ac_ct_CC" = x
; then
3825 case $cross_compiling:$ac_tool_warned in
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3829 ac_tool_warned
=yes ;;
3838 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840 as_fn_error
"no acceptable C compiler found in \$PATH
3841 See \`config.log' for more details." "$LINENO" 5; }
3843 # Provide some information about the compiler.
3844 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3847 for ac_option
in --version -v -V -qversion; do
3848 { { ac_try
="$ac_compiler $ac_option >&5"
3850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3854 $as_echo "$ac_try_echo"; } >&5
3855 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3857 if test -s conftest.err; then
3859 ... rest of stderr output deleted ...
3860 10q' conftest.err >conftest.er1
3861 cat conftest.er1 >&5
3862 rm -f conftest.er1 conftest.err
3864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3865 test $ac_status = 0; }
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3881 (eval $ac_link) 2>&5
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }; then :
3889 if test x$gcc_no_link = xyes; then
3890 # Setting cross_compile will disable run tests; it will
3891 # also disable AC_CHECK_FILE but that's generally
3892 # correct if we can't link.
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3907 ac_clean_files_save=$ac_clean_files
3908 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3909 # Try to create an executable without -o first, disregard a.out.
3910 # It will help us diagnose broken compilers, and finding out an intuition
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3913 $as_echo_n "checking for C compiler default output file name... " >&6; }
3914 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3916 # The possible output files:
3917 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3920 for ac_file in $ac_files
3923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3924 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 if { { ac_try="$ac_link_default"
3931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3932 *) ac_try_echo
=$ac_try;;
3934 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link_default") 2>&5
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3941 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3942 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3943 # so that the user can short-circuit this test for compilers unknown to
3945 for ac_file
in $ac_files ''
3947 test -f "$ac_file" ||
continue
3949 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3952 # We found the default executable, but exeext='' is most
3956 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3958 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3960 # We set ac_cv_exeext here because the later test for it is not
3961 # safe: cross compilers may not add the suffix if given an `-o'
3962 # argument, so we may need to know it at that point already.
3963 # Even if this section looks crufty: it has the advantage of
3970 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3976 $as_echo "$ac_file" >&6; }
3977 if test -z "$ac_file"; then :
3978 $as_echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 { as_fn_set_status
77
3984 as_fn_error
"C compiler cannot create executables
3985 See \`config.log' for more details." "$LINENO" 5; }; }
3987 ac_exeext
=$ac_cv_exeext
3989 # Check that the compiler produces executables we can run. If not, either
3990 # the compiler is broken, or we cross compile.
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3992 $as_echo_n "checking whether the C compiler works... " >&6; }
3993 # If not cross compiling, check that we can run a simple program.
3994 if test "$cross_compiling" != yes; then
3995 if { ac_try
='./$ac_file'
3996 { { case "(($ac_try" in
3997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_try") 2>&5
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; }; }; then
4008 if test "$cross_compiling" = maybe; then
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error "cannot run C compiled programs.
4014 If you meant to cross compile
, use \
`--host'.
4015 See \`config.log
' for more details." "$LINENO" 5; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4020 $as_echo "yes" >&6; }
4022 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4023 ac_clean_files=$ac_clean_files_save
4024 # Check that the compiler produces executables we can run. If not, either
4025 # the compiler is broken, or we cross compile.
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4027 $as_echo_n "checking whether we are cross compiling... " >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4029 $as_echo "$cross_compiling" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4032 $as_echo_n "checking for suffix of executables... " >&6; }
4033 if { { ac_try="$ac_link"
4035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_link") 2>&5
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }; then :
4044 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4045 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4046 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4048 for ac_file
in conftest.exe conftest conftest.
*; do
4049 test -f "$ac_file" ||
continue
4051 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4052 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4061 See \`config.log' for more details." "$LINENO" 5; }
4063 rm -f conftest
$ac_cv_exeext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4065 $as_echo "$ac_cv_exeext" >&6; }
4067 rm -f conftest.
$ac_ext
4068 EXEEXT
=$ac_cv_exeext
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4072 $as_echo_n "checking for suffix of object files... " >&6; }
4073 if test "${ac_cv_objext+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4087 rm -f conftest.o conftest.obj
4088 if { { ac_try
="$ac_compile"
4090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_compile") 2>&5
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; then :
4099 for ac_file in conftest.o conftest.obj conftest.*; do
4100 test -f "$ac_file" || continue;
4102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4103 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108 $as_echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.$ac_ext >&5
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error "cannot compute suffix of object files
: cannot compile
4114 See \
`config.log' for more details." "$LINENO" 5; }
4116 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4119 $as_echo "$ac_cv_objext" >&6; }
4120 OBJEXT=$ac_cv_objext
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4123 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4124 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4125 $as_echo_n "(cached) " >&6
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4141 if ac_fn_c_try_compile "$LINENO"; then :
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4152 if test $ac_compiler_gnu = yes; then
4157 ac_test_CFLAGS=${CFLAGS+set}
4158 ac_save_CFLAGS=$CFLAGS
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4161 if test "${ac_cv_prog_cc_g+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4164 ac_save_c_werror_flag=$ac_c_werror_flag
4165 ac_c_werror_flag=yes
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4179 if ac_fn_c_try_compile "$LINENO"; then :
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4194 if ac_fn_c_try_compile "$LINENO"; then :
4197 ac_c_werror_flag=$ac_save_c_werror_flag
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4210 if ac_fn_c_try_compile "$LINENO"; then :
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 ac_c_werror_flag=$ac_save_c_werror_flag
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4221 $as_echo "$ac_cv_prog_cc_g" >&6; }
4222 if test "$ac_test_CFLAGS" = set; then
4223 CFLAGS=$ac_save_CFLAGS
4224 elif test $ac_cv_prog_cc_g = yes; then
4225 if test "$GCC" = yes; then
4231 if test "$GCC" = yes; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4238 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4239 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4240 $as_echo_n "(cached) " >&6
4242 ac_cv_prog_cc_c89=no
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4248 #include <sys/types.h>
4249 #include <sys/stat.h>
4250 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4251 struct buf { int x; };
4252 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4253 static char *e (p, i)
4259 static char *f (char * (*g) (char **, int), char **p, ...)
4264 s = g (p, va_arg (v,int));
4269 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4270 function prototypes and stuff, but not '\xHH' hex character constants.
4271 These don't provoke an error unfortunately, instead are silently treated
4272 as 'x'. The following induces an error, until -std is added to get
4273 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4274 array size at least. It's necessary to write '\x00'==0 to get something
4275 that's true only with -std. */
4276 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4278 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4279 inside strings and character constants. */
4281 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4283 int test (int i, double x);
4284 struct s1 {int (*f) (int a);};
4285 struct s2 {int (*f) (double a);};
4286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4292 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4297 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4298 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4300 CC="$ac_save_CC $ac_arg"
4301 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_cv_prog_cc_c89=$ac_arg
4304 rm -f core conftest.err conftest.$ac_objext
4305 test "x$ac_cv_prog_cc_c89" != "xno" && break
4307 rm -f conftest.$ac_ext
4312 case "x$ac_cv_prog_cc_c89" in
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4315 $as_echo "none needed" >&6; } ;;
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4318 $as_echo "unsupported" >&6; } ;;
4320 CC="$CC $ac_cv_prog_cc_c89"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4322 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4324 if test "x$ac_cv_prog_cc_c89" != xno; then :
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334 depcc="$CC" am_compiler_list=
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4337 $as_echo_n "checking dependency style of $depcc... " >&6; }
4338 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4342 # We make a subdir and do the tests there. Otherwise we can end up
4343 # making bogus files that we don't know about and never remove. For
4344 # instance it was reported that on HP-UX the gcc test will end up
4345 # making a dummy file named `D
' -- because `-MD' means
`put the output
4349 # Copy depcomp to subdir because otherwise we won't find it if we're
4350 # using a relative directory.
4351 cp "$am_depcomp" conftest.dir
4353 # We will build objects and dependencies in a subdirectory because
4354 # it helps to detect inapplicable dependency modes. For instance
4355 # both Tru64's cc and ICC support -MD to output dependencies as a
4356 # side effect of compilation, but ICC will put the dependencies in
4357 # the current directory while Tru64 will put them in the object
4361 am_cv_CC_dependencies_compiler_type=none
4362 if test "$am_compiler_list" = ""; then
4363 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4366 case " $depcc " in #(
4367 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4370 for depmode in $am_compiler_list; do
4371 # Setup a source with many dependencies, because some compilers
4372 # like to wrap large dependency lists on column 80 (with \), and
4373 # we should not choose a depcomp mode which is confused by this.
4375 # We need to recreate these files for each test, as the compiler may
4376 # overwrite some of them when testing with obscure command lines.
4377 # This happens at least with the AIX C compiler.
4379 for i in 1 2 3 4 5 6; do
4380 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4381 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4382 # Solaris 8's
{/usr
,}/bin
/sh.
4383 touch sub
/conftst
$i.h
4385 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4387 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4388 # mode. It turns out that the SunPro C++ compiler does not properly
4389 # handle `-M -o', and we need to detect this. Also, some Intel
4390 # versions had trouble with output in subdirs
4391 am__obj
=sub
/conftest.
${OBJEXT-o}
4392 am__minus_obj
="-o $am__obj"
4395 # This depmode causes a compiler race in universal mode.
4396 test "$am__universal" = false ||
continue
4399 # after this tag, mechanisms are not by side-effect, so they'll
4400 # only be used when explicitly requested
4401 if test "x$enable_dependency_tracking" = xyes
; then
4407 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4408 # This compiler won't grok `-c -o', but also, the minuso test has
4409 # not run yet. These depmodes are late enough in the game, and
4410 # so weak that their functioning should not be impacted.
4411 am__obj
=conftest.
${OBJEXT-o}
4416 if depmode
=$depmode \
4417 source=sub
/conftest.c object
=$am__obj \
4418 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4419 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4420 >/dev
/null
2>conftest.err
&&
4421 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4422 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4423 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4424 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4425 # icc doesn't choke on unknown options, it will just issue warnings
4426 # or remarks (even with -Werror). So we grep stderr for any message
4427 # that says an option was ignored or not supported.
4428 # When given -MP, icc 7.0 and 7.1 complain thusly:
4429 # icc: Command line warning: ignoring option '-M'; no argument required
4430 # The diagnosis changed in icc 8.0:
4431 # icc: Command line remark: option '-MP' not supported
4432 if (grep 'ignoring option' conftest.err ||
4433 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4434 am_cv_CC_dependencies_compiler_type
=$depmode
4443 am_cv_CC_dependencies_compiler_type
=none
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4448 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4449 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4452 test "x$enable_dependency_tracking" != xno \
4453 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4455 am__fastdepCC_FALSE
='#'
4457 am__fastdepCC_TRUE
='#'
4458 am__fastdepCC_FALSE
=
4464 ac_cpp
='$CPP $CPPFLAGS'
4465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4469 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4470 # On Suns, sometimes $CPP names a directory.
4471 if test -n "$CPP" && test -d "$CPP"; then
4474 if test -z "$CPP"; then
4475 if test "${ac_cv_prog_CPP+set}" = set; then :
4476 $as_echo_n "(cached) " >&6
4478 # Double quotes because CPP needs to be expanded
4479 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4482 for ac_c_preproc_warn_flag
in '' yes
4484 # Use a header file that comes with gcc, so configuring glibc
4485 # with a fresh cross-compiler works.
4486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4487 # <limits.h> exists even on freestanding compilers.
4488 # On the NeXT, cc -E runs the code through the compiler's parser,
4489 # not just through cpp. "Syntax error" is here to catch this case.
4490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4493 # include <limits.h>
4495 # include <assert.h>
4499 if ac_fn_c_try_cpp
"$LINENO"; then :
4502 # Broken: fails on valid input.
4505 rm -f conftest.err conftest.
$ac_ext
4507 # OK, works on sane cases. Now check whether nonexistent headers
4508 # can be detected and how.
4509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4511 #include <ac_nonexistent.h>
4513 if ac_fn_c_try_cpp
"$LINENO"; then :
4514 # Broken: success on invalid input.
4517 # Passes both tests.
4521 rm -f conftest.err conftest.
$ac_ext
4524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4525 rm -f conftest.err conftest.
$ac_ext
4526 if $ac_preproc_ok; then :
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4539 $as_echo "$CPP" >&6; }
4541 for ac_c_preproc_warn_flag
in '' yes
4543 # Use a header file that comes with gcc, so configuring glibc
4544 # with a fresh cross-compiler works.
4545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4546 # <limits.h> exists even on freestanding compilers.
4547 # On the NeXT, cc -E runs the code through the compiler's parser,
4548 # not just through cpp. "Syntax error" is here to catch this case.
4549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4552 # include <limits.h>
4554 # include <assert.h>
4558 if ac_fn_c_try_cpp
"$LINENO"; then :
4561 # Broken: fails on valid input.
4564 rm -f conftest.err conftest.
$ac_ext
4566 # OK, works on sane cases. Now check whether nonexistent headers
4567 # can be detected and how.
4568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4570 #include <ac_nonexistent.h>
4572 if ac_fn_c_try_cpp
"$LINENO"; then :
4573 # Broken: success on invalid input.
4576 # Passes both tests.
4580 rm -f conftest.err conftest.
$ac_ext
4583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4584 rm -f conftest.err conftest.
$ac_ext
4585 if $ac_preproc_ok; then :
4588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4591 See \`config.log' for more details." "$LINENO" 5; }
4595 ac_cpp
='$CPP $CPPFLAGS'
4596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4602 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4603 if test "${ac_cv_path_GREP+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4606 if test -z "$GREP"; then
4607 ac_path_GREP_found
=false
4608 # Loop through the user's path and test for each of PROGNAME-LIST
4609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4610 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4613 test -z "$as_dir" && as_dir
=.
4614 for ac_prog
in grep ggrep
; do
4615 for ac_exec_ext
in '' $ac_executable_extensions; do
4616 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4617 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4618 # Check for GNU ac_path_GREP and select it if it is found.
4619 # Check for GNU $ac_path_GREP
4620 case `"$ac_path_GREP" --version 2>&1` in
4622 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4625 $as_echo_n 0123456789 >"conftest.in"
4628 cat "conftest.in" "conftest.in" >"conftest.tmp"
4629 mv "conftest.tmp" "conftest.in"
4630 cp "conftest.in" "conftest.nl"
4631 $as_echo 'GREP' >> "conftest.nl"
4632 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4633 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4634 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4635 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4636 # Best one so far, save it but keep looking for a better one
4637 ac_cv_path_GREP
="$ac_path_GREP"
4638 ac_path_GREP_max
=$ac_count
4640 # 10*(2^10) chars as input seems more than enough
4641 test $ac_count -gt 10 && break
4643 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4646 $ac_path_GREP_found && break 3
4651 if test -z "$ac_cv_path_GREP"; then
4652 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4655 ac_cv_path_GREP
=$GREP
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4660 $as_echo "$ac_cv_path_GREP" >&6; }
4661 GREP
="$ac_cv_path_GREP"
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4665 $as_echo_n "checking for egrep... " >&6; }
4666 if test "${ac_cv_path_EGREP+set}" = set; then :
4667 $as_echo_n "(cached) " >&6
4669 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4670 then ac_cv_path_EGREP
="$GREP -E"
4672 if test -z "$EGREP"; then
4673 ac_path_EGREP_found
=false
4674 # Loop through the user's path and test for each of PROGNAME-LIST
4675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4676 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4679 test -z "$as_dir" && as_dir
=.
4680 for ac_prog
in egrep; do
4681 for ac_exec_ext
in '' $ac_executable_extensions; do
4682 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4683 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4684 # Check for GNU ac_path_EGREP and select it if it is found.
4685 # Check for GNU $ac_path_EGREP
4686 case `"$ac_path_EGREP" --version 2>&1` in
4688 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4691 $as_echo_n 0123456789 >"conftest.in"
4694 cat "conftest.in" "conftest.in" >"conftest.tmp"
4695 mv "conftest.tmp" "conftest.in"
4696 cp "conftest.in" "conftest.nl"
4697 $as_echo 'EGREP' >> "conftest.nl"
4698 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4699 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4700 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4701 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4702 # Best one so far, save it but keep looking for a better one
4703 ac_cv_path_EGREP
="$ac_path_EGREP"
4704 ac_path_EGREP_max
=$ac_count
4706 # 10*(2^10) chars as input seems more than enough
4707 test $ac_count -gt 10 && break
4709 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4712 $ac_path_EGREP_found && break 3
4717 if test -z "$ac_cv_path_EGREP"; then
4718 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4721 ac_cv_path_EGREP
=$EGREP
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4727 $as_echo "$ac_cv_path_EGREP" >&6; }
4728 EGREP
="$ac_cv_path_EGREP"
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4732 $as_echo_n "checking for ANSI C header files... " >&6; }
4733 if test "${ac_cv_header_stdc+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4751 if ac_fn_c_try_compile
"$LINENO"; then :
4752 ac_cv_header_stdc
=yes
4754 ac_cv_header_stdc
=no
4756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4758 if test $ac_cv_header_stdc = yes; then
4759 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4766 $EGREP "memchr" >/dev
/null
2>&1; then :
4769 ac_cv_header_stdc
=no
4775 if test $ac_cv_header_stdc = yes; then
4776 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4783 $EGREP "free" >/dev
/null
2>&1; then :
4786 ac_cv_header_stdc
=no
4792 if test $ac_cv_header_stdc = yes; then
4793 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4794 if test "$cross_compiling" = yes; then :
4797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4801 #if ((' ' & 0x0FF) == 0x020)
4802 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4803 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4805 # define ISLOWER(c) \
4806 (('a' <= (c) && (c) <= 'i') \
4807 || ('j' <= (c) && (c) <= 'r') \
4808 || ('s' <= (c) && (c) <= 'z'))
4809 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4812 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4817 for (i = 0; i < 256; i++)
4818 if (XOR (islower (i), ISLOWER (i))
4819 || toupper (i) != TOUPPER (i))
4824 if ac_fn_c_try_run
"$LINENO"; then :
4827 ac_cv_header_stdc
=no
4829 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4830 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4836 $as_echo "$ac_cv_header_stdc" >&6; }
4837 if test $ac_cv_header_stdc = yes; then
4839 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4843 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4844 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4845 inttypes.h stdint.h unistd.h
4847 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4848 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4850 eval as_val
=\$
$as_ac_Header
4851 if test "x$as_val" = x
""yes; then :
4852 cat >>confdefs.h
<<_ACEOF
4853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4862 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4863 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4870 if test "$MINIX" = yes; then
4872 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4875 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4878 $as_echo "#define _MINIX 1" >>confdefs.h
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4884 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4885 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4891 # define __EXTENSIONS__ 1
4892 $ac_includes_default
4901 if ac_fn_c_try_compile
"$LINENO"; then :
4902 ac_cv_safe_to_define___extensions__
=yes
4904 ac_cv_safe_to_define___extensions__
=no
4906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4909 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4910 test $ac_cv_safe_to_define___extensions__ = yes &&
4911 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4913 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4915 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4917 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4919 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4923 # Calculate toolexeclibdir
4924 # Also toolexecdir, though it's only used in toolexeclibdir
4925 case ${version_specific_libs} in
4927 # Need the gcc compiler version to know where to install libraries
4928 # and header files if --enable-version-specific-runtime-libs option
4930 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4931 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4934 if test -n "$with_cross_host" &&
4935 test x
"$with_cross_host" != x
"no"; then
4936 # Install a library built with a cross compiler in tooldir, not libdir.
4937 toolexecdir
='$(exec_prefix)/$(target_alias)'
4938 toolexeclibdir
='$(toolexecdir)/lib'
4940 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4941 toolexeclibdir
='$(libdir)'
4943 multi_os_directory
=`$CC -print-multi-os-directory`
4944 case $multi_os_directory in
4945 .
) ;; # Avoid trailing /.
4946 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4953 # Create a spec file, so that compile/link tests don't fail
4954 test -f libgfortran.spec ||
touch libgfortran.spec
4957 ac_cpp
='$CPP $CPPFLAGS'
4958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4962 # Check the compiler.
4963 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4964 # We must force CC to /not/ be precious variables; otherwise
4965 # the wrong, non-multilib-adjusted value will be used in multilibs.
4966 # As a side effect, we have to subst CFLAGS ourselves.
4971 ac_cpp
='$CPP $CPPFLAGS'
4972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4977 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_CC+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$CC"; then
4984 ac_cv_prog_CC
="$CC" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir
=.
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 if test -n "$CC"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5006 $as_echo "$CC" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5014 if test -z "$ac_cv_prog_CC"; then
5016 # Extract the first word of "gcc", so it can be a program name with args.
5017 set dummy gcc
; ac_word
=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$ac_ct_CC"; then
5024 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir
=.
5031 for ac_exec_ext
in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_ac_ct_CC
="gcc"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5044 if test -n "$ac_ct_CC"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5046 $as_echo "$ac_ct_CC" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5052 if test "x$ac_ct_CC" = x
; then
5055 case $cross_compiling:$ac_tool_warned in
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned
=yes ;;
5067 if test -z "$CC"; then
5068 if test -n "$ac_tool_prefix"; then
5069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5070 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if test "${ac_cv_prog_CC+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5076 if test -n "$CC"; then
5077 ac_cv_prog_CC
="$CC" # Let the user override the test.
5079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5083 test -z "$as_dir" && as_dir
=.
5084 for ac_exec_ext
in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 if test -n "$CC"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5099 $as_echo "$CC" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5108 if test -z "$CC"; then
5109 # Extract the first word of "cc", so it can be a program name with args.
5110 set dummy cc
; ac_word
=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if test "${ac_cv_prog_CC+set}" = set; then :
5114 $as_echo_n "(cached) " >&6
5116 if test -n "$CC"; then
5117 ac_cv_prog_CC
="$CC" # Let the user override the test.
5120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir
=.
5125 for ac_exec_ext
in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5128 ac_prog_rejected
=yes
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 if test $ac_prog_rejected = yes; then
5140 # We found a bogon in the path, so make sure we never use it.
5141 set dummy
$ac_cv_prog_CC
5143 if test $# != 0; then
5144 # We chose a different compiler from the bogus one.
5145 # However, it has the same basename, so the bogon will be chosen
5146 # first if we set CC to just the basename; use the full file name.
5148 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5154 if test -n "$CC"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5156 $as_echo "$CC" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5164 if test -z "$CC"; then
5165 if test -n "$ac_tool_prefix"; then
5166 for ac_prog
in cl.exe
5168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5169 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if test "${ac_cv_prog_CC+set}" = set; then :
5173 $as_echo_n "(cached) " >&6
5175 if test -n "$CC"; then
5176 ac_cv_prog_CC
="$CC" # Let the user override the test.
5178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5182 test -z "$as_dir" && as_dir
=.
5183 for ac_exec_ext
in '' $ac_executable_extensions; do
5184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5185 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 if test -n "$CC"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5198 $as_echo "$CC" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5205 test -n "$CC" && break
5208 if test -z "$CC"; then
5210 for ac_prog
in cl.exe
5212 # Extract the first word of "$ac_prog", so it can be a program name with args.
5213 set dummy
$ac_prog; ac_word
=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5217 $as_echo_n "(cached) " >&6
5219 if test -n "$ac_ct_CC"; then
5220 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir
=.
5227 for ac_exec_ext
in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_prog_ac_ct_CC
="$ac_prog"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5240 if test -n "$ac_ct_CC"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5242 $as_echo "$ac_ct_CC" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5249 test -n "$ac_ct_CC" && break
5252 if test "x$ac_ct_CC" = x
; then
5255 case $cross_compiling:$ac_tool_warned in
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5259 ac_tool_warned
=yes ;;
5268 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5270 as_fn_error
"no acceptable C compiler found in \$PATH
5271 See \`config.log' for more details." "$LINENO" 5; }
5273 # Provide some information about the compiler.
5274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5277 for ac_option
in --version -v -V -qversion; do
5278 { { ac_try
="$ac_compiler $ac_option >&5"
5280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 $as_echo "$ac_try_echo"; } >&5
5285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5287 if test -s conftest.err; then
5289 ... rest of stderr output deleted ...
5290 10q' conftest.err >conftest.er1
5291 cat conftest.er1 >&5
5292 rm -f conftest.er1 conftest.err
5294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5299 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5300 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5301 $as_echo_n "(cached) " >&6
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5317 if ac_fn_c_try_compile "$LINENO"; then :
5322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5327 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5328 if test $ac_compiler_gnu = yes; then
5333 ac_test_CFLAGS=${CFLAGS+set}
5334 ac_save_CFLAGS=$CFLAGS
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5336 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5337 if test "${ac_cv_prog_cc_g+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5340 ac_save_c_werror_flag=$ac_c_werror_flag
5341 ac_c_werror_flag=yes
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5355 if ac_fn_c_try_compile "$LINENO"; then :
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5370 if ac_fn_c_try_compile "$LINENO"; then :
5373 ac_c_werror_flag=$ac_save_c_werror_flag
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5386 if ac_fn_c_try_compile "$LINENO"; then :
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394 ac_c_werror_flag=$ac_save_c_werror_flag
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5397 $as_echo "$ac_cv_prog_cc_g" >&6; }
5398 if test "$ac_test_CFLAGS" = set; then
5399 CFLAGS=$ac_save_CFLAGS
5400 elif test $ac_cv_prog_cc_g = yes; then
5401 if test "$GCC" = yes; then
5407 if test "$GCC" = yes; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5414 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5415 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5416 $as_echo_n "(cached) " >&6
5418 ac_cv_prog_cc_c89=no
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5424 #include <sys/types.h>
5425 #include <sys/stat.h>
5426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5427 struct buf { int x; };
5428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5429 static char *e (p, i)
5435 static char *f (char * (*g) (char **, int), char **p, ...)
5440 s = g (p, va_arg (v,int));
5445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5446 function prototypes and stuff, but not '\xHH' hex character constants.
5447 These don't provoke an error unfortunately, instead are silently treated
5448 as 'x'. The following induces an error, until -std is added to get
5449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5450 array size at least. It's necessary to write '\x00'==0 to get something
5451 that's true only with -std. */
5452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5455 inside strings and character constants. */
5457 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5459 int test (int i, double x);
5460 struct s1 {int (*f) (int a);};
5461 struct s2 {int (*f) (double a);};
5462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5473 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5474 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5476 CC="$ac_save_CC $ac_arg"
5477 if ac_fn_c_try_compile "$LINENO"; then :
5478 ac_cv_prog_cc_c89=$ac_arg
5480 rm -f core conftest.err conftest.$ac_objext
5481 test "x$ac_cv_prog_cc_c89" != "xno" && break
5483 rm -f conftest.$ac_ext
5488 case "x$ac_cv_prog_cc_c89" in
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5491 $as_echo "none needed" >&6; } ;;
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5494 $as_echo "unsupported" >&6; } ;;
5496 CC="$CC $ac_cv_prog_cc_c89"
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5498 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5500 if test "x$ac_cv_prog_cc_c89" != xno; then :
5505 ac_cpp='$CPP $CPPFLAGS'
5506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5510 depcc="$CC" am_compiler_list=
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5513 $as_echo_n "checking dependency style of $depcc... " >&6; }
5514 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5515 $as_echo_n "(cached) " >&6
5517 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5518 # We make a subdir and do the tests there. Otherwise we can end up
5519 # making bogus files that we don't know about and never remove. For
5520 # instance it was reported that on HP-UX the gcc test will end up
5521 # making a dummy file named `D
' -- because `-MD' means
`put the output
5525 # Copy depcomp to subdir because otherwise we won't find it if we're
5526 # using a relative directory.
5527 cp "$am_depcomp" conftest.dir
5529 # We will build objects and dependencies in a subdirectory because
5530 # it helps to detect inapplicable dependency modes. For instance
5531 # both Tru64's cc and ICC support -MD to output dependencies as a
5532 # side effect of compilation, but ICC will put the dependencies in
5533 # the current directory while Tru64 will put them in the object
5537 am_cv_CC_dependencies_compiler_type=none
5538 if test "$am_compiler_list" = ""; then
5539 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5542 case " $depcc " in #(
5543 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5546 for depmode in $am_compiler_list; do
5547 # Setup a source with many dependencies, because some compilers
5548 # like to wrap large dependency lists on column 80 (with \), and
5549 # we should not choose a depcomp mode which is confused by this.
5551 # We need to recreate these files for each test, as the compiler may
5552 # overwrite some of them when testing with obscure command lines.
5553 # This happens at least with the AIX C compiler.
5555 for i in 1 2 3 4 5 6; do
5556 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5557 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5558 # Solaris 8's
{/usr
,}/bin
/sh.
5559 touch sub
/conftst
$i.h
5561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5564 # mode. It turns out that the SunPro C++ compiler does not properly
5565 # handle `-M -o', and we need to detect this. Also, some Intel
5566 # versions had trouble with output in subdirs
5567 am__obj
=sub
/conftest.
${OBJEXT-o}
5568 am__minus_obj
="-o $am__obj"
5571 # This depmode causes a compiler race in universal mode.
5572 test "$am__universal" = false ||
continue
5575 # after this tag, mechanisms are not by side-effect, so they'll
5576 # only be used when explicitly requested
5577 if test "x$enable_dependency_tracking" = xyes
; then
5583 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5584 # This compiler won't grok `-c -o', but also, the minuso test has
5585 # not run yet. These depmodes are late enough in the game, and
5586 # so weak that their functioning should not be impacted.
5587 am__obj
=conftest.
${OBJEXT-o}
5592 if depmode
=$depmode \
5593 source=sub
/conftest.c object
=$am__obj \
5594 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5595 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5596 >/dev
/null
2>conftest.err
&&
5597 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5598 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5599 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5600 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5601 # icc doesn't choke on unknown options, it will just issue warnings
5602 # or remarks (even with -Werror). So we grep stderr for any message
5603 # that says an option was ignored or not supported.
5604 # When given -MP, icc 7.0 and 7.1 complain thusly:
5605 # icc: Command line warning: ignoring option '-M'; no argument required
5606 # The diagnosis changed in icc 8.0:
5607 # icc: Command line remark: option '-MP' not supported
5608 if (grep 'ignoring option' conftest.err ||
5609 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5610 am_cv_CC_dependencies_compiler_type
=$depmode
5619 am_cv_CC_dependencies_compiler_type
=none
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5625 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5628 test "x$enable_dependency_tracking" != xno \
5629 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5631 am__fastdepCC_FALSE
='#'
5633 am__fastdepCC_TRUE
='#'
5634 am__fastdepCC_FALSE
=
5642 if test "x$CC" != xcc
; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5644 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5647 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5649 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5650 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5651 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5652 $as_echo_n "(cached) " >&6
5654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5665 # Make sure it works both with $CC and with simple cc.
5666 # We do the test twice because some compilers refuse to overwrite an
5667 # existing .o file with -o, though they will create one.
5668 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5670 if { { case "(($ac_try" in
5671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5672 *) ac_try_echo=$ac_try;;
5674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5675 $as_echo "$ac_try_echo"; } >&5
5676 (eval "$ac_try") 2>&5
5678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5679 test $ac_status = 0; } &&
5680 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5682 *) ac_try_echo
=$ac_try;;
5684 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5685 $as_echo "$ac_try_echo"; } >&5
5686 (eval "$ac_try") 2>&5
5688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5689 test $ac_status = 0; };
5691 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5692 if test "x$CC" != xcc
; then
5693 # Test first that cc exists at all.
5694 if { ac_try
='cc -c conftest.$ac_ext >&5'
5695 { { case "(($ac_try" in
5696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5700 $as_echo "$ac_try_echo"; } >&5
5701 (eval "$ac_try") 2>&5
5703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704 test $ac_status = 0; }; }; then
5705 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5707 if { { case "(($ac_try" in
5708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5709 *) ac_try_echo
=$ac_try;;
5711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5712 $as_echo "$ac_try_echo"; } >&5
5713 (eval "$ac_try") 2>&5
5715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5716 test $ac_status = 0; } &&
5717 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5719 *) ac_try_echo=$ac_try;;
5721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5722 $as_echo "$ac_try_echo"; } >&5
5723 (eval "$ac_try") 2>&5
5725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5726 test $ac_status = 0; };
5731 # cc exists but doesn't like -o.
5732 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5737 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5739 rm -f core conftest*
5742 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5744 $as_echo "yes" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5749 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5753 # FIXME: we rely on the cache variable name because
5754 # there is no other way.
5756 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5757 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5758 if test "$am_t" != yes; then
5759 # Losing compiler, so override with the script.
5760 # FIXME: It is wrong to rewrite CC.
5761 # But if we don't then we get into trouble of one sort or another.
5762 # A longer-term fix would be to have automake use am__CC in this case,
5763 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5764 CC="$am_aux_dir/compile $CC"
5769 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5770 if test "x$GCC" = "xyes"; then
5771 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5772 ## We like to use C11 and C99 routines when available. This makes
5774 ## __STDC_VERSION__ is set such that libc includes make them available.
5775 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5776 ## Compile the following tests with the same system header contents
5777 ## that we'll encounter when compiling our own source files.
5778 CFLAGS="-std=gnu11 $CFLAGS"
5784 # Check for symbol versioning (copied from libssp).
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5786 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5787 # Check whether --enable-symvers was given.
5788 if test "${enable_symvers+set}" = set; then :
5789 enableval=$enable_symvers; gfortran_use_symver=$enableval
5791 gfortran_use_symver=yes
5794 if test "x$gfortran_use_symver" != xno; then
5795 save_LDFLAGS="$LDFLAGS"
5796 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5797 cat > conftest.map <<EOF
5799 global: *foo*; bar; local: *;
5802 if test x$gcc_no_link = xyes; then
5803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5816 if ac_fn_c_try_link "$LINENO"; then :
5817 gfortran_use_symver=gnu
5819 gfortran_use_symver=no
5821 rm -f core conftest.err conftest.$ac_objext \
5822 conftest$ac_exeext conftest.$ac_ext
5823 if test x$gfortran_use_symver = xno; then
5824 case "$target_os" in
5826 LDFLAGS="$save_LDFLAGS"
5827 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5828 # Sun ld cannot handle wildcards and treats all entries as undefined.
5829 cat > conftest.map <<EOF
5831 global: foo; local: *;
5834 if test x$gcc_no_link = xyes; then
5835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5848 if ac_fn_c_try_link "$LINENO"; then :
5849 gfortran_use_symver=sun
5851 gfortran_use_symver=no
5853 rm -f core conftest.err conftest.$ac_objext \
5854 conftest$ac_exeext conftest.$ac_ext
5858 LDFLAGS="$save_LDFLAGS"
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5861 $as_echo "$gfortran_use_symver" >&6; }
5862 if test "x$gfortran_use_symver" != xno; then
5863 LIBGFOR_USE_SYMVER_TRUE=
5864 LIBGFOR_USE_SYMVER_FALSE='#'
5866 LIBGFOR_USE_SYMVER_TRUE='#'
5867 LIBGFOR_USE_SYMVER_FALSE=
5870 if test "x$gfortran_use_symver" = xgnu; then
5871 LIBGFOR_USE_SYMVER_GNU_TRUE=
5872 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5874 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5875 LIBGFOR_USE_SYMVER_GNU_FALSE=
5878 if test "x$gfortran_use_symver" = xsun; then
5879 LIBGFOR_USE_SYMVER_SUN_TRUE=
5880 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5882 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5883 LIBGFOR_USE_SYMVER_SUN_FALSE=
5887 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5888 # similarly to how libstdc++ does it
5889 ac_test_CFLAGS="${CFLAGS+set}"
5890 ac_save_CFLAGS="$CFLAGS"
5892 # Check for -ffunction-sections -fdata-sections
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5894 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5895 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5907 if ac_fn_c_try_compile "$LINENO"; then :
5912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5913 if test "$ac_test_CFLAGS" = set; then
5914 CFLAGS="$ac_save_CFLAGS"
5916 # this is the suspicious part
5919 if test x"$ac_fdsections" = x"yes"; then
5920 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5923 $as_echo "$ac_fdsections" >&6; }
5926 # Find other programs we need.
5927 if test -n "$ac_tool_prefix"; then
5928 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5929 set dummy ${ac_tool_prefix}as; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if test "${ac_cv_prog_AS+set}" = set; then :
5933 $as_echo_n "(cached) " >&6
5935 if test -n "$AS"; then
5936 ac_cv_prog_AS="$AS" # Let the user override the test.
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5945 ac_cv_prog_AS="${ac_tool_prefix}as"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 if test -n "$AS"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5958 $as_echo "$AS" >&6; }
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5966 if test -z "$ac_cv_prog_AS"; then
5968 # Extract the first word of "as", so it can be a program name with args.
5969 set dummy as; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5973 $as_echo_n "(cached) " >&6
5975 if test -n "$ac_ct_AS"; then
5976 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5985 ac_cv_prog_ac_ct_AS="as"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5996 if test -n "$ac_ct_AS"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5998 $as_echo "$ac_ct_AS" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6004 if test "x$ac_ct_AS" = x; then
6007 case $cross_compiling:$ac_tool_warned in
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6011 ac_tool_warned=yes ;;
6019 if test -n "$ac_tool_prefix"; then
6020 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6021 set dummy ${ac_tool_prefix}ar; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if test "${ac_cv_prog_AR+set}" = set; then :
6025 $as_echo_n "(cached) " >&6
6027 if test -n "$AR"; then
6028 ac_cv_prog_AR="$AR" # Let the user override the test.
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037 ac_cv_prog_AR="${ac_tool_prefix}ar"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 if test -n "$AR"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6050 $as_echo "$AR" >&6; }
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6058 if test -z "$ac_cv_prog_AR"; then
6060 # Extract the first word of "ar", so it can be a program name with args.
6061 set dummy ar; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6065 $as_echo_n "(cached) " >&6
6067 if test -n "$ac_ct_AR"; then
6068 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077 ac_cv_prog_ac_ct_AR="ar"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6088 if test -n "$ac_ct_AR"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6090 $as_echo "$ac_ct_AR" >&6; }
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6096 if test "x$ac_ct_AR" = x; then
6099 case $cross_compiling:$ac_tool_warned in
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6103 ac_tool_warned=yes ;;
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6119 if test -n "$RANLIB"; then
6120 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 RANLIB=$ac_cv_prog_RANLIB
6140 if test -n "$RANLIB"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6142 $as_echo "$RANLIB" >&6; }
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_RANLIB"; then
6151 ac_ct_RANLIB=$RANLIB
6152 # Extract the first word of "ranlib", so it can be a program name with args.
6153 set dummy ranlib; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6159 if test -n "$ac_ct_RANLIB"; then
6160 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_RANLIB="ranlib"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6180 if test -n "$ac_ct_RANLIB"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6182 $as_echo "$ac_ct_RANLIB" >&6; }
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_RANLIB" = x; then
6189 RANLIB="ranlib-not-found-in-path-error"
6191 case $cross_compiling:$ac_tool_warned in
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6197 RANLIB=$ac_ct_RANLIB
6200 RANLIB="$ac_cv_prog_RANLIB"
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6204 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6206 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6207 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6208 $as_echo_n "(cached) " >&6
6210 cat >conftest.make <<\_ACEOF
6213 @echo '@@@%%%=$(MAKE)=@@@%%%'
6215 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6216 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6218 eval ac_cv_prog_make_${ac_make}_set=yes;;
6220 eval ac_cv_prog_make_${ac_make}_set=no;;
6224 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6226 $as_echo "yes" >&6; }
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; }
6231 SET_MAKE="MAKE=${MAKE-make}"
6237 #AC_MSG_NOTICE([====== Starting libtool configuration])
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6245 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6250 macro_version='2.2.7a'
6251 macro_revision='1.3134'
6265 ltmain="$ac_aux_dir/ltmain.sh"
6267 # Backslashify metacharacters that are still active within
6268 # double-quoted strings.
6269 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6271 # Same as above, but do not quote variable references.
6272 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6274 # Sed substitution to delay expansion of an escaped shell variable in a
6275 # double_quote_subst'ed string.
6276 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6278 # Sed substitution to delay expansion of an escaped single quote.
6279 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6281 # Sed substitution to avoid accidental globbing in evaled expressions
6282 no_glob_subst='s/\*/\\\*/g'
6284 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6285 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6286 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6289 $as_echo_n "checking how to print
strings...
" >&6; }
6290 # Test print first, because it will be a builtin if present.
6291 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6292 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6294 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6297 # Use this function as a fallback that always works.
6298 func_fallback_echo ()
6300 eval 'cat <<_LTECHO_EOF
6304 ECHO='func_fallback_echo'
6307 # func_echo_all arg...
6308 # Invoke $ECHO with all args, space-separated.
6315 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6316 $as_echo "printf" >&6; } ;;
6317 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6318 $as_echo "print
-r" >&6; } ;;
6319 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6320 $as_echo "cat" >&6; } ;;
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6337 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6338 if test "${ac_cv_path_SED+set}" = set; then :
6339 $as_echo_n "(cached
) " >&6
6341 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6342 for ac_i in 1 2 3 4 5 6 7; do
6343 ac_script="$ac_script$as_nl$ac_script"
6345 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6346 { ac_script=; unset ac_script;}
6347 if test -z "$SED"; then
6348 ac_path_SED_found=false
6349 # Loop through the user's path and test for each of PROGNAME-LIST
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_prog in sed gsed; do
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6358 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6359 # Check for GNU ac_path_SED and select it if it is found.
6360 # Check for GNU $ac_path_SED
6361 case `"$ac_path_SED" --version 2>&1` in
6363 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6366 $as_echo_n 0123456789 >"conftest.
in"
6369 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6370 mv "conftest.tmp
" "conftest.
in"
6371 cp "conftest.
in" "conftest.
nl"
6372 $as_echo '' >> "conftest.
nl"
6373 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6374 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6375 as_fn_arith $ac_count + 1 && ac_count=$as_val
6376 if test $ac_count -gt ${ac_path_SED_max-0}; then
6377 # Best one so far, save it but keep looking for a better one
6378 ac_cv_path_SED="$ac_path_SED"
6379 ac_path_SED_max=$ac_count
6381 # 10*(2^10) chars as input seems more than enough
6382 test $ac_count -gt 10 && break
6384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6387 $ac_path_SED_found && break 3
6392 if test -z "$ac_cv_path_SED"; then
6393 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6401 $as_echo "$ac_cv_path_SED" >&6; }
6402 SED="$ac_cv_path_SED"
6405 test -z "$SED" && SED=sed
6406 Xsed="$SED -e 1s
/^X
//"
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6419 $as_echo_n "checking
for fgrep...
" >&6; }
6420 if test "${ac_cv_path_FGREP+set}" = set; then :
6421 $as_echo_n "(cached
) " >&6
6423 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6424 then ac_cv_path_FGREP="$GREP -F"
6426 if test -z "$FGREP"; then
6427 ac_path_FGREP_found=false
6428 # Loop through the user's path and test for each of PROGNAME-LIST
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6433 test -z "$as_dir" && as_dir=.
6434 for ac_prog in fgrep; do
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6437 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6438 # Check for GNU ac_path_FGREP and select it if it is found.
6439 # Check for GNU $ac_path_FGREP
6440 case `"$ac_path_FGREP" --version 2>&1` in
6442 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6445 $as_echo_n 0123456789 >"conftest.
in"
6448 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6449 mv "conftest.tmp
" "conftest.
in"
6450 cp "conftest.
in" "conftest.
nl"
6451 $as_echo 'FGREP' >> "conftest.
nl"
6452 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6453 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6454 as_fn_arith $ac_count + 1 && ac_count=$as_val
6455 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6456 # Best one so far, save it but keep looking for a better one
6457 ac_cv_path_FGREP="$ac_path_FGREP"
6458 ac_path_FGREP_max=$ac_count
6460 # 10*(2^10) chars as input seems more than enough
6461 test $ac_count -gt 10 && break
6463 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6466 $ac_path_FGREP_found && break 3
6471 if test -z "$ac_cv_path_FGREP"; then
6472 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6475 ac_cv_path_FGREP=$FGREP
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6481 $as_echo "$ac_cv_path_FGREP" >&6; }
6482 FGREP="$ac_cv_path_FGREP"
6485 test -z "$GREP" && GREP=grep
6505 # Check whether --with-gnu-ld was given.
6506 if test "${with_gnu_ld+set}" = set; then :
6507 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6513 if test "$GCC" = yes; then
6514 # Check if gcc -print-prog-name=ld gives a path.
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6516 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6519 # gcc leaves a trailing carriage return which upsets mingw
6520 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6522 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6525 # Accept absolute paths.
6527 re_direlt='/[^/][^/]*/\.\./'
6528 # Canonicalize the pathname of ld
6529 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6530 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6531 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6533 test -z "$LD" && LD="$ac_prog"
6536 # If it fails, then pretend we aren't using GCC.
6540 # If it is relative, then search for the first ld in PATH.
6544 elif test "$with_gnu_ld" = yes; then
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6546 $as_echo_n "checking
for GNU ld...
" >&6; }
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6549 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6551 if test "${lt_cv_path_LD+set}" = set; then :
6552 $as_echo_n "(cached
) " >&6
6554 if test -z "$LD"; then
6555 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6556 for ac_dir in $PATH; do
6558 test -z "$ac_dir" && ac_dir=.
6559 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6560 lt_cv_path_LD="$ac_dir/$ac_prog"
6561 # Check to see if the program is GNU ld. I'd rather use --version,
6562 # but apparently some variants of GNU ld only accept -v.
6563 # Break only if it was the GNU/non-GNU ld that we prefer.
6564 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6565 *GNU* | *'with BFD'*)
6566 test "$with_gnu_ld" != no && break
6569 test "$with_gnu_ld" != yes && break
6576 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6581 if test -n "$LD"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6583 $as_echo "$LD" >&6; }
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6586 $as_echo "no
" >&6; }
6588 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6590 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6591 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6592 $as_echo_n "(cached
) " >&6
6594 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6595 case `$LD -v 2>&1 </dev/null` in
6596 *GNU* | *'with BFD'*)
6597 lt_cv_prog_gnu_ld=yes
6600 lt_cv_prog_gnu_ld=no
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6605 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6606 with_gnu_ld=$lt_cv_prog_gnu_ld
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6617 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6618 if test "${lt_cv_path_NM+set}" = set; then :
6619 $as_echo_n "(cached
) " >&6
6621 if test -n "$NM"; then
6622 # Let the user override the test.
6625 lt_nm_to_check="${ac_tool_prefix}nm
"
6626 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6627 lt_nm_to_check="$lt_nm_to_check nm
"
6629 for lt_tmp_nm in $lt_nm_to_check; do
6630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6631 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6633 test -z "$ac_dir" && ac_dir=.
6634 tmp_nm="$ac_dir/$lt_tmp_nm"
6635 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6636 # Check to see if the nm accepts a BSD-compat flag.
6637 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6638 # nm: unknown option "B
" ignored
6639 # Tru64's nm complains that /dev/null is an invalid object file
6640 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6641 */dev/null* | *'Invalid file or object type'*)
6642 lt_cv_path_NM="$tmp_nm -B"
6646 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6648 lt_cv_path_NM="$tmp_nm -p"
6652 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6653 continue # so that we can try to find one that supports BSD flags
6662 : ${lt_cv_path_NM=no}
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6666 $as_echo "$lt_cv_path_NM" >&6; }
6667 if test "$lt_cv_path_NM" != "no
"; then
6670 # Didn't find any BSD compatible name lister, look for dumpbin.
6671 if test -n "$DUMPBIN"; then :
6672 # Let the user override the test.
6674 if test -n "$ac_tool_prefix"; then
6675 for ac_prog in dumpbin "link
-dump"
6677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6678 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6680 $as_echo_n "checking
for $ac_word...
" >&6; }
6681 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6682 $as_echo_n "(cached
) " >&6
6684 if test -n "$DUMPBIN"; then
6685 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6704 DUMPBIN=$ac_cv_prog_DUMPBIN
6705 if test -n "$DUMPBIN"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6707 $as_echo "$DUMPBIN" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6710 $as_echo "no
" >&6; }
6714 test -n "$DUMPBIN" && break
6717 if test -z "$DUMPBIN"; then
6718 ac_ct_DUMPBIN=$DUMPBIN
6719 for ac_prog in dumpbin "link
-dump"
6721 # Extract the first word of "$ac_prog", so it can be a program name with args.
6722 set dummy $ac_prog; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6724 $as_echo_n "checking
for $ac_word...
" >&6; }
6725 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6726 $as_echo_n "(cached
) " >&6
6728 if test -n "$ac_ct_DUMPBIN"; then
6729 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6738 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6748 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6749 if test -n "$ac_ct_DUMPBIN"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6751 $as_echo "$ac_ct_DUMPBIN" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6754 $as_echo "no
" >&6; }
6758 test -n "$ac_ct_DUMPBIN" && break
6761 if test "x
$ac_ct_DUMPBIN" = x; then
6764 case $cross_compiling:$ac_tool_warned in
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6767 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6768 ac_tool_warned=yes ;;
6770 DUMPBIN=$ac_ct_DUMPBIN
6774 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6776 DUMPBIN="$DUMPBIN -symbols"
6784 if test "$DUMPBIN" != ":"; then
6788 test -z "$NM" && NM=nm
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6796 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6797 if test "${lt_cv_nm_interface+set}" = set; then :
6798 $as_echo_n "(cached
) " >&6
6800 lt_cv_nm_interface="BSD nm
"
6801 echo "int some_variable
= 0;" > conftest.$ac_ext
6802 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6803 (eval "$ac_compile" 2>conftest.err)
6804 cat conftest.err >&5
6805 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6806 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6807 cat conftest.err >&5
6808 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6809 cat conftest.out >&5
6810 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6811 lt_cv_nm_interface="MS dumpbin
"
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6816 $as_echo "$lt_cv_nm_interface" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6819 $as_echo_n "checking whether
ln -s works...
" >&6; }
6821 if test "$LN_S" = "ln -s"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6823 $as_echo "yes" >&6; }
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6826 $as_echo "no
, using
$LN_S" >&6; }
6829 # find the maximum length of command line arguments
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6831 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6832 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6833 $as_echo_n "(cached
) " >&6
6840 # On DJGPP, this test can blow up pretty badly due to problems in libc
6841 # (any single argument exceeding 2000 bytes causes a buffer overrun
6842 # during glob expansion). Even if it were fixed, the result of this
6843 # check would be larger than it should be.
6844 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6848 # Under GNU Hurd, this test is not required because there is
6849 # no limit to the length of command line arguments.
6850 # Libtool will interpret -1 as no limit whatsoever
6851 lt_cv_sys_max_cmd_len=-1;
6854 cygwin* | mingw* | cegcc*)
6855 # On Win9x/ME, this test blows up -- it succeeds, but takes
6856 # about 5 minutes as the teststring grows exponentially.
6857 # Worse, since 9x/ME are not pre-emptively multitasking,
6858 # you end up with a "frozen
" computer, even though with patience
6859 # the test eventually succeeds (with a max line length of 256k).
6860 # Instead, let's just punt: use the minimum linelength reported by
6861 # all of the supported platforms: 8192 (on NT/2K/XP).
6862 lt_cv_sys_max_cmd_len=8192;
6866 # On MiNT this can take a long time and run out of memory.
6867 lt_cv_sys_max_cmd_len=8192;
6871 # On AmigaOS with pdksh, this test takes hours, literally.
6872 # So we just punt and use a minimum line length of 8192.
6873 lt_cv_sys_max_cmd_len=8192;
6876 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6877 # This has been around since 386BSD, at least. Likely further.
6878 if test -x /sbin/sysctl; then
6879 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6880 elif test -x /usr/sbin/sysctl; then
6881 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6883 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6885 # And add a safety zone
6886 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6887 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6891 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6892 lt_cv_sys_max_cmd_len=196608
6896 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6897 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6898 # nice to cause kernel panics so lets avoid the loop below.
6899 # First set a reasonable default.
6900 lt_cv_sys_max_cmd_len=16384
6902 if test -x /sbin/sysconfig; then
6903 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6904 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6909 lt_cv_sys_max_cmd_len=102400
6911 sysv5* | sco5v6* | sysv4.2uw2*)
6912 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6913 if test -n "$kargmax"; then
6914 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6916 lt_cv_sys_max_cmd_len=32768
6920 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6921 if test -n "$lt_cv_sys_max_cmd_len"; then
6922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6925 # Make teststring a little bigger before we do anything with it.
6926 # a 1K string should be a reasonable start.
6927 for i in 1 2 3 4 5 6 7 8 ; do
6928 teststring=$teststring$teststring
6930 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6931 # If test is not a shell built-in, we'll probably end up computing a
6932 # maximum length that is only half of the actual maximum length, but
6934 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6935 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6936 test $i != 17 # 1/2 MB should be enough
6939 teststring=$teststring$teststring
6941 # Only check the string length outside the loop.
6942 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6944 # Add a significant safety factor because C++ compilers can tack on
6945 # massive amounts of additional arguments before passing them to the
6946 # linker. It appears as though 1/2 is a usable value.
6947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6954 if test -n $lt_cv_sys_max_cmd_len ; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6956 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6959 $as_echo "none
" >&6; }
6961 max_cmd_len=$lt_cv_sys_max_cmd_len
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6973 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6974 # Try some XSI features
6977 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6979 && eval 'test $(( 1 + 1 )) -eq 2 \
6980 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6983 $as_echo "$xsi_shell" >&6; }
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6987 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6989 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6991 && lt_shell_append
=yes
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6993 $as_echo "$lt_shell_append" >&6; }
6996 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7006 # test EBCDIC or ASCII
7007 case `echo X|tr X '\101'` in
7008 A
) # ASCII based system
7009 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7010 lt_SP2NL
='tr \040 \012'
7011 lt_NL2SP
='tr \015\012 \040\040'
7013 *) # EBCDIC based system
7014 lt_SP2NL
='tr \100 \n'
7015 lt_NL2SP
='tr \r\n \100\100'
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7028 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7029 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7030 $as_echo_n "(cached) " >&6
7032 lt_cv_ld_reload_flag
='-r'
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7035 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7036 reload_flag
=$lt_cv_ld_reload_flag
7037 case $reload_flag in
7039 *) reload_flag
=" $reload_flag" ;;
7041 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7044 if test "$GCC" = yes; then
7045 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7047 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7060 if test -n "$ac_tool_prefix"; then
7061 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7062 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064 $as_echo_n "checking for $ac_word... " >&6; }
7065 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7066 $as_echo_n "(cached) " >&6
7068 if test -n "$OBJDUMP"; then
7069 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7075 test -z "$as_dir" && as_dir
=.
7076 for ac_exec_ext
in '' $ac_executable_extensions; do
7077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7078 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088 OBJDUMP
=$ac_cv_prog_OBJDUMP
7089 if test -n "$OBJDUMP"; then
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7091 $as_echo "$OBJDUMP" >&6; }
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094 $as_echo "no" >&6; }
7099 if test -z "$ac_cv_prog_OBJDUMP"; then
7100 ac_ct_OBJDUMP
=$OBJDUMP
7101 # Extract the first word of "objdump", so it can be a program name with args.
7102 set dummy objdump
; ac_word
=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7106 $as_echo_n "(cached) " >&6
7108 if test -n "$ac_ct_OBJDUMP"; then
7109 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7115 test -z "$as_dir" && as_dir
=.
7116 for ac_exec_ext
in '' $ac_executable_extensions; do
7117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7118 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7129 if test -n "$ac_ct_OBJDUMP"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7131 $as_echo "$ac_ct_OBJDUMP" >&6; }
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7137 if test "x$ac_ct_OBJDUMP" = x
; then
7140 case $cross_compiling:$ac_tool_warned in
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7144 ac_tool_warned
=yes ;;
7146 OBJDUMP
=$ac_ct_OBJDUMP
7149 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7152 test -z "$OBJDUMP" && OBJDUMP
=objdump
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7163 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7164 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7165 $as_echo_n "(cached) " >&6
7167 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7168 lt_cv_file_magic_test_file
=
7169 lt_cv_deplibs_check_method
='unknown'
7170 # Need to set the preceding variable on all platforms that support
7171 # interlibrary dependencies.
7172 # 'none' -- dependencies not supported.
7173 # `unknown' -- same as none, but documents that we really don't know.
7174 # 'pass_all' -- all dependencies passed with no checks.
7175 # 'test_compile' -- check by making test program.
7176 # 'file_magic [[regex]]' -- check by looking for files in library path
7177 # which responds to the $file_magic_cmd with a given extended regex.
7178 # If you have `file' or equivalent on your system and you're not sure
7179 # whether `pass_all' will *always* work, you probably want this one.
7183 lt_cv_deplibs_check_method
=pass_all
7187 lt_cv_deplibs_check_method
=pass_all
7191 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7192 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7193 lt_cv_file_magic_test_file
=/shlib
/libc.so
7197 # func_win32_libid is a shell function defined in ltmain.sh
7198 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7199 lt_cv_file_magic_cmd
='func_win32_libid'
7203 # Base MSYS/MinGW do not provide the 'file' command needed by
7204 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7205 # unless we find 'file', for example because we are cross-compiling.
7206 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7207 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7208 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7209 lt_cv_file_magic_cmd
='func_win32_libid'
7211 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7212 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7217 # use the weaker test based on 'objdump'. See mingw*.
7218 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7219 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7222 darwin
* | rhapsody
*)
7223 lt_cv_deplibs_check_method
=pass_all
7226 freebsd
* | dragonfly
*)
7227 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7230 # Not sure whether the presence of OpenBSD here was a mistake.
7231 # Let's accept both of them until this is cleared up.
7232 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7233 lt_cv_file_magic_cmd
=/usr
/bin
/file
7234 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7238 lt_cv_deplibs_check_method
=pass_all
7243 lt_cv_deplibs_check_method
=pass_all
7247 lt_cv_deplibs_check_method
=pass_all
7250 hpux10.20
* | hpux11
*)
7251 lt_cv_file_magic_cmd
=/usr
/bin
/file
7254 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7255 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7258 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]'
7259 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7262 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7263 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7269 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7270 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7273 irix5
* | irix6
* | nonstopux
*)
7275 *-32|
*"-32 ") libmagic
=32-bit;;
7276 *-n32|
*"-n32 ") libmagic
=N32
;;
7277 *-64|
*"-64 ") libmagic
=64-bit;;
7278 *) libmagic
=never-match
;;
7280 lt_cv_deplibs_check_method
=pass_all
7283 # This must be Linux ELF.
7284 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7285 lt_cv_deplibs_check_method
=pass_all
7289 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7290 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7292 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7297 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7298 lt_cv_file_magic_cmd
=/usr
/bin
/file
7299 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7303 lt_cv_deplibs_check_method
=pass_all
7307 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7308 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7310 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7314 osf3
* | osf4
* | osf5
*)
7315 lt_cv_deplibs_check_method
=pass_all
7319 lt_cv_deplibs_check_method
=pass_all
7323 lt_cv_deplibs_check_method
=pass_all
7326 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7327 lt_cv_deplibs_check_method
=pass_all
7331 case $host_vendor in
7333 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]'
7334 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7337 lt_cv_deplibs_check_method
=pass_all
7340 lt_cv_file_magic_cmd
='/bin/file'
7341 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7344 lt_cv_file_magic_cmd
='/bin/file'
7345 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7346 lt_cv_file_magic_test_file
=/lib
/libc.so
7349 lt_cv_deplibs_check_method
=pass_all
7352 lt_cv_deplibs_check_method
=pass_all
7358 lt_cv_deplibs_check_method
=pass_all
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7364 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7365 file_magic_cmd
=$lt_cv_file_magic_cmd
7366 deplibs_check_method
=$lt_cv_deplibs_check_method
7367 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7380 if test -n "$ac_tool_prefix"; then
7381 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7382 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if test "${ac_cv_prog_AR+set}" = set; then :
7386 $as_echo_n "(cached) " >&6
7388 if test -n "$AR"; then
7389 ac_cv_prog_AR
="$AR" # Let the user override the test.
7391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7395 test -z "$as_dir" && as_dir
=.
7396 for ac_exec_ext
in '' $ac_executable_extensions; do
7397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7398 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 if test -n "$AR"; then
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7411 $as_echo "$AR" >&6; }
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7419 if test -z "$ac_cv_prog_AR"; then
7421 # Extract the first word of "ar", so it can be a program name with args.
7422 set dummy
ar; ac_word
=$2
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 $as_echo_n "checking for $ac_word... " >&6; }
7425 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7426 $as_echo_n "(cached) " >&6
7428 if test -n "$ac_ct_AR"; then
7429 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7435 test -z "$as_dir" && as_dir
=.
7436 for ac_exec_ext
in '' $ac_executable_extensions; do
7437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7438 ac_cv_prog_ac_ct_AR
="ar"
7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7448 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7449 if test -n "$ac_ct_AR"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7451 $as_echo "$ac_ct_AR" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7457 if test "x$ac_ct_AR" = x
; then
7460 case $cross_compiling:$ac_tool_warned in
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7464 ac_tool_warned
=yes ;;
7472 test -z "$AR" && AR
=ar
7473 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7487 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if test "${ac_cv_prog_STRIP+set}" = set; then :
7491 $as_echo_n "(cached) " >&6
7493 if test -n "$STRIP"; then
7494 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir
=.
7501 for ac_exec_ext
in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7503 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 STRIP
=$ac_cv_prog_STRIP
7514 if test -n "$STRIP"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7516 $as_echo "$STRIP" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7524 if test -z "$ac_cv_prog_STRIP"; then
7526 # Extract the first word of "strip", so it can be a program name with args.
7527 set dummy strip
; ac_word
=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7531 $as_echo_n "(cached) " >&6
7533 if test -n "$ac_ct_STRIP"; then
7534 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7540 test -z "$as_dir" && as_dir
=.
7541 for ac_exec_ext
in '' $ac_executable_extensions; do
7542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543 ac_cv_prog_ac_ct_STRIP
="strip"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7554 if test -n "$ac_ct_STRIP"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7556 $as_echo "$ac_ct_STRIP" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7562 if test "x$ac_ct_STRIP" = x
; then
7565 case $cross_compiling:$ac_tool_warned in
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569 ac_tool_warned
=yes ;;
7574 STRIP
="$ac_cv_prog_STRIP"
7577 test -z "$STRIP" && STRIP
=:
7584 if test -n "$ac_tool_prefix"; then
7585 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7586 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$RANLIB"; then
7593 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir
=.
7600 for ac_exec_ext
in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 RANLIB
=$ac_cv_prog_RANLIB
7613 if test -n "$RANLIB"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7615 $as_echo "$RANLIB" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7623 if test -z "$ac_cv_prog_RANLIB"; then
7624 ac_ct_RANLIB
=$RANLIB
7625 # Extract the first word of "ranlib", so it can be a program name with args.
7626 set dummy ranlib
; ac_word
=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7630 $as_echo_n "(cached) " >&6
7632 if test -n "$ac_ct_RANLIB"; then
7633 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir
=.
7640 for ac_exec_ext
in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7653 if test -n "$ac_ct_RANLIB"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7655 $as_echo "$ac_ct_RANLIB" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7661 if test "x$ac_ct_RANLIB" = x
; then
7664 case $cross_compiling:$ac_tool_warned in
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7668 ac_tool_warned
=yes ;;
7670 RANLIB
=$ac_ct_RANLIB
7673 RANLIB
="$ac_cv_prog_RANLIB"
7676 test -z "$RANLIB" && RANLIB
=:
7683 # Determine commands to create old-style static archives.
7684 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7685 old_postinstall_cmds
='chmod 644 $oldlib'
7686 old_postuninstall_cmds
=
7688 if test -n "$RANLIB"; then
7691 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7694 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7697 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7702 lock_old_archive_extraction
=yes ;;
7704 lock_old_archive_extraction
=no
;;
7745 # If no C compiler was specified, use CC.
7748 # If no C compiler flags were specified, use CFLAGS.
7749 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7751 # Allow CC to be a program name with arguments.
7755 # Check for command to grab the raw symbol name followed by C symbol from nm.
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7757 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7758 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7759 $as_echo_n "(cached) " >&6
7762 # These are sane defaults that work on at least a few old systems.
7763 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7765 # Character class describing NM global symbol codes.
7766 symcode
='[BCDEGRST]'
7768 # Regexp to match symbols that can be accessed directly from C.
7769 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7771 # Define system-specific variables.
7776 cygwin
* | mingw
* | pw32
* | cegcc
*)
7777 symcode
='[ABCDGISTW]'
7780 if test "$host_cpu" = ia64
; then
7781 symcode
='[ABCDEGRST]'
7785 symcode
='[BCDEGRST]'
7788 symcode
='[BCDEGQRST]'
7799 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7807 # If we're using GNU nm, then use its standard symbol codes.
7808 case `$NM -V 2>&1` in
7809 *GNU
* |
*'with BFD'*)
7810 symcode
='[ABCDGIRSTW]' ;;
7813 # Transform an extracted symbol line into a proper C declaration.
7814 # Some systems (esp. on ia64) link data and code symbols differently,
7815 # so use this general approach.
7816 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7818 # Transform an extracted symbol line into symbol name and symbol address
7819 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7820 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'"
7822 # Handle CRLF in mingw tool chain
7826 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7830 # Try without a prefix underscore, then with it.
7831 for ac_symprfx
in "" "_"; do
7833 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7834 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7836 # Write the raw and C identifiers.
7837 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7838 # Fake it for dumpbin and say T for any non-static function
7839 # and D for any global variable.
7840 # Also find C++ and __fastcall symbols from MSVC++,
7841 # which start with @ or ?.
7842 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7843 " {last_section=section; section=\$ 3};"\
7844 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7845 " \$ 0!~/External *\|/{next};"\
7846 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7847 " {if(hide[section]) next};"\
7848 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7849 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7850 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7851 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7852 " ' prfx=^$ac_symprfx"
7854 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7857 # Check to see that the pipe works correctly.
7861 cat > conftest.
$ac_ext <<_LT_EOF
7866 void nm_test_func(void);
7867 void nm_test_func(void){}
7871 int main(){nm_test_var='a';nm_test_func();return(0);}
7874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7875 (eval $ac_compile) 2>&5
7877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7878 test $ac_status = 0; }; then
7879 # Now try to grab the symbols.
7881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7882 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7885 test $ac_status = 0; } && test -s "$nlist"; then
7886 # Try sorting and uniquifying the output.
7887 if sort "$nlist" |
uniq > "$nlist"T
; then
7888 mv -f "$nlist"T
"$nlist"
7893 # Make sure that we snagged all the symbols we need.
7894 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7895 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7896 cat <<_LT_EOF > conftest.$ac_ext
7902 # Now generate the symbol file.
7903 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7905 cat <<_LT_EOF >> conftest.$ac_ext
7907 /* The mapping between symbol names and symbols. */
7912 lt__PROGRAM__LTX_preloaded_symbols[] =
7914 { "@PROGRAM@", (void *) 0 },
7916 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7917 cat <<\_LT_EOF
>> conftest.
$ac_ext
7921 /* This works around a problem
in FreeBSD linker
*/
7922 #ifdef FREEBSD_WORKAROUND
7923 static const void
*lt_preloaded_setup
() {
7924 return lt__PROGRAM__LTX_preloaded_symbols
;
7932 # Now try linking the two files.
7933 mv conftest.
$ac_objext conftstm.
$ac_objext
7934 lt_save_LIBS
="$LIBS"
7935 lt_save_CFLAGS
="$CFLAGS"
7936 LIBS
="conftstm.$ac_objext"
7937 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7939 (eval $ac_link) 2>&5
7941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7942 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7945 LIBS
="$lt_save_LIBS"
7946 CFLAGS
="$lt_save_CFLAGS"
7948 echo "cannot find nm_test_func in $nlist" >&5
7951 echo "cannot find nm_test_var in $nlist" >&5
7954 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7957 echo "$progname: failed program was:" >&5
7958 cat conftest.
$ac_ext >&5
7960 rm -rf conftest
* conftst
*
7962 # Do not use the global_symbol_pipe unless it works.
7963 if test "$pipe_works" = yes; then
7966 lt_cv_sys_global_symbol_pipe
=
7972 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7973 lt_cv_sys_global_symbol_to_cdecl
=
7975 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7977 $as_echo "failed" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7980 $as_echo "ok" >&6; }
8004 # Check whether --enable-libtool-lock was given.
8005 if test "${enable_libtool_lock+set}" = set; then :
8006 enableval
=$enable_libtool_lock;
8009 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8011 # Some flags need to be propagated to the compiler or linker for good
8015 # Find out which ABI we are using.
8016 echo 'int i;' > conftest.
$ac_ext
8017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8018 (eval $ac_compile) 2>&5
8020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8021 test $ac_status = 0; }; then
8022 case `/usr/bin/file conftest.$ac_objext` in
8034 # Find out which ABI we are using.
8035 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8037 (eval $ac_compile) 2>&5
8039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8040 test $ac_status = 0; }; then
8041 if test "$lt_cv_prog_gnu_ld" = yes; then
8042 case `/usr/bin/file conftest.$ac_objext` in
8044 LD
="${LD-ld} -melf32bsmip"
8047 LD
="${LD-ld} -melf32bmipn32"
8050 LD
="${LD-ld} -melf64bmip"
8054 case `/usr/bin/file conftest.$ac_objext` in
8070 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8071 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8072 # Find out which ABI we are using.
8073 echo 'int i;' > conftest.
$ac_ext
8074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8075 (eval $ac_compile) 2>&5
8077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8078 test $ac_status = 0; }; then
8079 case `/usr/bin/file conftest.o` in
8082 x86_64-
*kfreebsd
*-gnu)
8083 LD
="${LD-ld} -m elf_i386_fbsd"
8086 case `/usr/bin/file conftest.o` in
8088 LD
="${LD-ld} -m elf32_x86_64"
8091 LD
="${LD-ld} -m elf_i386"
8095 powerpc64le-
*linux
*)
8096 LD
="${LD-ld} -m elf32lppclinux"
8099 LD
="${LD-ld} -m elf32ppclinux"
8102 LD
="${LD-ld} -m elf_s390"
8105 LD
="${LD-ld} -m elf32_sparc"
8111 x86_64-
*kfreebsd
*-gnu)
8112 LD
="${LD-ld} -m elf_x86_64_fbsd"
8115 LD
="${LD-ld} -m elf_x86_64"
8118 LD
="${LD-ld} -m elf64lppc"
8121 LD
="${LD-ld} -m elf64ppc"
8123 s390
*-*linux
*|s390
*-*tpf
*)
8124 LD
="${LD-ld} -m elf64_s390"
8127 LD
="${LD-ld} -m elf64_sparc"
8137 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8138 SAVE_CFLAGS
="$CFLAGS"
8139 CFLAGS
="$CFLAGS -belf"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8141 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8142 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8143 $as_echo_n "(cached) " >&6
8146 ac_cpp
='$CPP $CPPFLAGS'
8147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8151 if test x
$gcc_no_link = xyes
; then
8152 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8155 /* end confdefs.h. */
8165 if ac_fn_c_try_link
"$LINENO"; then :
8166 lt_cv_cc_needs_belf
=yes
8168 lt_cv_cc_needs_belf
=no
8170 rm -f core conftest.err conftest.
$ac_objext \
8171 conftest
$ac_exeext conftest.
$ac_ext
8173 ac_cpp
='$CPP $CPPFLAGS'
8174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8180 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8181 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8182 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8183 CFLAGS
="$SAVE_CFLAGS"
8187 # Find out which ABI we are using.
8188 echo 'int i;' > conftest.
$ac_ext
8189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8190 (eval $ac_compile) 2>&5
8192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8193 test $ac_status = 0; }; then
8194 case `/usr/bin/file conftest.o` in
8196 case $lt_cv_prog_gnu_ld in
8197 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8199 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8211 need_locks
="$enable_libtool_lock"
8215 rhapsody
* | darwin
*)
8216 if test -n "$ac_tool_prefix"; then
8217 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8218 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8220 $as_echo_n "checking for $ac_word... " >&6; }
8221 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8222 $as_echo_n "(cached) " >&6
8224 if test -n "$DSYMUTIL"; then
8225 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8231 test -z "$as_dir" && as_dir
=.
8232 for ac_exec_ext
in '' $ac_executable_extensions; do
8233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8245 if test -n "$DSYMUTIL"; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8247 $as_echo "$DSYMUTIL" >&6; }
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8250 $as_echo "no" >&6; }
8255 if test -z "$ac_cv_prog_DSYMUTIL"; then
8256 ac_ct_DSYMUTIL
=$DSYMUTIL
8257 # Extract the first word of "dsymutil", so it can be a program name with args.
8258 set dummy dsymutil
; ac_word
=$2
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8260 $as_echo_n "checking for $ac_word... " >&6; }
8261 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8262 $as_echo_n "(cached) " >&6
8264 if test -n "$ac_ct_DSYMUTIL"; then
8265 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8271 test -z "$as_dir" && as_dir
=.
8272 for ac_exec_ext
in '' $ac_executable_extensions; do
8273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8274 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8285 if test -n "$ac_ct_DSYMUTIL"; then
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8287 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8290 $as_echo "no" >&6; }
8293 if test "x$ac_ct_DSYMUTIL" = x
; then
8296 case $cross_compiling:$ac_tool_warned in
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8300 ac_tool_warned
=yes ;;
8302 DSYMUTIL
=$ac_ct_DSYMUTIL
8305 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8308 if test -n "$ac_tool_prefix"; then
8309 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8310 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8314 $as_echo_n "(cached) " >&6
8316 if test -n "$NMEDIT"; then
8317 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8323 test -z "$as_dir" && as_dir
=.
8324 for ac_exec_ext
in '' $ac_executable_extensions; do
8325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8336 NMEDIT
=$ac_cv_prog_NMEDIT
8337 if test -n "$NMEDIT"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8339 $as_echo "$NMEDIT" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8347 if test -z "$ac_cv_prog_NMEDIT"; then
8348 ac_ct_NMEDIT
=$NMEDIT
8349 # Extract the first word of "nmedit", so it can be a program name with args.
8350 set dummy nmedit
; ac_word
=$2
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8352 $as_echo_n "checking for $ac_word... " >&6; }
8353 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8354 $as_echo_n "(cached) " >&6
8356 if test -n "$ac_ct_NMEDIT"; then
8357 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8363 test -z "$as_dir" && as_dir
=.
8364 for ac_exec_ext
in '' $ac_executable_extensions; do
8365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8366 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8376 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8377 if test -n "$ac_ct_NMEDIT"; then
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8379 $as_echo "$ac_ct_NMEDIT" >&6; }
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8382 $as_echo "no" >&6; }
8385 if test "x$ac_ct_NMEDIT" = x
; then
8388 case $cross_compiling:$ac_tool_warned in
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8392 ac_tool_warned
=yes ;;
8394 NMEDIT
=$ac_ct_NMEDIT
8397 NMEDIT
="$ac_cv_prog_NMEDIT"
8400 if test -n "$ac_tool_prefix"; then
8401 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8402 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404 $as_echo_n "checking for $ac_word... " >&6; }
8405 if test "${ac_cv_prog_LIPO+set}" = set; then :
8406 $as_echo_n "(cached) " >&6
8408 if test -n "$LIPO"; then
8409 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8415 test -z "$as_dir" && as_dir
=.
8416 for ac_exec_ext
in '' $ac_executable_extensions; do
8417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8418 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8428 LIPO
=$ac_cv_prog_LIPO
8429 if test -n "$LIPO"; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8431 $as_echo "$LIPO" >&6; }
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434 $as_echo "no" >&6; }
8439 if test -z "$ac_cv_prog_LIPO"; then
8441 # Extract the first word of "lipo", so it can be a program name with args.
8442 set dummy lipo
; ac_word
=$2
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8444 $as_echo_n "checking for $ac_word... " >&6; }
8445 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8446 $as_echo_n "(cached) " >&6
8448 if test -n "$ac_ct_LIPO"; then
8449 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8455 test -z "$as_dir" && as_dir
=.
8456 for ac_exec_ext
in '' $ac_executable_extensions; do
8457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8458 ac_cv_prog_ac_ct_LIPO
="lipo"
8459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8468 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8469 if test -n "$ac_ct_LIPO"; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8471 $as_echo "$ac_ct_LIPO" >&6; }
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8474 $as_echo "no" >&6; }
8477 if test "x$ac_ct_LIPO" = x
; then
8480 case $cross_compiling:$ac_tool_warned in
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8484 ac_tool_warned
=yes ;;
8489 LIPO
="$ac_cv_prog_LIPO"
8492 if test -n "$ac_tool_prefix"; then
8493 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8494 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8496 $as_echo_n "checking for $ac_word... " >&6; }
8497 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8498 $as_echo_n "(cached) " >&6
8500 if test -n "$OTOOL"; then
8501 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8507 test -z "$as_dir" && as_dir
=.
8508 for ac_exec_ext
in '' $ac_executable_extensions; do
8509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8510 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8520 OTOOL
=$ac_cv_prog_OTOOL
8521 if test -n "$OTOOL"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8523 $as_echo "$OTOOL" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526 $as_echo "no" >&6; }
8531 if test -z "$ac_cv_prog_OTOOL"; then
8533 # Extract the first word of "otool", so it can be a program name with args.
8534 set dummy otool
; ac_word
=$2
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8536 $as_echo_n "checking for $ac_word... " >&6; }
8537 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8538 $as_echo_n "(cached) " >&6
8540 if test -n "$ac_ct_OTOOL"; then
8541 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8547 test -z "$as_dir" && as_dir
=.
8548 for ac_exec_ext
in '' $ac_executable_extensions; do
8549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8550 ac_cv_prog_ac_ct_OTOOL
="otool"
8551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8560 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8561 if test -n "$ac_ct_OTOOL"; then
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8563 $as_echo "$ac_ct_OTOOL" >&6; }
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8566 $as_echo "no" >&6; }
8569 if test "x$ac_ct_OTOOL" = x
; then
8572 case $cross_compiling:$ac_tool_warned in
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8576 ac_tool_warned
=yes ;;
8581 OTOOL
="$ac_cv_prog_OTOOL"
8584 if test -n "$ac_tool_prefix"; then
8585 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8586 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8588 $as_echo_n "checking for $ac_word... " >&6; }
8589 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8590 $as_echo_n "(cached) " >&6
8592 if test -n "$OTOOL64"; then
8593 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir
=.
8600 for ac_exec_ext
in '' $ac_executable_extensions; do
8601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8612 OTOOL64
=$ac_cv_prog_OTOOL64
8613 if test -n "$OTOOL64"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8615 $as_echo "$OTOOL64" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8618 $as_echo "no" >&6; }
8623 if test -z "$ac_cv_prog_OTOOL64"; then
8624 ac_ct_OTOOL64
=$OTOOL64
8625 # Extract the first word of "otool64", so it can be a program name with args.
8626 set dummy otool64
; ac_word
=$2
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8628 $as_echo_n "checking for $ac_word... " >&6; }
8629 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8630 $as_echo_n "(cached) " >&6
8632 if test -n "$ac_ct_OTOOL64"; then
8633 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8639 test -z "$as_dir" && as_dir
=.
8640 for ac_exec_ext
in '' $ac_executable_extensions; do
8641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8642 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8652 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8653 if test -n "$ac_ct_OTOOL64"; then
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8655 $as_echo "$ac_ct_OTOOL64" >&6; }
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8658 $as_echo "no" >&6; }
8661 if test "x$ac_ct_OTOOL64" = x
; then
8664 case $cross_compiling:$ac_tool_warned in
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8668 ac_tool_warned
=yes ;;
8670 OTOOL64
=$ac_ct_OTOOL64
8673 OTOOL64
="$ac_cv_prog_OTOOL64"
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8703 $as_echo_n "checking for -single_module linker flag... " >&6; }
8704 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8705 $as_echo_n "(cached) " >&6
8707 lt_cv_apple_cc_single_mod
=no
8708 if test -z "${LT_MULTI_MODULE}"; then
8709 # By default we will add the -single_module flag. You can override
8710 # by either setting the environment variable LT_MULTI_MODULE
8711 # non-empty at configure time, or by adding -multi_module to the
8713 rm -rf libconftest.dylib
*
8714 echo "int foo(void){return 1;}" > conftest.c
8715 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8716 -dynamiclib -Wl,-single_module conftest.c" >&5
8717 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8718 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8720 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8721 lt_cv_apple_cc_single_mod
=yes
8723 cat conftest.err
>&5
8725 rm -rf libconftest.dylib
*
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8730 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8732 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8733 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8734 $as_echo_n "(cached) " >&6
8736 lt_cv_ld_exported_symbols_list
=no
8737 save_LDFLAGS
=$LDFLAGS
8738 echo "_main" > conftest.sym
8739 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8740 if test x
$gcc_no_link = xyes
; then
8741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8754 if ac_fn_c_try_link
"$LINENO"; then :
8755 lt_cv_ld_exported_symbols_list
=yes
8757 lt_cv_ld_exported_symbols_list
=no
8759 rm -f core conftest.err conftest.
$ac_objext \
8760 conftest
$ac_exeext conftest.
$ac_ext
8761 LDFLAGS
="$save_LDFLAGS"
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8765 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8767 $as_echo_n "checking for -force_load linker flag... " >&6; }
8768 if test "${lt_cv_ld_force_load+set}" = set; then :
8769 $as_echo_n "(cached) " >&6
8771 lt_cv_ld_force_load
=no
8772 cat > conftest.c
<< _LT_EOF
8773 int forced_loaded() { return 2;}
8775 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8776 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8777 echo "$AR cru libconftest.a conftest.o" >&5
8778 $AR cru libconftest.a conftest.o
2>&5
8779 cat > conftest.c
<< _LT_EOF
8780 int main() { return 0;}
8782 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8783 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8785 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8786 lt_cv_ld_force_load
=yes
8788 cat conftest.err
>&5
8790 rm -f conftest.err libconftest.a conftest conftest.c
8791 rm -rf conftest.dSYM
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8795 $as_echo "$lt_cv_ld_force_load" >&6; }
8797 rhapsody
* | darwin1.
[012])
8798 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8800 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8801 darwin
*) # darwin 5.x on
8802 # if running on 10.5 or later, the deployment target defaults
8803 # to the OS version, if on x86, and 10.4, the deployment
8804 # target defaults to 10.4. Don't you love it?
8805 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8806 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8807 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8809 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8811 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8815 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8816 _lt_dar_single_mod
='$single_module'
8818 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8819 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8821 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8823 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8824 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8831 for ac_header
in dlfcn.h
8833 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8835 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8836 cat >>confdefs.h
<<_ACEOF
8837 #define HAVE_DLFCN_H 1
8856 # Check whether --enable-shared was given.
8857 if test "${enable_shared+set}" = set; then :
8858 enableval
=$enable_shared; p
=${PACKAGE-default}
8860 yes) enable_shared
=yes ;;
8861 no
) enable_shared
=no
;;
8864 # Look at the argument we got. We use all the common list separators.
8865 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8866 for pkg
in $enableval; do
8868 if test "X$pkg" = "X$p"; then
8887 # Check whether --enable-static was given.
8888 if test "${enable_static+set}" = set; then :
8889 enableval
=$enable_static; p
=${PACKAGE-default}
8891 yes) enable_static
=yes ;;
8892 no
) enable_static
=no
;;
8895 # Look at the argument we got. We use all the common list separators.
8896 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8897 for pkg
in $enableval; do
8899 if test "X$pkg" = "X$p"; then
8919 # Check whether --with-pic was given.
8920 if test "${with_pic+set}" = set; then :
8921 withval
=$with_pic; pic_mode
="$withval"
8927 test -z "$pic_mode" && pic_mode
=default
8935 # Check whether --enable-fast-install was given.
8936 if test "${enable_fast_install+set}" = set; then :
8937 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8939 yes) enable_fast_install
=yes ;;
8940 no
) enable_fast_install
=no
;;
8942 enable_fast_install
=no
8943 # Look at the argument we got. We use all the common list separators.
8944 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8945 for pkg
in $enableval; do
8947 if test "X$pkg" = "X$p"; then
8948 enable_fast_install
=yes
8955 enable_fast_install
=yes
8968 # This can be used to rebuild libtool when needed
8969 LIBTOOL_DEPS
="$ltmain"
8971 # Always use our own libtool.
8972 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8999 test -z "$LN_S" && LN_S
="ln -s"
9014 if test -n "${ZSH_VERSION+set}" ; then
9015 setopt NO_GLOB_SUBST
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9019 $as_echo_n "checking for objdir... " >&6; }
9020 if test "${lt_cv_objdir+set}" = set; then :
9021 $as_echo_n "(cached) " >&6
9023 rm -f .libs
2>/dev
/null
9024 mkdir .libs
2>/dev
/null
9025 if test -d .libs
; then
9028 # MS-DOS does not allow filenames that begin with a dot.
9031 rmdir .libs
2>/dev
/null
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9034 $as_echo "$lt_cv_objdir" >&6; }
9035 objdir
=$lt_cv_objdir
9041 cat >>confdefs.h
<<_ACEOF
9042 #define LT_OBJDIR "$lt_cv_objdir/"
9050 # AIX sometimes has problems with the GCC collect2 program. For some
9051 # reason, if we set the COLLECT_NAMES environment variable, the problems
9052 # vanish in a puff of smoke.
9053 if test "X${COLLECT_NAMES+set}" != Xset
; then
9055 export COLLECT_NAMES
9062 can_build_shared
=yes
9064 # All known linkers require a `.a' archive for static linking (except MSVC,
9065 # which needs '.lib').
9068 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9071 old_CFLAGS
="$CFLAGS"
9073 # Set sane defaults for various variables
9074 test -z "$CC" && CC
=cc
9075 test -z "$LTCC" && LTCC
=$CC
9076 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9077 test -z "$LD" && LD
=ld
9078 test -z "$ac_objext" && ac_objext
=o
9080 for cc_temp
in $compiler""; do
9082 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9083 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9088 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9091 # Only perform the check for file, if the check method requires it
9092 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9093 case $deplibs_check_method in
9095 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9097 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9098 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9099 $as_echo_n "(cached) " >&6
9103 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9106 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9107 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9108 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9109 for ac_dir
in $ac_dummy; do
9111 test -z "$ac_dir" && ac_dir
=.
9112 if test -f $ac_dir/${ac_tool_prefix}file; then
9113 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9114 if test -n "$file_magic_test_file"; then
9115 case $deplibs_check_method in
9117 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9118 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9119 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9120 $EGREP "$file_magic_regex" > /dev
/null
; then
9125 *** Warning: the command libtool uses to detect shared libraries,
9126 *** $file_magic_cmd, produces output that libtool cannot recognize.
9127 *** The result is that libtool may fail to recognize shared libraries
9128 *** as such. This will affect the creation of libtool libraries that
9129 *** depend on shared libraries, but programs linked with such libtool
9130 *** libraries will work regardless of this problem. Nevertheless, you
9131 *** may want to report the problem to your system manager and/or to
9132 *** bug-libtool@gnu.org
9142 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9147 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9148 if test -n "$MAGIC_CMD"; then
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9150 $as_echo "$MAGIC_CMD" >&6; }
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9153 $as_echo "no" >&6; }
9160 if test -z "$lt_cv_path_MAGIC_CMD"; then
9161 if test -n "$ac_tool_prefix"; then
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9163 $as_echo_n "checking for file... " >&6; }
9164 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9165 $as_echo_n "(cached) " >&6
9169 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9172 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9173 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9174 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9175 for ac_dir
in $ac_dummy; do
9177 test -z "$ac_dir" && ac_dir
=.
9178 if test -f $ac_dir/file; then
9179 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9180 if test -n "$file_magic_test_file"; then
9181 case $deplibs_check_method in
9183 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9184 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9185 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9186 $EGREP "$file_magic_regex" > /dev
/null
; then
9191 *** Warning: the command libtool uses to detect shared libraries,
9192 *** $file_magic_cmd, produces output that libtool cannot recognize.
9193 *** The result is that libtool may fail to recognize shared libraries
9194 *** as such. This will affect the creation of libtool libraries that
9195 *** depend on shared libraries, but programs linked with such libtool
9196 *** libraries will work regardless of this problem. Nevertheless, you
9197 *** may want to report the problem to your system manager and/or to
9198 *** bug-libtool@gnu.org
9208 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9213 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9214 if test -n "$MAGIC_CMD"; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9216 $as_echo "$MAGIC_CMD" >&6; }
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 $as_echo "no" >&6; }
9232 # Use C for the default configuration in the libtool script
9236 ac_cpp
='$CPP $CPPFLAGS'
9237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9242 # Source file extension for C test sources.
9245 # Object file extension for compiled C test sources.
9249 # Code to be used in simple compile tests
9250 lt_simple_compile_test_code
="int some_variable = 0;"
9252 # Code to be used in simple link tests
9253 lt_simple_link_test_code
='int main(){return(0);}'
9261 # If no C compiler was specified, use CC.
9264 # If no C compiler flags were specified, use CFLAGS.
9265 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9267 # Allow CC to be a program name with arguments.
9270 # Save the default compiler, since it gets overwritten when the other
9271 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9272 compiler_DEFAULT
=$CC
9274 # save warnings/boilerplate of simple test code
9275 ac_outfile
=conftest.
$ac_objext
9276 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9277 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9278 _lt_compiler_boilerplate
=`cat conftest.err`
9281 ac_outfile
=conftest.
$ac_objext
9282 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9283 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9284 _lt_linker_boilerplate
=`cat conftest.err`
9289 ## There is no encapsulation within the following macros, do not change
9290 ## the running order or otherwise move them around unless you know exactly
9291 ## what you are doing...
9292 if test -n "$compiler"; then
9294 lt_prog_compiler_no_builtin_flag
=
9296 if test "$GCC" = yes; then
9297 case $cc_basename in
9299 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9301 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9305 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9306 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9307 $as_echo_n "(cached) " >&6
9309 lt_cv_prog_compiler_rtti_exceptions
=no
9310 ac_outfile
=conftest.
$ac_objext
9311 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9312 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9313 # Insert the option either (1) after the last *FLAGS variable, or
9314 # (2) before a word containing "conftest.", or (3) at the end.
9315 # Note that $ac_compile itself does not contain backslashes and begins
9316 # with a dollar sign (not a hyphen), so the echo should work correctly.
9317 # The option is referenced via a variable to avoid confusing sed.
9318 lt_compile
=`echo "$ac_compile" | $SED \
9319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9321 -e 's:$: $lt_compiler_flag:'`
9322 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9323 (eval "$lt_compile" 2>conftest.err
)
9325 cat conftest.err
>&5
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 if (exit $ac_status) && test -s "$ac_outfile"; then
9328 # The compiler can only warn and ignore the option if not recognized
9329 # So say no if there are warnings other than the usual output.
9330 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9331 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9332 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9333 lt_cv_prog_compiler_rtti_exceptions
=yes
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9340 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9342 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9343 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9355 lt_prog_compiler_wl
=
9356 lt_prog_compiler_pic
=
9357 lt_prog_compiler_static
=
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9360 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9362 if test "$GCC" = yes; then
9363 lt_prog_compiler_wl
='-Wl,'
9364 lt_prog_compiler_static
='-static'
9368 # All AIX code is PIC.
9369 if test "$host_cpu" = ia64
; then
9370 # AIX 5 now supports IA64 processor
9371 lt_prog_compiler_static
='-Bstatic'
9373 lt_prog_compiler_pic
='-fPIC'
9379 # see comment about AmigaOS4 .so support
9380 lt_prog_compiler_pic
='-fPIC'
9383 # FIXME: we need at least 68020 code to build shared libraries, but
9384 # adding the `-m68020' flag to GCC prevents building anything better,
9386 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9391 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9392 # PIC is the default for these OSes.
9395 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9396 # This hack is so that the source file can tell whether it is being
9397 # built for inclusion in a dll (and should export symbols for example).
9398 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9399 # (--disable-auto-import) libraries
9400 lt_prog_compiler_pic
='-DDLL_EXPORT'
9403 darwin
* | rhapsody
*)
9404 # PIC is the default on this platform
9405 # Common symbols not allowed in MH_DYLIB files
9406 lt_prog_compiler_pic
='-fno-common'
9410 # PIC is the default for Haiku.
9411 # The "-static" flag exists, but is broken.
9412 lt_prog_compiler_static
=
9416 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9417 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9418 # sets the default TLS model and affects inlining.
9424 lt_prog_compiler_pic
='-fPIC'
9430 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9431 # Instead, we relocate shared libraries at runtime.
9435 # Just because we use GCC doesn't mean we suddenly get shared libraries
9436 # on systems that don't support them.
9437 lt_prog_compiler_can_build_shared
=no
9442 # QNX uses GNU C++, but need to define -shared option too, otherwise
9444 lt_prog_compiler_pic
='-fPIC -shared'
9448 if test -d /usr
/nec
; then
9449 lt_prog_compiler_pic
=-Kconform_pic
9454 lt_prog_compiler_pic
='-fPIC'
9458 case $cc_basename in
9459 nvcc
*) # Cuda Compiler Driver 2.2
9460 lt_prog_compiler_wl
='-Xlinker '
9461 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9465 # PORTME Check for flag to pass linker flags through the system compiler.
9468 lt_prog_compiler_wl
='-Wl,'
9469 if test "$host_cpu" = ia64
; then
9470 # AIX 5 now supports IA64 processor
9471 lt_prog_compiler_static
='-Bstatic'
9473 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9477 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9478 # This hack is so that the source file can tell whether it is being
9479 # built for inclusion in a dll (and should export symbols for example).
9480 lt_prog_compiler_pic
='-DDLL_EXPORT'
9483 hpux9
* | hpux10
* | hpux11
*)
9484 lt_prog_compiler_wl
='-Wl,'
9485 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9492 lt_prog_compiler_pic
='+Z'
9495 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9496 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9499 irix5
* | irix6
* | nonstopux
*)
9500 lt_prog_compiler_wl
='-Wl,'
9501 # PIC (with -KPIC) is the default.
9502 lt_prog_compiler_static
='-non_shared'
9505 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9506 case $cc_basename in
9507 # old Intel for x86_64 which still supported -KPIC.
9509 lt_prog_compiler_wl
='-Wl,'
9510 lt_prog_compiler_pic
='-KPIC'
9511 lt_prog_compiler_static
='-static'
9513 # icc used to be incompatible with GCC.
9514 # ICC 10 doesn't accept -KPIC any more.
9516 lt_prog_compiler_wl
='-Wl,'
9517 lt_prog_compiler_pic
='-fPIC'
9518 lt_prog_compiler_static
='-static'
9520 # Lahey Fortran 8.1.
9522 lt_prog_compiler_wl
='-Wl,'
9523 lt_prog_compiler_pic
='--shared'
9524 lt_prog_compiler_static
='--static'
9526 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9527 # Portland Group compilers (*not* the Pentium gcc compiler,
9528 # which looks to be a dead project)
9529 lt_prog_compiler_wl
='-Wl,'
9530 lt_prog_compiler_pic
='-fpic'
9531 lt_prog_compiler_static
='-Bstatic'
9534 lt_prog_compiler_wl
='-Wl,'
9535 # All Alpha code is PIC.
9536 lt_prog_compiler_static
='-non_shared'
9538 xl
* | bgxl
* | bgf
* | mpixl
*)
9539 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9540 lt_prog_compiler_wl
='-Wl,'
9541 lt_prog_compiler_pic
='-qpic'
9542 lt_prog_compiler_static
='-qstaticlink'
9545 case `$CC -V 2>&1 | sed 5q` in
9546 *Sun\ F
* |
*Sun
*Fortran
*)
9547 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9548 lt_prog_compiler_pic
='-KPIC'
9549 lt_prog_compiler_static
='-Bstatic'
9550 lt_prog_compiler_wl
=''
9554 lt_prog_compiler_pic
='-KPIC'
9555 lt_prog_compiler_static
='-Bstatic'
9556 lt_prog_compiler_wl
='-Wl,'
9564 lt_prog_compiler_pic
='-KPIC'
9565 lt_prog_compiler_static
='-Bstatic'
9569 # QNX uses GNU C++, but need to define -shared option too, otherwise
9571 lt_prog_compiler_pic
='-fPIC -shared'
9574 osf3
* | osf4
* | osf5
*)
9575 lt_prog_compiler_wl
='-Wl,'
9576 # All OSF/1 code is PIC.
9577 lt_prog_compiler_static
='-non_shared'
9581 lt_prog_compiler_static
='-non_shared'
9585 lt_prog_compiler_pic
='-KPIC'
9586 lt_prog_compiler_static
='-Bstatic'
9587 case $cc_basename in
9589 lt_prog_compiler_wl
='-Qoption ld ';;
9591 lt_prog_compiler_wl
='-Wl,';;
9596 lt_prog_compiler_wl
='-Qoption ld '
9597 lt_prog_compiler_pic
='-PIC'
9598 lt_prog_compiler_static
='-Bstatic'
9601 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9602 lt_prog_compiler_wl
='-Wl,'
9603 lt_prog_compiler_pic
='-KPIC'
9604 lt_prog_compiler_static
='-Bstatic'
9608 if test -d /usr
/nec
;then
9609 lt_prog_compiler_pic
='-Kconform_pic'
9610 lt_prog_compiler_static
='-Bstatic'
9614 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9615 lt_prog_compiler_wl
='-Wl,'
9616 lt_prog_compiler_pic
='-KPIC'
9617 lt_prog_compiler_static
='-Bstatic'
9621 lt_prog_compiler_wl
='-Wl,'
9622 lt_prog_compiler_can_build_shared
=no
9626 lt_prog_compiler_pic
='-pic'
9627 lt_prog_compiler_static
='-Bstatic'
9631 lt_prog_compiler_can_build_shared
=no
9637 # For platforms which do not support PIC, -DPIC is meaningless:
9639 lt_prog_compiler_pic
=
9642 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9646 $as_echo "$lt_prog_compiler_pic" >&6; }
9654 # Check to make sure the PIC flag actually works.
9656 if test -n "$lt_prog_compiler_pic"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9658 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9659 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9660 $as_echo_n "(cached) " >&6
9662 lt_cv_prog_compiler_pic_works
=no
9663 ac_outfile
=conftest.
$ac_objext
9664 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9665 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9666 # Insert the option either (1) after the last *FLAGS variable, or
9667 # (2) before a word containing "conftest.", or (3) at the end.
9668 # Note that $ac_compile itself does not contain backslashes and begins
9669 # with a dollar sign (not a hyphen), so the echo should work correctly.
9670 # The option is referenced via a variable to avoid confusing sed.
9671 lt_compile
=`echo "$ac_compile" | $SED \
9672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9674 -e 's:$: $lt_compiler_flag:'`
9675 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9676 (eval "$lt_compile" 2>conftest.err
)
9678 cat conftest.err
>&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 if (exit $ac_status) && test -s "$ac_outfile"; then
9681 # The compiler can only warn and ignore the option if not recognized
9682 # So say no if there are warnings other than the usual output.
9683 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9684 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9685 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9686 lt_cv_prog_compiler_pic_works
=yes
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9693 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9695 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9696 case $lt_prog_compiler_pic in
9698 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9701 lt_prog_compiler_pic
=
9702 lt_prog_compiler_can_build_shared
=no
9713 # Check to make sure the static flag actually works.
9715 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9717 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9718 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9719 $as_echo_n "(cached) " >&6
9721 lt_cv_prog_compiler_static_works
=no
9722 save_LDFLAGS
="$LDFLAGS"
9723 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9724 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9725 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9726 # The linker can only warn and ignore the option if not recognized
9727 # So say no if there are warnings
9728 if test -s conftest.err
; then
9729 # Append any errors to the config.log.
9730 cat conftest.err
1>&5
9731 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9732 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9733 if diff conftest.exp conftest.er2
>/dev
/null
; then
9734 lt_cv_prog_compiler_static_works
=yes
9737 lt_cv_prog_compiler_static_works
=yes
9741 LDFLAGS
="$save_LDFLAGS"
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9745 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9747 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9750 lt_prog_compiler_static
=
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9760 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9761 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9762 $as_echo_n "(cached) " >&6
9764 lt_cv_prog_compiler_c_o
=no
9765 $RM -r conftest
2>/dev
/null
9769 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9771 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9772 # Insert the option either (1) after the last *FLAGS variable, or
9773 # (2) before a word containing "conftest.", or (3) at the end.
9774 # Note that $ac_compile itself does not contain backslashes and begins
9775 # with a dollar sign (not a hyphen), so the echo should work correctly.
9776 lt_compile
=`echo "$ac_compile" | $SED \
9777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9779 -e 's:$: $lt_compiler_flag:'`
9780 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9781 (eval "$lt_compile" 2>out
/conftest.err
)
9783 cat out
/conftest.err
>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9787 # The compiler can only warn and ignore the option if not recognized
9788 # So say no if there are warnings
9789 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9790 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9791 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9792 lt_cv_prog_compiler_c_o
=yes
9797 # SGI C++ compiler will create directory out/ii_files/ for
9798 # template instantiation
9799 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9800 $RM out
/* && rmdir out
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9807 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9815 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9816 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9817 $as_echo_n "(cached) " >&6
9819 lt_cv_prog_compiler_c_o
=no
9820 $RM -r conftest
2>/dev
/null
9824 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9826 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9827 # Insert the option either (1) after the last *FLAGS variable, or
9828 # (2) before a word containing "conftest.", or (3) at the end.
9829 # Note that $ac_compile itself does not contain backslashes and begins
9830 # with a dollar sign (not a hyphen), so the echo should work correctly.
9831 lt_compile
=`echo "$ac_compile" | $SED \
9832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9834 -e 's:$: $lt_compiler_flag:'`
9835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9836 (eval "$lt_compile" 2>out
/conftest.err
)
9838 cat out
/conftest.err
>&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9842 # The compiler can only warn and ignore the option if not recognized
9843 # So say no if there are warnings
9844 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9845 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9846 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9847 lt_cv_prog_compiler_c_o
=yes
9852 # SGI C++ compiler will create directory out/ii_files/ for
9853 # template instantiation
9854 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9855 $RM out
/* && rmdir out
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9862 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9867 hard_links
="nottested"
9868 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9869 # do not overwrite the value of need_locks provided by the user
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9871 $as_echo_n "checking if we can lock with hard links... " >&6; }
9874 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9876 ln conftest.a conftest.b
2>&5 || hard_links
=no
9877 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9879 $as_echo "$hard_links" >&6; }
9880 if test "$hard_links" = no
; then
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9882 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9895 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9898 allow_undefined_flag
=
9899 always_export_symbols
=no
9901 archive_expsym_cmds
=
9902 compiler_needs_object
=no
9903 enable_shared_with_static_runtimes
=no
9904 export_dynamic_flag_spec
=
9905 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9906 hardcode_automatic
=no
9908 hardcode_direct_absolute
=no
9909 hardcode_libdir_flag_spec
=
9910 hardcode_libdir_flag_spec_ld
=
9911 hardcode_libdir_separator
=
9913 hardcode_shlibpath_var
=unsupported
9915 link_all_deplibs
=unknown
9918 old_archive_from_new_cmds
=
9919 old_archive_from_expsyms_cmds
=
9920 thread_safe_flag_spec
=
9921 whole_archive_flag_spec
=
9922 # include_expsyms should be a list of space-separated symbols to be *always*
9923 # included in the symbol list
9925 # exclude_expsyms can be an extended regexp of symbols to exclude
9926 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9927 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9928 # as well as any symbol that contains `d'.
9929 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9930 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9931 # platforms (ab)use it in PIC code, but their linkers get confused if
9932 # the symbol is explicitly referenced. Since portable code cannot
9933 # rely on this symbol name, it's probably fine to never include it in
9934 # preloaded symbol tables.
9935 # Exclude shared library initialization/finalization symbols.
9936 extract_expsyms_cmds
=
9939 cygwin
* | mingw
* | pw32
* | cegcc
*)
9940 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9941 # When not using gcc, we currently assume that we are using
9942 # Microsoft Visual C++.
9943 if test "$GCC" != yes; then
9948 # we just hope/assume this is gcc and not c89 (= MSVC++)
9958 # On some targets, GNU ld is compatible enough with the native linker
9959 # that we're better off using the native interface for both.
9960 lt_use_gnu_ld_interface
=no
9961 if test "$with_gnu_ld" = yes; then
9964 # The AIX port of GNU ld has always aspired to compatibility
9965 # with the native linker. However, as the warning in the GNU ld
9966 # block says, versions before 2.19.5* couldn't really create working
9967 # shared libraries, regardless of the interface used.
9968 case `$LD -v 2>&1` in
9969 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9970 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9971 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9973 lt_use_gnu_ld_interface
=yes
9978 lt_use_gnu_ld_interface
=yes
9983 if test "$lt_use_gnu_ld_interface" = yes; then
9984 # If archive_cmds runs LD, not CC, wlarc should be empty
9987 # Set some defaults for GNU ld with shared library support. These
9988 # are reset later if shared libraries are not supported. Putting them
9989 # here allows them to be overridden if necessary.
9990 runpath_var
=LD_RUN_PATH
9991 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9992 export_dynamic_flag_spec
='${wl}--export-dynamic'
9993 # ancient GNU ld didn't support --whole-archive et. al.
9994 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9995 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9997 whole_archive_flag_spec
=
9999 supports_anon_versioning
=no
10000 case `$LD -v 2>&1` in
10001 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10002 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10003 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10004 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10005 *\
2.11.
*) ;; # other 2.11 versions
10006 *) supports_anon_versioning
=yes ;;
10009 # See if GNU ld supports shared libraries.
10012 # On AIX/PPC, the GNU linker is very broken
10013 if test "$host_cpu" != ia64
; then
10017 *** Warning: the GNU linker, at least up to release 2.19, is reported
10018 *** to be unable to reliably create shared libraries on AIX.
10019 *** Therefore, libtool is disabling shared libraries support. If you
10020 *** really care for shared libraries, you may want to install binutils
10021 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10022 *** You will then need to restart the configuration process.
10031 # see comment about AmigaOS4 .so support
10032 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033 archive_expsym_cmds
=''
10036 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)'
10037 hardcode_libdir_flag_spec
='-L$libdir'
10038 hardcode_minus_L
=yes
10044 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10045 allow_undefined_flag
=unsupported
10046 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10047 # support --undefined. This deserves some investigation. FIXME
10048 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10054 cygwin
* | mingw
* | pw32
* | cegcc
*)
10055 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10056 # as there is no search path for DLLs.
10057 hardcode_libdir_flag_spec
='-L$libdir'
10058 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10059 allow_undefined_flag
=unsupported
10060 always_export_symbols
=no
10061 enable_shared_with_static_runtimes
=yes
10062 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10064 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10065 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10066 # If the export-symbols file already is a .def file (1st line
10067 # is EXPORTS), use it as is; otherwise, prepend...
10068 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10069 cp $export_symbols $output_objdir/$soname.def;
10071 echo EXPORTS > $output_objdir/$soname.def;
10072 cat $export_symbols >> $output_objdir/$soname.def;
10074 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10081 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10082 link_all_deplibs
=yes
10087 hardcode_shlibpath_var
=no
10088 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10089 export_dynamic_flag_spec
='${wl}-E'
10090 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10091 # Instead, shared libraries are loaded at an image base (0x10000000 by
10092 # default) and relocated if they conflict, which is a slow very memory
10093 # consuming and fragmenting process. To avoid this, we pick a random,
10094 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10095 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10096 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10097 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'
10100 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10102 if test "$host_os" = linux-dietlibc
; then
10103 case $cc_basename in
10104 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10107 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10108 && test "$tmp_diet" = no
10111 tmp_sharedflag
='-shared'
10112 case $cc_basename,$host_cpu in
10113 pgcc
*) # Portland Group C compiler
10114 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'
10115 tmp_addflag
=' $pic_flag'
10117 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10118 # Portland Group f77 and f90 compilers
10119 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'
10120 tmp_addflag
=' $pic_flag -Mnomain' ;;
10121 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10122 tmp_addflag
=' -i_dynamic' ;;
10123 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10124 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10125 ifc
* | ifort
*) # Intel Fortran compiler
10126 tmp_addflag
=' -nofor_main' ;;
10127 lf95
*) # Lahey Fortran 8.1
10128 whole_archive_flag_spec
=
10129 tmp_sharedflag
='--shared' ;;
10130 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10131 tmp_sharedflag
='-qmkshrobj'
10133 nvcc
*) # Cuda Compiler Driver 2.2
10134 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'
10135 compiler_needs_object
=yes
10138 case `$CC -V 2>&1 | sed 5q` in
10139 *Sun\ C
*) # Sun C 5.9
10140 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'
10141 compiler_needs_object
=yes
10142 tmp_sharedflag
='-G' ;;
10143 *Sun\ F
*) # Sun Fortran 8.3
10144 tmp_sharedflag
='-G' ;;
10146 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10148 if test "x$supports_anon_versioning" = xyes
; then
10149 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10150 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10151 echo "local: *; };" >> $output_objdir/$libname.ver~
10152 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10155 case $cc_basename in
10156 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10157 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10158 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10159 hardcode_libdir_flag_spec
=
10160 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10161 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10162 if test "x$supports_anon_versioning" = xyes
; then
10163 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10164 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10165 echo "local: *; };" >> $output_objdir/$libname.ver~
10166 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10176 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10177 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10180 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10181 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10186 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10190 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10191 *** create shared libraries on Solaris systems. Therefore, libtool
10192 *** is disabling shared libraries support. We urge you to upgrade GNU
10193 *** binutils to release 2.9.1 or newer. Another option is to modify
10194 *** your PATH or compiler configuration so that the native linker is
10195 *** used, and then restart.
10198 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10199 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10200 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10206 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10207 case `$LD -v 2>&1` in
10208 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10212 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10213 *** reliably create shared libraries on SCO systems. Therefore, libtool
10214 *** is disabling shared libraries support. We urge you to upgrade GNU
10215 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10216 *** your PATH or compiler configuration so that the native linker is
10217 *** used, and then restart.
10222 # For security reasons, it is highly recommended that you always
10223 # use absolute paths for naming shared libraries, and exclude the
10224 # DT_RUNPATH tag from executables and libraries. But doing so
10225 # requires that you compile everything twice, which is a pain.
10226 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10227 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10228 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10229 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10238 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10240 hardcode_direct
=yes
10241 hardcode_shlibpath_var
=no
10245 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10246 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10247 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10254 if test "$ld_shlibs" = no
; then
10256 hardcode_libdir_flag_spec
=
10257 export_dynamic_flag_spec
=
10258 whole_archive_flag_spec
=
10261 # PORTME fill in a description of your system's linker (not GNU ld)
10264 allow_undefined_flag
=unsupported
10265 always_export_symbols
=yes
10266 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'
10267 # Note: this linker hardcodes the directories in LIBPATH if there
10268 # are no directories specified by -L.
10269 hardcode_minus_L
=yes
10270 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10271 # Neither direct hardcoding nor static linking is supported with a
10273 hardcode_direct
=unsupported
10278 if test "$host_cpu" = ia64
; then
10279 # On IA64, the linker does run time linking by default, so we don't
10280 # have to do anything special.
10281 aix_use_runtimelinking
=no
10282 exp_sym_flag
='-Bexport'
10285 # If we're using GNU nm, then we don't want the "-C" option.
10286 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10287 # Also, AIX nm treats weak defined symbols like other global
10288 # defined symbols, whereas GNU nm marks them as "W".
10289 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10290 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'
10292 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'
10294 aix_use_runtimelinking
=no
10296 # Test if we are trying to use run time linking or normal
10297 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10298 # need to do runtime linking.
10299 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10300 for ld_flag
in $LDFLAGS; do
10301 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10302 aix_use_runtimelinking
=yes
10309 exp_sym_flag
='-bexport'
10310 no_entry_flag
='-bnoentry'
10313 # When large executables or shared objects are built, AIX ld can
10314 # have problems creating the table of contents. If linking a library
10315 # or program results in "error TOC overflow" add -mminimal-toc to
10316 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10317 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10320 hardcode_direct
=yes
10321 hardcode_direct_absolute
=yes
10322 hardcode_libdir_separator
=':'
10323 link_all_deplibs
=yes
10324 file_list_spec
='${wl}-f,'
10326 if test "$GCC" = yes; then
10327 case $host_os in aix4.
[012]|aix4.
[012].
*)
10328 # We only want to do this on AIX 4.2 and lower, the check
10329 # below for broken collect2 doesn't work under 4.3+
10330 collect2name
=`${CC} -print-prog-name=collect2`
10331 if test -f "$collect2name" &&
10332 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10334 # We have reworked collect2
10337 # We have old collect2
10338 hardcode_direct
=unsupported
10339 # It fails to find uninstalled libraries when the uninstalled
10340 # path is not listed in the libpath. Setting hardcode_minus_L
10341 # to unsupported forces relinking
10342 hardcode_minus_L
=yes
10343 hardcode_libdir_flag_spec
='-L$libdir'
10344 hardcode_libdir_separator
=
10348 shared_flag
='-shared'
10349 if test "$aix_use_runtimelinking" = yes; then
10350 shared_flag
="$shared_flag "'${wl}-G'
10354 if test "$host_cpu" = ia64
; then
10355 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10356 # chokes on -Wl,-G. The following line is correct:
10359 if test "$aix_use_runtimelinking" = yes; then
10360 shared_flag
='${wl}-G'
10362 shared_flag
='${wl}-bM:SRE'
10367 export_dynamic_flag_spec
='${wl}-bexpall'
10368 # It seems that -bexpall does not export symbols beginning with
10369 # underscore (_), so it is better to generate a list of symbols to export.
10370 always_export_symbols
=yes
10371 if test "$aix_use_runtimelinking" = yes; then
10372 # Warning - without using the other runtime loading flags (-brtl),
10373 # -berok will link without error, but may produce a broken library.
10374 allow_undefined_flag
='-berok'
10375 # Determine the default libpath from the value encoded in an
10376 # empty executable.
10377 if test x
$gcc_no_link = xyes
; then
10378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10391 if ac_fn_c_try_link
"$LINENO"; then :
10393 lt_aix_libpath_sed
='
10394 /Import File Strings/,/^$/ {
10400 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10401 # Check for a 64-bit object if we didn't find anything.
10402 if test -z "$aix_libpath"; then
10403 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10406 rm -f core conftest.err conftest.
$ac_objext \
10407 conftest
$ac_exeext conftest.
$ac_ext
10408 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10410 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10411 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"
10413 if test "$host_cpu" = ia64
; then
10414 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10415 allow_undefined_flag
="-z nodefs"
10416 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"
10418 # Determine the default libpath from the value encoded in an
10419 # empty executable.
10420 if test x
$gcc_no_link = xyes
; then
10421 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10434 if ac_fn_c_try_link
"$LINENO"; then :
10436 lt_aix_libpath_sed
='
10437 /Import File Strings/,/^$/ {
10443 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10444 # Check for a 64-bit object if we didn't find anything.
10445 if test -z "$aix_libpath"; then
10446 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10449 rm -f core conftest.err conftest.
$ac_objext \
10450 conftest
$ac_exeext conftest.
$ac_ext
10451 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10453 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10454 # Warning - without using the other run time loading flags,
10455 # -berok will link without error, but may produce a broken library.
10456 no_undefined_flag
=' ${wl}-bernotok'
10457 allow_undefined_flag
=' ${wl}-berok'
10458 if test "$with_gnu_ld" = yes; then
10459 # We only use this code for GNU lds that support --whole-archive.
10460 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10462 # Exported symbols can be pulled into shared objects from archives
10463 whole_archive_flag_spec
='$convenience'
10465 archive_cmds_need_lc
=yes
10466 # This is similar to how AIX traditionally builds its shared libraries.
10467 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'
10475 # see comment about AmigaOS4 .so support
10476 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10477 archive_expsym_cmds
=''
10480 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)'
10481 hardcode_libdir_flag_spec
='-L$libdir'
10482 hardcode_minus_L
=yes
10488 export_dynamic_flag_spec
=-rdynamic
10491 cygwin
* | mingw
* | pw32
* | cegcc
*)
10492 # When not using gcc, we currently assume that we are using
10493 # Microsoft Visual C++.
10494 # hardcode_libdir_flag_spec is actually meaningless, as there is
10495 # no search path for DLLs.
10496 hardcode_libdir_flag_spec
=' '
10497 allow_undefined_flag
=unsupported
10498 # Tell ltmain to make .lib files, not .a files.
10500 # Tell ltmain to make .dll files, not .so files.
10502 # FIXME: Setting linknames here is a bad hack.
10503 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10504 # The linker will automatically build a .lib file if we build a DLL.
10505 old_archive_from_new_cmds
='true'
10506 # FIXME: Should let the user specify the lib program.
10507 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10508 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10509 enable_shared_with_static_runtimes
=yes
10512 darwin
* | rhapsody
*)
10515 archive_cmds_need_lc
=no
10517 hardcode_automatic
=yes
10518 hardcode_shlibpath_var
=unsupported
10519 if test "$lt_cv_ld_force_load" = "yes"; then
10520 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\"`'
10522 whole_archive_flag_spec
=''
10524 link_all_deplibs
=yes
10525 allow_undefined_flag
="$_lt_dar_allow_undefined"
10526 case $cc_basename in
10527 ifort
*) _lt_dar_can_shared
=yes ;;
10528 *) _lt_dar_can_shared
=$GCC ;;
10530 if test "$_lt_dar_can_shared" = "yes"; then
10531 output_verbose_link_cmd
=func_echo_all
10532 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10533 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10534 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}"
10535 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}"
10544 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10545 hardcode_libdir_flag_spec
='-L$libdir'
10546 hardcode_shlibpath_var
=no
10549 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10550 # support. Future versions do this automatically, but an explicit c++rt0.o
10551 # does not break anything, and helps significantly (at the cost of a little
10554 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10555 hardcode_libdir_flag_spec
='-R$libdir'
10556 hardcode_direct
=yes
10557 hardcode_shlibpath_var
=no
10560 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10562 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10563 hardcode_direct
=yes
10564 hardcode_minus_L
=yes
10565 hardcode_shlibpath_var
=no
10568 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10569 freebsd
* | dragonfly
*)
10570 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10571 hardcode_libdir_flag_spec
='-R$libdir'
10572 hardcode_direct
=yes
10573 hardcode_shlibpath_var
=no
10577 if test "$GCC" = yes; then
10578 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'
10580 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'
10582 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10583 hardcode_libdir_separator
=:
10584 hardcode_direct
=yes
10586 # hardcode_minus_L: Not really in the search PATH,
10587 # but as the default location of the library.
10588 hardcode_minus_L
=yes
10589 export_dynamic_flag_spec
='${wl}-E'
10593 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10594 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10596 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10598 if test "$with_gnu_ld" = no
; then
10599 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10600 hardcode_libdir_flag_spec_ld
='+b $libdir'
10601 hardcode_libdir_separator
=:
10602 hardcode_direct
=yes
10603 hardcode_direct_absolute
=yes
10604 export_dynamic_flag_spec
='${wl}-E'
10605 # hardcode_minus_L: Not really in the search PATH,
10606 # but as the default location of the library.
10607 hardcode_minus_L
=yes
10612 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10615 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10618 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10630 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10634 # Older versions of the 11.00 compiler do not understand -b yet
10635 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10637 $as_echo_n "checking if $CC understands -b... " >&6; }
10638 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10639 $as_echo_n "(cached) " >&6
10641 lt_cv_prog_compiler__b
=no
10642 save_LDFLAGS
="$LDFLAGS"
10643 LDFLAGS
="$LDFLAGS -b"
10644 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10645 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10646 # The linker can only warn and ignore the option if not recognized
10647 # So say no if there are warnings
10648 if test -s conftest.err
; then
10649 # Append any errors to the config.log.
10650 cat conftest.err
1>&5
10651 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10652 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10653 if diff conftest.exp conftest.er2
>/dev
/null
; then
10654 lt_cv_prog_compiler__b
=yes
10657 lt_cv_prog_compiler__b
=yes
10661 LDFLAGS
="$save_LDFLAGS"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10665 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10667 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10668 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10670 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10676 if test "$with_gnu_ld" = no
; then
10677 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10678 hardcode_libdir_separator
=:
10683 hardcode_shlibpath_var
=no
10686 hardcode_direct
=yes
10687 hardcode_direct_absolute
=yes
10688 export_dynamic_flag_spec
='${wl}-E'
10690 # hardcode_minus_L: Not really in the search PATH,
10691 # but as the default location of the library.
10692 hardcode_minus_L
=yes
10698 irix5
* | irix6
* | nonstopux
*)
10699 if test "$GCC" = yes; then
10700 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'
10701 # Try to use the -exported_symbol ld option, if it does not
10702 # work, assume that -exports_file does not work either and
10703 # implicitly export all symbols.
10704 save_LDFLAGS
="$LDFLAGS"
10705 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10706 if test x
$gcc_no_link = xyes
; then
10707 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10713 if ac_fn_c_try_link
"$LINENO"; then :
10714 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'
10717 rm -f core conftest.err conftest.
$ac_objext \
10718 conftest
$ac_exeext conftest.
$ac_ext
10719 LDFLAGS
="$save_LDFLAGS"
10721 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'
10722 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'
10724 archive_cmds_need_lc
='no'
10725 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10726 hardcode_libdir_separator
=:
10728 link_all_deplibs
=yes
10732 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10733 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10735 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10737 hardcode_libdir_flag_spec
='-R$libdir'
10738 hardcode_direct
=yes
10739 hardcode_shlibpath_var
=no
10743 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10744 hardcode_direct
=yes
10745 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10746 hardcode_libdir_separator
=:
10747 hardcode_shlibpath_var
=no
10754 if test -f /usr
/libexec
/ld.so
; then
10755 hardcode_direct
=yes
10756 hardcode_shlibpath_var
=no
10757 hardcode_direct_absolute
=yes
10758 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10759 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10760 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10761 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10762 export_dynamic_flag_spec
='${wl}-E'
10765 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10766 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10767 hardcode_libdir_flag_spec
='-R$libdir'
10770 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10771 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10781 hardcode_libdir_flag_spec
='-L$libdir'
10782 hardcode_minus_L
=yes
10783 allow_undefined_flag
=unsupported
10784 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'
10785 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10789 if test "$GCC" = yes; then
10790 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10791 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'
10793 allow_undefined_flag
=' -expect_unresolved \*'
10794 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'
10796 archive_cmds_need_lc
='no'
10797 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10798 hardcode_libdir_separator
=:
10801 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10802 if test "$GCC" = yes; then
10803 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10804 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'
10805 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10807 allow_undefined_flag
=' -expect_unresolved \*'
10808 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'
10809 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~
10810 $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'
10812 # Both c and cxx compiler support -rpath directly
10813 hardcode_libdir_flag_spec
='-rpath $libdir'
10815 archive_cmds_need_lc
='no'
10816 hardcode_libdir_separator
=:
10820 no_undefined_flag
=' -z defs'
10821 if test "$GCC" = yes; then
10823 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10824 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10825 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10827 case `$CC -V 2>&1` in
10830 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10831 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10832 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10836 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10837 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10838 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10842 hardcode_libdir_flag_spec
='-R$libdir'
10843 hardcode_shlibpath_var
=no
10845 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10847 # The compiler driver will combine and reorder linker options,
10848 # but understands `-z linker_flag'. GCC discards it without `$wl',
10849 # but is careful enough not to reorder.
10850 # Supported since Solaris 2.6 (maybe 2.5.1?)
10851 if test "$GCC" = yes; then
10852 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10854 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10858 link_all_deplibs
=yes
10862 if test "x$host_vendor" = xsequent
; then
10863 # Use $CC to link under sequent, because it throws in some extra .o
10864 # files that make .init and .fini sections work.
10865 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10867 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10869 hardcode_libdir_flag_spec
='-L$libdir'
10870 hardcode_direct
=yes
10871 hardcode_minus_L
=yes
10872 hardcode_shlibpath_var
=no
10876 case $host_vendor in
10878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10879 hardcode_direct
=yes # is this really true???
10882 ## LD is ld it makes a PLAMLIB
10883 ## CC just makes a GrossModule.
10884 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10885 reload_cmds
='$CC -r -o $output$reload_objs'
10889 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10890 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10893 runpath_var
='LD_RUN_PATH'
10894 hardcode_shlibpath_var
=no
10898 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10899 hardcode_shlibpath_var
=no
10900 export_dynamic_flag_spec
='-Bexport'
10904 if test -d /usr
/nec
; then
10905 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10906 hardcode_shlibpath_var
=no
10907 runpath_var
=LD_RUN_PATH
10908 hardcode_runpath_var
=yes
10913 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10914 no_undefined_flag
='${wl}-z,text'
10915 archive_cmds_need_lc
=no
10916 hardcode_shlibpath_var
=no
10917 runpath_var
='LD_RUN_PATH'
10919 if test "$GCC" = yes; then
10920 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10928 sysv5
* | sco3.2v5
* | sco5v6
*)
10929 # Note: We can NOT use -z defs as we might desire, because we do not
10930 # link with -lc, and that would cause any symbols used from libc to
10931 # always be unresolved, which means just about no library would
10932 # ever link correctly. If we're not using GNU ld we use -z text
10933 # though, which does catch some bad symbols but isn't as heavy-handed
10935 no_undefined_flag
='${wl}-z,text'
10936 allow_undefined_flag
='${wl}-z,nodefs'
10937 archive_cmds_need_lc
=no
10938 hardcode_shlibpath_var
=no
10939 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10940 hardcode_libdir_separator
=':'
10941 link_all_deplibs
=yes
10942 export_dynamic_flag_spec
='${wl}-Bexport'
10943 runpath_var
='LD_RUN_PATH'
10945 if test "$GCC" = yes; then
10946 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10947 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10955 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10956 hardcode_libdir_flag_spec
='-L$libdir'
10957 hardcode_shlibpath_var
=no
10965 if test x
$host_vendor = xsni
; then
10967 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10968 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10975 $as_echo "$ld_shlibs" >&6; }
10976 test "$ld_shlibs" = no
&& can_build_shared
=no
10978 with_gnu_ld
=$with_gnu_ld
10995 # Do we need to explicitly link libc?
10997 case "x$archive_cmds_need_lc" in
10999 # Assume -lc should be added
11000 archive_cmds_need_lc
=yes
11002 if test "$enable_shared" = yes && test "$GCC" = yes; then
11003 case $archive_cmds in
11005 # FIXME: we may have to deal with multi-command sequences.
11008 # Test whether the compiler implicitly links with -lc since on some
11009 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11010 # to ld, don't add -lc before -lgcc.
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11012 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11013 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11014 $as_echo_n "(cached) " >&6
11017 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11020 (eval $ac_compile) 2>&5
11022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11023 test $ac_status = 0; } 2>conftest.err
; then
11026 libobjs
=conftest.
$ac_objext
11028 wl
=$lt_prog_compiler_wl
11029 pic_flag
=$lt_prog_compiler_pic
11035 lt_save_allow_undefined_flag
=$allow_undefined_flag
11036 allow_undefined_flag
=
11037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11038 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11041 test $ac_status = 0; }
11043 lt_cv_archive_cmds_need_lc
=no
11045 lt_cv_archive_cmds_need_lc
=yes
11047 allow_undefined_flag
=$lt_save_allow_undefined_flag
11049 cat conftest.err
1>&5
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11055 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11056 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11222 if test "$GCC" = yes; then
11224 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11225 *) lt_awk_arg
="/^libraries:/" ;;
11228 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11229 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11231 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11232 case $lt_search_path_spec in
11234 # if the path contains ";" then we assume it to be the separator
11235 # otherwise default to the standard path separator (i.e. ":") - it is
11236 # assumed that no part of a normal pathname contains ";" but that should
11237 # okay in the real world where ";" in dirpaths is itself problematic.
11238 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11241 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11244 # Ok, now we have the path, separated by spaces, we can step through it
11245 # and add multilib dir if necessary.
11246 lt_tmp_lt_search_path_spec
=
11247 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11248 for lt_sys_path
in $lt_search_path_spec; do
11249 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11250 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11252 test -d "$lt_sys_path" && \
11253 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11256 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11257 BEGIN {RS=" "; FS="/|\n";} {
11260 for (lt_i = NF; lt_i > 0; lt_i--) {
11261 if ($lt_i != "" && $lt_i != ".") {
11262 if ($lt_i == "..") {
11265 if (lt_count == 0) {
11266 lt_foo="/" $lt_i lt_foo;
11273 if (lt_foo != "") { lt_freq[lt_foo]++; }
11274 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11276 # AWK program above erroneously prepends '/' to C:/dos/paths
11279 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11280 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11282 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11284 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11286 library_names_spec
=
11287 libname_spec
='lib$name'
11291 postuninstall_cmds
=
11295 shlibpath_overrides_runpath
=unknown
11297 dynamic_linker
="$host_os ld.so"
11298 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11299 need_lib_prefix
=unknown
11300 hardcode_into_libs
=no
11302 # when you set need_version to no, make sure it does not cause -set_version
11303 # flags to be left without arguments
11304 need_version
=unknown
11309 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11310 shlibpath_var
=LIBPATH
11312 # AIX 3 has no versioning support, so we append a major version to the name.
11313 soname_spec
='${libname}${release}${shared_ext}$major'
11320 hardcode_into_libs
=yes
11321 if test "$host_cpu" = ia64
; then
11322 # AIX 5 supports IA64
11323 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11324 shlibpath_var
=LD_LIBRARY_PATH
11326 # With GCC up to 2.95.x, collect2 would create an import file
11327 # for dependence libraries. The import file would start with
11328 # the line `#! .'. This would cause the generated library to
11329 # depend on `.', always an invalid library. This was fixed in
11330 # development snapshots of GCC prior to 3.0.
11332 aix4 | aix4.
[01] | aix4.
[01].
*)
11333 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11335 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11338 can_build_shared
=no
11342 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11343 # soname into executable. Probably we can add versioning support to
11344 # collect2, so additional links can be useful in future.
11345 if test "$aix_use_runtimelinking" = yes; then
11346 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11347 # instead of lib<name>.a to let people know that these are not
11348 # typical AIX shared libraries.
11349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 # We preserve .a as extension for shared libraries through AIX4.2
11352 # and later when we are not doing run time linking.
11353 library_names_spec
='${libname}${release}.a $libname.a'
11354 soname_spec
='${libname}${release}${shared_ext}$major'
11356 shlibpath_var
=LIBPATH
11363 # Since July 2007 AmigaOS4 officially supports .so libraries.
11364 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11368 library_names_spec
='$libname.ixlibrary $libname.a'
11369 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11370 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'
11376 library_names_spec
='${libname}${shared_ext}'
11377 dynamic_linker
="$host_os ld.so"
11378 shlibpath_var
=LIBRARY_PATH
11384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385 soname_spec
='${libname}${release}${shared_ext}$major'
11386 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11387 shlibpath_var
=LD_LIBRARY_PATH
11388 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11389 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11390 # the default ld.so.conf also contains /usr/contrib/lib and
11391 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11392 # libtool to hard-code these into programs
11395 cygwin
* | mingw
* | pw32
* | cegcc
*)
11396 version_type
=windows
11401 case $GCC,$host_os in
11402 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11403 library_names_spec
='$libname.dll.a'
11404 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11405 postinstall_cmds
='base_file=`basename \${file}`~
11406 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11407 dldir=$destdir/`dirname \$dlpath`~
11408 test -d \$dldir || mkdir -p \$dldir~
11409 $install_prog $dir/$dlname \$dldir/$dlname~
11410 chmod a+x \$dldir/$dlname~
11411 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11412 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11414 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11415 dlpath=$dir/\$dldll~
11417 shlibpath_overrides_runpath
=yes
11421 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11422 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11424 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11427 # MinGW DLLs use traditional 'lib' prefix
11428 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11431 # pw32 DLLs use 'pw' prefix rather than 'lib'
11432 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11438 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11441 dynamic_linker
='Win32 ld.exe'
11442 # FIXME: first we should search . and the directory the executable is in
11446 darwin
* | rhapsody
*)
11447 dynamic_linker
="$host_os dyld"
11448 version_type
=darwin
11451 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11452 soname_spec
='${libname}${release}${major}$shared_ext'
11453 shlibpath_overrides_runpath
=yes
11454 shlibpath_var
=DYLD_LIBRARY_PATH
11455 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11457 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11458 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11466 soname_spec
='${libname}${release}${shared_ext}$major'
11467 shlibpath_var
=LD_LIBRARY_PATH
11470 freebsd
* | dragonfly
*)
11471 # DragonFly does not have aout. When/if they implement a new
11472 # versioning mechanism, adjust this.
11473 if test -x /usr
/bin
/objformat
; then
11474 objformat
=`/usr/bin/objformat`
11477 freebsd
[23].
*) objformat
=aout
;;
11478 *) objformat
=elf
;;
11481 version_type
=freebsd-
$objformat
11482 case $version_type in
11484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11489 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11493 shlibpath_var
=LD_LIBRARY_PATH
11496 shlibpath_overrides_runpath
=yes
11498 freebsd3.
[01]* | freebsdelf3.
[01]*)
11499 shlibpath_overrides_runpath
=yes
11500 hardcode_into_libs
=yes
11502 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11503 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11504 shlibpath_overrides_runpath
=no
11505 hardcode_into_libs
=yes
11507 *) # from 4.6 on, and DragonFly
11508 shlibpath_overrides_runpath
=yes
11509 hardcode_into_libs
=yes
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11519 soname_spec
='${libname}${release}${shared_ext}$major'
11520 shlibpath_var
=LD_LIBRARY_PATH
11521 hardcode_into_libs
=yes
11528 dynamic_linker
="$host_os runtime_loader"
11529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11530 soname_spec
='${libname}${release}${shared_ext}$major'
11531 shlibpath_var
=LIBRARY_PATH
11532 shlibpath_overrides_runpath
=yes
11533 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11534 hardcode_into_libs
=yes
11537 hpux9
* | hpux10
* | hpux11
*)
11538 # Give a soname corresponding to the major version so that dld.sl refuses to
11539 # link against other versions.
11546 hardcode_into_libs
=yes
11547 dynamic_linker
="$host_os dld.so"
11548 shlibpath_var
=LD_LIBRARY_PATH
11549 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11551 soname_spec
='${libname}${release}${shared_ext}$major'
11552 if test "X$HPUX_IA64_MODE" = X32
; then
11553 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11555 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11557 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11561 hardcode_into_libs
=yes
11562 dynamic_linker
="$host_os dld.sl"
11563 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11564 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
11567 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11568 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11572 dynamic_linker
="$host_os dld.sl"
11573 shlibpath_var
=SHLIB_PATH
11574 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11576 soname_spec
='${libname}${release}${shared_ext}$major'
11579 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11580 postinstall_cmds
='chmod 555 $lib'
11581 # or fails outright, so override atomically:
11582 install_override_mode
=555
11589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11590 soname_spec
='${libname}${release}${shared_ext}$major'
11591 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11592 shlibpath_var
=LD_LIBRARY_PATH
11593 shlibpath_overrides_runpath
=no
11594 hardcode_into_libs
=yes
11597 irix5
* | irix6
* | nonstopux
*)
11599 nonstopux
*) version_type
=nonstopux
;;
11601 if test "$lt_cv_prog_gnu_ld" = yes; then
11609 soname_spec
='${libname}${release}${shared_ext}$major'
11610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11612 irix5
* | nonstopux
*)
11613 libsuff
= shlibsuff
=
11616 case $LD in # libtool.m4 will add one of these switches to LD
11617 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11618 libsuff
= shlibsuff
= libmagic
=32-bit;;
11619 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11620 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11621 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11622 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11623 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11627 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11628 shlibpath_overrides_runpath
=no
11629 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11630 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11631 hardcode_into_libs
=yes
11634 # No shared lib support for Linux oldld, aout, or coff.
11635 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11639 # This must be Linux ELF.
11640 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11645 soname_spec
='${libname}${release}${shared_ext}$major'
11646 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11647 shlibpath_var
=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath
=no
11650 # Some binutils ld are patched to set DT_RUNPATH
11651 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11652 $as_echo_n "(cached) " >&6
11654 lt_cv_shlibpath_overrides_runpath
=no
11655 save_LDFLAGS
=$LDFLAGS
11656 save_libdir
=$libdir
11657 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11658 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11659 if test x
$gcc_no_link = xyes
; then
11660 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11673 if ac_fn_c_try_link
"$LINENO"; then :
11674 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11675 lt_cv_shlibpath_overrides_runpath
=yes
11678 rm -f core conftest.err conftest.
$ac_objext \
11679 conftest
$ac_exeext conftest.
$ac_ext
11680 LDFLAGS
=$save_LDFLAGS
11681 libdir
=$save_libdir
11685 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11687 # This implies no fast_install, which is unacceptable.
11688 # Some rework will be needed to allow for fast_install
11689 # before this can be enabled.
11690 hardcode_into_libs
=yes
11692 # Append ld.so.conf contents to the search path
11693 if test -f /etc
/ld.so.conf
; then
11694 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' ' '`
11695 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11698 # We used to test for /lib/ld.so.1 and disable shared libraries on
11699 # powerpc, because MkLinux only supported shared libraries with the
11700 # GNU dynamic linker. Since this was broken with cross compilers,
11701 # most powerpc-linux boxes support dynamic linking these days and
11702 # people can always --disable-shared, the test was removed, and we
11703 # assume the GNU/Linux dynamic linker is in use.
11704 dynamic_linker
='GNU/Linux ld.so'
11711 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11713 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11714 dynamic_linker
='NetBSD (a.out) ld.so'
11716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11717 soname_spec
='${libname}${release}${shared_ext}$major'
11718 dynamic_linker
='NetBSD ld.elf_so'
11720 shlibpath_var
=LD_LIBRARY_PATH
11721 shlibpath_overrides_runpath
=yes
11722 hardcode_into_libs
=yes
11727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728 shlibpath_var
=LD_LIBRARY_PATH
11729 shlibpath_overrides_runpath
=yes
11736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737 soname_spec
='${libname}${release}${shared_ext}$major'
11738 shlibpath_var
=LD_LIBRARY_PATH
11739 shlibpath_overrides_runpath
=no
11740 hardcode_into_libs
=yes
11741 dynamic_linker
='ldqnx.so'
11746 sys_lib_dlsearch_path_spec
="/usr/lib"
11748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11750 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11751 *) need_version
=no
;;
11753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11755 shlibpath_var
=LD_LIBRARY_PATH
11756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11758 openbsd2.
[89] | openbsd2.
[89].
*)
11759 shlibpath_overrides_runpath
=no
11762 shlibpath_overrides_runpath
=yes
11766 shlibpath_overrides_runpath
=yes
11771 libname_spec
='$name'
11774 library_names_spec
='$libname${shared_ext} $libname.a'
11775 dynamic_linker
='OS/2 ld.exe'
11776 shlibpath_var
=LIBPATH
11779 osf3
* | osf4
* | osf5
*)
11783 soname_spec
='${libname}${release}${shared_ext}$major'
11784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11785 shlibpath_var
=LD_LIBRARY_PATH
11786 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11787 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11799 soname_spec
='${libname}${release}${shared_ext}$major'
11800 shlibpath_var
=LD_LIBRARY_PATH
11801 shlibpath_overrides_runpath
=yes
11802 hardcode_into_libs
=yes
11803 # ldd complains unless libraries are executable
11804 postinstall_cmds
='chmod +x $lib'
11809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11810 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11811 shlibpath_var
=LD_LIBRARY_PATH
11812 shlibpath_overrides_runpath
=yes
11813 if test "$with_gnu_ld" = yes; then
11821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11822 soname_spec
='${libname}${release}${shared_ext}$major'
11823 shlibpath_var
=LD_LIBRARY_PATH
11824 case $host_vendor in
11826 shlibpath_overrides_runpath
=no
11828 runpath_var
=LD_RUN_PATH
11836 shlibpath_overrides_runpath
=no
11837 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11843 if test -d /usr
/nec
;then
11845 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11846 soname_spec
='$libname${shared_ext}.$major'
11847 shlibpath_var
=LD_LIBRARY_PATH
11851 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11852 version_type
=freebsd-elf
11855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11856 soname_spec
='${libname}${release}${shared_ext}$major'
11857 shlibpath_var
=LD_LIBRARY_PATH
11858 shlibpath_overrides_runpath
=yes
11859 hardcode_into_libs
=yes
11860 if test "$with_gnu_ld" = yes; then
11861 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11863 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11866 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11870 sys_lib_dlsearch_path_spec
='/usr/lib'
11874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11879 shlibpath_var
=LD_LIBRARY_PATH
11880 shlibpath_overrides_runpath
=no
11881 hardcode_into_libs
=yes
11886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11887 soname_spec
='${libname}${release}${shared_ext}$major'
11888 shlibpath_var
=LD_LIBRARY_PATH
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11896 $as_echo "$dynamic_linker" >&6; }
11897 test "$dynamic_linker" = no
&& can_build_shared
=no
11899 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11900 if test "$GCC" = yes; then
11901 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11904 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11905 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11907 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11908 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12003 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12005 if test -n "$hardcode_libdir_flag_spec" ||
12006 test -n "$runpath_var" ||
12007 test "X$hardcode_automatic" = "Xyes" ; then
12009 # We can hardcode non-existent directories.
12010 if test "$hardcode_direct" != no
&&
12011 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12012 # have to relink, otherwise we might link with an installed library
12013 # when we should be linking with a yet-to-be-installed one
12014 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12015 test "$hardcode_minus_L" != no
; then
12016 # Linking always hardcodes the temporary library directory.
12017 hardcode_action
=relink
12019 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12020 hardcode_action
=immediate
12023 # We cannot hardcode anything, or else we can only hardcode existing
12025 hardcode_action
=unsupported
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12028 $as_echo "$hardcode_action" >&6; }
12030 if test "$hardcode_action" = relink ||
12031 test "$inherit_rpath" = yes; then
12032 # Fast installation is not supported
12033 enable_fast_install
=no
12034 elif test "$shlibpath_overrides_runpath" = yes ||
12035 test "$enable_shared" = no
; then
12036 # Fast installation is not necessary
12037 enable_fast_install
=needless
12045 if test "x$enable_dlopen" != xyes
; then
12046 enable_dlopen
=unknown
12047 enable_dlopen_self
=unknown
12048 enable_dlopen_self_static
=unknown
12055 lt_cv_dlopen
="load_add_on"
12057 lt_cv_dlopen_self
=yes
12060 mingw
* | pw32
* | cegcc
*)
12061 lt_cv_dlopen
="LoadLibrary"
12066 lt_cv_dlopen
="dlopen"
12071 # if libdl is installed we need to link against it
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12073 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12074 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12075 $as_echo_n "(cached) " >&6
12077 ac_check_lib_save_LIBS
=$LIBS
12079 if test x
$gcc_no_link = xyes
; then
12080 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12100 if ac_fn_c_try_link
"$LINENO"; then :
12101 ac_cv_lib_dl_dlopen
=yes
12103 ac_cv_lib_dl_dlopen
=no
12105 rm -f core conftest.err conftest.
$ac_objext \
12106 conftest
$ac_exeext conftest.
$ac_ext
12107 LIBS
=$ac_check_lib_save_LIBS
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12110 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12111 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12112 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12115 lt_cv_dlopen
="dyld"
12117 lt_cv_dlopen_self
=yes
12124 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12125 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12126 lt_cv_dlopen
="shl_load"
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12129 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12130 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12131 $as_echo_n "(cached) " >&6
12133 ac_check_lib_save_LIBS
=$LIBS
12135 if test x
$gcc_no_link = xyes
; then
12136 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12151 return shl_load ();
12156 if ac_fn_c_try_link
"$LINENO"; then :
12157 ac_cv_lib_dld_shl_load
=yes
12159 ac_cv_lib_dld_shl_load
=no
12161 rm -f core conftest.err conftest.
$ac_objext \
12162 conftest
$ac_exeext conftest.
$ac_ext
12163 LIBS
=$ac_check_lib_save_LIBS
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12166 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12167 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12168 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12170 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12171 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12172 lt_cv_dlopen
="dlopen"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12175 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12176 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12177 $as_echo_n "(cached) " >&6
12179 ac_check_lib_save_LIBS
=$LIBS
12181 if test x
$gcc_no_link = xyes
; then
12182 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12202 if ac_fn_c_try_link
"$LINENO"; then :
12203 ac_cv_lib_dl_dlopen
=yes
12205 ac_cv_lib_dl_dlopen
=no
12207 rm -f core conftest.err conftest.
$ac_objext \
12208 conftest
$ac_exeext conftest.
$ac_ext
12209 LIBS
=$ac_check_lib_save_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12212 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12213 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12214 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12217 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12218 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12219 $as_echo_n "(cached) " >&6
12221 ac_check_lib_save_LIBS
=$LIBS
12222 LIBS
="-lsvld $LIBS"
12223 if test x
$gcc_no_link = xyes
; then
12224 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12244 if ac_fn_c_try_link
"$LINENO"; then :
12245 ac_cv_lib_svld_dlopen
=yes
12247 ac_cv_lib_svld_dlopen
=no
12249 rm -f core conftest.err conftest.
$ac_objext \
12250 conftest
$ac_exeext conftest.
$ac_ext
12251 LIBS
=$ac_check_lib_save_LIBS
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12254 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12255 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12256 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12259 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12260 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12261 $as_echo_n "(cached) " >&6
12263 ac_check_lib_save_LIBS
=$LIBS
12265 if test x
$gcc_no_link = xyes
; then
12266 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12281 return dld_link ();
12286 if ac_fn_c_try_link
"$LINENO"; then :
12287 ac_cv_lib_dld_dld_link
=yes
12289 ac_cv_lib_dld_dld_link
=no
12291 rm -f core conftest.err conftest.
$ac_objext \
12292 conftest
$ac_exeext conftest.
$ac_ext
12293 LIBS
=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12296 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12297 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12298 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12319 if test "x$lt_cv_dlopen" != xno
; then
12325 case $lt_cv_dlopen in
12327 save_CPPFLAGS
="$CPPFLAGS"
12328 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12330 save_LDFLAGS
="$LDFLAGS"
12331 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12334 LIBS
="$lt_cv_dlopen_libs $LIBS"
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12337 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12338 if test "${lt_cv_dlopen_self+set}" = set; then :
12339 $as_echo_n "(cached) " >&6
12341 if test "$cross_compiling" = yes; then :
12342 lt_cv_dlopen_self
=cross
12344 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12345 lt_status
=$lt_dlunknown
12346 cat > conftest.
$ac_ext <<_LT_EOF
12347 #line 12347 "configure"
12348 #include "confdefs.h"
12357 # define LT_DLGLOBAL RTLD_GLOBAL
12360 # define LT_DLGLOBAL DL_GLOBAL
12362 # define LT_DLGLOBAL 0
12366 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12367 find out it does not work in some platform. */
12368 #ifndef LT_DLLAZY_OR_NOW
12370 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12373 # define LT_DLLAZY_OR_NOW DL_LAZY
12376 # define LT_DLLAZY_OR_NOW RTLD_NOW
12379 # define LT_DLLAZY_OR_NOW DL_NOW
12381 # define LT_DLLAZY_OR_NOW 0
12388 /* When -fvisbility=hidden is used, assume the code has been annotated
12389 correspondingly for the symbols needed. */
12390 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12391 void fnord () __attribute__((visibility("default")));
12394 void fnord () { int i=42; }
12397 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12398 int status = $lt_dlunknown;
12402 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12405 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12406 else puts (dlerror ());
12408 /* dlclose (self); */
12416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12417 (eval $ac_link) 2>&5
12419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12420 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12421 (.
/conftest
; exit; ) >&5 2>/dev
/null
12423 case x
$lt_status in
12424 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12425 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12426 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12429 # compilation failed
12430 lt_cv_dlopen_self
=no
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12438 $as_echo "$lt_cv_dlopen_self" >&6; }
12440 if test "x$lt_cv_dlopen_self" = xyes
; then
12441 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12443 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12444 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12445 $as_echo_n "(cached) " >&6
12447 if test "$cross_compiling" = yes; then :
12448 lt_cv_dlopen_self_static
=cross
12450 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12451 lt_status
=$lt_dlunknown
12452 cat > conftest.
$ac_ext <<_LT_EOF
12453 #line 12453 "configure"
12454 #include "confdefs.h"
12463 # define LT_DLGLOBAL RTLD_GLOBAL
12466 # define LT_DLGLOBAL DL_GLOBAL
12468 # define LT_DLGLOBAL 0
12472 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12473 find out it does not work in some platform. */
12474 #ifndef LT_DLLAZY_OR_NOW
12476 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12479 # define LT_DLLAZY_OR_NOW DL_LAZY
12482 # define LT_DLLAZY_OR_NOW RTLD_NOW
12485 # define LT_DLLAZY_OR_NOW DL_NOW
12487 # define LT_DLLAZY_OR_NOW 0
12494 /* When -fvisbility=hidden is used, assume the code has been annotated
12495 correspondingly for the symbols needed. */
12496 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12497 void fnord () __attribute__((visibility("default")));
12500 void fnord () { int i=42; }
12503 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12504 int status = $lt_dlunknown;
12508 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12511 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12512 else puts (dlerror ());
12514 /* dlclose (self); */
12522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12523 (eval $ac_link) 2>&5
12525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12526 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12527 (.
/conftest
; exit; ) >&5 2>/dev
/null
12529 case x
$lt_status in
12530 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12531 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12532 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12535 # compilation failed
12536 lt_cv_dlopen_self_static
=no
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12544 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12547 CPPFLAGS
="$save_CPPFLAGS"
12548 LDFLAGS
="$save_LDFLAGS"
12553 case $lt_cv_dlopen_self in
12554 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12555 *) enable_dlopen_self
=unknown
;;
12558 case $lt_cv_dlopen_self_static in
12559 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12560 *) enable_dlopen_self_static
=unknown
;;
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12583 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12584 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12585 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12586 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12588 $as_echo "yes" >&6; }
12590 # FIXME - insert some real tests, host_os isn't really good enough
12593 if test -n "$STRIP" ; then
12594 striplib
="$STRIP -x"
12595 old_striplib
="$STRIP -S"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12597 $as_echo "yes" >&6; }
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12600 $as_echo "no" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12605 $as_echo "no" >&6; }
12621 # Report which library types will actually be built
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12623 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12625 $as_echo "$can_build_shared" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12628 $as_echo_n "checking whether to build shared libraries... " >&6; }
12629 test "$can_build_shared" = "no" && enable_shared
=no
12631 # On AIX, shared libraries and static libraries use the same namespace, and
12632 # are all built from PIC.
12635 test "$enable_shared" = yes && enable_static
=no
12636 if test -n "$RANLIB"; then
12637 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12638 postinstall_cmds
='$RANLIB $lib'
12643 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12644 test "$enable_shared" = yes && enable_static
=no
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12649 $as_echo "$enable_shared" >&6; }
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12652 $as_echo_n "checking whether to build static libraries... " >&6; }
12653 # Make sure either enable_shared or enable_static is yes.
12654 test "$enable_shared" = yes || enable_static
=yes
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12656 $as_echo "$enable_static" >&6; }
12663 ac_cpp
='$CPP $CPPFLAGS'
12664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12682 ac_config_commands
="$ac_config_commands libtool"
12687 # Only expand once:
12694 *-cygwin* |
*-mingw*)
12695 # 'host' will be top-level target in the case of a target lib,
12696 # we must compare to with_cross_host to decide if this is a native
12697 # or cross-compiler and select where to install dlls appropriately.
12698 if test -n "$with_cross_host" &&
12699 test x
"$with_cross_host" != x
"no"; then
12700 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12702 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12714 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12716 # We need gfortran to compile parts of the library
12717 #AC_PROG_FC(gfortran)
12719 ac_ext
=${ac_fc_srcext-f}
12720 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12721 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12722 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12723 if test -n "$ac_tool_prefix"; then
12724 for ac_prog
in gfortran
12726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12727 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12729 $as_echo_n "checking for $ac_word... " >&6; }
12730 if test "${ac_cv_prog_FC+set}" = set; then :
12731 $as_echo_n "(cached) " >&6
12733 if test -n "$FC"; then
12734 ac_cv_prog_FC
="$FC" # Let the user override the test.
12736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12737 for as_dir
in $PATH
12740 test -z "$as_dir" && as_dir
=.
12741 for ac_exec_ext
in '' $ac_executable_extensions; do
12742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12743 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12754 if test -n "$FC"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12756 $as_echo "$FC" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12763 test -n "$FC" && break
12766 if test -z "$FC"; then
12768 for ac_prog
in gfortran
12770 # Extract the first word of "$ac_prog", so it can be a program name with args.
12771 set dummy
$ac_prog; ac_word
=$2
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12773 $as_echo_n "checking for $ac_word... " >&6; }
12774 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12775 $as_echo_n "(cached) " >&6
12777 if test -n "$ac_ct_FC"; then
12778 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12781 for as_dir
in $PATH
12784 test -z "$as_dir" && as_dir
=.
12785 for ac_exec_ext
in '' $ac_executable_extensions; do
12786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12787 ac_cv_prog_ac_ct_FC
="$ac_prog"
12788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12797 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12798 if test -n "$ac_ct_FC"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12800 $as_echo "$ac_ct_FC" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12807 test -n "$ac_ct_FC" && break
12810 if test "x$ac_ct_FC" = x
; then
12813 case $cross_compiling:$ac_tool_warned in
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12817 ac_tool_warned
=yes ;;
12824 # Provide some information about the compiler.
12825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12828 for ac_option
in --version -v -V -qversion; do
12829 { { ac_try
="$ac_compiler $ac_option >&5"
12830 case "(($ac_try" in
12831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12832 *) ac_try_echo=$ac_try;;
12834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12835 $as_echo "$ac_try_echo"; } >&5
12836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12838 if test -s conftest.err; then
12840 ... rest of stderr output deleted ...
12841 10q' conftest.err >conftest.er1
12842 cat conftest.er1 >&5
12843 rm -f conftest.er1 conftest.err
12845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12846 test $ac_status = 0; }
12850 # If we don't use `.F
' as extension, the preprocessor is not run on the
12851 # input file. (Note that this only needs to work for GNU compilers.)
12852 ac_save_ext=$ac_ext
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12855 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12856 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12857 $as_echo_n "(cached) " >&6
12859 cat > conftest.$ac_ext <<_ACEOF
12867 if ac_fn_fc_try_compile "$LINENO"; then :
12868 ac_compiler_gnu=yes
12872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12873 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12877 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12878 ac_ext=$ac_save_ext
12879 ac_test_FCFLAGS=${FCFLAGS+set}
12880 ac_save_FCFLAGS=$FCFLAGS
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12883 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12884 if test "${ac_cv_prog_fc_g+set}" = set; then :
12885 $as_echo_n "(cached) " >&6
12888 cat > conftest.$ac_ext <<_ACEOF
12893 if ac_fn_fc_try_compile "$LINENO"; then :
12894 ac_cv_prog_fc_g=yes
12898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12902 $as_echo "$ac_cv_prog_fc_g" >&6; }
12903 if test "$ac_test_FCFLAGS" = set; then
12904 FCFLAGS=$ac_save_FCFLAGS
12905 elif test $ac_cv_prog_fc_g = yes; then
12906 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12912 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12920 ac_cpp='$CPP $CPPFLAGS'
12921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12922 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12925 ac_ext=${ac_fc_srcext-f}
12926 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12927 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12928 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12931 if test -z "$FC" || test "X$FC" = "Xno"; then
12935 archive_cmds_need_lc_FC=no
12936 allow_undefined_flag_FC=
12937 always_export_symbols_FC=no
12938 archive_expsym_cmds_FC=
12939 export_dynamic_flag_spec_FC=
12940 hardcode_direct_FC=no
12941 hardcode_direct_absolute_FC=no
12942 hardcode_libdir_flag_spec_FC=
12943 hardcode_libdir_flag_spec_ld_FC=
12944 hardcode_libdir_separator_FC=
12945 hardcode_minus_L_FC=no
12946 hardcode_automatic_FC=no
12947 inherit_rpath_FC=no
12949 module_expsym_cmds_FC=
12950 link_all_deplibs_FC=unknown
12951 old_archive_cmds_FC=$old_archive_cmds
12952 reload_flag_FC=$reload_flag
12953 reload_cmds_FC=$reload_cmds
12954 no_undefined_flag_FC=
12955 whole_archive_flag_spec_FC=
12956 enable_shared_with_static_runtimes_FC=no
12958 # Source file extension for fc test sources.
12959 ac_ext=${ac_fc_srcext-f}
12961 # Object file extension for compiled fc test sources.
12965 # No sense in running all these tests if we already determined that
12966 # the FC compiler isn't working. Some variables
(like enable_shared
)
12967 # are currently assumed to apply to all compilers on this platform,
12968 # and will be corrupted by setting them based on a non-working compiler.
12969 if test "$_lt_disable_FC" != yes; then
12970 # Code to be used in simple compile tests
12971 lt_simple_compile_test_code
="\
12977 # Code to be used in simple link tests
12978 lt_simple_link_test_code
="\
12983 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12990 # If no C compiler was specified, use CC.
12993 # If no C compiler flags were specified, use CFLAGS.
12994 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12996 # Allow CC to be a program name with arguments.
13000 # save warnings/boilerplate of simple test code
13001 ac_outfile
=conftest.
$ac_objext
13002 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13003 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13004 _lt_compiler_boilerplate
=`cat conftest.err`
13007 ac_outfile
=conftest.
$ac_objext
13008 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13009 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13010 _lt_linker_boilerplate
=`cat conftest.err`
13014 # Allow CC to be a program name with arguments.
13019 GCC
=$ac_cv_fc_compiler_gnu
13022 for cc_temp
in $compiler""; do
13024 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13025 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13030 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13033 if test -n "$compiler"; then
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13035 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13037 $as_echo "$can_build_shared" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13040 $as_echo_n "checking whether to build shared libraries... " >&6; }
13041 test "$can_build_shared" = "no" && enable_shared
=no
13043 # On AIX, shared libraries and static libraries use the same namespace, and
13044 # are all built from PIC.
13047 test "$enable_shared" = yes && enable_static
=no
13048 if test -n "$RANLIB"; then
13049 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13050 postinstall_cmds
='$RANLIB $lib'
13054 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13055 test "$enable_shared" = yes && enable_static
=no
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13060 $as_echo "$enable_shared" >&6; }
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13063 $as_echo_n "checking whether to build static libraries... " >&6; }
13064 # Make sure either enable_shared or enable_static is yes.
13065 test "$enable_shared" = yes || enable_static
=yes
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13067 $as_echo "$enable_static" >&6; }
13069 GCC_FC
="$ac_cv_fc_compiler_gnu"
13073 ## There is no encapsulation within the following macros, do not change
13074 ## the running order or otherwise move them around unless you know exactly
13075 ## what you are doing...
13076 # Dependencies to place before and after the object being linked:
13078 postdep_objects_FC
=
13081 compiler_lib_search_path_FC
=
13083 cat > conftest.
$ac_ext <<_LT_EOF
13092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13093 (eval $ac_compile) 2>&5
13095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13096 test $ac_status = 0; }; then
13097 # Parse the compiler output and extract the necessary
13098 # objects, libraries and library flags.
13100 # Sentinel used to keep track of whether or not we are before
13101 # the conftest object file.
13102 pre_test_object_deps_done
=no
13104 for p
in `eval "$output_verbose_link_cmd"`; do
13108 # Some compilers place space between "-{L,R}" and the path.
13109 # Remove the space.
13110 if test $p = "-L" ||
13111 test $p = "-R"; then
13118 if test "$pre_test_object_deps_done" = no
; then
13121 # Internal compiler library paths should come after those
13122 # provided the user. The postdeps already come after the
13123 # user supplied libs so there is no need to process them.
13124 if test -z "$compiler_lib_search_path_FC"; then
13125 compiler_lib_search_path_FC
="${prev}${p}"
13127 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13130 # The "-l" case would never come before the object being
13131 # linked, so don't bother handling this case.
13134 if test -z "$postdeps_FC"; then
13135 postdeps_FC
="${prev}${p}"
13137 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13143 # This assumes that the test object file only shows up
13144 # once in the compiler output.
13145 if test "$p" = "conftest.$objext"; then
13146 pre_test_object_deps_done
=yes
13150 if test "$pre_test_object_deps_done" = no
; then
13151 if test -z "$predep_objects_FC"; then
13152 predep_objects_FC
="$p"
13154 predep_objects_FC
="$predep_objects_FC $p"
13157 if test -z "$postdep_objects_FC"; then
13158 postdep_objects_FC
="$p"
13160 postdep_objects_FC
="$postdep_objects_FC $p"
13165 *) ;; # Ignore the rest.
13173 echo "libtool.m4: error: problem compiling FC test program"
13176 $RM -f confest.
$objext
13178 # PORTME: override above test on systems where it is broken
13181 case " $postdeps_FC " in
13182 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13184 compiler_lib_search_dirs_FC
=
13185 if test -n "${compiler_lib_search_path_FC}"; then
13186 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13219 lt_prog_compiler_wl_FC
=
13220 lt_prog_compiler_pic_FC
=
13221 lt_prog_compiler_static_FC
=
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13224 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13226 if test "$GCC" = yes; then
13227 lt_prog_compiler_wl_FC
='-Wl,'
13228 lt_prog_compiler_static_FC
='-static'
13232 # All AIX code is PIC.
13233 if test "$host_cpu" = ia64
; then
13234 # AIX 5 now supports IA64 processor
13235 lt_prog_compiler_static_FC
='-Bstatic'
13237 lt_prog_compiler_pic_FC
='-fPIC'
13243 # see comment about AmigaOS4 .so support
13244 lt_prog_compiler_pic_FC
='-fPIC'
13247 # FIXME: we need at least 68020 code to build shared libraries, but
13248 # adding the `-m68020' flag to GCC prevents building anything better,
13250 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13255 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13256 # PIC is the default for these OSes.
13259 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13260 # This hack is so that the source file can tell whether it is being
13261 # built for inclusion in a dll (and should export symbols for example).
13262 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13263 # (--disable-auto-import) libraries
13264 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13267 darwin
* | rhapsody
*)
13268 # PIC is the default on this platform
13269 # Common symbols not allowed in MH_DYLIB files
13270 lt_prog_compiler_pic_FC
='-fno-common'
13274 # PIC is the default for Haiku.
13275 # The "-static" flag exists, but is broken.
13276 lt_prog_compiler_static_FC
=
13280 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13281 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13282 # sets the default TLS model and affects inlining.
13288 lt_prog_compiler_pic_FC
='-fPIC'
13294 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13295 # Instead, we relocate shared libraries at runtime.
13299 # Just because we use GCC doesn't mean we suddenly get shared libraries
13300 # on systems that don't support them.
13301 lt_prog_compiler_can_build_shared_FC
=no
13306 # QNX uses GNU C++, but need to define -shared option too, otherwise
13307 # it will coredump.
13308 lt_prog_compiler_pic_FC
='-fPIC -shared'
13312 if test -d /usr
/nec
; then
13313 lt_prog_compiler_pic_FC
=-Kconform_pic
13318 lt_prog_compiler_pic_FC
='-fPIC'
13322 case $cc_basename in
13323 nvcc
*) # Cuda Compiler Driver 2.2
13324 lt_prog_compiler_wl_FC
='-Xlinker '
13325 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13329 # PORTME Check for flag to pass linker flags through the system compiler.
13332 lt_prog_compiler_wl_FC
='-Wl,'
13333 if test "$host_cpu" = ia64
; then
13334 # AIX 5 now supports IA64 processor
13335 lt_prog_compiler_static_FC
='-Bstatic'
13337 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13341 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13342 # This hack is so that the source file can tell whether it is being
13343 # built for inclusion in a dll (and should export symbols for example).
13344 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13347 hpux9
* | hpux10
* | hpux11
*)
13348 lt_prog_compiler_wl_FC
='-Wl,'
13349 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13350 # not for PA HP-UX.
13356 lt_prog_compiler_pic_FC
='+Z'
13359 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13360 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13363 irix5
* | irix6
* | nonstopux
*)
13364 lt_prog_compiler_wl_FC
='-Wl,'
13365 # PIC (with -KPIC) is the default.
13366 lt_prog_compiler_static_FC
='-non_shared'
13369 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13370 case $cc_basename in
13371 # old Intel for x86_64 which still supported -KPIC.
13373 lt_prog_compiler_wl_FC
='-Wl,'
13374 lt_prog_compiler_pic_FC
='-KPIC'
13375 lt_prog_compiler_static_FC
='-static'
13377 # icc used to be incompatible with GCC.
13378 # ICC 10 doesn't accept -KPIC any more.
13380 lt_prog_compiler_wl_FC
='-Wl,'
13381 lt_prog_compiler_pic_FC
='-fPIC'
13382 lt_prog_compiler_static_FC
='-static'
13384 # Lahey Fortran 8.1.
13386 lt_prog_compiler_wl_FC
='-Wl,'
13387 lt_prog_compiler_pic_FC
='--shared'
13388 lt_prog_compiler_static_FC
='--static'
13390 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13391 # Portland Group compilers (*not* the Pentium gcc compiler,
13392 # which looks to be a dead project)
13393 lt_prog_compiler_wl_FC
='-Wl,'
13394 lt_prog_compiler_pic_FC
='-fpic'
13395 lt_prog_compiler_static_FC
='-Bstatic'
13398 lt_prog_compiler_wl_FC
='-Wl,'
13399 # All Alpha code is PIC.
13400 lt_prog_compiler_static_FC
='-non_shared'
13402 xl
* | bgxl
* | bgf
* | mpixl
*)
13403 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13404 lt_prog_compiler_wl_FC
='-Wl,'
13405 lt_prog_compiler_pic_FC
='-qpic'
13406 lt_prog_compiler_static_FC
='-qstaticlink'
13409 case `$CC -V 2>&1 | sed 5q` in
13410 *Sun\ F
* |
*Sun
*Fortran
*)
13411 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13412 lt_prog_compiler_pic_FC
='-KPIC'
13413 lt_prog_compiler_static_FC
='-Bstatic'
13414 lt_prog_compiler_wl_FC
=''
13418 lt_prog_compiler_pic_FC
='-KPIC'
13419 lt_prog_compiler_static_FC
='-Bstatic'
13420 lt_prog_compiler_wl_FC
='-Wl,'
13428 lt_prog_compiler_pic_FC
='-KPIC'
13429 lt_prog_compiler_static_FC
='-Bstatic'
13433 # QNX uses GNU C++, but need to define -shared option too, otherwise
13434 # it will coredump.
13435 lt_prog_compiler_pic_FC
='-fPIC -shared'
13438 osf3
* | osf4
* | osf5
*)
13439 lt_prog_compiler_wl_FC
='-Wl,'
13440 # All OSF/1 code is PIC.
13441 lt_prog_compiler_static_FC
='-non_shared'
13445 lt_prog_compiler_static_FC
='-non_shared'
13449 lt_prog_compiler_pic_FC
='-KPIC'
13450 lt_prog_compiler_static_FC
='-Bstatic'
13451 case $cc_basename in
13452 f77
* | f90
* | f95
*)
13453 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13455 lt_prog_compiler_wl_FC
='-Wl,';;
13460 lt_prog_compiler_wl_FC
='-Qoption ld '
13461 lt_prog_compiler_pic_FC
='-PIC'
13462 lt_prog_compiler_static_FC
='-Bstatic'
13465 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13466 lt_prog_compiler_wl_FC
='-Wl,'
13467 lt_prog_compiler_pic_FC
='-KPIC'
13468 lt_prog_compiler_static_FC
='-Bstatic'
13472 if test -d /usr
/nec
;then
13473 lt_prog_compiler_pic_FC
='-Kconform_pic'
13474 lt_prog_compiler_static_FC
='-Bstatic'
13478 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13479 lt_prog_compiler_wl_FC
='-Wl,'
13480 lt_prog_compiler_pic_FC
='-KPIC'
13481 lt_prog_compiler_static_FC
='-Bstatic'
13485 lt_prog_compiler_wl_FC
='-Wl,'
13486 lt_prog_compiler_can_build_shared_FC
=no
13490 lt_prog_compiler_pic_FC
='-pic'
13491 lt_prog_compiler_static_FC
='-Bstatic'
13495 lt_prog_compiler_can_build_shared_FC
=no
13501 # For platforms which do not support PIC, -DPIC is meaningless:
13503 lt_prog_compiler_pic_FC
=
13506 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13510 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13515 # Check to make sure the PIC flag actually works.
13517 if test -n "$lt_prog_compiler_pic_FC"; then
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13519 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13520 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13521 $as_echo_n "(cached) " >&6
13523 lt_cv_prog_compiler_pic_works_FC
=no
13524 ac_outfile
=conftest.
$ac_objext
13525 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13526 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13527 # Insert the option either (1) after the last *FLAGS variable, or
13528 # (2) before a word containing "conftest.", or (3) at the end.
13529 # Note that $ac_compile itself does not contain backslashes and begins
13530 # with a dollar sign (not a hyphen), so the echo should work correctly.
13531 # The option is referenced via a variable to avoid confusing sed.
13532 lt_compile
=`echo "$ac_compile" | $SED \
13533 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13534 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13535 -e 's:$: $lt_compiler_flag:'`
13536 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13537 (eval "$lt_compile" 2>conftest.err
)
13539 cat conftest.err
>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 if (exit $ac_status) && test -s "$ac_outfile"; then
13542 # The compiler can only warn and ignore the option if not recognized
13543 # So say no if there are warnings other than the usual output.
13544 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13545 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13546 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13547 lt_cv_prog_compiler_pic_works_FC
=yes
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13554 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13556 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13557 case $lt_prog_compiler_pic_FC in
13559 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13562 lt_prog_compiler_pic_FC
=
13563 lt_prog_compiler_can_build_shared_FC
=no
13571 # Check to make sure the static flag actually works.
13573 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13575 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13576 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13577 $as_echo_n "(cached) " >&6
13579 lt_cv_prog_compiler_static_works_FC
=no
13580 save_LDFLAGS
="$LDFLAGS"
13581 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13582 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13583 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13584 # The linker can only warn and ignore the option if not recognized
13585 # So say no if there are warnings
13586 if test -s conftest.err
; then
13587 # Append any errors to the config.log.
13588 cat conftest.err
1>&5
13589 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13590 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13591 if diff conftest.exp conftest.er2
>/dev
/null
; then
13592 lt_cv_prog_compiler_static_works_FC
=yes
13595 lt_cv_prog_compiler_static_works_FC
=yes
13599 LDFLAGS
="$save_LDFLAGS"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13603 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13605 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13608 lt_prog_compiler_static_FC
=
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13615 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13616 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13617 $as_echo_n "(cached) " >&6
13619 lt_cv_prog_compiler_c_o_FC
=no
13620 $RM -r conftest
2>/dev
/null
13624 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13626 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13627 # Insert the option either (1) after the last *FLAGS variable, or
13628 # (2) before a word containing "conftest.", or (3) at the end.
13629 # Note that $ac_compile itself does not contain backslashes and begins
13630 # with a dollar sign (not a hyphen), so the echo should work correctly.
13631 lt_compile
=`echo "$ac_compile" | $SED \
13632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13634 -e 's:$: $lt_compiler_flag:'`
13635 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13636 (eval "$lt_compile" 2>out
/conftest.err
)
13638 cat out
/conftest.err
>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13642 # The compiler can only warn and ignore the option if not recognized
13643 # So say no if there are warnings
13644 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13645 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13646 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13647 lt_cv_prog_compiler_c_o_FC
=yes
13652 # SGI C++ compiler will create directory out/ii_files/ for
13653 # template instantiation
13654 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13655 $RM out
/* && rmdir out
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13662 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13668 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13669 $as_echo_n "(cached) " >&6
13671 lt_cv_prog_compiler_c_o_FC
=no
13672 $RM -r conftest
2>/dev
/null
13676 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13678 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13679 # Insert the option either (1) after the last *FLAGS variable, or
13680 # (2) before a word containing "conftest.", or (3) at the end.
13681 # Note that $ac_compile itself does not contain backslashes and begins
13682 # with a dollar sign (not a hyphen), so the echo should work correctly.
13683 lt_compile
=`echo "$ac_compile" | $SED \
13684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13686 -e 's:$: $lt_compiler_flag:'`
13687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13688 (eval "$lt_compile" 2>out
/conftest.err
)
13690 cat out
/conftest.err
>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13694 # The compiler can only warn and ignore the option if not recognized
13695 # So say no if there are warnings
13696 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13697 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13698 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13699 lt_cv_prog_compiler_c_o_FC
=yes
13704 # SGI C++ compiler will create directory out/ii_files/ for
13705 # template instantiation
13706 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13707 $RM out
/* && rmdir out
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13714 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13719 hard_links
="nottested"
13720 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13721 # do not overwrite the value of need_locks provided by the user
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13723 $as_echo_n "checking if we can lock with hard links... " >&6; }
13726 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13728 ln conftest.a conftest.b
2>&5 || hard_links
=no
13729 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13731 $as_echo "$hard_links" >&6; }
13732 if test "$hard_links" = no
; then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13744 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13747 allow_undefined_flag_FC
=
13748 always_export_symbols_FC
=no
13750 archive_expsym_cmds_FC
=
13751 compiler_needs_object_FC
=no
13752 enable_shared_with_static_runtimes_FC
=no
13753 export_dynamic_flag_spec_FC
=
13754 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13755 hardcode_automatic_FC
=no
13756 hardcode_direct_FC
=no
13757 hardcode_direct_absolute_FC
=no
13758 hardcode_libdir_flag_spec_FC
=
13759 hardcode_libdir_flag_spec_ld_FC
=
13760 hardcode_libdir_separator_FC
=
13761 hardcode_minus_L_FC
=no
13762 hardcode_shlibpath_var_FC
=unsupported
13763 inherit_rpath_FC
=no
13764 link_all_deplibs_FC
=unknown
13766 module_expsym_cmds_FC
=
13767 old_archive_from_new_cmds_FC
=
13768 old_archive_from_expsyms_cmds_FC
=
13769 thread_safe_flag_spec_FC
=
13770 whole_archive_flag_spec_FC
=
13771 # include_expsyms should be a list of space-separated symbols to be *always*
13772 # included in the symbol list
13773 include_expsyms_FC
=
13774 # exclude_expsyms can be an extended regexp of symbols to exclude
13775 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13776 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13777 # as well as any symbol that contains `d'.
13778 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13779 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13780 # platforms (ab)use it in PIC code, but their linkers get confused if
13781 # the symbol is explicitly referenced. Since portable code cannot
13782 # rely on this symbol name, it's probably fine to never include it in
13783 # preloaded symbol tables.
13784 # Exclude shared library initialization/finalization symbols.
13785 extract_expsyms_cmds
=
13788 cygwin
* | mingw
* | pw32
* | cegcc
*)
13789 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13790 # When not using gcc, we currently assume that we are using
13791 # Microsoft Visual C++.
13792 if test "$GCC" != yes; then
13797 # we just hope/assume this is gcc and not c89 (= MSVC++)
13807 # On some targets, GNU ld is compatible enough with the native linker
13808 # that we're better off using the native interface for both.
13809 lt_use_gnu_ld_interface
=no
13810 if test "$with_gnu_ld" = yes; then
13813 # The AIX port of GNU ld has always aspired to compatibility
13814 # with the native linker. However, as the warning in the GNU ld
13815 # block says, versions before 2.19.5* couldn't really create working
13816 # shared libraries, regardless of the interface used.
13817 case `$LD -v 2>&1` in
13818 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13819 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13820 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13822 lt_use_gnu_ld_interface
=yes
13827 lt_use_gnu_ld_interface
=yes
13832 if test "$lt_use_gnu_ld_interface" = yes; then
13833 # If archive_cmds runs LD, not CC, wlarc should be empty
13836 # Set some defaults for GNU ld with shared library support. These
13837 # are reset later if shared libraries are not supported. Putting them
13838 # here allows them to be overridden if necessary.
13839 runpath_var
=LD_RUN_PATH
13840 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13841 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13842 # ancient GNU ld didn't support --whole-archive et. al.
13843 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13844 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13846 whole_archive_flag_spec_FC
=
13848 supports_anon_versioning
=no
13849 case `$LD -v 2>&1` in
13850 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13851 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13852 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13853 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13854 *\
2.11.
*) ;; # other 2.11 versions
13855 *) supports_anon_versioning
=yes ;;
13858 # See if GNU ld supports shared libraries.
13861 # On AIX/PPC, the GNU linker is very broken
13862 if test "$host_cpu" != ia64
; then
13866 *** Warning: the GNU linker, at least up to release 2.19, is reported
13867 *** to be unable to reliably create shared libraries on AIX.
13868 *** Therefore, libtool is disabling shared libraries support. If you
13869 *** really care for shared libraries, you may want to install binutils
13870 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13871 *** You will then need to restart the configuration process.
13880 # see comment about AmigaOS4 .so support
13881 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13882 archive_expsym_cmds_FC
=''
13885 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)'
13886 hardcode_libdir_flag_spec_FC
='-L$libdir'
13887 hardcode_minus_L_FC
=yes
13893 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13894 allow_undefined_flag_FC
=unsupported
13895 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13896 # support --undefined. This deserves some investigation. FIXME
13897 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13903 cygwin
* | mingw
* | pw32
* | cegcc
*)
13904 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13905 # as there is no search path for DLLs.
13906 hardcode_libdir_flag_spec_FC
='-L$libdir'
13907 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13908 allow_undefined_flag_FC
=unsupported
13909 always_export_symbols_FC
=no
13910 enable_shared_with_static_runtimes_FC
=yes
13911 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13913 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13914 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13915 # If the export-symbols file already is a .def file (1st line
13916 # is EXPORTS), use it as is; otherwise, prepend...
13917 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13918 cp $export_symbols $output_objdir/$soname.def;
13920 echo EXPORTS > $output_objdir/$soname.def;
13921 cat $export_symbols >> $output_objdir/$soname.def;
13923 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13930 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13931 link_all_deplibs_FC
=yes
13935 hardcode_direct_FC
=no
13936 hardcode_shlibpath_var_FC
=no
13937 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13938 export_dynamic_flag_spec_FC
='${wl}-E'
13939 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13940 # Instead, shared libraries are loaded at an image base (0x10000000 by
13941 # default) and relocated if they conflict, which is a slow very memory
13942 # consuming and fragmenting process. To avoid this, we pick a random,
13943 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13944 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13945 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'
13946 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'
13949 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13951 if test "$host_os" = linux-dietlibc
; then
13952 case $cc_basename in
13953 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13956 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13957 && test "$tmp_diet" = no
13960 tmp_sharedflag
='-shared'
13961 case $cc_basename,$host_cpu in
13962 pgcc
*) # Portland Group C compiler
13963 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'
13964 tmp_addflag
=' $pic_flag'
13966 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13967 # Portland Group f77 and f90 compilers
13968 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'
13969 tmp_addflag
=' $pic_flag -Mnomain' ;;
13970 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13971 tmp_addflag
=' -i_dynamic' ;;
13972 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13973 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13974 ifc
* | ifort
*) # Intel Fortran compiler
13975 tmp_addflag
=' -nofor_main' ;;
13976 lf95
*) # Lahey Fortran 8.1
13977 whole_archive_flag_spec_FC
=
13978 tmp_sharedflag
='--shared' ;;
13979 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13980 tmp_sharedflag
='-qmkshrobj'
13982 nvcc
*) # Cuda Compiler Driver 2.2
13983 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'
13984 compiler_needs_object_FC
=yes
13987 case `$CC -V 2>&1 | sed 5q` in
13988 *Sun\ C
*) # Sun C 5.9
13989 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'
13990 compiler_needs_object_FC
=yes
13991 tmp_sharedflag
='-G' ;;
13992 *Sun\ F
*) # Sun Fortran 8.3
13993 tmp_sharedflag
='-G' ;;
13995 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13997 if test "x$supports_anon_versioning" = xyes
; then
13998 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13999 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14000 echo "local: *; };" >> $output_objdir/$libname.ver~
14001 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14004 case $cc_basename in
14005 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14006 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14007 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14008 hardcode_libdir_flag_spec_FC
=
14009 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14010 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14011 if test "x$supports_anon_versioning" = xyes
; then
14012 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14013 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14014 echo "local: *; };" >> $output_objdir/$libname.ver~
14015 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14025 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14026 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14029 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14030 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14035 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14039 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14040 *** create shared libraries on Solaris systems. Therefore, libtool
14041 *** is disabling shared libraries support. We urge you to upgrade GNU
14042 *** binutils to release 2.9.1 or newer. Another option is to modify
14043 *** your PATH or compiler configuration so that the native linker is
14044 *** used, and then restart.
14047 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14048 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14049 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14055 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14056 case `$LD -v 2>&1` in
14057 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14061 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14062 *** reliably create shared libraries on SCO systems. Therefore, libtool
14063 *** is disabling shared libraries support. We urge you to upgrade GNU
14064 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14065 *** your PATH or compiler configuration so that the native linker is
14066 *** used, and then restart.
14071 # For security reasons, it is highly recommended that you always
14072 # use absolute paths for naming shared libraries, and exclude the
14073 # DT_RUNPATH tag from executables and libraries. But doing so
14074 # requires that you compile everything twice, which is a pain.
14075 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14076 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14077 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14078 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14087 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14089 hardcode_direct_FC
=yes
14090 hardcode_shlibpath_var_FC
=no
14094 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14095 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14096 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14103 if test "$ld_shlibs_FC" = no
; then
14105 hardcode_libdir_flag_spec_FC
=
14106 export_dynamic_flag_spec_FC
=
14107 whole_archive_flag_spec_FC
=
14110 # PORTME fill in a description of your system's linker (not GNU ld)
14113 allow_undefined_flag_FC
=unsupported
14114 always_export_symbols_FC
=yes
14115 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'
14116 # Note: this linker hardcodes the directories in LIBPATH if there
14117 # are no directories specified by -L.
14118 hardcode_minus_L_FC
=yes
14119 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14120 # Neither direct hardcoding nor static linking is supported with a
14122 hardcode_direct_FC
=unsupported
14127 if test "$host_cpu" = ia64
; then
14128 # On IA64, the linker does run time linking by default, so we don't
14129 # have to do anything special.
14130 aix_use_runtimelinking
=no
14131 exp_sym_flag
='-Bexport'
14134 # If we're using GNU nm, then we don't want the "-C" option.
14135 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14136 # Also, AIX nm treats weak defined symbols like other global
14137 # defined symbols, whereas GNU nm marks them as "W".
14138 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14139 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'
14141 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'
14143 aix_use_runtimelinking
=no
14145 # Test if we are trying to use run time linking or normal
14146 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14147 # need to do runtime linking.
14148 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14149 for ld_flag
in $LDFLAGS; do
14150 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14151 aix_use_runtimelinking
=yes
14158 exp_sym_flag
='-bexport'
14159 no_entry_flag
='-bnoentry'
14162 # When large executables or shared objects are built, AIX ld can
14163 # have problems creating the table of contents. If linking a library
14164 # or program results in "error TOC overflow" add -mminimal-toc to
14165 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14166 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14169 hardcode_direct_FC
=yes
14170 hardcode_direct_absolute_FC
=yes
14171 hardcode_libdir_separator_FC
=':'
14172 link_all_deplibs_FC
=yes
14173 file_list_spec_FC
='${wl}-f,'
14175 if test "$GCC" = yes; then
14176 case $host_os in aix4.
[012]|aix4.
[012].
*)
14177 # We only want to do this on AIX 4.2 and lower, the check
14178 # below for broken collect2 doesn't work under 4.3+
14179 collect2name
=`${CC} -print-prog-name=collect2`
14180 if test -f "$collect2name" &&
14181 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14183 # We have reworked collect2
14186 # We have old collect2
14187 hardcode_direct_FC
=unsupported
14188 # It fails to find uninstalled libraries when the uninstalled
14189 # path is not listed in the libpath. Setting hardcode_minus_L
14190 # to unsupported forces relinking
14191 hardcode_minus_L_FC
=yes
14192 hardcode_libdir_flag_spec_FC
='-L$libdir'
14193 hardcode_libdir_separator_FC
=
14197 shared_flag
='-shared'
14198 if test "$aix_use_runtimelinking" = yes; then
14199 shared_flag
="$shared_flag "'${wl}-G'
14203 if test "$host_cpu" = ia64
; then
14204 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14205 # chokes on -Wl,-G. The following line is correct:
14208 if test "$aix_use_runtimelinking" = yes; then
14209 shared_flag
='${wl}-G'
14211 shared_flag
='${wl}-bM:SRE'
14216 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14217 # It seems that -bexpall does not export symbols beginning with
14218 # underscore (_), so it is better to generate a list of symbols to export.
14219 always_export_symbols_FC
=yes
14220 if test "$aix_use_runtimelinking" = yes; then
14221 # Warning - without using the other runtime loading flags (-brtl),
14222 # -berok will link without error, but may produce a broken library.
14223 allow_undefined_flag_FC
='-berok'
14224 # Determine the default libpath from the value encoded in an
14225 # empty executable.
14226 if test x
$gcc_no_link = xyes
; then
14227 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14229 cat > conftest.
$ac_ext <<_ACEOF
14234 if ac_fn_fc_try_link
"$LINENO"; then :
14236 lt_aix_libpath_sed
='
14237 /Import File Strings/,/^$/ {
14243 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14244 # Check for a 64-bit object if we didn't find anything.
14245 if test -z "$aix_libpath"; then
14246 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14249 rm -f core conftest.err conftest.
$ac_objext \
14250 conftest
$ac_exeext conftest.
$ac_ext
14251 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14253 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14254 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"
14256 if test "$host_cpu" = ia64
; then
14257 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14258 allow_undefined_flag_FC
="-z nodefs"
14259 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"
14261 # Determine the default libpath from the value encoded in an
14262 # empty executable.
14263 if test x
$gcc_no_link = xyes
; then
14264 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14266 cat > conftest.
$ac_ext <<_ACEOF
14271 if ac_fn_fc_try_link
"$LINENO"; then :
14273 lt_aix_libpath_sed
='
14274 /Import File Strings/,/^$/ {
14280 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14281 # Check for a 64-bit object if we didn't find anything.
14282 if test -z "$aix_libpath"; then
14283 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14286 rm -f core conftest.err conftest.
$ac_objext \
14287 conftest
$ac_exeext conftest.
$ac_ext
14288 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14290 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14291 # Warning - without using the other run time loading flags,
14292 # -berok will link without error, but may produce a broken library.
14293 no_undefined_flag_FC
=' ${wl}-bernotok'
14294 allow_undefined_flag_FC
=' ${wl}-berok'
14295 if test "$with_gnu_ld" = yes; then
14296 # We only use this code for GNU lds that support --whole-archive.
14297 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14299 # Exported symbols can be pulled into shared objects from archives
14300 whole_archive_flag_spec_FC
='$convenience'
14302 archive_cmds_need_lc_FC
=yes
14303 # This is similar to how AIX traditionally builds its shared libraries.
14304 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'
14312 # see comment about AmigaOS4 .so support
14313 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14314 archive_expsym_cmds_FC
=''
14317 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)'
14318 hardcode_libdir_flag_spec_FC
='-L$libdir'
14319 hardcode_minus_L_FC
=yes
14325 export_dynamic_flag_spec_FC
=-rdynamic
14328 cygwin
* | mingw
* | pw32
* | cegcc
*)
14329 # When not using gcc, we currently assume that we are using
14330 # Microsoft Visual C++.
14331 # hardcode_libdir_flag_spec is actually meaningless, as there is
14332 # no search path for DLLs.
14333 hardcode_libdir_flag_spec_FC
=' '
14334 allow_undefined_flag_FC
=unsupported
14335 # Tell ltmain to make .lib files, not .a files.
14337 # Tell ltmain to make .dll files, not .so files.
14339 # FIXME: Setting linknames here is a bad hack.
14340 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14341 # The linker will automatically build a .lib file if we build a DLL.
14342 old_archive_from_new_cmds_FC
='true'
14343 # FIXME: Should let the user specify the lib program.
14344 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14345 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14346 enable_shared_with_static_runtimes_FC
=yes
14349 darwin
* | rhapsody
*)
14352 archive_cmds_need_lc_FC
=no
14353 hardcode_direct_FC
=no
14354 hardcode_automatic_FC
=yes
14355 hardcode_shlibpath_var_FC
=unsupported
14356 if test "$lt_cv_ld_force_load" = "yes"; then
14357 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\"`'
14359 whole_archive_flag_spec_FC
=''
14361 link_all_deplibs_FC
=yes
14362 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14363 case $cc_basename in
14364 ifort
*) _lt_dar_can_shared
=yes ;;
14365 *) _lt_dar_can_shared
=$GCC ;;
14367 if test "$_lt_dar_can_shared" = "yes"; then
14368 output_verbose_link_cmd
=func_echo_all
14369 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}"
14370 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14371 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}"
14372 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}"
14381 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14382 hardcode_libdir_flag_spec_FC
='-L$libdir'
14383 hardcode_shlibpath_var_FC
=no
14386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14387 # support. Future versions do this automatically, but an explicit c++rt0.o
14388 # does not break anything, and helps significantly (at the cost of a little
14391 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14392 hardcode_libdir_flag_spec_FC
='-R$libdir'
14393 hardcode_direct_FC
=yes
14394 hardcode_shlibpath_var_FC
=no
14397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14399 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14400 hardcode_direct_FC
=yes
14401 hardcode_minus_L_FC
=yes
14402 hardcode_shlibpath_var_FC
=no
14405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14406 freebsd
* | dragonfly
*)
14407 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14408 hardcode_libdir_flag_spec_FC
='-R$libdir'
14409 hardcode_direct_FC
=yes
14410 hardcode_shlibpath_var_FC
=no
14414 if test "$GCC" = yes; then
14415 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'
14417 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'
14419 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14420 hardcode_libdir_separator_FC
=:
14421 hardcode_direct_FC
=yes
14423 # hardcode_minus_L: Not really in the search PATH,
14424 # but as the default location of the library.
14425 hardcode_minus_L_FC
=yes
14426 export_dynamic_flag_spec_FC
='${wl}-E'
14430 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14431 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14433 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14435 if test "$with_gnu_ld" = no
; then
14436 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14437 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14438 hardcode_libdir_separator_FC
=:
14439 hardcode_direct_FC
=yes
14440 hardcode_direct_absolute_FC
=yes
14441 export_dynamic_flag_spec_FC
='${wl}-E'
14442 # hardcode_minus_L: Not really in the search PATH,
14443 # but as the default location of the library.
14444 hardcode_minus_L_FC
=yes
14449 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14452 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14455 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14458 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14464 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14467 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14470 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14474 if test "$with_gnu_ld" = no
; then
14475 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14476 hardcode_libdir_separator_FC
=:
14480 hardcode_direct_FC
=no
14481 hardcode_shlibpath_var_FC
=no
14484 hardcode_direct_FC
=yes
14485 hardcode_direct_absolute_FC
=yes
14486 export_dynamic_flag_spec_FC
='${wl}-E'
14488 # hardcode_minus_L: Not really in the search PATH,
14489 # but as the default location of the library.
14490 hardcode_minus_L_FC
=yes
14496 irix5
* | irix6
* | nonstopux
*)
14497 if test "$GCC" = yes; then
14498 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'
14499 # Try to use the -exported_symbol ld option, if it does not
14500 # work, assume that -exports_file does not work either and
14501 # implicitly export all symbols.
14502 save_LDFLAGS
="$LDFLAGS"
14503 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14504 if test x
$gcc_no_link = xyes
; then
14505 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14507 cat > conftest.
$ac_ext <<_ACEOF
14510 if ac_fn_fc_try_link
"$LINENO"; then :
14511 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'
14514 rm -f core conftest.err conftest.
$ac_objext \
14515 conftest
$ac_exeext conftest.
$ac_ext
14516 LDFLAGS
="$save_LDFLAGS"
14518 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'
14519 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'
14521 archive_cmds_need_lc_FC
='no'
14522 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14523 hardcode_libdir_separator_FC
=:
14524 inherit_rpath_FC
=yes
14525 link_all_deplibs_FC
=yes
14529 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14530 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14532 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14534 hardcode_libdir_flag_spec_FC
='-R$libdir'
14535 hardcode_direct_FC
=yes
14536 hardcode_shlibpath_var_FC
=no
14540 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14541 hardcode_direct_FC
=yes
14542 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14543 hardcode_libdir_separator_FC
=:
14544 hardcode_shlibpath_var_FC
=no
14551 if test -f /usr
/libexec
/ld.so
; then
14552 hardcode_direct_FC
=yes
14553 hardcode_shlibpath_var_FC
=no
14554 hardcode_direct_absolute_FC
=yes
14555 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14556 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14557 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14558 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14559 export_dynamic_flag_spec_FC
='${wl}-E'
14562 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14563 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14564 hardcode_libdir_flag_spec_FC
='-R$libdir'
14567 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14568 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14578 hardcode_libdir_flag_spec_FC
='-L$libdir'
14579 hardcode_minus_L_FC
=yes
14580 allow_undefined_flag_FC
=unsupported
14581 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'
14582 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14586 if test "$GCC" = yes; then
14587 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14588 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'
14590 allow_undefined_flag_FC
=' -expect_unresolved \*'
14591 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'
14593 archive_cmds_need_lc_FC
='no'
14594 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14595 hardcode_libdir_separator_FC
=:
14598 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14599 if test "$GCC" = yes; then
14600 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14601 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'
14602 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14604 allow_undefined_flag_FC
=' -expect_unresolved \*'
14605 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'
14606 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~
14607 $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'
14609 # Both c and cxx compiler support -rpath directly
14610 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14612 archive_cmds_need_lc_FC
='no'
14613 hardcode_libdir_separator_FC
=:
14617 no_undefined_flag_FC
=' -z defs'
14618 if test "$GCC" = yes; then
14620 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14621 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14622 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14624 case `$CC -V 2>&1` in
14627 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14628 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14629 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14633 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14634 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14635 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14639 hardcode_libdir_flag_spec_FC
='-R$libdir'
14640 hardcode_shlibpath_var_FC
=no
14642 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14644 # The compiler driver will combine and reorder linker options,
14645 # but understands `-z linker_flag'. GCC discards it without `$wl',
14646 # but is careful enough not to reorder.
14647 # Supported since Solaris 2.6 (maybe 2.5.1?)
14648 if test "$GCC" = yes; then
14649 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14651 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14655 link_all_deplibs_FC
=yes
14659 if test "x$host_vendor" = xsequent
; then
14660 # Use $CC to link under sequent, because it throws in some extra .o
14661 # files that make .init and .fini sections work.
14662 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14664 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14666 hardcode_libdir_flag_spec_FC
='-L$libdir'
14667 hardcode_direct_FC
=yes
14668 hardcode_minus_L_FC
=yes
14669 hardcode_shlibpath_var_FC
=no
14673 case $host_vendor in
14675 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14676 hardcode_direct_FC
=yes # is this really true???
14679 ## LD is ld it makes a PLAMLIB
14680 ## CC just makes a GrossModule.
14681 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14682 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14683 hardcode_direct_FC
=no
14686 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14687 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14690 runpath_var
='LD_RUN_PATH'
14691 hardcode_shlibpath_var_FC
=no
14695 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14696 hardcode_shlibpath_var_FC
=no
14697 export_dynamic_flag_spec_FC
='-Bexport'
14701 if test -d /usr
/nec
; then
14702 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14703 hardcode_shlibpath_var_FC
=no
14704 runpath_var
=LD_RUN_PATH
14705 hardcode_runpath_var
=yes
14710 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14711 no_undefined_flag_FC
='${wl}-z,text'
14712 archive_cmds_need_lc_FC
=no
14713 hardcode_shlibpath_var_FC
=no
14714 runpath_var
='LD_RUN_PATH'
14716 if test "$GCC" = yes; then
14717 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14718 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14721 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14725 sysv5
* | sco3.2v5
* | sco5v6
*)
14726 # Note: We can NOT use -z defs as we might desire, because we do not
14727 # link with -lc, and that would cause any symbols used from libc to
14728 # always be unresolved, which means just about no library would
14729 # ever link correctly. If we're not using GNU ld we use -z text
14730 # though, which does catch some bad symbols but isn't as heavy-handed
14732 no_undefined_flag_FC
='${wl}-z,text'
14733 allow_undefined_flag_FC
='${wl}-z,nodefs'
14734 archive_cmds_need_lc_FC
=no
14735 hardcode_shlibpath_var_FC
=no
14736 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14737 hardcode_libdir_separator_FC
=':'
14738 link_all_deplibs_FC
=yes
14739 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14740 runpath_var
='LD_RUN_PATH'
14742 if test "$GCC" = yes; then
14743 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14744 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14746 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14747 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14752 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14753 hardcode_libdir_flag_spec_FC
='-L$libdir'
14754 hardcode_shlibpath_var_FC
=no
14762 if test x
$host_vendor = xsni
; then
14764 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14765 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14772 $as_echo "$ld_shlibs_FC" >&6; }
14773 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14775 with_gnu_ld_FC
=$with_gnu_ld
14783 # Do we need to explicitly link libc?
14785 case "x$archive_cmds_need_lc_FC" in
14787 # Assume -lc should be added
14788 archive_cmds_need_lc_FC
=yes
14790 if test "$enable_shared" = yes && test "$GCC" = yes; then
14791 case $archive_cmds_FC in
14793 # FIXME: we may have to deal with multi-command sequences.
14796 # Test whether the compiler implicitly links with -lc since on some
14797 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14798 # to ld, don't add -lc before -lgcc.
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14800 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14801 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14802 $as_echo_n "(cached) " >&6
14805 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14808 (eval $ac_compile) 2>&5
14810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14811 test $ac_status = 0; } 2>conftest.err
; then
14814 libobjs
=conftest.
$ac_objext
14816 wl
=$lt_prog_compiler_wl_FC
14817 pic_flag
=$lt_prog_compiler_pic_FC
14823 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14824 allow_undefined_flag_FC
=
14825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14826 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14829 test $ac_status = 0; }
14831 lt_cv_archive_cmds_need_lc_FC
=no
14833 lt_cv_archive_cmds_need_lc_FC
=yes
14835 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14837 cat conftest.err
1>&5
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14843 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14844 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14915 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14917 library_names_spec
=
14918 libname_spec
='lib$name'
14922 postuninstall_cmds
=
14926 shlibpath_overrides_runpath
=unknown
14928 dynamic_linker
="$host_os ld.so"
14929 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14930 need_lib_prefix
=unknown
14931 hardcode_into_libs
=no
14933 # when you set need_version to no, make sure it does not cause -set_version
14934 # flags to be left without arguments
14935 need_version
=unknown
14940 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14941 shlibpath_var
=LIBPATH
14943 # AIX 3 has no versioning support, so we append a major version to the name.
14944 soname_spec
='${libname}${release}${shared_ext}$major'
14951 hardcode_into_libs
=yes
14952 if test "$host_cpu" = ia64
; then
14953 # AIX 5 supports IA64
14954 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14955 shlibpath_var
=LD_LIBRARY_PATH
14957 # With GCC up to 2.95.x, collect2 would create an import file
14958 # for dependence libraries. The import file would start with
14959 # the line `#! .'. This would cause the generated library to
14960 # depend on `.', always an invalid library. This was fixed in
14961 # development snapshots of GCC prior to 3.0.
14963 aix4 | aix4.
[01] | aix4.
[01].
*)
14964 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14966 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14969 can_build_shared
=no
14973 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14974 # soname into executable. Probably we can add versioning support to
14975 # collect2, so additional links can be useful in future.
14976 if test "$aix_use_runtimelinking" = yes; then
14977 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14978 # instead of lib<name>.a to let people know that these are not
14979 # typical AIX shared libraries.
14980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14982 # We preserve .a as extension for shared libraries through AIX4.2
14983 # and later when we are not doing run time linking.
14984 library_names_spec
='${libname}${release}.a $libname.a'
14985 soname_spec
='${libname}${release}${shared_ext}$major'
14987 shlibpath_var
=LIBPATH
14994 # Since July 2007 AmigaOS4 officially supports .so libraries.
14995 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14999 library_names_spec
='$libname.ixlibrary $libname.a'
15000 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15001 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'
15007 library_names_spec
='${libname}${shared_ext}'
15008 dynamic_linker
="$host_os ld.so"
15009 shlibpath_var
=LIBRARY_PATH
15015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15016 soname_spec
='${libname}${release}${shared_ext}$major'
15017 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15018 shlibpath_var
=LD_LIBRARY_PATH
15019 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15020 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15021 # the default ld.so.conf also contains /usr/contrib/lib and
15022 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15023 # libtool to hard-code these into programs
15026 cygwin
* | mingw
* | pw32
* | cegcc
*)
15027 version_type
=windows
15032 case $GCC,$host_os in
15033 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15034 library_names_spec
='$libname.dll.a'
15035 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15036 postinstall_cmds
='base_file=`basename \${file}`~
15037 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15038 dldir=$destdir/`dirname \$dlpath`~
15039 test -d \$dldir || mkdir -p \$dldir~
15040 $install_prog $dir/$dlname \$dldir/$dlname~
15041 chmod a+x \$dldir/$dlname~
15042 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15043 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15045 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15046 dlpath=$dir/\$dldll~
15048 shlibpath_overrides_runpath
=yes
15052 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15053 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15057 # MinGW DLLs use traditional 'lib' prefix
15058 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15061 # pw32 DLLs use 'pw' prefix rather than 'lib'
15062 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15068 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15071 dynamic_linker
='Win32 ld.exe'
15072 # FIXME: first we should search . and the directory the executable is in
15076 darwin
* | rhapsody
*)
15077 dynamic_linker
="$host_os dyld"
15078 version_type
=darwin
15081 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15082 soname_spec
='${libname}${release}${major}$shared_ext'
15083 shlibpath_overrides_runpath
=yes
15084 shlibpath_var
=DYLD_LIBRARY_PATH
15085 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15087 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15095 soname_spec
='${libname}${release}${shared_ext}$major'
15096 shlibpath_var
=LD_LIBRARY_PATH
15099 freebsd
* | dragonfly
*)
15100 # DragonFly does not have aout. When/if they implement a new
15101 # versioning mechanism, adjust this.
15102 if test -x /usr
/bin
/objformat
; then
15103 objformat
=`/usr/bin/objformat`
15106 freebsd
[23].
*) objformat
=aout
;;
15107 *) objformat
=elf
;;
15110 version_type
=freebsd-
$objformat
15111 case $version_type in
15113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15118 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15122 shlibpath_var
=LD_LIBRARY_PATH
15125 shlibpath_overrides_runpath
=yes
15127 freebsd3.
[01]* | freebsdelf3.
[01]*)
15128 shlibpath_overrides_runpath
=yes
15129 hardcode_into_libs
=yes
15131 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15132 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15133 shlibpath_overrides_runpath
=no
15134 hardcode_into_libs
=yes
15136 *) # from 4.6 on, and DragonFly
15137 shlibpath_overrides_runpath
=yes
15138 hardcode_into_libs
=yes
15147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15148 soname_spec
='${libname}${release}${shared_ext}$major'
15149 shlibpath_var
=LD_LIBRARY_PATH
15150 hardcode_into_libs
=yes
15157 dynamic_linker
="$host_os runtime_loader"
15158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15159 soname_spec
='${libname}${release}${shared_ext}$major'
15160 shlibpath_var
=LIBRARY_PATH
15161 shlibpath_overrides_runpath
=yes
15162 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15163 hardcode_into_libs
=yes
15166 hpux9
* | hpux10
* | hpux11
*)
15167 # Give a soname corresponding to the major version so that dld.sl refuses to
15168 # link against other versions.
15175 hardcode_into_libs
=yes
15176 dynamic_linker
="$host_os dld.so"
15177 shlibpath_var
=LD_LIBRARY_PATH
15178 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15180 soname_spec
='${libname}${release}${shared_ext}$major'
15181 if test "X$HPUX_IA64_MODE" = X32
; then
15182 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15184 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15186 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15190 hardcode_into_libs
=yes
15191 dynamic_linker
="$host_os dld.sl"
15192 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15193 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
15196 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15197 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15201 dynamic_linker
="$host_os dld.sl"
15202 shlibpath_var
=SHLIB_PATH
15203 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15205 soname_spec
='${libname}${release}${shared_ext}$major'
15208 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15209 postinstall_cmds
='chmod 555 $lib'
15210 # or fails outright, so override atomically:
15211 install_override_mode
=555
15218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15219 soname_spec
='${libname}${release}${shared_ext}$major'
15220 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15221 shlibpath_var
=LD_LIBRARY_PATH
15222 shlibpath_overrides_runpath
=no
15223 hardcode_into_libs
=yes
15226 irix5
* | irix6
* | nonstopux
*)
15228 nonstopux
*) version_type
=nonstopux
;;
15230 if test "$lt_cv_prog_gnu_ld" = yes; then
15238 soname_spec
='${libname}${release}${shared_ext}$major'
15239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15241 irix5
* | nonstopux
*)
15242 libsuff
= shlibsuff
=
15245 case $LD in # libtool.m4 will add one of these switches to LD
15246 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15247 libsuff
= shlibsuff
= libmagic
=32-bit;;
15248 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15249 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15250 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15251 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15252 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15256 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15257 shlibpath_overrides_runpath
=no
15258 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15259 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15260 hardcode_into_libs
=yes
15263 # No shared lib support for Linux oldld, aout, or coff.
15264 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15268 # This must be Linux ELF.
15269 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec
='${libname}${release}${shared_ext}$major'
15275 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15276 shlibpath_var
=LD_LIBRARY_PATH
15277 shlibpath_overrides_runpath
=no
15279 # Some binutils ld are patched to set DT_RUNPATH
15280 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15281 $as_echo_n "(cached) " >&6
15283 lt_cv_shlibpath_overrides_runpath
=no
15284 save_LDFLAGS
=$LDFLAGS
15285 save_libdir
=$libdir
15286 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15287 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15288 if test x
$gcc_no_link = xyes
; then
15289 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15291 cat > conftest.
$ac_ext <<_ACEOF
15296 if ac_fn_fc_try_link
"$LINENO"; then :
15297 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15298 lt_cv_shlibpath_overrides_runpath
=yes
15301 rm -f core conftest.err conftest.
$ac_objext \
15302 conftest
$ac_exeext conftest.
$ac_ext
15303 LDFLAGS
=$save_LDFLAGS
15304 libdir
=$save_libdir
15308 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15310 # This implies no fast_install, which is unacceptable.
15311 # Some rework will be needed to allow for fast_install
15312 # before this can be enabled.
15313 hardcode_into_libs
=yes
15315 # Append ld.so.conf contents to the search path
15316 if test -f /etc
/ld.so.conf
; then
15317 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' ' '`
15318 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15321 # We used to test for /lib/ld.so.1 and disable shared libraries on
15322 # powerpc, because MkLinux only supported shared libraries with the
15323 # GNU dynamic linker. Since this was broken with cross compilers,
15324 # most powerpc-linux boxes support dynamic linking these days and
15325 # people can always --disable-shared, the test was removed, and we
15326 # assume the GNU/Linux dynamic linker is in use.
15327 dynamic_linker
='GNU/Linux ld.so'
15334 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15336 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15337 dynamic_linker
='NetBSD (a.out) ld.so'
15339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15340 soname_spec
='${libname}${release}${shared_ext}$major'
15341 dynamic_linker
='NetBSD ld.elf_so'
15343 shlibpath_var
=LD_LIBRARY_PATH
15344 shlibpath_overrides_runpath
=yes
15345 hardcode_into_libs
=yes
15350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15351 shlibpath_var
=LD_LIBRARY_PATH
15352 shlibpath_overrides_runpath
=yes
15359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360 soname_spec
='${libname}${release}${shared_ext}$major'
15361 shlibpath_var
=LD_LIBRARY_PATH
15362 shlibpath_overrides_runpath
=no
15363 hardcode_into_libs
=yes
15364 dynamic_linker
='ldqnx.so'
15369 sys_lib_dlsearch_path_spec
="/usr/lib"
15371 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15373 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15374 *) need_version
=no
;;
15376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15378 shlibpath_var
=LD_LIBRARY_PATH
15379 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15381 openbsd2.
[89] | openbsd2.
[89].
*)
15382 shlibpath_overrides_runpath
=no
15385 shlibpath_overrides_runpath
=yes
15389 shlibpath_overrides_runpath
=yes
15394 libname_spec
='$name'
15397 library_names_spec
='$libname${shared_ext} $libname.a'
15398 dynamic_linker
='OS/2 ld.exe'
15399 shlibpath_var
=LIBPATH
15402 osf3
* | osf4
* | osf5
*)
15406 soname_spec
='${libname}${release}${shared_ext}$major'
15407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15408 shlibpath_var
=LD_LIBRARY_PATH
15409 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15410 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15422 soname_spec
='${libname}${release}${shared_ext}$major'
15423 shlibpath_var
=LD_LIBRARY_PATH
15424 shlibpath_overrides_runpath
=yes
15425 hardcode_into_libs
=yes
15426 # ldd complains unless libraries are executable
15427 postinstall_cmds
='chmod +x $lib'
15432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15433 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15434 shlibpath_var
=LD_LIBRARY_PATH
15435 shlibpath_overrides_runpath
=yes
15436 if test "$with_gnu_ld" = yes; then
15444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15445 soname_spec
='${libname}${release}${shared_ext}$major'
15446 shlibpath_var
=LD_LIBRARY_PATH
15447 case $host_vendor in
15449 shlibpath_overrides_runpath
=no
15451 runpath_var
=LD_RUN_PATH
15459 shlibpath_overrides_runpath
=no
15460 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15466 if test -d /usr
/nec
;then
15468 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15469 soname_spec
='$libname${shared_ext}.$major'
15470 shlibpath_var
=LD_LIBRARY_PATH
15474 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15475 version_type
=freebsd-elf
15478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15479 soname_spec
='${libname}${release}${shared_ext}$major'
15480 shlibpath_var
=LD_LIBRARY_PATH
15481 shlibpath_overrides_runpath
=yes
15482 hardcode_into_libs
=yes
15483 if test "$with_gnu_ld" = yes; then
15484 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15486 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15489 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15493 sys_lib_dlsearch_path_spec
='/usr/lib'
15497 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15502 shlibpath_var
=LD_LIBRARY_PATH
15503 shlibpath_overrides_runpath
=no
15504 hardcode_into_libs
=yes
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15510 soname_spec
='${libname}${release}${shared_ext}$major'
15511 shlibpath_var
=LD_LIBRARY_PATH
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15519 $as_echo "$dynamic_linker" >&6; }
15520 test "$dynamic_linker" = no
&& can_build_shared
=no
15522 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15523 if test "$GCC" = yes; then
15524 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15527 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15528 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15530 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15531 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15572 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15573 hardcode_action_FC
=
15574 if test -n "$hardcode_libdir_flag_spec_FC" ||
15575 test -n "$runpath_var_FC" ||
15576 test "X$hardcode_automatic_FC" = "Xyes" ; then
15578 # We can hardcode non-existent directories.
15579 if test "$hardcode_direct_FC" != no
&&
15580 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15581 # have to relink, otherwise we might link with an installed library
15582 # when we should be linking with a yet-to-be-installed one
15583 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15584 test "$hardcode_minus_L_FC" != no
; then
15585 # Linking always hardcodes the temporary library directory.
15586 hardcode_action_FC
=relink
15588 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15589 hardcode_action_FC
=immediate
15592 # We cannot hardcode anything, or else we can only hardcode existing
15594 hardcode_action_FC
=unsupported
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15597 $as_echo "$hardcode_action_FC" >&6; }
15599 if test "$hardcode_action_FC" = relink ||
15600 test "$inherit_rpath_FC" = yes; then
15601 # Fast installation is not supported
15602 enable_fast_install
=no
15603 elif test "$shlibpath_overrides_runpath" = yes ||
15604 test "$enable_shared" = no
; then
15605 # Fast installation is not necessary
15606 enable_fast_install
=needless
15615 fi # test -n "$compiler"
15619 fi # test "$_lt_disable_FC" != yes
15622 ac_cpp
='$CPP $CPPFLAGS'
15623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15629 # extra LD Flags which are required for targets
15632 # Darwin needs -single_module when linking libgfortran
15633 extra_ldflags_libgfortran
=-Wl,-single_module
15638 # We need a working compiler at that point, otherwise give a clear
15639 # error message and bail out.
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15642 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15643 ac_ext
=${ac_fc_srcext-f}
15644 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15645 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15646 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15648 cat > conftest.
$ac_ext <<_ACEOF
15651 real, parameter :: bar = sin (12.34 / 2.5)
15654 if ac_fn_fc_try_compile
"$LINENO"; then :
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15656 $as_echo "yes" >&6; }
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15659 $as_echo "no" >&6; }
15660 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15665 ac_cpp
='$CPP $CPPFLAGS'
15666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15672 # Check whether --enable-largefile was given.
15673 if test "${enable_largefile+set}" = set; then :
15674 enableval
=$enable_largefile;
15677 if test "$enable_largefile" != no
; then
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15680 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15681 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15682 $as_echo_n "(cached) " >&6
15684 ac_cv_sys_largefile_CC
=no
15685 if test "$GCC" != yes; then
15688 # IRIX 6.2 and later do not support large files by default,
15689 # so use the C compiler's -n32 option if that helps.
15690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15692 #include <sys/types.h>
15693 /* Check that off_t can represent 2**63 - 1 correctly.
15694 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15695 since some C++ compilers masquerading as C compilers
15696 incorrectly reject 9223372036854775807. */
15697 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15698 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15699 && LARGE_OFF_T % 2147483647 == 1)
15709 if ac_fn_c_try_compile
"$LINENO"; then :
15712 rm -f core conftest.err conftest.
$ac_objext
15714 if ac_fn_c_try_compile
"$LINENO"; then :
15715 ac_cv_sys_largefile_CC
=' -n32'; break
15717 rm -f core conftest.err conftest.
$ac_objext
15721 rm -f conftest.
$ac_ext
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15725 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15726 if test "$ac_cv_sys_largefile_CC" != no
; then
15727 CC
=$CC$ac_cv_sys_largefile_CC
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15731 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15732 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15733 $as_echo_n "(cached) " >&6
15736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15738 #include <sys/types.h>
15739 /* Check that off_t can represent 2**63 - 1 correctly.
15740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15741 since some C++ compilers masquerading as C compilers
15742 incorrectly reject 9223372036854775807. */
15743 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15745 && LARGE_OFF_T % 2147483647 == 1)
15755 if ac_fn_c_try_compile
"$LINENO"; then :
15756 ac_cv_sys_file_offset_bits
=no
; break
15758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h. */
15761 #define _FILE_OFFSET_BITS 64
15762 #include <sys/types.h>
15763 /* Check that off_t can represent 2**63 - 1 correctly.
15764 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15765 since some C++ compilers masquerading as C compilers
15766 incorrectly reject 9223372036854775807. */
15767 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15768 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15769 && LARGE_OFF_T % 2147483647 == 1)
15779 if ac_fn_c_try_compile
"$LINENO"; then :
15780 ac_cv_sys_file_offset_bits
=64; break
15782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15783 ac_cv_sys_file_offset_bits
=unknown
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15788 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15789 case $ac_cv_sys_file_offset_bits in #(
15792 cat >>confdefs.h
<<_ACEOF
15793 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15798 if test $ac_cv_sys_file_offset_bits = unknown
; then
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15800 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15801 if test "${ac_cv_sys_large_files+set}" = set; then :
15802 $as_echo_n "(cached) " >&6
15805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #include <sys/types.h>
15808 /* Check that off_t can represent 2**63 - 1 correctly.
15809 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15810 since some C++ compilers masquerading as C compilers
15811 incorrectly reject 9223372036854775807. */
15812 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15813 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15814 && LARGE_OFF_T % 2147483647 == 1)
15824 if ac_fn_c_try_compile
"$LINENO"; then :
15825 ac_cv_sys_large_files
=no
; break
15827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15829 /* end confdefs.h. */
15830 #define _LARGE_FILES 1
15831 #include <sys/types.h>
15832 /* Check that off_t can represent 2**63 - 1 correctly.
15833 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15834 since some C++ compilers masquerading as C compilers
15835 incorrectly reject 9223372036854775807. */
15836 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15837 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15838 && LARGE_OFF_T % 2147483647 == 1)
15848 if ac_fn_c_try_compile
"$LINENO"; then :
15849 ac_cv_sys_large_files
=1; break
15851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15852 ac_cv_sys_large_files
=unknown
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15857 $as_echo "$ac_cv_sys_large_files" >&6; }
15858 case $ac_cv_sys_large_files in #(
15861 cat >>confdefs.h
<<_ACEOF
15862 #define _LARGE_FILES $ac_cv_sys_large_files
15872 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15873 if test "x$ac_cv_type_off_t" = x
""yes; then :
15877 cat >>confdefs.h
<<_ACEOF
15878 #define off_t long int
15884 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15885 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15887 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15890 for ac_type
in 'int' 'long int' 'long long int'; do
15891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 $ac_includes_default
15897 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15904 if ac_fn_c_try_compile
"$LINENO"; then :
15906 cat >>confdefs.h
<<_ACEOF
15907 #define intptr_t $ac_type
15912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15913 test -z "$ac_type" && break
15919 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15920 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15922 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15925 for ac_type
in 'unsigned int' 'unsigned long int' \
15926 'unsigned long long int'; do
15927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 $ac_includes_default
15933 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15940 if ac_fn_c_try_compile
"$LINENO"; then :
15942 cat >>confdefs.h
<<_ACEOF
15943 #define uintptr_t $ac_type
15948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15949 test -z "$ac_type" && break
15954 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15955 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15957 cat >>confdefs.h
<<_ACEOF
15958 #define HAVE_PTRDIFF_T 1
15965 # check header files (we assume C89 is available, so don't check for that)
15969 for ac_header
in $ac_header_list
15971 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15972 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15974 eval as_val
=\$
$as_ac_Header
15975 if test "x$as_val" = x
""yes; then :
15976 cat >>confdefs.h
<<_ACEOF
15977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16016 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16018 acx_cv_header_stdint
=stddef.h
16019 acx_cv_header_stdint_kind
="(already complete)"
16020 for i
in stdint.h
$inttype_headers; do
16021 unset ac_cv_type_uintptr_t
16022 unset ac_cv_type_uintmax_t
16023 unset ac_cv_type_int_least32_t
16024 unset ac_cv_type_int_fast32_t
16025 unset ac_cv_type_uint64_t
16026 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16027 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16030 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16031 acx_cv_header_stdint
=$i
16036 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16039 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16042 acx_cv_header_stdint_kind
="(mostly complete)"
16045 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16048 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16051 acx_cv_header_stdint_kind
="(mostly complete)"
16054 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16057 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16060 acx_cv_header_stdint_kind
="(mostly complete)"
16063 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16066 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16069 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16074 if test "$acx_cv_header_stdint" = stddef.h
; then
16075 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16076 for i
in stdint.h
$inttype_headers; do
16077 unset ac_cv_type_uintptr_t
16078 unset ac_cv_type_uint32_t
16079 unset ac_cv_type_uint64_t
16080 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16081 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16084 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16085 acx_cv_header_stdint
=$i
16090 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16093 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16097 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16100 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16107 if test "$acx_cv_header_stdint" = stddef.h
; then
16108 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16109 for i
in sys
/types.h
$inttype_headers; do
16110 unset ac_cv_type_u_int32_t
16111 unset ac_cv_type_u_int64_t
16112 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16113 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16116 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16117 acx_cv_header_stdint
=$i
16122 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16125 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16132 if test "$acx_cv_header_stdint" = stddef.h
; then
16133 acx_cv_header_stdint_kind
="(using manual detection)"
16136 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16137 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16138 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16139 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16140 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16142 # ----------------- Summarize what we found so far
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16145 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16147 case `$as_basename -- gstdint.h ||
16148 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16149 Xgstdint.h : 'X\(//\)$' \| \
16150 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16151 $as_echo X/gstdint.h |
16152 sed '/^.*\/\([^/][^/]*\)\/*$/{
16165 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16166 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16167 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16168 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16173 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16175 # ----------------- done included file, check C basic types --------
16177 # Lacking an uintptr_t? Test size of void *
16178 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16179 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16180 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16181 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16182 # This bug is HP SR number 8606223364.
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16184 $as_echo_n "checking size of void *... " >&6; }
16185 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16186 $as_echo_n "(cached) " >&6
16188 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16191 if test "$ac_cv_type_void_p" = yes; then
16192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16194 { as_fn_set_status
77
16195 as_fn_error
"cannot compute sizeof (void *)
16196 See \`config.log' for more details." "$LINENO" 5; }; }
16198 ac_cv_sizeof_void_p
=0
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16204 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16208 cat >>confdefs.h
<<_ACEOF
16209 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16215 # Lacking an uint64_t? Test size of long
16216 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16217 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16220 # This bug is HP SR number 8606223364.
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16222 $as_echo_n "checking size of long... " >&6; }
16223 if test "${ac_cv_sizeof_long+set}" = set; then :
16224 $as_echo_n "(cached) " >&6
16226 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16229 if test "$ac_cv_type_long" = yes; then
16230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16232 { as_fn_set_status
77
16233 as_fn_error
"cannot compute sizeof (long)
16234 See \`config.log' for more details." "$LINENO" 5; }; }
16236 ac_cv_sizeof_long
=0
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16242 $as_echo "$ac_cv_sizeof_long" >&6; }
16246 cat >>confdefs.h
<<_ACEOF
16247 #define SIZEOF_LONG $ac_cv_sizeof_long
16253 if test $acx_cv_header_stdint = stddef.h
; then
16254 # Lacking a good header? Test size of everything and deduce all types.
16255 # The cast to long int works around a bug in the HP C Compiler
16256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16258 # This bug is HP SR number 8606223364.
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16260 $as_echo_n "checking size of int... " >&6; }
16261 if test "${ac_cv_sizeof_int+set}" = set; then :
16262 $as_echo_n "(cached) " >&6
16264 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16267 if test "$ac_cv_type_int" = yes; then
16268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16270 { as_fn_set_status
77
16271 as_fn_error
"cannot compute sizeof (int)
16272 See \`config.log' for more details." "$LINENO" 5; }; }
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16280 $as_echo "$ac_cv_sizeof_int" >&6; }
16284 cat >>confdefs.h
<<_ACEOF
16285 #define SIZEOF_INT $ac_cv_sizeof_int
16289 # The cast to long int works around a bug in the HP C Compiler
16290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16292 # This bug is HP SR number 8606223364.
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16294 $as_echo_n "checking size of short... " >&6; }
16295 if test "${ac_cv_sizeof_short+set}" = set; then :
16296 $as_echo_n "(cached) " >&6
16298 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16301 if test "$ac_cv_type_short" = yes; then
16302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16304 { as_fn_set_status
77
16305 as_fn_error
"cannot compute sizeof (short)
16306 See \`config.log' for more details." "$LINENO" 5; }; }
16308 ac_cv_sizeof_short
=0
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16314 $as_echo "$ac_cv_sizeof_short" >&6; }
16318 cat >>confdefs.h
<<_ACEOF
16319 #define SIZEOF_SHORT $ac_cv_sizeof_short
16323 # The cast to long int works around a bug in the HP C Compiler
16324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16326 # This bug is HP SR number 8606223364.
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16328 $as_echo_n "checking size of char... " >&6; }
16329 if test "${ac_cv_sizeof_char+set}" = set; then :
16330 $as_echo_n "(cached) " >&6
16332 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16335 if test "$ac_cv_type_char" = yes; then
16336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16338 { as_fn_set_status
77
16339 as_fn_error
"cannot compute sizeof (char)
16340 See \`config.log' for more details." "$LINENO" 5; }; }
16342 ac_cv_sizeof_char
=0
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16348 $as_echo "$ac_cv_sizeof_char" >&6; }
16352 cat >>confdefs.h
<<_ACEOF
16353 #define SIZEOF_CHAR $ac_cv_sizeof_char
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16359 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16360 case "$ac_cv_sizeof_char" in
16361 1) acx_cv_type_int8_t
=char
;;
16362 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16365 $as_echo "$acx_cv_type_int8_t" >&6; }
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16368 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16369 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16370 2:*) acx_cv_type_int16_t
=int
;;
16371 *:2) acx_cv_type_int16_t
=short
;;
16372 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16375 $as_echo "$acx_cv_type_int16_t" >&6; }
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16378 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16379 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16380 4:*) acx_cv_type_int32_t
=int
;;
16381 *:4) acx_cv_type_int32_t
=long
;;
16382 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16385 $as_echo "$acx_cv_type_int32_t" >&6; }
16388 # These tests are here to make the output prettier
16390 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16391 case "$ac_cv_sizeof_long" in
16392 8) acx_cv_type_int64_t
=long
;;
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16395 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16397 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16400 # Now we can use the above types
16402 if test "$ac_cv_type_uintptr_t" != yes; then
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16404 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16405 case $ac_cv_sizeof_void_p in
16406 2) acx_cv_type_intptr_t
=int16_t
;;
16407 4) acx_cv_type_intptr_t
=int32_t
;;
16408 8) acx_cv_type_intptr_t
=int64_t
;;
16409 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16412 $as_echo "$acx_cv_type_intptr_t" >&6; }
16415 # ----------------- done all checks, emit header -------------
16416 ac_config_commands
="$ac_config_commands gstdint.h"
16421 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16422 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16424 cat >>confdefs.h
<<_ACEOF
16425 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16430 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16431 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16433 cat >>confdefs.h
<<_ACEOF
16434 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16439 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16440 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16442 cat >>confdefs.h
<<_ACEOF
16443 #define HAVE_STRUCT_STAT_ST_RDEV 1
16450 # Check for library functions.
16451 if test "x${with_newlib}" = "xyes"; then
16452 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16453 # may not work correctly, because the compiler may not be able to
16454 # link executables.
16456 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16459 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16462 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16465 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16468 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16471 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16474 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16477 # At some point, we should differentiate between architectures
16478 # like x86, which have long double versions, and alpha/powerpc/etc.,
16479 # which don't. For the time being, punt.
16480 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16482 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16489 for ac_func
in $ac_func_list
16491 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16492 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16493 eval as_val
=\$
$as_ac_var
16494 if test "x$as_val" = x
""yes; then :
16495 cat >>confdefs.h
<<_ACEOF
16496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16611 # Check strerror_r, cannot be above as versions with two and three arguments exist
16613 ac_save_CFLAGS
="$CFLAGS"
16614 CFLAGS
="-Wimplicit-function-declaration -Werror"
16615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16617 #define _GNU_SOURCE 1
16618 #include <string.h>
16619 #include <locale.h>
16623 char s[128]; strerror_r(5, s, 128);
16628 if ac_fn_c_try_compile
"$LINENO"; then :
16630 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16634 CFLAGS
="$ac_save_CFLAGS"
16636 ac_save_CFLAGS
="$CFLAGS"
16637 CFLAGS
="-Wimplicit-function-declaration -Werror"
16638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #define _GNU_SOURCE 1
16641 #include <string.h>
16642 #include <locale.h>
16646 char s[128]; strerror_r(5, s);
16651 if ac_fn_c_try_compile
"$LINENO"; then :
16653 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16657 CFLAGS
="$ac_save_CFLAGS"
16660 # Check for C99 (and other IEEE) math functions
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16662 $as_echo_n "checking for sin in -lm... " >&6; }
16663 if test "${ac_cv_lib_m_sin+set}" = set; then :
16664 $as_echo_n "(cached) " >&6
16666 ac_check_lib_save_LIBS
=$LIBS
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 /* Override any GCC internal prototype to avoid an error.
16675 Use char because int might match the return type of a GCC
16676 builtin and then its argument prototype would still apply. */
16689 if ac_fn_c_try_link
"$LINENO"; then :
16690 ac_cv_lib_m_sin
=yes
16694 rm -f core conftest.err conftest.
$ac_objext \
16695 conftest
$ac_exeext conftest.
$ac_ext
16696 LIBS
=$ac_check_lib_save_LIBS
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16699 $as_echo "$ac_cv_lib_m_sin" >&6; }
16700 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16701 cat >>confdefs.h
<<_ACEOF
16702 #define HAVE_LIBM 1
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16716 $as_echo_n "checking for acosf... " >&6; }
16717 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16718 $as_echo_n "(cached) " >&6
16720 if test x
$gcc_no_link = xyes
; then
16721 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16726 #ifdef HAVE_COMPLEX_H
16727 #include <complex.h>
16733 int (*ptr)() = (int (*)())acosf;
16742 if ac_fn_c_try_link
"$LINENO"; then :
16743 gcc_cv_math_func_acosf
=yes
16745 gcc_cv_math_func_acosf
=no
16747 rm -f core conftest.err conftest.
$ac_objext \
16748 conftest
$ac_exeext conftest.
$ac_ext
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16751 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16752 if test $gcc_cv_math_func_acosf = yes; then
16754 cat >>confdefs.h
<<_ACEOF
16755 #define HAVE_ACOSF 1
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16764 $as_echo_n "checking for acos... " >&6; }
16765 if test "${gcc_cv_math_func_acos+set}" = set; then :
16766 $as_echo_n "(cached) " >&6
16768 if test x
$gcc_no_link = xyes
; then
16769 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16774 #ifdef HAVE_COMPLEX_H
16775 #include <complex.h>
16781 int (*ptr)() = (int (*)())acos;
16790 if ac_fn_c_try_link
"$LINENO"; then :
16791 gcc_cv_math_func_acos
=yes
16793 gcc_cv_math_func_acos
=no
16795 rm -f core conftest.err conftest.
$ac_objext \
16796 conftest
$ac_exeext conftest.
$ac_ext
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16799 $as_echo "$gcc_cv_math_func_acos" >&6; }
16800 if test $gcc_cv_math_func_acos = yes; then
16802 cat >>confdefs.h
<<_ACEOF
16803 #define HAVE_ACOS 1
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16812 $as_echo_n "checking for acosl... " >&6; }
16813 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16814 $as_echo_n "(cached) " >&6
16816 if test x
$gcc_no_link = xyes
; then
16817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16820 /* end confdefs.h. */
16822 #ifdef HAVE_COMPLEX_H
16823 #include <complex.h>
16829 int (*ptr)() = (int (*)())acosl;
16838 if ac_fn_c_try_link
"$LINENO"; then :
16839 gcc_cv_math_func_acosl
=yes
16841 gcc_cv_math_func_acosl
=no
16843 rm -f core conftest.err conftest.
$ac_objext \
16844 conftest
$ac_exeext conftest.
$ac_ext
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16847 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16848 if test $gcc_cv_math_func_acosl = yes; then
16850 cat >>confdefs.h
<<_ACEOF
16851 #define HAVE_ACOSL 1
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16860 $as_echo_n "checking for acoshf... " >&6; }
16861 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16862 $as_echo_n "(cached) " >&6
16864 if test x
$gcc_no_link = xyes
; then
16865 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16870 #ifdef HAVE_COMPLEX_H
16871 #include <complex.h>
16877 int (*ptr)() = (int (*)())acoshf;
16886 if ac_fn_c_try_link
"$LINENO"; then :
16887 gcc_cv_math_func_acoshf
=yes
16889 gcc_cv_math_func_acoshf
=no
16891 rm -f core conftest.err conftest.
$ac_objext \
16892 conftest
$ac_exeext conftest.
$ac_ext
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16895 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16896 if test $gcc_cv_math_func_acoshf = yes; then
16898 cat >>confdefs.h
<<_ACEOF
16899 #define HAVE_ACOSHF 1
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16908 $as_echo_n "checking for acosh... " >&6; }
16909 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16910 $as_echo_n "(cached) " >&6
16912 if test x
$gcc_no_link = xyes
; then
16913 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16918 #ifdef HAVE_COMPLEX_H
16919 #include <complex.h>
16925 int (*ptr)() = (int (*)())acosh;
16934 if ac_fn_c_try_link
"$LINENO"; then :
16935 gcc_cv_math_func_acosh
=yes
16937 gcc_cv_math_func_acosh
=no
16939 rm -f core conftest.err conftest.
$ac_objext \
16940 conftest
$ac_exeext conftest.
$ac_ext
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16943 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16944 if test $gcc_cv_math_func_acosh = yes; then
16946 cat >>confdefs.h
<<_ACEOF
16947 #define HAVE_ACOSH 1
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16956 $as_echo_n "checking for acoshl... " >&6; }
16957 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16958 $as_echo_n "(cached) " >&6
16960 if test x
$gcc_no_link = xyes
; then
16961 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 #ifdef HAVE_COMPLEX_H
16967 #include <complex.h>
16973 int (*ptr)() = (int (*)())acoshl;
16982 if ac_fn_c_try_link
"$LINENO"; then :
16983 gcc_cv_math_func_acoshl
=yes
16985 gcc_cv_math_func_acoshl
=no
16987 rm -f core conftest.err conftest.
$ac_objext \
16988 conftest
$ac_exeext conftest.
$ac_ext
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16991 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16992 if test $gcc_cv_math_func_acoshl = yes; then
16994 cat >>confdefs.h
<<_ACEOF
16995 #define HAVE_ACOSHL 1
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17004 $as_echo_n "checking for asinf... " >&6; }
17005 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17006 $as_echo_n "(cached) " >&6
17008 if test x
$gcc_no_link = xyes
; then
17009 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17014 #ifdef HAVE_COMPLEX_H
17015 #include <complex.h>
17021 int (*ptr)() = (int (*)())asinf;
17030 if ac_fn_c_try_link
"$LINENO"; then :
17031 gcc_cv_math_func_asinf
=yes
17033 gcc_cv_math_func_asinf
=no
17035 rm -f core conftest.err conftest.
$ac_objext \
17036 conftest
$ac_exeext conftest.
$ac_ext
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17039 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17040 if test $gcc_cv_math_func_asinf = yes; then
17042 cat >>confdefs.h
<<_ACEOF
17043 #define HAVE_ASINF 1
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17052 $as_echo_n "checking for asin... " >&6; }
17053 if test "${gcc_cv_math_func_asin+set}" = set; then :
17054 $as_echo_n "(cached) " >&6
17056 if test x
$gcc_no_link = xyes
; then
17057 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17062 #ifdef HAVE_COMPLEX_H
17063 #include <complex.h>
17069 int (*ptr)() = (int (*)())asin;
17078 if ac_fn_c_try_link
"$LINENO"; then :
17079 gcc_cv_math_func_asin
=yes
17081 gcc_cv_math_func_asin
=no
17083 rm -f core conftest.err conftest.
$ac_objext \
17084 conftest
$ac_exeext conftest.
$ac_ext
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17087 $as_echo "$gcc_cv_math_func_asin" >&6; }
17088 if test $gcc_cv_math_func_asin = yes; then
17090 cat >>confdefs.h
<<_ACEOF
17091 #define HAVE_ASIN 1
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17100 $as_echo_n "checking for asinl... " >&6; }
17101 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17102 $as_echo_n "(cached) " >&6
17104 if test x
$gcc_no_link = xyes
; then
17105 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17110 #ifdef HAVE_COMPLEX_H
17111 #include <complex.h>
17117 int (*ptr)() = (int (*)())asinl;
17126 if ac_fn_c_try_link
"$LINENO"; then :
17127 gcc_cv_math_func_asinl
=yes
17129 gcc_cv_math_func_asinl
=no
17131 rm -f core conftest.err conftest.
$ac_objext \
17132 conftest
$ac_exeext conftest.
$ac_ext
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17135 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17136 if test $gcc_cv_math_func_asinl = yes; then
17138 cat >>confdefs.h
<<_ACEOF
17139 #define HAVE_ASINL 1
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17148 $as_echo_n "checking for asinhf... " >&6; }
17149 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17150 $as_echo_n "(cached) " >&6
17152 if test x
$gcc_no_link = xyes
; then
17153 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17158 #ifdef HAVE_COMPLEX_H
17159 #include <complex.h>
17165 int (*ptr)() = (int (*)())asinhf;
17174 if ac_fn_c_try_link
"$LINENO"; then :
17175 gcc_cv_math_func_asinhf
=yes
17177 gcc_cv_math_func_asinhf
=no
17179 rm -f core conftest.err conftest.
$ac_objext \
17180 conftest
$ac_exeext conftest.
$ac_ext
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17183 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17184 if test $gcc_cv_math_func_asinhf = yes; then
17186 cat >>confdefs.h
<<_ACEOF
17187 #define HAVE_ASINHF 1
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17196 $as_echo_n "checking for asinh... " >&6; }
17197 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17198 $as_echo_n "(cached) " >&6
17200 if test x
$gcc_no_link = xyes
; then
17201 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17206 #ifdef HAVE_COMPLEX_H
17207 #include <complex.h>
17213 int (*ptr)() = (int (*)())asinh;
17222 if ac_fn_c_try_link
"$LINENO"; then :
17223 gcc_cv_math_func_asinh
=yes
17225 gcc_cv_math_func_asinh
=no
17227 rm -f core conftest.err conftest.
$ac_objext \
17228 conftest
$ac_exeext conftest.
$ac_ext
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17231 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17232 if test $gcc_cv_math_func_asinh = yes; then
17234 cat >>confdefs.h
<<_ACEOF
17235 #define HAVE_ASINH 1
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17244 $as_echo_n "checking for asinhl... " >&6; }
17245 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17246 $as_echo_n "(cached) " >&6
17248 if test x
$gcc_no_link = xyes
; then
17249 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17254 #ifdef HAVE_COMPLEX_H
17255 #include <complex.h>
17261 int (*ptr)() = (int (*)())asinhl;
17270 if ac_fn_c_try_link
"$LINENO"; then :
17271 gcc_cv_math_func_asinhl
=yes
17273 gcc_cv_math_func_asinhl
=no
17275 rm -f core conftest.err conftest.
$ac_objext \
17276 conftest
$ac_exeext conftest.
$ac_ext
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17279 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17280 if test $gcc_cv_math_func_asinhl = yes; then
17282 cat >>confdefs.h
<<_ACEOF
17283 #define HAVE_ASINHL 1
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17292 $as_echo_n "checking for atan2f... " >&6; }
17293 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17294 $as_echo_n "(cached) " >&6
17296 if test x
$gcc_no_link = xyes
; then
17297 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17302 #ifdef HAVE_COMPLEX_H
17303 #include <complex.h>
17309 int (*ptr)() = (int (*)())atan2f;
17318 if ac_fn_c_try_link
"$LINENO"; then :
17319 gcc_cv_math_func_atan2f
=yes
17321 gcc_cv_math_func_atan2f
=no
17323 rm -f core conftest.err conftest.
$ac_objext \
17324 conftest
$ac_exeext conftest.
$ac_ext
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17327 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17328 if test $gcc_cv_math_func_atan2f = yes; then
17330 cat >>confdefs.h
<<_ACEOF
17331 #define HAVE_ATAN2F 1
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17340 $as_echo_n "checking for atan2... " >&6; }
17341 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17342 $as_echo_n "(cached) " >&6
17344 if test x
$gcc_no_link = xyes
; then
17345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17350 #ifdef HAVE_COMPLEX_H
17351 #include <complex.h>
17357 int (*ptr)() = (int (*)())atan2;
17366 if ac_fn_c_try_link
"$LINENO"; then :
17367 gcc_cv_math_func_atan2
=yes
17369 gcc_cv_math_func_atan2
=no
17371 rm -f core conftest.err conftest.
$ac_objext \
17372 conftest
$ac_exeext conftest.
$ac_ext
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17375 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17376 if test $gcc_cv_math_func_atan2 = yes; then
17378 cat >>confdefs.h
<<_ACEOF
17379 #define HAVE_ATAN2 1
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17388 $as_echo_n "checking for atan2l... " >&6; }
17389 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17390 $as_echo_n "(cached) " >&6
17392 if test x
$gcc_no_link = xyes
; then
17393 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17398 #ifdef HAVE_COMPLEX_H
17399 #include <complex.h>
17405 int (*ptr)() = (int (*)())atan2l;
17414 if ac_fn_c_try_link
"$LINENO"; then :
17415 gcc_cv_math_func_atan2l
=yes
17417 gcc_cv_math_func_atan2l
=no
17419 rm -f core conftest.err conftest.
$ac_objext \
17420 conftest
$ac_exeext conftest.
$ac_ext
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17423 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17424 if test $gcc_cv_math_func_atan2l = yes; then
17426 cat >>confdefs.h
<<_ACEOF
17427 #define HAVE_ATAN2L 1
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17436 $as_echo_n "checking for atanf... " >&6; }
17437 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17440 if test x
$gcc_no_link = xyes
; then
17441 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17446 #ifdef HAVE_COMPLEX_H
17447 #include <complex.h>
17453 int (*ptr)() = (int (*)())atanf;
17462 if ac_fn_c_try_link
"$LINENO"; then :
17463 gcc_cv_math_func_atanf
=yes
17465 gcc_cv_math_func_atanf
=no
17467 rm -f core conftest.err conftest.
$ac_objext \
17468 conftest
$ac_exeext conftest.
$ac_ext
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17471 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17472 if test $gcc_cv_math_func_atanf = yes; then
17474 cat >>confdefs.h
<<_ACEOF
17475 #define HAVE_ATANF 1
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17484 $as_echo_n "checking for atan... " >&6; }
17485 if test "${gcc_cv_math_func_atan+set}" = set; then :
17486 $as_echo_n "(cached) " >&6
17488 if test x
$gcc_no_link = xyes
; then
17489 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17494 #ifdef HAVE_COMPLEX_H
17495 #include <complex.h>
17501 int (*ptr)() = (int (*)())atan;
17510 if ac_fn_c_try_link
"$LINENO"; then :
17511 gcc_cv_math_func_atan
=yes
17513 gcc_cv_math_func_atan
=no
17515 rm -f core conftest.err conftest.
$ac_objext \
17516 conftest
$ac_exeext conftest.
$ac_ext
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17519 $as_echo "$gcc_cv_math_func_atan" >&6; }
17520 if test $gcc_cv_math_func_atan = yes; then
17522 cat >>confdefs.h
<<_ACEOF
17523 #define HAVE_ATAN 1
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17532 $as_echo_n "checking for atanl... " >&6; }
17533 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17534 $as_echo_n "(cached) " >&6
17536 if test x
$gcc_no_link = xyes
; then
17537 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17542 #ifdef HAVE_COMPLEX_H
17543 #include <complex.h>
17549 int (*ptr)() = (int (*)())atanl;
17558 if ac_fn_c_try_link
"$LINENO"; then :
17559 gcc_cv_math_func_atanl
=yes
17561 gcc_cv_math_func_atanl
=no
17563 rm -f core conftest.err conftest.
$ac_objext \
17564 conftest
$ac_exeext conftest.
$ac_ext
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17567 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17568 if test $gcc_cv_math_func_atanl = yes; then
17570 cat >>confdefs.h
<<_ACEOF
17571 #define HAVE_ATANL 1
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17580 $as_echo_n "checking for atanhf... " >&6; }
17581 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17584 if test x
$gcc_no_link = xyes
; then
17585 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17590 #ifdef HAVE_COMPLEX_H
17591 #include <complex.h>
17597 int (*ptr)() = (int (*)())atanhf;
17606 if ac_fn_c_try_link
"$LINENO"; then :
17607 gcc_cv_math_func_atanhf
=yes
17609 gcc_cv_math_func_atanhf
=no
17611 rm -f core conftest.err conftest.
$ac_objext \
17612 conftest
$ac_exeext conftest.
$ac_ext
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17615 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17616 if test $gcc_cv_math_func_atanhf = yes; then
17618 cat >>confdefs.h
<<_ACEOF
17619 #define HAVE_ATANHF 1
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17628 $as_echo_n "checking for atanh... " >&6; }
17629 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17630 $as_echo_n "(cached) " >&6
17632 if test x
$gcc_no_link = xyes
; then
17633 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17636 /* end confdefs.h. */
17638 #ifdef HAVE_COMPLEX_H
17639 #include <complex.h>
17645 int (*ptr)() = (int (*)())atanh;
17654 if ac_fn_c_try_link
"$LINENO"; then :
17655 gcc_cv_math_func_atanh
=yes
17657 gcc_cv_math_func_atanh
=no
17659 rm -f core conftest.err conftest.
$ac_objext \
17660 conftest
$ac_exeext conftest.
$ac_ext
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17663 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17664 if test $gcc_cv_math_func_atanh = yes; then
17666 cat >>confdefs.h
<<_ACEOF
17667 #define HAVE_ATANH 1
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17676 $as_echo_n "checking for atanhl... " >&6; }
17677 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17678 $as_echo_n "(cached) " >&6
17680 if test x
$gcc_no_link = xyes
; then
17681 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17686 #ifdef HAVE_COMPLEX_H
17687 #include <complex.h>
17693 int (*ptr)() = (int (*)())atanhl;
17702 if ac_fn_c_try_link
"$LINENO"; then :
17703 gcc_cv_math_func_atanhl
=yes
17705 gcc_cv_math_func_atanhl
=no
17707 rm -f core conftest.err conftest.
$ac_objext \
17708 conftest
$ac_exeext conftest.
$ac_ext
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17711 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17712 if test $gcc_cv_math_func_atanhl = yes; then
17714 cat >>confdefs.h
<<_ACEOF
17715 #define HAVE_ATANHL 1
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17724 $as_echo_n "checking for cargf... " >&6; }
17725 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17726 $as_echo_n "(cached) " >&6
17728 if test x
$gcc_no_link = xyes
; then
17729 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17732 /* end confdefs.h. */
17734 #ifdef HAVE_COMPLEX_H
17735 #include <complex.h>
17741 int (*ptr)() = (int (*)())cargf;
17750 if ac_fn_c_try_link
"$LINENO"; then :
17751 gcc_cv_math_func_cargf
=yes
17753 gcc_cv_math_func_cargf
=no
17755 rm -f core conftest.err conftest.
$ac_objext \
17756 conftest
$ac_exeext conftest.
$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17759 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17760 if test $gcc_cv_math_func_cargf = yes; then
17762 cat >>confdefs.h
<<_ACEOF
17763 #define HAVE_CARGF 1
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17772 $as_echo_n "checking for carg... " >&6; }
17773 if test "${gcc_cv_math_func_carg+set}" = set; then :
17774 $as_echo_n "(cached) " >&6
17776 if test x
$gcc_no_link = xyes
; then
17777 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17782 #ifdef HAVE_COMPLEX_H
17783 #include <complex.h>
17789 int (*ptr)() = (int (*)())carg;
17798 if ac_fn_c_try_link
"$LINENO"; then :
17799 gcc_cv_math_func_carg
=yes
17801 gcc_cv_math_func_carg
=no
17803 rm -f core conftest.err conftest.
$ac_objext \
17804 conftest
$ac_exeext conftest.
$ac_ext
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17807 $as_echo "$gcc_cv_math_func_carg" >&6; }
17808 if test $gcc_cv_math_func_carg = yes; then
17810 cat >>confdefs.h
<<_ACEOF
17811 #define HAVE_CARG 1
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17820 $as_echo_n "checking for cargl... " >&6; }
17821 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17822 $as_echo_n "(cached) " >&6
17824 if test x
$gcc_no_link = xyes
; then
17825 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17830 #ifdef HAVE_COMPLEX_H
17831 #include <complex.h>
17837 int (*ptr)() = (int (*)())cargl;
17846 if ac_fn_c_try_link
"$LINENO"; then :
17847 gcc_cv_math_func_cargl
=yes
17849 gcc_cv_math_func_cargl
=no
17851 rm -f core conftest.err conftest.
$ac_objext \
17852 conftest
$ac_exeext conftest.
$ac_ext
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17855 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17856 if test $gcc_cv_math_func_cargl = yes; then
17858 cat >>confdefs.h
<<_ACEOF
17859 #define HAVE_CARGL 1
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17868 $as_echo_n "checking for ceilf... " >&6; }
17869 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17870 $as_echo_n "(cached) " >&6
17872 if test x
$gcc_no_link = xyes
; then
17873 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17876 /* end confdefs.h. */
17878 #ifdef HAVE_COMPLEX_H
17879 #include <complex.h>
17885 int (*ptr)() = (int (*)())ceilf;
17894 if ac_fn_c_try_link
"$LINENO"; then :
17895 gcc_cv_math_func_ceilf
=yes
17897 gcc_cv_math_func_ceilf
=no
17899 rm -f core conftest.err conftest.
$ac_objext \
17900 conftest
$ac_exeext conftest.
$ac_ext
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17903 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17904 if test $gcc_cv_math_func_ceilf = yes; then
17906 cat >>confdefs.h
<<_ACEOF
17907 #define HAVE_CEILF 1
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17916 $as_echo_n "checking for ceil... " >&6; }
17917 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17918 $as_echo_n "(cached) " >&6
17920 if test x
$gcc_no_link = xyes
; then
17921 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17926 #ifdef HAVE_COMPLEX_H
17927 #include <complex.h>
17933 int (*ptr)() = (int (*)())ceil;
17942 if ac_fn_c_try_link
"$LINENO"; then :
17943 gcc_cv_math_func_ceil
=yes
17945 gcc_cv_math_func_ceil
=no
17947 rm -f core conftest.err conftest.
$ac_objext \
17948 conftest
$ac_exeext conftest.
$ac_ext
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17951 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17952 if test $gcc_cv_math_func_ceil = yes; then
17954 cat >>confdefs.h
<<_ACEOF
17955 #define HAVE_CEIL 1
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17964 $as_echo_n "checking for ceill... " >&6; }
17965 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17966 $as_echo_n "(cached) " >&6
17968 if test x
$gcc_no_link = xyes
; then
17969 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17974 #ifdef HAVE_COMPLEX_H
17975 #include <complex.h>
17981 int (*ptr)() = (int (*)())ceill;
17990 if ac_fn_c_try_link
"$LINENO"; then :
17991 gcc_cv_math_func_ceill
=yes
17993 gcc_cv_math_func_ceill
=no
17995 rm -f core conftest.err conftest.
$ac_objext \
17996 conftest
$ac_exeext conftest.
$ac_ext
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17999 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18000 if test $gcc_cv_math_func_ceill = yes; then
18002 cat >>confdefs.h
<<_ACEOF
18003 #define HAVE_CEILL 1
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18012 $as_echo_n "checking for copysignf... " >&6; }
18013 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18014 $as_echo_n "(cached) " >&6
18016 if test x
$gcc_no_link = xyes
; then
18017 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18022 #ifdef HAVE_COMPLEX_H
18023 #include <complex.h>
18029 int (*ptr)() = (int (*)())copysignf;
18038 if ac_fn_c_try_link
"$LINENO"; then :
18039 gcc_cv_math_func_copysignf
=yes
18041 gcc_cv_math_func_copysignf
=no
18043 rm -f core conftest.err conftest.
$ac_objext \
18044 conftest
$ac_exeext conftest.
$ac_ext
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18047 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18048 if test $gcc_cv_math_func_copysignf = yes; then
18050 cat >>confdefs.h
<<_ACEOF
18051 #define HAVE_COPYSIGNF 1
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18060 $as_echo_n "checking for copysign... " >&6; }
18061 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18062 $as_echo_n "(cached) " >&6
18064 if test x
$gcc_no_link = xyes
; then
18065 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18070 #ifdef HAVE_COMPLEX_H
18071 #include <complex.h>
18077 int (*ptr)() = (int (*)())copysign;
18086 if ac_fn_c_try_link
"$LINENO"; then :
18087 gcc_cv_math_func_copysign
=yes
18089 gcc_cv_math_func_copysign
=no
18091 rm -f core conftest.err conftest.
$ac_objext \
18092 conftest
$ac_exeext conftest.
$ac_ext
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18095 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18096 if test $gcc_cv_math_func_copysign = yes; then
18098 cat >>confdefs.h
<<_ACEOF
18099 #define HAVE_COPYSIGN 1
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18108 $as_echo_n "checking for copysignl... " >&6; }
18109 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18110 $as_echo_n "(cached) " >&6
18112 if test x
$gcc_no_link = xyes
; then
18113 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18118 #ifdef HAVE_COMPLEX_H
18119 #include <complex.h>
18125 int (*ptr)() = (int (*)())copysignl;
18134 if ac_fn_c_try_link
"$LINENO"; then :
18135 gcc_cv_math_func_copysignl
=yes
18137 gcc_cv_math_func_copysignl
=no
18139 rm -f core conftest.err conftest.
$ac_objext \
18140 conftest
$ac_exeext conftest.
$ac_ext
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18143 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18144 if test $gcc_cv_math_func_copysignl = yes; then
18146 cat >>confdefs.h
<<_ACEOF
18147 #define HAVE_COPYSIGNL 1
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18156 $as_echo_n "checking for cosf... " >&6; }
18157 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18158 $as_echo_n "(cached) " >&6
18160 if test x
$gcc_no_link = xyes
; then
18161 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18166 #ifdef HAVE_COMPLEX_H
18167 #include <complex.h>
18173 int (*ptr)() = (int (*)())cosf;
18182 if ac_fn_c_try_link
"$LINENO"; then :
18183 gcc_cv_math_func_cosf
=yes
18185 gcc_cv_math_func_cosf
=no
18187 rm -f core conftest.err conftest.
$ac_objext \
18188 conftest
$ac_exeext conftest.
$ac_ext
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18191 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18192 if test $gcc_cv_math_func_cosf = yes; then
18194 cat >>confdefs.h
<<_ACEOF
18195 #define HAVE_COSF 1
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18204 $as_echo_n "checking for cos... " >&6; }
18205 if test "${gcc_cv_math_func_cos+set}" = set; then :
18206 $as_echo_n "(cached) " >&6
18208 if test x
$gcc_no_link = xyes
; then
18209 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18214 #ifdef HAVE_COMPLEX_H
18215 #include <complex.h>
18221 int (*ptr)() = (int (*)())cos;
18230 if ac_fn_c_try_link
"$LINENO"; then :
18231 gcc_cv_math_func_cos
=yes
18233 gcc_cv_math_func_cos
=no
18235 rm -f core conftest.err conftest.
$ac_objext \
18236 conftest
$ac_exeext conftest.
$ac_ext
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18239 $as_echo "$gcc_cv_math_func_cos" >&6; }
18240 if test $gcc_cv_math_func_cos = yes; then
18242 cat >>confdefs.h
<<_ACEOF
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18252 $as_echo_n "checking for cosl... " >&6; }
18253 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18254 $as_echo_n "(cached) " >&6
18256 if test x
$gcc_no_link = xyes
; then
18257 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18262 #ifdef HAVE_COMPLEX_H
18263 #include <complex.h>
18269 int (*ptr)() = (int (*)())cosl;
18278 if ac_fn_c_try_link
"$LINENO"; then :
18279 gcc_cv_math_func_cosl
=yes
18281 gcc_cv_math_func_cosl
=no
18283 rm -f core conftest.err conftest.
$ac_objext \
18284 conftest
$ac_exeext conftest.
$ac_ext
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18287 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18288 if test $gcc_cv_math_func_cosl = yes; then
18290 cat >>confdefs.h
<<_ACEOF
18291 #define HAVE_COSL 1
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18300 $as_echo_n "checking for ccosf... " >&6; }
18301 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18302 $as_echo_n "(cached) " >&6
18304 if test x
$gcc_no_link = xyes
; then
18305 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18310 #ifdef HAVE_COMPLEX_H
18311 #include <complex.h>
18317 int (*ptr)() = (int (*)())ccosf;
18326 if ac_fn_c_try_link
"$LINENO"; then :
18327 gcc_cv_math_func_ccosf
=yes
18329 gcc_cv_math_func_ccosf
=no
18331 rm -f core conftest.err conftest.
$ac_objext \
18332 conftest
$ac_exeext conftest.
$ac_ext
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18335 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18336 if test $gcc_cv_math_func_ccosf = yes; then
18338 cat >>confdefs.h
<<_ACEOF
18339 #define HAVE_CCOSF 1
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18348 $as_echo_n "checking for ccos... " >&6; }
18349 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18350 $as_echo_n "(cached) " >&6
18352 if test x
$gcc_no_link = xyes
; then
18353 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18358 #ifdef HAVE_COMPLEX_H
18359 #include <complex.h>
18365 int (*ptr)() = (int (*)())ccos;
18374 if ac_fn_c_try_link
"$LINENO"; then :
18375 gcc_cv_math_func_ccos
=yes
18377 gcc_cv_math_func_ccos
=no
18379 rm -f core conftest.err conftest.
$ac_objext \
18380 conftest
$ac_exeext conftest.
$ac_ext
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18383 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18384 if test $gcc_cv_math_func_ccos = yes; then
18386 cat >>confdefs.h
<<_ACEOF
18387 #define HAVE_CCOS 1
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18396 $as_echo_n "checking for ccosl... " >&6; }
18397 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18398 $as_echo_n "(cached) " >&6
18400 if test x
$gcc_no_link = xyes
; then
18401 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h. */
18406 #ifdef HAVE_COMPLEX_H
18407 #include <complex.h>
18413 int (*ptr)() = (int (*)())ccosl;
18422 if ac_fn_c_try_link
"$LINENO"; then :
18423 gcc_cv_math_func_ccosl
=yes
18425 gcc_cv_math_func_ccosl
=no
18427 rm -f core conftest.err conftest.
$ac_objext \
18428 conftest
$ac_exeext conftest.
$ac_ext
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18431 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18432 if test $gcc_cv_math_func_ccosl = yes; then
18434 cat >>confdefs.h
<<_ACEOF
18435 #define HAVE_CCOSL 1
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18444 $as_echo_n "checking for coshf... " >&6; }
18445 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18446 $as_echo_n "(cached) " >&6
18448 if test x
$gcc_no_link = xyes
; then
18449 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18452 /* end confdefs.h. */
18454 #ifdef HAVE_COMPLEX_H
18455 #include <complex.h>
18461 int (*ptr)() = (int (*)())coshf;
18470 if ac_fn_c_try_link
"$LINENO"; then :
18471 gcc_cv_math_func_coshf
=yes
18473 gcc_cv_math_func_coshf
=no
18475 rm -f core conftest.err conftest.
$ac_objext \
18476 conftest
$ac_exeext conftest.
$ac_ext
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18479 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18480 if test $gcc_cv_math_func_coshf = yes; then
18482 cat >>confdefs.h
<<_ACEOF
18483 #define HAVE_COSHF 1
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18492 $as_echo_n "checking for cosh... " >&6; }
18493 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18494 $as_echo_n "(cached) " >&6
18496 if test x
$gcc_no_link = xyes
; then
18497 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18500 /* end confdefs.h. */
18502 #ifdef HAVE_COMPLEX_H
18503 #include <complex.h>
18509 int (*ptr)() = (int (*)())cosh;
18518 if ac_fn_c_try_link
"$LINENO"; then :
18519 gcc_cv_math_func_cosh
=yes
18521 gcc_cv_math_func_cosh
=no
18523 rm -f core conftest.err conftest.
$ac_objext \
18524 conftest
$ac_exeext conftest.
$ac_ext
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18527 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18528 if test $gcc_cv_math_func_cosh = yes; then
18530 cat >>confdefs.h
<<_ACEOF
18531 #define HAVE_COSH 1
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18540 $as_echo_n "checking for coshl... " >&6; }
18541 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18544 if test x
$gcc_no_link = xyes
; then
18545 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18548 /* end confdefs.h. */
18550 #ifdef HAVE_COMPLEX_H
18551 #include <complex.h>
18557 int (*ptr)() = (int (*)())coshl;
18566 if ac_fn_c_try_link
"$LINENO"; then :
18567 gcc_cv_math_func_coshl
=yes
18569 gcc_cv_math_func_coshl
=no
18571 rm -f core conftest.err conftest.
$ac_objext \
18572 conftest
$ac_exeext conftest.
$ac_ext
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18575 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18576 if test $gcc_cv_math_func_coshl = yes; then
18578 cat >>confdefs.h
<<_ACEOF
18579 #define HAVE_COSHL 1
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18588 $as_echo_n "checking for ccoshf... " >&6; }
18589 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18590 $as_echo_n "(cached) " >&6
18592 if test x
$gcc_no_link = xyes
; then
18593 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18598 #ifdef HAVE_COMPLEX_H
18599 #include <complex.h>
18605 int (*ptr)() = (int (*)())ccoshf;
18614 if ac_fn_c_try_link
"$LINENO"; then :
18615 gcc_cv_math_func_ccoshf
=yes
18617 gcc_cv_math_func_ccoshf
=no
18619 rm -f core conftest.err conftest.
$ac_objext \
18620 conftest
$ac_exeext conftest.
$ac_ext
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18623 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18624 if test $gcc_cv_math_func_ccoshf = yes; then
18626 cat >>confdefs.h
<<_ACEOF
18627 #define HAVE_CCOSHF 1
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18636 $as_echo_n "checking for ccosh... " >&6; }
18637 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18638 $as_echo_n "(cached) " >&6
18640 if test x
$gcc_no_link = xyes
; then
18641 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18646 #ifdef HAVE_COMPLEX_H
18647 #include <complex.h>
18653 int (*ptr)() = (int (*)())ccosh;
18662 if ac_fn_c_try_link
"$LINENO"; then :
18663 gcc_cv_math_func_ccosh
=yes
18665 gcc_cv_math_func_ccosh
=no
18667 rm -f core conftest.err conftest.
$ac_objext \
18668 conftest
$ac_exeext conftest.
$ac_ext
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18671 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18672 if test $gcc_cv_math_func_ccosh = yes; then
18674 cat >>confdefs.h
<<_ACEOF
18675 #define HAVE_CCOSH 1
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18684 $as_echo_n "checking for ccoshl... " >&6; }
18685 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18686 $as_echo_n "(cached) " >&6
18688 if test x
$gcc_no_link = xyes
; then
18689 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18694 #ifdef HAVE_COMPLEX_H
18695 #include <complex.h>
18701 int (*ptr)() = (int (*)())ccoshl;
18710 if ac_fn_c_try_link
"$LINENO"; then :
18711 gcc_cv_math_func_ccoshl
=yes
18713 gcc_cv_math_func_ccoshl
=no
18715 rm -f core conftest.err conftest.
$ac_objext \
18716 conftest
$ac_exeext conftest.
$ac_ext
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18719 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18720 if test $gcc_cv_math_func_ccoshl = yes; then
18722 cat >>confdefs.h
<<_ACEOF
18723 #define HAVE_CCOSHL 1
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18732 $as_echo_n "checking for expf... " >&6; }
18733 if test "${gcc_cv_math_func_expf+set}" = set; then :
18734 $as_echo_n "(cached) " >&6
18736 if test x
$gcc_no_link = xyes
; then
18737 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18742 #ifdef HAVE_COMPLEX_H
18743 #include <complex.h>
18749 int (*ptr)() = (int (*)())expf;
18758 if ac_fn_c_try_link
"$LINENO"; then :
18759 gcc_cv_math_func_expf
=yes
18761 gcc_cv_math_func_expf
=no
18763 rm -f core conftest.err conftest.
$ac_objext \
18764 conftest
$ac_exeext conftest.
$ac_ext
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18767 $as_echo "$gcc_cv_math_func_expf" >&6; }
18768 if test $gcc_cv_math_func_expf = yes; then
18770 cat >>confdefs.h
<<_ACEOF
18771 #define HAVE_EXPF 1
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18780 $as_echo_n "checking for exp... " >&6; }
18781 if test "${gcc_cv_math_func_exp+set}" = set; then :
18782 $as_echo_n "(cached) " >&6
18784 if test x
$gcc_no_link = xyes
; then
18785 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18790 #ifdef HAVE_COMPLEX_H
18791 #include <complex.h>
18797 int (*ptr)() = (int (*)())exp;
18806 if ac_fn_c_try_link
"$LINENO"; then :
18807 gcc_cv_math_func_exp
=yes
18809 gcc_cv_math_func_exp
=no
18811 rm -f core conftest.err conftest.
$ac_objext \
18812 conftest
$ac_exeext conftest.
$ac_ext
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18815 $as_echo "$gcc_cv_math_func_exp" >&6; }
18816 if test $gcc_cv_math_func_exp = yes; then
18818 cat >>confdefs.h
<<_ACEOF
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18828 $as_echo_n "checking for expl... " >&6; }
18829 if test "${gcc_cv_math_func_expl+set}" = set; then :
18830 $as_echo_n "(cached) " >&6
18832 if test x
$gcc_no_link = xyes
; then
18833 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18838 #ifdef HAVE_COMPLEX_H
18839 #include <complex.h>
18845 int (*ptr)() = (int (*)())expl;
18854 if ac_fn_c_try_link
"$LINENO"; then :
18855 gcc_cv_math_func_expl
=yes
18857 gcc_cv_math_func_expl
=no
18859 rm -f core conftest.err conftest.
$ac_objext \
18860 conftest
$ac_exeext conftest.
$ac_ext
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18863 $as_echo "$gcc_cv_math_func_expl" >&6; }
18864 if test $gcc_cv_math_func_expl = yes; then
18866 cat >>confdefs.h
<<_ACEOF
18867 #define HAVE_EXPL 1
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18876 $as_echo_n "checking for cexpf... " >&6; }
18877 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18878 $as_echo_n "(cached) " >&6
18880 if test x
$gcc_no_link = xyes
; then
18881 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18886 #ifdef HAVE_COMPLEX_H
18887 #include <complex.h>
18893 int (*ptr)() = (int (*)())cexpf;
18902 if ac_fn_c_try_link
"$LINENO"; then :
18903 gcc_cv_math_func_cexpf
=yes
18905 gcc_cv_math_func_cexpf
=no
18907 rm -f core conftest.err conftest.
$ac_objext \
18908 conftest
$ac_exeext conftest.
$ac_ext
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18911 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18912 if test $gcc_cv_math_func_cexpf = yes; then
18914 cat >>confdefs.h
<<_ACEOF
18915 #define HAVE_CEXPF 1
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18924 $as_echo_n "checking for cexp... " >&6; }
18925 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18926 $as_echo_n "(cached) " >&6
18928 if test x
$gcc_no_link = xyes
; then
18929 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h. */
18934 #ifdef HAVE_COMPLEX_H
18935 #include <complex.h>
18941 int (*ptr)() = (int (*)())cexp;
18950 if ac_fn_c_try_link
"$LINENO"; then :
18951 gcc_cv_math_func_cexp
=yes
18953 gcc_cv_math_func_cexp
=no
18955 rm -f core conftest.err conftest.
$ac_objext \
18956 conftest
$ac_exeext conftest.
$ac_ext
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18959 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18960 if test $gcc_cv_math_func_cexp = yes; then
18962 cat >>confdefs.h
<<_ACEOF
18963 #define HAVE_CEXP 1
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18972 $as_echo_n "checking for cexpl... " >&6; }
18973 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18974 $as_echo_n "(cached) " >&6
18976 if test x
$gcc_no_link = xyes
; then
18977 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18980 /* end confdefs.h. */
18982 #ifdef HAVE_COMPLEX_H
18983 #include <complex.h>
18989 int (*ptr)() = (int (*)())cexpl;
18998 if ac_fn_c_try_link
"$LINENO"; then :
18999 gcc_cv_math_func_cexpl
=yes
19001 gcc_cv_math_func_cexpl
=no
19003 rm -f core conftest.err conftest.
$ac_objext \
19004 conftest
$ac_exeext conftest.
$ac_ext
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19007 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19008 if test $gcc_cv_math_func_cexpl = yes; then
19010 cat >>confdefs.h
<<_ACEOF
19011 #define HAVE_CEXPL 1
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19020 $as_echo_n "checking for fabsf... " >&6; }
19021 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19022 $as_echo_n "(cached) " >&6
19024 if test x
$gcc_no_link = xyes
; then
19025 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19030 #ifdef HAVE_COMPLEX_H
19031 #include <complex.h>
19037 int (*ptr)() = (int (*)())fabsf;
19046 if ac_fn_c_try_link
"$LINENO"; then :
19047 gcc_cv_math_func_fabsf
=yes
19049 gcc_cv_math_func_fabsf
=no
19051 rm -f core conftest.err conftest.
$ac_objext \
19052 conftest
$ac_exeext conftest.
$ac_ext
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19055 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19056 if test $gcc_cv_math_func_fabsf = yes; then
19058 cat >>confdefs.h
<<_ACEOF
19059 #define HAVE_FABSF 1
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19068 $as_echo_n "checking for fabs... " >&6; }
19069 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19070 $as_echo_n "(cached) " >&6
19072 if test x
$gcc_no_link = xyes
; then
19073 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19076 /* end confdefs.h. */
19078 #ifdef HAVE_COMPLEX_H
19079 #include <complex.h>
19085 int (*ptr)() = (int (*)())fabs;
19094 if ac_fn_c_try_link
"$LINENO"; then :
19095 gcc_cv_math_func_fabs
=yes
19097 gcc_cv_math_func_fabs
=no
19099 rm -f core conftest.err conftest.
$ac_objext \
19100 conftest
$ac_exeext conftest.
$ac_ext
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19103 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19104 if test $gcc_cv_math_func_fabs = yes; then
19106 cat >>confdefs.h
<<_ACEOF
19107 #define HAVE_FABS 1
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19116 $as_echo_n "checking for fabsl... " >&6; }
19117 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19118 $as_echo_n "(cached) " >&6
19120 if test x
$gcc_no_link = xyes
; then
19121 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19126 #ifdef HAVE_COMPLEX_H
19127 #include <complex.h>
19133 int (*ptr)() = (int (*)())fabsl;
19142 if ac_fn_c_try_link
"$LINENO"; then :
19143 gcc_cv_math_func_fabsl
=yes
19145 gcc_cv_math_func_fabsl
=no
19147 rm -f core conftest.err conftest.
$ac_objext \
19148 conftest
$ac_exeext conftest.
$ac_ext
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19151 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19152 if test $gcc_cv_math_func_fabsl = yes; then
19154 cat >>confdefs.h
<<_ACEOF
19155 #define HAVE_FABSL 1
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19164 $as_echo_n "checking for cabsf... " >&6; }
19165 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19166 $as_echo_n "(cached) " >&6
19168 if test x
$gcc_no_link = xyes
; then
19169 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19174 #ifdef HAVE_COMPLEX_H
19175 #include <complex.h>
19181 int (*ptr)() = (int (*)())cabsf;
19190 if ac_fn_c_try_link
"$LINENO"; then :
19191 gcc_cv_math_func_cabsf
=yes
19193 gcc_cv_math_func_cabsf
=no
19195 rm -f core conftest.err conftest.
$ac_objext \
19196 conftest
$ac_exeext conftest.
$ac_ext
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19199 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19200 if test $gcc_cv_math_func_cabsf = yes; then
19202 cat >>confdefs.h
<<_ACEOF
19203 #define HAVE_CABSF 1
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19212 $as_echo_n "checking for cabs... " >&6; }
19213 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19214 $as_echo_n "(cached) " >&6
19216 if test x
$gcc_no_link = xyes
; then
19217 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19220 /* end confdefs.h. */
19222 #ifdef HAVE_COMPLEX_H
19223 #include <complex.h>
19229 int (*ptr)() = (int (*)())cabs;
19238 if ac_fn_c_try_link
"$LINENO"; then :
19239 gcc_cv_math_func_cabs
=yes
19241 gcc_cv_math_func_cabs
=no
19243 rm -f core conftest.err conftest.
$ac_objext \
19244 conftest
$ac_exeext conftest.
$ac_ext
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19247 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19248 if test $gcc_cv_math_func_cabs = yes; then
19250 cat >>confdefs.h
<<_ACEOF
19251 #define HAVE_CABS 1
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19260 $as_echo_n "checking for cabsl... " >&6; }
19261 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19262 $as_echo_n "(cached) " >&6
19264 if test x
$gcc_no_link = xyes
; then
19265 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h. */
19270 #ifdef HAVE_COMPLEX_H
19271 #include <complex.h>
19277 int (*ptr)() = (int (*)())cabsl;
19286 if ac_fn_c_try_link
"$LINENO"; then :
19287 gcc_cv_math_func_cabsl
=yes
19289 gcc_cv_math_func_cabsl
=no
19291 rm -f core conftest.err conftest.
$ac_objext \
19292 conftest
$ac_exeext conftest.
$ac_ext
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19295 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19296 if test $gcc_cv_math_func_cabsl = yes; then
19298 cat >>confdefs.h
<<_ACEOF
19299 #define HAVE_CABSL 1
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19308 $as_echo_n "checking for floorf... " >&6; }
19309 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19310 $as_echo_n "(cached) " >&6
19312 if test x
$gcc_no_link = xyes
; then
19313 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19318 #ifdef HAVE_COMPLEX_H
19319 #include <complex.h>
19325 int (*ptr)() = (int (*)())floorf;
19334 if ac_fn_c_try_link
"$LINENO"; then :
19335 gcc_cv_math_func_floorf
=yes
19337 gcc_cv_math_func_floorf
=no
19339 rm -f core conftest.err conftest.
$ac_objext \
19340 conftest
$ac_exeext conftest.
$ac_ext
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19343 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19344 if test $gcc_cv_math_func_floorf = yes; then
19346 cat >>confdefs.h
<<_ACEOF
19347 #define HAVE_FLOORF 1
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19356 $as_echo_n "checking for floor... " >&6; }
19357 if test "${gcc_cv_math_func_floor+set}" = set; then :
19358 $as_echo_n "(cached) " >&6
19360 if test x
$gcc_no_link = xyes
; then
19361 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19364 /* end confdefs.h. */
19366 #ifdef HAVE_COMPLEX_H
19367 #include <complex.h>
19373 int (*ptr)() = (int (*)())floor;
19382 if ac_fn_c_try_link
"$LINENO"; then :
19383 gcc_cv_math_func_floor
=yes
19385 gcc_cv_math_func_floor
=no
19387 rm -f core conftest.err conftest.
$ac_objext \
19388 conftest
$ac_exeext conftest.
$ac_ext
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19391 $as_echo "$gcc_cv_math_func_floor" >&6; }
19392 if test $gcc_cv_math_func_floor = yes; then
19394 cat >>confdefs.h
<<_ACEOF
19395 #define HAVE_FLOOR 1
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19404 $as_echo_n "checking for floorl... " >&6; }
19405 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19406 $as_echo_n "(cached) " >&6
19408 if test x
$gcc_no_link = xyes
; then
19409 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19414 #ifdef HAVE_COMPLEX_H
19415 #include <complex.h>
19421 int (*ptr)() = (int (*)())floorl;
19430 if ac_fn_c_try_link
"$LINENO"; then :
19431 gcc_cv_math_func_floorl
=yes
19433 gcc_cv_math_func_floorl
=no
19435 rm -f core conftest.err conftest.
$ac_objext \
19436 conftest
$ac_exeext conftest.
$ac_ext
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19439 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19440 if test $gcc_cv_math_func_floorl = yes; then
19442 cat >>confdefs.h
<<_ACEOF
19443 #define HAVE_FLOORL 1
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19452 $as_echo_n "checking for fmodf... " >&6; }
19453 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19454 $as_echo_n "(cached) " >&6
19456 if test x
$gcc_no_link = xyes
; then
19457 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19460 /* end confdefs.h. */
19462 #ifdef HAVE_COMPLEX_H
19463 #include <complex.h>
19469 int (*ptr)() = (int (*)())fmodf;
19478 if ac_fn_c_try_link
"$LINENO"; then :
19479 gcc_cv_math_func_fmodf
=yes
19481 gcc_cv_math_func_fmodf
=no
19483 rm -f core conftest.err conftest.
$ac_objext \
19484 conftest
$ac_exeext conftest.
$ac_ext
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19487 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19488 if test $gcc_cv_math_func_fmodf = yes; then
19490 cat >>confdefs.h
<<_ACEOF
19491 #define HAVE_FMODF 1
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19500 $as_echo_n "checking for fmod... " >&6; }
19501 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19502 $as_echo_n "(cached) " >&6
19504 if test x
$gcc_no_link = xyes
; then
19505 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19510 #ifdef HAVE_COMPLEX_H
19511 #include <complex.h>
19517 int (*ptr)() = (int (*)())fmod;
19526 if ac_fn_c_try_link
"$LINENO"; then :
19527 gcc_cv_math_func_fmod
=yes
19529 gcc_cv_math_func_fmod
=no
19531 rm -f core conftest.err conftest.
$ac_objext \
19532 conftest
$ac_exeext conftest.
$ac_ext
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19535 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19536 if test $gcc_cv_math_func_fmod = yes; then
19538 cat >>confdefs.h
<<_ACEOF
19539 #define HAVE_FMOD 1
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19548 $as_echo_n "checking for fmodl... " >&6; }
19549 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19550 $as_echo_n "(cached) " >&6
19552 if test x
$gcc_no_link = xyes
; then
19553 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19558 #ifdef HAVE_COMPLEX_H
19559 #include <complex.h>
19565 int (*ptr)() = (int (*)())fmodl;
19574 if ac_fn_c_try_link
"$LINENO"; then :
19575 gcc_cv_math_func_fmodl
=yes
19577 gcc_cv_math_func_fmodl
=no
19579 rm -f core conftest.err conftest.
$ac_objext \
19580 conftest
$ac_exeext conftest.
$ac_ext
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19583 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19584 if test $gcc_cv_math_func_fmodl = yes; then
19586 cat >>confdefs.h
<<_ACEOF
19587 #define HAVE_FMODL 1
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19596 $as_echo_n "checking for frexpf... " >&6; }
19597 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19598 $as_echo_n "(cached) " >&6
19600 if test x
$gcc_no_link = xyes
; then
19601 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19604 /* end confdefs.h. */
19606 #ifdef HAVE_COMPLEX_H
19607 #include <complex.h>
19613 int (*ptr)() = (int (*)())frexpf;
19622 if ac_fn_c_try_link
"$LINENO"; then :
19623 gcc_cv_math_func_frexpf
=yes
19625 gcc_cv_math_func_frexpf
=no
19627 rm -f core conftest.err conftest.
$ac_objext \
19628 conftest
$ac_exeext conftest.
$ac_ext
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19631 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19632 if test $gcc_cv_math_func_frexpf = yes; then
19634 cat >>confdefs.h
<<_ACEOF
19635 #define HAVE_FREXPF 1
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19644 $as_echo_n "checking for frexp... " >&6; }
19645 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19646 $as_echo_n "(cached) " >&6
19648 if test x
$gcc_no_link = xyes
; then
19649 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19654 #ifdef HAVE_COMPLEX_H
19655 #include <complex.h>
19661 int (*ptr)() = (int (*)())frexp;
19670 if ac_fn_c_try_link
"$LINENO"; then :
19671 gcc_cv_math_func_frexp
=yes
19673 gcc_cv_math_func_frexp
=no
19675 rm -f core conftest.err conftest.
$ac_objext \
19676 conftest
$ac_exeext conftest.
$ac_ext
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19679 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19680 if test $gcc_cv_math_func_frexp = yes; then
19682 cat >>confdefs.h
<<_ACEOF
19683 #define HAVE_FREXP 1
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19692 $as_echo_n "checking for frexpl... " >&6; }
19693 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19694 $as_echo_n "(cached) " >&6
19696 if test x
$gcc_no_link = xyes
; then
19697 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19702 #ifdef HAVE_COMPLEX_H
19703 #include <complex.h>
19709 int (*ptr)() = (int (*)())frexpl;
19718 if ac_fn_c_try_link
"$LINENO"; then :
19719 gcc_cv_math_func_frexpl
=yes
19721 gcc_cv_math_func_frexpl
=no
19723 rm -f core conftest.err conftest.
$ac_objext \
19724 conftest
$ac_exeext conftest.
$ac_ext
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19727 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19728 if test $gcc_cv_math_func_frexpl = yes; then
19730 cat >>confdefs.h
<<_ACEOF
19731 #define HAVE_FREXPL 1
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19740 $as_echo_n "checking for hypotf... " >&6; }
19741 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19742 $as_echo_n "(cached) " >&6
19744 if test x
$gcc_no_link = xyes
; then
19745 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19750 #ifdef HAVE_COMPLEX_H
19751 #include <complex.h>
19757 int (*ptr)() = (int (*)())hypotf;
19766 if ac_fn_c_try_link
"$LINENO"; then :
19767 gcc_cv_math_func_hypotf
=yes
19769 gcc_cv_math_func_hypotf
=no
19771 rm -f core conftest.err conftest.
$ac_objext \
19772 conftest
$ac_exeext conftest.
$ac_ext
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19775 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19776 if test $gcc_cv_math_func_hypotf = yes; then
19778 cat >>confdefs.h
<<_ACEOF
19779 #define HAVE_HYPOTF 1
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19788 $as_echo_n "checking for hypot... " >&6; }
19789 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19790 $as_echo_n "(cached) " >&6
19792 if test x
$gcc_no_link = xyes
; then
19793 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19798 #ifdef HAVE_COMPLEX_H
19799 #include <complex.h>
19805 int (*ptr)() = (int (*)())hypot;
19814 if ac_fn_c_try_link
"$LINENO"; then :
19815 gcc_cv_math_func_hypot
=yes
19817 gcc_cv_math_func_hypot
=no
19819 rm -f core conftest.err conftest.
$ac_objext \
19820 conftest
$ac_exeext conftest.
$ac_ext
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19823 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19824 if test $gcc_cv_math_func_hypot = yes; then
19826 cat >>confdefs.h
<<_ACEOF
19827 #define HAVE_HYPOT 1
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19836 $as_echo_n "checking for hypotl... " >&6; }
19837 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19838 $as_echo_n "(cached) " >&6
19840 if test x
$gcc_no_link = xyes
; then
19841 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19846 #ifdef HAVE_COMPLEX_H
19847 #include <complex.h>
19853 int (*ptr)() = (int (*)())hypotl;
19862 if ac_fn_c_try_link
"$LINENO"; then :
19863 gcc_cv_math_func_hypotl
=yes
19865 gcc_cv_math_func_hypotl
=no
19867 rm -f core conftest.err conftest.
$ac_objext \
19868 conftest
$ac_exeext conftest.
$ac_ext
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19871 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19872 if test $gcc_cv_math_func_hypotl = yes; then
19874 cat >>confdefs.h
<<_ACEOF
19875 #define HAVE_HYPOTL 1
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19884 $as_echo_n "checking for ldexpf... " >&6; }
19885 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19886 $as_echo_n "(cached) " >&6
19888 if test x
$gcc_no_link = xyes
; then
19889 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19894 #ifdef HAVE_COMPLEX_H
19895 #include <complex.h>
19901 int (*ptr)() = (int (*)())ldexpf;
19910 if ac_fn_c_try_link
"$LINENO"; then :
19911 gcc_cv_math_func_ldexpf
=yes
19913 gcc_cv_math_func_ldexpf
=no
19915 rm -f core conftest.err conftest.
$ac_objext \
19916 conftest
$ac_exeext conftest.
$ac_ext
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19919 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19920 if test $gcc_cv_math_func_ldexpf = yes; then
19922 cat >>confdefs.h
<<_ACEOF
19923 #define HAVE_LDEXPF 1
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19932 $as_echo_n "checking for ldexp... " >&6; }
19933 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19934 $as_echo_n "(cached) " >&6
19936 if test x
$gcc_no_link = xyes
; then
19937 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19940 /* end confdefs.h. */
19942 #ifdef HAVE_COMPLEX_H
19943 #include <complex.h>
19949 int (*ptr)() = (int (*)())ldexp;
19958 if ac_fn_c_try_link
"$LINENO"; then :
19959 gcc_cv_math_func_ldexp
=yes
19961 gcc_cv_math_func_ldexp
=no
19963 rm -f core conftest.err conftest.
$ac_objext \
19964 conftest
$ac_exeext conftest.
$ac_ext
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19967 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19968 if test $gcc_cv_math_func_ldexp = yes; then
19970 cat >>confdefs.h
<<_ACEOF
19971 #define HAVE_LDEXP 1
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19980 $as_echo_n "checking for ldexpl... " >&6; }
19981 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19982 $as_echo_n "(cached) " >&6
19984 if test x
$gcc_no_link = xyes
; then
19985 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h. */
19990 #ifdef HAVE_COMPLEX_H
19991 #include <complex.h>
19997 int (*ptr)() = (int (*)())ldexpl;
20006 if ac_fn_c_try_link
"$LINENO"; then :
20007 gcc_cv_math_func_ldexpl
=yes
20009 gcc_cv_math_func_ldexpl
=no
20011 rm -f core conftest.err conftest.
$ac_objext \
20012 conftest
$ac_exeext conftest.
$ac_ext
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20015 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20016 if test $gcc_cv_math_func_ldexpl = yes; then
20018 cat >>confdefs.h
<<_ACEOF
20019 #define HAVE_LDEXPL 1
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20028 $as_echo_n "checking for logf... " >&6; }
20029 if test "${gcc_cv_math_func_logf+set}" = set; then :
20030 $as_echo_n "(cached) " >&6
20032 if test x
$gcc_no_link = xyes
; then
20033 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20036 /* end confdefs.h. */
20038 #ifdef HAVE_COMPLEX_H
20039 #include <complex.h>
20045 int (*ptr)() = (int (*)())logf;
20054 if ac_fn_c_try_link
"$LINENO"; then :
20055 gcc_cv_math_func_logf
=yes
20057 gcc_cv_math_func_logf
=no
20059 rm -f core conftest.err conftest.
$ac_objext \
20060 conftest
$ac_exeext conftest.
$ac_ext
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20063 $as_echo "$gcc_cv_math_func_logf" >&6; }
20064 if test $gcc_cv_math_func_logf = yes; then
20066 cat >>confdefs.h
<<_ACEOF
20067 #define HAVE_LOGF 1
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20076 $as_echo_n "checking for log... " >&6; }
20077 if test "${gcc_cv_math_func_log+set}" = set; then :
20078 $as_echo_n "(cached) " >&6
20080 if test x
$gcc_no_link = xyes
; then
20081 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20084 /* end confdefs.h. */
20086 #ifdef HAVE_COMPLEX_H
20087 #include <complex.h>
20093 int (*ptr)() = (int (*)())log;
20102 if ac_fn_c_try_link
"$LINENO"; then :
20103 gcc_cv_math_func_log
=yes
20105 gcc_cv_math_func_log
=no
20107 rm -f core conftest.err conftest.
$ac_objext \
20108 conftest
$ac_exeext conftest.
$ac_ext
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20111 $as_echo "$gcc_cv_math_func_log" >&6; }
20112 if test $gcc_cv_math_func_log = yes; then
20114 cat >>confdefs.h
<<_ACEOF
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20124 $as_echo_n "checking for logl... " >&6; }
20125 if test "${gcc_cv_math_func_logl+set}" = set; then :
20126 $as_echo_n "(cached) " >&6
20128 if test x
$gcc_no_link = xyes
; then
20129 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20132 /* end confdefs.h. */
20134 #ifdef HAVE_COMPLEX_H
20135 #include <complex.h>
20141 int (*ptr)() = (int (*)())logl;
20150 if ac_fn_c_try_link
"$LINENO"; then :
20151 gcc_cv_math_func_logl
=yes
20153 gcc_cv_math_func_logl
=no
20155 rm -f core conftest.err conftest.
$ac_objext \
20156 conftest
$ac_exeext conftest.
$ac_ext
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20159 $as_echo "$gcc_cv_math_func_logl" >&6; }
20160 if test $gcc_cv_math_func_logl = yes; then
20162 cat >>confdefs.h
<<_ACEOF
20163 #define HAVE_LOGL 1
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20172 $as_echo_n "checking for clogf... " >&6; }
20173 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20174 $as_echo_n "(cached) " >&6
20176 if test x
$gcc_no_link = xyes
; then
20177 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20182 #ifdef HAVE_COMPLEX_H
20183 #include <complex.h>
20189 int (*ptr)() = (int (*)())clogf;
20198 if ac_fn_c_try_link
"$LINENO"; then :
20199 gcc_cv_math_func_clogf
=yes
20201 gcc_cv_math_func_clogf
=no
20203 rm -f core conftest.err conftest.
$ac_objext \
20204 conftest
$ac_exeext conftest.
$ac_ext
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20207 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20208 if test $gcc_cv_math_func_clogf = yes; then
20210 cat >>confdefs.h
<<_ACEOF
20211 #define HAVE_CLOGF 1
20219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20220 $as_echo_n "checking for clog... " >&6; }
20221 if test "${gcc_cv_math_func_clog+set}" = set; then :
20222 $as_echo_n "(cached) " >&6
20224 if test x
$gcc_no_link = xyes
; then
20225 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20230 #ifdef HAVE_COMPLEX_H
20231 #include <complex.h>
20237 int (*ptr)() = (int (*)())clog;
20246 if ac_fn_c_try_link
"$LINENO"; then :
20247 gcc_cv_math_func_clog
=yes
20249 gcc_cv_math_func_clog
=no
20251 rm -f core conftest.err conftest.
$ac_objext \
20252 conftest
$ac_exeext conftest.
$ac_ext
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20255 $as_echo "$gcc_cv_math_func_clog" >&6; }
20256 if test $gcc_cv_math_func_clog = yes; then
20258 cat >>confdefs.h
<<_ACEOF
20259 #define HAVE_CLOG 1
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20268 $as_echo_n "checking for clogl... " >&6; }
20269 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20270 $as_echo_n "(cached) " >&6
20272 if test x
$gcc_no_link = xyes
; then
20273 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h. */
20278 #ifdef HAVE_COMPLEX_H
20279 #include <complex.h>
20285 int (*ptr)() = (int (*)())clogl;
20294 if ac_fn_c_try_link
"$LINENO"; then :
20295 gcc_cv_math_func_clogl
=yes
20297 gcc_cv_math_func_clogl
=no
20299 rm -f core conftest.err conftest.
$ac_objext \
20300 conftest
$ac_exeext conftest.
$ac_ext
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20303 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20304 if test $gcc_cv_math_func_clogl = yes; then
20306 cat >>confdefs.h
<<_ACEOF
20307 #define HAVE_CLOGL 1
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20316 $as_echo_n "checking for log10f... " >&6; }
20317 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20318 $as_echo_n "(cached) " >&6
20320 if test x
$gcc_no_link = xyes
; then
20321 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20324 /* end confdefs.h. */
20326 #ifdef HAVE_COMPLEX_H
20327 #include <complex.h>
20333 int (*ptr)() = (int (*)())log10f;
20342 if ac_fn_c_try_link
"$LINENO"; then :
20343 gcc_cv_math_func_log10f
=yes
20345 gcc_cv_math_func_log10f
=no
20347 rm -f core conftest.err conftest.
$ac_objext \
20348 conftest
$ac_exeext conftest.
$ac_ext
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20351 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20352 if test $gcc_cv_math_func_log10f = yes; then
20354 cat >>confdefs.h
<<_ACEOF
20355 #define HAVE_LOG10F 1
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20364 $as_echo_n "checking for log10... " >&6; }
20365 if test "${gcc_cv_math_func_log10+set}" = set; then :
20366 $as_echo_n "(cached) " >&6
20368 if test x
$gcc_no_link = xyes
; then
20369 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20372 /* end confdefs.h. */
20374 #ifdef HAVE_COMPLEX_H
20375 #include <complex.h>
20381 int (*ptr)() = (int (*)())log10;
20390 if ac_fn_c_try_link
"$LINENO"; then :
20391 gcc_cv_math_func_log10
=yes
20393 gcc_cv_math_func_log10
=no
20395 rm -f core conftest.err conftest.
$ac_objext \
20396 conftest
$ac_exeext conftest.
$ac_ext
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20399 $as_echo "$gcc_cv_math_func_log10" >&6; }
20400 if test $gcc_cv_math_func_log10 = yes; then
20402 cat >>confdefs.h
<<_ACEOF
20403 #define HAVE_LOG10 1
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20412 $as_echo_n "checking for log10l... " >&6; }
20413 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20414 $as_echo_n "(cached) " >&6
20416 if test x
$gcc_no_link = xyes
; then
20417 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20420 /* end confdefs.h. */
20422 #ifdef HAVE_COMPLEX_H
20423 #include <complex.h>
20429 int (*ptr)() = (int (*)())log10l;
20438 if ac_fn_c_try_link
"$LINENO"; then :
20439 gcc_cv_math_func_log10l
=yes
20441 gcc_cv_math_func_log10l
=no
20443 rm -f core conftest.err conftest.
$ac_objext \
20444 conftest
$ac_exeext conftest.
$ac_ext
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20447 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20448 if test $gcc_cv_math_func_log10l = yes; then
20450 cat >>confdefs.h
<<_ACEOF
20451 #define HAVE_LOG10L 1
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20460 $as_echo_n "checking for clog10f... " >&6; }
20461 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20462 $as_echo_n "(cached) " >&6
20464 if test x
$gcc_no_link = xyes
; then
20465 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20468 /* end confdefs.h. */
20470 #ifdef HAVE_COMPLEX_H
20471 #include <complex.h>
20477 int (*ptr)() = (int (*)())clog10f;
20486 if ac_fn_c_try_link
"$LINENO"; then :
20487 gcc_cv_math_func_clog10f
=yes
20489 gcc_cv_math_func_clog10f
=no
20491 rm -f core conftest.err conftest.
$ac_objext \
20492 conftest
$ac_exeext conftest.
$ac_ext
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20495 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20496 if test $gcc_cv_math_func_clog10f = yes; then
20498 cat >>confdefs.h
<<_ACEOF
20499 #define HAVE_CLOG10F 1
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20508 $as_echo_n "checking for clog10... " >&6; }
20509 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20510 $as_echo_n "(cached) " >&6
20512 if test x
$gcc_no_link = xyes
; then
20513 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20516 /* end confdefs.h. */
20518 #ifdef HAVE_COMPLEX_H
20519 #include <complex.h>
20525 int (*ptr)() = (int (*)())clog10;
20534 if ac_fn_c_try_link
"$LINENO"; then :
20535 gcc_cv_math_func_clog10
=yes
20537 gcc_cv_math_func_clog10
=no
20539 rm -f core conftest.err conftest.
$ac_objext \
20540 conftest
$ac_exeext conftest.
$ac_ext
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20543 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20544 if test $gcc_cv_math_func_clog10 = yes; then
20546 cat >>confdefs.h
<<_ACEOF
20547 #define HAVE_CLOG10 1
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20556 $as_echo_n "checking for clog10l... " >&6; }
20557 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20558 $as_echo_n "(cached) " >&6
20560 if test x
$gcc_no_link = xyes
; then
20561 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20564 /* end confdefs.h. */
20566 #ifdef HAVE_COMPLEX_H
20567 #include <complex.h>
20573 int (*ptr)() = (int (*)())clog10l;
20582 if ac_fn_c_try_link
"$LINENO"; then :
20583 gcc_cv_math_func_clog10l
=yes
20585 gcc_cv_math_func_clog10l
=no
20587 rm -f core conftest.err conftest.
$ac_objext \
20588 conftest
$ac_exeext conftest.
$ac_ext
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20591 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20592 if test $gcc_cv_math_func_clog10l = yes; then
20594 cat >>confdefs.h
<<_ACEOF
20595 #define HAVE_CLOG10L 1
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20604 $as_echo_n "checking for nextafterf... " >&6; }
20605 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20606 $as_echo_n "(cached) " >&6
20608 if test x
$gcc_no_link = xyes
; then
20609 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20612 /* end confdefs.h. */
20614 #ifdef HAVE_COMPLEX_H
20615 #include <complex.h>
20621 int (*ptr)() = (int (*)())nextafterf;
20630 if ac_fn_c_try_link
"$LINENO"; then :
20631 gcc_cv_math_func_nextafterf
=yes
20633 gcc_cv_math_func_nextafterf
=no
20635 rm -f core conftest.err conftest.
$ac_objext \
20636 conftest
$ac_exeext conftest.
$ac_ext
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20639 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20640 if test $gcc_cv_math_func_nextafterf = yes; then
20642 cat >>confdefs.h
<<_ACEOF
20643 #define HAVE_NEXTAFTERF 1
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20652 $as_echo_n "checking for nextafter... " >&6; }
20653 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20654 $as_echo_n "(cached) " >&6
20656 if test x
$gcc_no_link = xyes
; then
20657 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20662 #ifdef HAVE_COMPLEX_H
20663 #include <complex.h>
20669 int (*ptr)() = (int (*)())nextafter;
20678 if ac_fn_c_try_link
"$LINENO"; then :
20679 gcc_cv_math_func_nextafter
=yes
20681 gcc_cv_math_func_nextafter
=no
20683 rm -f core conftest.err conftest.
$ac_objext \
20684 conftest
$ac_exeext conftest.
$ac_ext
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20687 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20688 if test $gcc_cv_math_func_nextafter = yes; then
20690 cat >>confdefs.h
<<_ACEOF
20691 #define HAVE_NEXTAFTER 1
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20700 $as_echo_n "checking for nextafterl... " >&6; }
20701 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20702 $as_echo_n "(cached) " >&6
20704 if test x
$gcc_no_link = xyes
; then
20705 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20708 /* end confdefs.h. */
20710 #ifdef HAVE_COMPLEX_H
20711 #include <complex.h>
20717 int (*ptr)() = (int (*)())nextafterl;
20726 if ac_fn_c_try_link
"$LINENO"; then :
20727 gcc_cv_math_func_nextafterl
=yes
20729 gcc_cv_math_func_nextafterl
=no
20731 rm -f core conftest.err conftest.
$ac_objext \
20732 conftest
$ac_exeext conftest.
$ac_ext
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20735 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20736 if test $gcc_cv_math_func_nextafterl = yes; then
20738 cat >>confdefs.h
<<_ACEOF
20739 #define HAVE_NEXTAFTERL 1
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20748 $as_echo_n "checking for powf... " >&6; }
20749 if test "${gcc_cv_math_func_powf+set}" = set; then :
20750 $as_echo_n "(cached) " >&6
20752 if test x
$gcc_no_link = xyes
; then
20753 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20756 /* end confdefs.h. */
20758 #ifdef HAVE_COMPLEX_H
20759 #include <complex.h>
20765 int (*ptr)() = (int (*)())powf;
20774 if ac_fn_c_try_link
"$LINENO"; then :
20775 gcc_cv_math_func_powf
=yes
20777 gcc_cv_math_func_powf
=no
20779 rm -f core conftest.err conftest.
$ac_objext \
20780 conftest
$ac_exeext conftest.
$ac_ext
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20783 $as_echo "$gcc_cv_math_func_powf" >&6; }
20784 if test $gcc_cv_math_func_powf = yes; then
20786 cat >>confdefs.h
<<_ACEOF
20787 #define HAVE_POWF 1
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20796 $as_echo_n "checking for pow... " >&6; }
20797 if test "${gcc_cv_math_func_pow+set}" = set; then :
20798 $as_echo_n "(cached) " >&6
20800 if test x
$gcc_no_link = xyes
; then
20801 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20804 /* end confdefs.h. */
20806 #ifdef HAVE_COMPLEX_H
20807 #include <complex.h>
20813 int (*ptr)() = (int (*)())pow;
20822 if ac_fn_c_try_link
"$LINENO"; then :
20823 gcc_cv_math_func_pow
=yes
20825 gcc_cv_math_func_pow
=no
20827 rm -f core conftest.err conftest.
$ac_objext \
20828 conftest
$ac_exeext conftest.
$ac_ext
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20831 $as_echo "$gcc_cv_math_func_pow" >&6; }
20832 if test $gcc_cv_math_func_pow = yes; then
20834 cat >>confdefs.h
<<_ACEOF
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20844 $as_echo_n "checking for powl... " >&6; }
20845 if test "${gcc_cv_math_func_powl+set}" = set; then :
20846 $as_echo_n "(cached) " >&6
20848 if test x
$gcc_no_link = xyes
; then
20849 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20854 #ifdef HAVE_COMPLEX_H
20855 #include <complex.h>
20861 int (*ptr)() = (int (*)())powl;
20870 if ac_fn_c_try_link
"$LINENO"; then :
20871 gcc_cv_math_func_powl
=yes
20873 gcc_cv_math_func_powl
=no
20875 rm -f core conftest.err conftest.
$ac_objext \
20876 conftest
$ac_exeext conftest.
$ac_ext
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20879 $as_echo "$gcc_cv_math_func_powl" >&6; }
20880 if test $gcc_cv_math_func_powl = yes; then
20882 cat >>confdefs.h
<<_ACEOF
20883 #define HAVE_POWL 1
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20892 $as_echo_n "checking for cpowf... " >&6; }
20893 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20894 $as_echo_n "(cached) " >&6
20896 if test x
$gcc_no_link = xyes
; then
20897 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20902 #ifdef HAVE_COMPLEX_H
20903 #include <complex.h>
20909 int (*ptr)() = (int (*)())cpowf;
20918 if ac_fn_c_try_link
"$LINENO"; then :
20919 gcc_cv_math_func_cpowf
=yes
20921 gcc_cv_math_func_cpowf
=no
20923 rm -f core conftest.err conftest.
$ac_objext \
20924 conftest
$ac_exeext conftest.
$ac_ext
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20927 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20928 if test $gcc_cv_math_func_cpowf = yes; then
20930 cat >>confdefs.h
<<_ACEOF
20931 #define HAVE_CPOWF 1
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20940 $as_echo_n "checking for cpow... " >&6; }
20941 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20942 $as_echo_n "(cached) " >&6
20944 if test x
$gcc_no_link = xyes
; then
20945 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20948 /* end confdefs.h. */
20950 #ifdef HAVE_COMPLEX_H
20951 #include <complex.h>
20957 int (*ptr)() = (int (*)())cpow;
20966 if ac_fn_c_try_link
"$LINENO"; then :
20967 gcc_cv_math_func_cpow
=yes
20969 gcc_cv_math_func_cpow
=no
20971 rm -f core conftest.err conftest.
$ac_objext \
20972 conftest
$ac_exeext conftest.
$ac_ext
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20975 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20976 if test $gcc_cv_math_func_cpow = yes; then
20978 cat >>confdefs.h
<<_ACEOF
20979 #define HAVE_CPOW 1
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20988 $as_echo_n "checking for cpowl... " >&6; }
20989 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20990 $as_echo_n "(cached) " >&6
20992 if test x
$gcc_no_link = xyes
; then
20993 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20998 #ifdef HAVE_COMPLEX_H
20999 #include <complex.h>
21005 int (*ptr)() = (int (*)())cpowl;
21014 if ac_fn_c_try_link
"$LINENO"; then :
21015 gcc_cv_math_func_cpowl
=yes
21017 gcc_cv_math_func_cpowl
=no
21019 rm -f core conftest.err conftest.
$ac_objext \
21020 conftest
$ac_exeext conftest.
$ac_ext
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21023 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21024 if test $gcc_cv_math_func_cpowl = yes; then
21026 cat >>confdefs.h
<<_ACEOF
21027 #define HAVE_CPOWL 1
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21036 $as_echo_n "checking for roundf... " >&6; }
21037 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21038 $as_echo_n "(cached) " >&6
21040 if test x
$gcc_no_link = xyes
; then
21041 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21044 /* end confdefs.h. */
21046 #ifdef HAVE_COMPLEX_H
21047 #include <complex.h>
21053 int (*ptr)() = (int (*)())roundf;
21062 if ac_fn_c_try_link
"$LINENO"; then :
21063 gcc_cv_math_func_roundf
=yes
21065 gcc_cv_math_func_roundf
=no
21067 rm -f core conftest.err conftest.
$ac_objext \
21068 conftest
$ac_exeext conftest.
$ac_ext
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21071 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21072 if test $gcc_cv_math_func_roundf = yes; then
21074 cat >>confdefs.h
<<_ACEOF
21075 #define HAVE_ROUNDF 1
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21084 $as_echo_n "checking for round... " >&6; }
21085 if test "${gcc_cv_math_func_round+set}" = set; then :
21086 $as_echo_n "(cached) " >&6
21088 if test x
$gcc_no_link = xyes
; then
21089 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h. */
21094 #ifdef HAVE_COMPLEX_H
21095 #include <complex.h>
21101 int (*ptr)() = (int (*)())round;
21110 if ac_fn_c_try_link
"$LINENO"; then :
21111 gcc_cv_math_func_round
=yes
21113 gcc_cv_math_func_round
=no
21115 rm -f core conftest.err conftest.
$ac_objext \
21116 conftest
$ac_exeext conftest.
$ac_ext
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21119 $as_echo "$gcc_cv_math_func_round" >&6; }
21120 if test $gcc_cv_math_func_round = yes; then
21122 cat >>confdefs.h
<<_ACEOF
21123 #define HAVE_ROUND 1
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21132 $as_echo_n "checking for roundl... " >&6; }
21133 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21134 $as_echo_n "(cached) " >&6
21136 if test x
$gcc_no_link = xyes
; then
21137 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21140 /* end confdefs.h. */
21142 #ifdef HAVE_COMPLEX_H
21143 #include <complex.h>
21149 int (*ptr)() = (int (*)())roundl;
21158 if ac_fn_c_try_link
"$LINENO"; then :
21159 gcc_cv_math_func_roundl
=yes
21161 gcc_cv_math_func_roundl
=no
21163 rm -f core conftest.err conftest.
$ac_objext \
21164 conftest
$ac_exeext conftest.
$ac_ext
21166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21167 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21168 if test $gcc_cv_math_func_roundl = yes; then
21170 cat >>confdefs.h
<<_ACEOF
21171 #define HAVE_ROUNDL 1
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21180 $as_echo_n "checking for lroundf... " >&6; }
21181 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21182 $as_echo_n "(cached) " >&6
21184 if test x
$gcc_no_link = xyes
; then
21185 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21188 /* end confdefs.h. */
21190 #ifdef HAVE_COMPLEX_H
21191 #include <complex.h>
21197 int (*ptr)() = (int (*)())lroundf;
21206 if ac_fn_c_try_link
"$LINENO"; then :
21207 gcc_cv_math_func_lroundf
=yes
21209 gcc_cv_math_func_lroundf
=no
21211 rm -f core conftest.err conftest.
$ac_objext \
21212 conftest
$ac_exeext conftest.
$ac_ext
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21215 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21216 if test $gcc_cv_math_func_lroundf = yes; then
21218 cat >>confdefs.h
<<_ACEOF
21219 #define HAVE_LROUNDF 1
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21228 $as_echo_n "checking for lround... " >&6; }
21229 if test "${gcc_cv_math_func_lround+set}" = set; then :
21230 $as_echo_n "(cached) " >&6
21232 if test x
$gcc_no_link = xyes
; then
21233 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21236 /* end confdefs.h. */
21238 #ifdef HAVE_COMPLEX_H
21239 #include <complex.h>
21245 int (*ptr)() = (int (*)())lround;
21254 if ac_fn_c_try_link
"$LINENO"; then :
21255 gcc_cv_math_func_lround
=yes
21257 gcc_cv_math_func_lround
=no
21259 rm -f core conftest.err conftest.
$ac_objext \
21260 conftest
$ac_exeext conftest.
$ac_ext
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21263 $as_echo "$gcc_cv_math_func_lround" >&6; }
21264 if test $gcc_cv_math_func_lround = yes; then
21266 cat >>confdefs.h
<<_ACEOF
21267 #define HAVE_LROUND 1
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21276 $as_echo_n "checking for lroundl... " >&6; }
21277 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21278 $as_echo_n "(cached) " >&6
21280 if test x
$gcc_no_link = xyes
; then
21281 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21284 /* end confdefs.h. */
21286 #ifdef HAVE_COMPLEX_H
21287 #include <complex.h>
21293 int (*ptr)() = (int (*)())lroundl;
21302 if ac_fn_c_try_link
"$LINENO"; then :
21303 gcc_cv_math_func_lroundl
=yes
21305 gcc_cv_math_func_lroundl
=no
21307 rm -f core conftest.err conftest.
$ac_objext \
21308 conftest
$ac_exeext conftest.
$ac_ext
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21311 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21312 if test $gcc_cv_math_func_lroundl = yes; then
21314 cat >>confdefs.h
<<_ACEOF
21315 #define HAVE_LROUNDL 1
21323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21324 $as_echo_n "checking for llroundf... " >&6; }
21325 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21326 $as_echo_n "(cached) " >&6
21328 if test x
$gcc_no_link = xyes
; then
21329 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21332 /* end confdefs.h. */
21334 #ifdef HAVE_COMPLEX_H
21335 #include <complex.h>
21341 int (*ptr)() = (int (*)())llroundf;
21350 if ac_fn_c_try_link
"$LINENO"; then :
21351 gcc_cv_math_func_llroundf
=yes
21353 gcc_cv_math_func_llroundf
=no
21355 rm -f core conftest.err conftest.
$ac_objext \
21356 conftest
$ac_exeext conftest.
$ac_ext
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21359 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21360 if test $gcc_cv_math_func_llroundf = yes; then
21362 cat >>confdefs.h
<<_ACEOF
21363 #define HAVE_LLROUNDF 1
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21372 $as_echo_n "checking for llround... " >&6; }
21373 if test "${gcc_cv_math_func_llround+set}" = set; then :
21374 $as_echo_n "(cached) " >&6
21376 if test x
$gcc_no_link = xyes
; then
21377 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21380 /* end confdefs.h. */
21382 #ifdef HAVE_COMPLEX_H
21383 #include <complex.h>
21389 int (*ptr)() = (int (*)())llround;
21398 if ac_fn_c_try_link
"$LINENO"; then :
21399 gcc_cv_math_func_llround
=yes
21401 gcc_cv_math_func_llround
=no
21403 rm -f core conftest.err conftest.
$ac_objext \
21404 conftest
$ac_exeext conftest.
$ac_ext
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21407 $as_echo "$gcc_cv_math_func_llround" >&6; }
21408 if test $gcc_cv_math_func_llround = yes; then
21410 cat >>confdefs.h
<<_ACEOF
21411 #define HAVE_LLROUND 1
21419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21420 $as_echo_n "checking for llroundl... " >&6; }
21421 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21422 $as_echo_n "(cached) " >&6
21424 if test x
$gcc_no_link = xyes
; then
21425 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21428 /* end confdefs.h. */
21430 #ifdef HAVE_COMPLEX_H
21431 #include <complex.h>
21437 int (*ptr)() = (int (*)())llroundl;
21446 if ac_fn_c_try_link
"$LINENO"; then :
21447 gcc_cv_math_func_llroundl
=yes
21449 gcc_cv_math_func_llroundl
=no
21451 rm -f core conftest.err conftest.
$ac_objext \
21452 conftest
$ac_exeext conftest.
$ac_ext
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21455 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21456 if test $gcc_cv_math_func_llroundl = yes; then
21458 cat >>confdefs.h
<<_ACEOF
21459 #define HAVE_LLROUNDL 1
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21468 $as_echo_n "checking for scalbnf... " >&6; }
21469 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21470 $as_echo_n "(cached) " >&6
21472 if test x
$gcc_no_link = xyes
; then
21473 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21476 /* end confdefs.h. */
21478 #ifdef HAVE_COMPLEX_H
21479 #include <complex.h>
21485 int (*ptr)() = (int (*)())scalbnf;
21494 if ac_fn_c_try_link
"$LINENO"; then :
21495 gcc_cv_math_func_scalbnf
=yes
21497 gcc_cv_math_func_scalbnf
=no
21499 rm -f core conftest.err conftest.
$ac_objext \
21500 conftest
$ac_exeext conftest.
$ac_ext
21502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21503 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21504 if test $gcc_cv_math_func_scalbnf = yes; then
21506 cat >>confdefs.h
<<_ACEOF
21507 #define HAVE_SCALBNF 1
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21516 $as_echo_n "checking for scalbn... " >&6; }
21517 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21518 $as_echo_n "(cached) " >&6
21520 if test x
$gcc_no_link = xyes
; then
21521 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21526 #ifdef HAVE_COMPLEX_H
21527 #include <complex.h>
21533 int (*ptr)() = (int (*)())scalbn;
21542 if ac_fn_c_try_link
"$LINENO"; then :
21543 gcc_cv_math_func_scalbn
=yes
21545 gcc_cv_math_func_scalbn
=no
21547 rm -f core conftest.err conftest.
$ac_objext \
21548 conftest
$ac_exeext conftest.
$ac_ext
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21551 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21552 if test $gcc_cv_math_func_scalbn = yes; then
21554 cat >>confdefs.h
<<_ACEOF
21555 #define HAVE_SCALBN 1
21563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21564 $as_echo_n "checking for scalbnl... " >&6; }
21565 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21566 $as_echo_n "(cached) " >&6
21568 if test x
$gcc_no_link = xyes
; then
21569 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h. */
21574 #ifdef HAVE_COMPLEX_H
21575 #include <complex.h>
21581 int (*ptr)() = (int (*)())scalbnl;
21590 if ac_fn_c_try_link
"$LINENO"; then :
21591 gcc_cv_math_func_scalbnl
=yes
21593 gcc_cv_math_func_scalbnl
=no
21595 rm -f core conftest.err conftest.
$ac_objext \
21596 conftest
$ac_exeext conftest.
$ac_ext
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21599 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21600 if test $gcc_cv_math_func_scalbnl = yes; then
21602 cat >>confdefs.h
<<_ACEOF
21603 #define HAVE_SCALBNL 1
21611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21612 $as_echo_n "checking for sinf... " >&6; }
21613 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21614 $as_echo_n "(cached) " >&6
21616 if test x
$gcc_no_link = xyes
; then
21617 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21620 /* end confdefs.h. */
21622 #ifdef HAVE_COMPLEX_H
21623 #include <complex.h>
21629 int (*ptr)() = (int (*)())sinf;
21638 if ac_fn_c_try_link
"$LINENO"; then :
21639 gcc_cv_math_func_sinf
=yes
21641 gcc_cv_math_func_sinf
=no
21643 rm -f core conftest.err conftest.
$ac_objext \
21644 conftest
$ac_exeext conftest.
$ac_ext
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21647 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21648 if test $gcc_cv_math_func_sinf = yes; then
21650 cat >>confdefs.h
<<_ACEOF
21651 #define HAVE_SINF 1
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21660 $as_echo_n "checking for sin... " >&6; }
21661 if test "${gcc_cv_math_func_sin+set}" = set; then :
21662 $as_echo_n "(cached) " >&6
21664 if test x
$gcc_no_link = xyes
; then
21665 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21670 #ifdef HAVE_COMPLEX_H
21671 #include <complex.h>
21677 int (*ptr)() = (int (*)())sin;
21686 if ac_fn_c_try_link
"$LINENO"; then :
21687 gcc_cv_math_func_sin
=yes
21689 gcc_cv_math_func_sin
=no
21691 rm -f core conftest.err conftest.
$ac_objext \
21692 conftest
$ac_exeext conftest.
$ac_ext
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21695 $as_echo "$gcc_cv_math_func_sin" >&6; }
21696 if test $gcc_cv_math_func_sin = yes; then
21698 cat >>confdefs.h
<<_ACEOF
21707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21708 $as_echo_n "checking for sinl... " >&6; }
21709 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21710 $as_echo_n "(cached) " >&6
21712 if test x
$gcc_no_link = xyes
; then
21713 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21716 /* end confdefs.h. */
21718 #ifdef HAVE_COMPLEX_H
21719 #include <complex.h>
21725 int (*ptr)() = (int (*)())sinl;
21734 if ac_fn_c_try_link
"$LINENO"; then :
21735 gcc_cv_math_func_sinl
=yes
21737 gcc_cv_math_func_sinl
=no
21739 rm -f core conftest.err conftest.
$ac_objext \
21740 conftest
$ac_exeext conftest.
$ac_ext
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21743 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21744 if test $gcc_cv_math_func_sinl = yes; then
21746 cat >>confdefs.h
<<_ACEOF
21747 #define HAVE_SINL 1
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21756 $as_echo_n "checking for csinf... " >&6; }
21757 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21758 $as_echo_n "(cached) " >&6
21760 if test x
$gcc_no_link = xyes
; then
21761 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21764 /* end confdefs.h. */
21766 #ifdef HAVE_COMPLEX_H
21767 #include <complex.h>
21773 int (*ptr)() = (int (*)())csinf;
21782 if ac_fn_c_try_link
"$LINENO"; then :
21783 gcc_cv_math_func_csinf
=yes
21785 gcc_cv_math_func_csinf
=no
21787 rm -f core conftest.err conftest.
$ac_objext \
21788 conftest
$ac_exeext conftest.
$ac_ext
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21791 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21792 if test $gcc_cv_math_func_csinf = yes; then
21794 cat >>confdefs.h
<<_ACEOF
21795 #define HAVE_CSINF 1
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21804 $as_echo_n "checking for csin... " >&6; }
21805 if test "${gcc_cv_math_func_csin+set}" = set; then :
21806 $as_echo_n "(cached) " >&6
21808 if test x
$gcc_no_link = xyes
; then
21809 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h. */
21814 #ifdef HAVE_COMPLEX_H
21815 #include <complex.h>
21821 int (*ptr)() = (int (*)())csin;
21830 if ac_fn_c_try_link
"$LINENO"; then :
21831 gcc_cv_math_func_csin
=yes
21833 gcc_cv_math_func_csin
=no
21835 rm -f core conftest.err conftest.
$ac_objext \
21836 conftest
$ac_exeext conftest.
$ac_ext
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21839 $as_echo "$gcc_cv_math_func_csin" >&6; }
21840 if test $gcc_cv_math_func_csin = yes; then
21842 cat >>confdefs.h
<<_ACEOF
21843 #define HAVE_CSIN 1
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21852 $as_echo_n "checking for csinl... " >&6; }
21853 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21854 $as_echo_n "(cached) " >&6
21856 if test x
$gcc_no_link = xyes
; then
21857 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21860 /* end confdefs.h. */
21862 #ifdef HAVE_COMPLEX_H
21863 #include <complex.h>
21869 int (*ptr)() = (int (*)())csinl;
21878 if ac_fn_c_try_link
"$LINENO"; then :
21879 gcc_cv_math_func_csinl
=yes
21881 gcc_cv_math_func_csinl
=no
21883 rm -f core conftest.err conftest.
$ac_objext \
21884 conftest
$ac_exeext conftest.
$ac_ext
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21887 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21888 if test $gcc_cv_math_func_csinl = yes; then
21890 cat >>confdefs.h
<<_ACEOF
21891 #define HAVE_CSINL 1
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21900 $as_echo_n "checking for sinhf... " >&6; }
21901 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21902 $as_echo_n "(cached) " >&6
21904 if test x
$gcc_no_link = xyes
; then
21905 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21908 /* end confdefs.h. */
21910 #ifdef HAVE_COMPLEX_H
21911 #include <complex.h>
21917 int (*ptr)() = (int (*)())sinhf;
21926 if ac_fn_c_try_link
"$LINENO"; then :
21927 gcc_cv_math_func_sinhf
=yes
21929 gcc_cv_math_func_sinhf
=no
21931 rm -f core conftest.err conftest.
$ac_objext \
21932 conftest
$ac_exeext conftest.
$ac_ext
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21935 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21936 if test $gcc_cv_math_func_sinhf = yes; then
21938 cat >>confdefs.h
<<_ACEOF
21939 #define HAVE_SINHF 1
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21948 $as_echo_n "checking for sinh... " >&6; }
21949 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21950 $as_echo_n "(cached) " >&6
21952 if test x
$gcc_no_link = xyes
; then
21953 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21956 /* end confdefs.h. */
21958 #ifdef HAVE_COMPLEX_H
21959 #include <complex.h>
21965 int (*ptr)() = (int (*)())sinh;
21974 if ac_fn_c_try_link
"$LINENO"; then :
21975 gcc_cv_math_func_sinh
=yes
21977 gcc_cv_math_func_sinh
=no
21979 rm -f core conftest.err conftest.
$ac_objext \
21980 conftest
$ac_exeext conftest.
$ac_ext
21982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21983 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21984 if test $gcc_cv_math_func_sinh = yes; then
21986 cat >>confdefs.h
<<_ACEOF
21987 #define HAVE_SINH 1
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21996 $as_echo_n "checking for sinhl... " >&6; }
21997 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21998 $as_echo_n "(cached) " >&6
22000 if test x
$gcc_no_link = xyes
; then
22001 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22004 /* end confdefs.h. */
22006 #ifdef HAVE_COMPLEX_H
22007 #include <complex.h>
22013 int (*ptr)() = (int (*)())sinhl;
22022 if ac_fn_c_try_link
"$LINENO"; then :
22023 gcc_cv_math_func_sinhl
=yes
22025 gcc_cv_math_func_sinhl
=no
22027 rm -f core conftest.err conftest.
$ac_objext \
22028 conftest
$ac_exeext conftest.
$ac_ext
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22031 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22032 if test $gcc_cv_math_func_sinhl = yes; then
22034 cat >>confdefs.h
<<_ACEOF
22035 #define HAVE_SINHL 1
22043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22044 $as_echo_n "checking for csinhf... " >&6; }
22045 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22046 $as_echo_n "(cached) " >&6
22048 if test x
$gcc_no_link = xyes
; then
22049 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22052 /* end confdefs.h. */
22054 #ifdef HAVE_COMPLEX_H
22055 #include <complex.h>
22061 int (*ptr)() = (int (*)())csinhf;
22070 if ac_fn_c_try_link
"$LINENO"; then :
22071 gcc_cv_math_func_csinhf
=yes
22073 gcc_cv_math_func_csinhf
=no
22075 rm -f core conftest.err conftest.
$ac_objext \
22076 conftest
$ac_exeext conftest.
$ac_ext
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22079 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22080 if test $gcc_cv_math_func_csinhf = yes; then
22082 cat >>confdefs.h
<<_ACEOF
22083 #define HAVE_CSINHF 1
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22092 $as_echo_n "checking for csinh... " >&6; }
22093 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22094 $as_echo_n "(cached) " >&6
22096 if test x
$gcc_no_link = xyes
; then
22097 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22100 /* end confdefs.h. */
22102 #ifdef HAVE_COMPLEX_H
22103 #include <complex.h>
22109 int (*ptr)() = (int (*)())csinh;
22118 if ac_fn_c_try_link
"$LINENO"; then :
22119 gcc_cv_math_func_csinh
=yes
22121 gcc_cv_math_func_csinh
=no
22123 rm -f core conftest.err conftest.
$ac_objext \
22124 conftest
$ac_exeext conftest.
$ac_ext
22126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22127 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22128 if test $gcc_cv_math_func_csinh = yes; then
22130 cat >>confdefs.h
<<_ACEOF
22131 #define HAVE_CSINH 1
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22140 $as_echo_n "checking for csinhl... " >&6; }
22141 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22142 $as_echo_n "(cached) " >&6
22144 if test x
$gcc_no_link = xyes
; then
22145 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22148 /* end confdefs.h. */
22150 #ifdef HAVE_COMPLEX_H
22151 #include <complex.h>
22157 int (*ptr)() = (int (*)())csinhl;
22166 if ac_fn_c_try_link
"$LINENO"; then :
22167 gcc_cv_math_func_csinhl
=yes
22169 gcc_cv_math_func_csinhl
=no
22171 rm -f core conftest.err conftest.
$ac_objext \
22172 conftest
$ac_exeext conftest.
$ac_ext
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22175 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22176 if test $gcc_cv_math_func_csinhl = yes; then
22178 cat >>confdefs.h
<<_ACEOF
22179 #define HAVE_CSINHL 1
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22188 $as_echo_n "checking for sqrtf... " >&6; }
22189 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22190 $as_echo_n "(cached) " >&6
22192 if test x
$gcc_no_link = xyes
; then
22193 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22196 /* end confdefs.h. */
22198 #ifdef HAVE_COMPLEX_H
22199 #include <complex.h>
22205 int (*ptr)() = (int (*)())sqrtf;
22214 if ac_fn_c_try_link
"$LINENO"; then :
22215 gcc_cv_math_func_sqrtf
=yes
22217 gcc_cv_math_func_sqrtf
=no
22219 rm -f core conftest.err conftest.
$ac_objext \
22220 conftest
$ac_exeext conftest.
$ac_ext
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22223 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22224 if test $gcc_cv_math_func_sqrtf = yes; then
22226 cat >>confdefs.h
<<_ACEOF
22227 #define HAVE_SQRTF 1
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22236 $as_echo_n "checking for sqrt... " >&6; }
22237 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22238 $as_echo_n "(cached) " >&6
22240 if test x
$gcc_no_link = xyes
; then
22241 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22244 /* end confdefs.h. */
22246 #ifdef HAVE_COMPLEX_H
22247 #include <complex.h>
22253 int (*ptr)() = (int (*)())sqrt;
22262 if ac_fn_c_try_link
"$LINENO"; then :
22263 gcc_cv_math_func_sqrt
=yes
22265 gcc_cv_math_func_sqrt
=no
22267 rm -f core conftest.err conftest.
$ac_objext \
22268 conftest
$ac_exeext conftest.
$ac_ext
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22271 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22272 if test $gcc_cv_math_func_sqrt = yes; then
22274 cat >>confdefs.h
<<_ACEOF
22275 #define HAVE_SQRT 1
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22284 $as_echo_n "checking for sqrtl... " >&6; }
22285 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22286 $as_echo_n "(cached) " >&6
22288 if test x
$gcc_no_link = xyes
; then
22289 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22292 /* end confdefs.h. */
22294 #ifdef HAVE_COMPLEX_H
22295 #include <complex.h>
22301 int (*ptr)() = (int (*)())sqrtl;
22310 if ac_fn_c_try_link
"$LINENO"; then :
22311 gcc_cv_math_func_sqrtl
=yes
22313 gcc_cv_math_func_sqrtl
=no
22315 rm -f core conftest.err conftest.
$ac_objext \
22316 conftest
$ac_exeext conftest.
$ac_ext
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22319 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22320 if test $gcc_cv_math_func_sqrtl = yes; then
22322 cat >>confdefs.h
<<_ACEOF
22323 #define HAVE_SQRTL 1
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22332 $as_echo_n "checking for csqrtf... " >&6; }
22333 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22334 $as_echo_n "(cached) " >&6
22336 if test x
$gcc_no_link = xyes
; then
22337 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22340 /* end confdefs.h. */
22342 #ifdef HAVE_COMPLEX_H
22343 #include <complex.h>
22349 int (*ptr)() = (int (*)())csqrtf;
22358 if ac_fn_c_try_link
"$LINENO"; then :
22359 gcc_cv_math_func_csqrtf
=yes
22361 gcc_cv_math_func_csqrtf
=no
22363 rm -f core conftest.err conftest.
$ac_objext \
22364 conftest
$ac_exeext conftest.
$ac_ext
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22367 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22368 if test $gcc_cv_math_func_csqrtf = yes; then
22370 cat >>confdefs.h
<<_ACEOF
22371 #define HAVE_CSQRTF 1
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22380 $as_echo_n "checking for csqrt... " >&6; }
22381 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22382 $as_echo_n "(cached) " >&6
22384 if test x
$gcc_no_link = xyes
; then
22385 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22388 /* end confdefs.h. */
22390 #ifdef HAVE_COMPLEX_H
22391 #include <complex.h>
22397 int (*ptr)() = (int (*)())csqrt;
22406 if ac_fn_c_try_link
"$LINENO"; then :
22407 gcc_cv_math_func_csqrt
=yes
22409 gcc_cv_math_func_csqrt
=no
22411 rm -f core conftest.err conftest.
$ac_objext \
22412 conftest
$ac_exeext conftest.
$ac_ext
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22415 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22416 if test $gcc_cv_math_func_csqrt = yes; then
22418 cat >>confdefs.h
<<_ACEOF
22419 #define HAVE_CSQRT 1
22427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22428 $as_echo_n "checking for csqrtl... " >&6; }
22429 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22430 $as_echo_n "(cached) " >&6
22432 if test x
$gcc_no_link = xyes
; then
22433 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22436 /* end confdefs.h. */
22438 #ifdef HAVE_COMPLEX_H
22439 #include <complex.h>
22445 int (*ptr)() = (int (*)())csqrtl;
22454 if ac_fn_c_try_link
"$LINENO"; then :
22455 gcc_cv_math_func_csqrtl
=yes
22457 gcc_cv_math_func_csqrtl
=no
22459 rm -f core conftest.err conftest.
$ac_objext \
22460 conftest
$ac_exeext conftest.
$ac_ext
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22463 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22464 if test $gcc_cv_math_func_csqrtl = yes; then
22466 cat >>confdefs.h
<<_ACEOF
22467 #define HAVE_CSQRTL 1
22475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22476 $as_echo_n "checking for tanf... " >&6; }
22477 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22478 $as_echo_n "(cached) " >&6
22480 if test x
$gcc_no_link = xyes
; then
22481 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22484 /* end confdefs.h. */
22486 #ifdef HAVE_COMPLEX_H
22487 #include <complex.h>
22493 int (*ptr)() = (int (*)())tanf;
22502 if ac_fn_c_try_link
"$LINENO"; then :
22503 gcc_cv_math_func_tanf
=yes
22505 gcc_cv_math_func_tanf
=no
22507 rm -f core conftest.err conftest.
$ac_objext \
22508 conftest
$ac_exeext conftest.
$ac_ext
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22511 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22512 if test $gcc_cv_math_func_tanf = yes; then
22514 cat >>confdefs.h
<<_ACEOF
22515 #define HAVE_TANF 1
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22524 $as_echo_n "checking for tan... " >&6; }
22525 if test "${gcc_cv_math_func_tan+set}" = set; then :
22526 $as_echo_n "(cached) " >&6
22528 if test x
$gcc_no_link = xyes
; then
22529 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h. */
22534 #ifdef HAVE_COMPLEX_H
22535 #include <complex.h>
22541 int (*ptr)() = (int (*)())tan;
22550 if ac_fn_c_try_link
"$LINENO"; then :
22551 gcc_cv_math_func_tan
=yes
22553 gcc_cv_math_func_tan
=no
22555 rm -f core conftest.err conftest.
$ac_objext \
22556 conftest
$ac_exeext conftest.
$ac_ext
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22559 $as_echo "$gcc_cv_math_func_tan" >&6; }
22560 if test $gcc_cv_math_func_tan = yes; then
22562 cat >>confdefs.h
<<_ACEOF
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22572 $as_echo_n "checking for tanl... " >&6; }
22573 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22574 $as_echo_n "(cached) " >&6
22576 if test x
$gcc_no_link = xyes
; then
22577 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22580 /* end confdefs.h. */
22582 #ifdef HAVE_COMPLEX_H
22583 #include <complex.h>
22589 int (*ptr)() = (int (*)())tanl;
22598 if ac_fn_c_try_link
"$LINENO"; then :
22599 gcc_cv_math_func_tanl
=yes
22601 gcc_cv_math_func_tanl
=no
22603 rm -f core conftest.err conftest.
$ac_objext \
22604 conftest
$ac_exeext conftest.
$ac_ext
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22607 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22608 if test $gcc_cv_math_func_tanl = yes; then
22610 cat >>confdefs.h
<<_ACEOF
22611 #define HAVE_TANL 1
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22620 $as_echo_n "checking for ctanf... " >&6; }
22621 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22622 $as_echo_n "(cached) " >&6
22624 if test x
$gcc_no_link = xyes
; then
22625 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22628 /* end confdefs.h. */
22630 #ifdef HAVE_COMPLEX_H
22631 #include <complex.h>
22637 int (*ptr)() = (int (*)())ctanf;
22646 if ac_fn_c_try_link
"$LINENO"; then :
22647 gcc_cv_math_func_ctanf
=yes
22649 gcc_cv_math_func_ctanf
=no
22651 rm -f core conftest.err conftest.
$ac_objext \
22652 conftest
$ac_exeext conftest.
$ac_ext
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22655 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22656 if test $gcc_cv_math_func_ctanf = yes; then
22658 cat >>confdefs.h
<<_ACEOF
22659 #define HAVE_CTANF 1
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22668 $as_echo_n "checking for ctan... " >&6; }
22669 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22670 $as_echo_n "(cached) " >&6
22672 if test x
$gcc_no_link = xyes
; then
22673 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22676 /* end confdefs.h. */
22678 #ifdef HAVE_COMPLEX_H
22679 #include <complex.h>
22685 int (*ptr)() = (int (*)())ctan;
22694 if ac_fn_c_try_link
"$LINENO"; then :
22695 gcc_cv_math_func_ctan
=yes
22697 gcc_cv_math_func_ctan
=no
22699 rm -f core conftest.err conftest.
$ac_objext \
22700 conftest
$ac_exeext conftest.
$ac_ext
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22703 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22704 if test $gcc_cv_math_func_ctan = yes; then
22706 cat >>confdefs.h
<<_ACEOF
22707 #define HAVE_CTAN 1
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22716 $as_echo_n "checking for ctanl... " >&6; }
22717 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22718 $as_echo_n "(cached) " >&6
22720 if test x
$gcc_no_link = xyes
; then
22721 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22724 /* end confdefs.h. */
22726 #ifdef HAVE_COMPLEX_H
22727 #include <complex.h>
22733 int (*ptr)() = (int (*)())ctanl;
22742 if ac_fn_c_try_link
"$LINENO"; then :
22743 gcc_cv_math_func_ctanl
=yes
22745 gcc_cv_math_func_ctanl
=no
22747 rm -f core conftest.err conftest.
$ac_objext \
22748 conftest
$ac_exeext conftest.
$ac_ext
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22751 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22752 if test $gcc_cv_math_func_ctanl = yes; then
22754 cat >>confdefs.h
<<_ACEOF
22755 #define HAVE_CTANL 1
22763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22764 $as_echo_n "checking for tanhf... " >&6; }
22765 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22766 $as_echo_n "(cached) " >&6
22768 if test x
$gcc_no_link = xyes
; then
22769 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22772 /* end confdefs.h. */
22774 #ifdef HAVE_COMPLEX_H
22775 #include <complex.h>
22781 int (*ptr)() = (int (*)())tanhf;
22790 if ac_fn_c_try_link
"$LINENO"; then :
22791 gcc_cv_math_func_tanhf
=yes
22793 gcc_cv_math_func_tanhf
=no
22795 rm -f core conftest.err conftest.
$ac_objext \
22796 conftest
$ac_exeext conftest.
$ac_ext
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22799 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22800 if test $gcc_cv_math_func_tanhf = yes; then
22802 cat >>confdefs.h
<<_ACEOF
22803 #define HAVE_TANHF 1
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22812 $as_echo_n "checking for tanh... " >&6; }
22813 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22814 $as_echo_n "(cached) " >&6
22816 if test x
$gcc_no_link = xyes
; then
22817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22820 /* end confdefs.h. */
22822 #ifdef HAVE_COMPLEX_H
22823 #include <complex.h>
22829 int (*ptr)() = (int (*)())tanh;
22838 if ac_fn_c_try_link
"$LINENO"; then :
22839 gcc_cv_math_func_tanh
=yes
22841 gcc_cv_math_func_tanh
=no
22843 rm -f core conftest.err conftest.
$ac_objext \
22844 conftest
$ac_exeext conftest.
$ac_ext
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22847 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22848 if test $gcc_cv_math_func_tanh = yes; then
22850 cat >>confdefs.h
<<_ACEOF
22851 #define HAVE_TANH 1
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22860 $as_echo_n "checking for tanhl... " >&6; }
22861 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22862 $as_echo_n "(cached) " >&6
22864 if test x
$gcc_no_link = xyes
; then
22865 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22868 /* end confdefs.h. */
22870 #ifdef HAVE_COMPLEX_H
22871 #include <complex.h>
22877 int (*ptr)() = (int (*)())tanhl;
22886 if ac_fn_c_try_link
"$LINENO"; then :
22887 gcc_cv_math_func_tanhl
=yes
22889 gcc_cv_math_func_tanhl
=no
22891 rm -f core conftest.err conftest.
$ac_objext \
22892 conftest
$ac_exeext conftest.
$ac_ext
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22895 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22896 if test $gcc_cv_math_func_tanhl = yes; then
22898 cat >>confdefs.h
<<_ACEOF
22899 #define HAVE_TANHL 1
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22908 $as_echo_n "checking for ctanhf... " >&6; }
22909 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22910 $as_echo_n "(cached) " >&6
22912 if test x
$gcc_no_link = xyes
; then
22913 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22916 /* end confdefs.h. */
22918 #ifdef HAVE_COMPLEX_H
22919 #include <complex.h>
22925 int (*ptr)() = (int (*)())ctanhf;
22934 if ac_fn_c_try_link
"$LINENO"; then :
22935 gcc_cv_math_func_ctanhf
=yes
22937 gcc_cv_math_func_ctanhf
=no
22939 rm -f core conftest.err conftest.
$ac_objext \
22940 conftest
$ac_exeext conftest.
$ac_ext
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22943 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22944 if test $gcc_cv_math_func_ctanhf = yes; then
22946 cat >>confdefs.h
<<_ACEOF
22947 #define HAVE_CTANHF 1
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22956 $as_echo_n "checking for ctanh... " >&6; }
22957 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22958 $as_echo_n "(cached) " >&6
22960 if test x
$gcc_no_link = xyes
; then
22961 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22966 #ifdef HAVE_COMPLEX_H
22967 #include <complex.h>
22973 int (*ptr)() = (int (*)())ctanh;
22982 if ac_fn_c_try_link
"$LINENO"; then :
22983 gcc_cv_math_func_ctanh
=yes
22985 gcc_cv_math_func_ctanh
=no
22987 rm -f core conftest.err conftest.
$ac_objext \
22988 conftest
$ac_exeext conftest.
$ac_ext
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22991 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22992 if test $gcc_cv_math_func_ctanh = yes; then
22994 cat >>confdefs.h
<<_ACEOF
22995 #define HAVE_CTANH 1
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23004 $as_echo_n "checking for ctanhl... " >&6; }
23005 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23006 $as_echo_n "(cached) " >&6
23008 if test x
$gcc_no_link = xyes
; then
23009 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23012 /* end confdefs.h. */
23014 #ifdef HAVE_COMPLEX_H
23015 #include <complex.h>
23021 int (*ptr)() = (int (*)())ctanhl;
23030 if ac_fn_c_try_link
"$LINENO"; then :
23031 gcc_cv_math_func_ctanhl
=yes
23033 gcc_cv_math_func_ctanhl
=no
23035 rm -f core conftest.err conftest.
$ac_objext \
23036 conftest
$ac_exeext conftest.
$ac_ext
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23039 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23040 if test $gcc_cv_math_func_ctanhl = yes; then
23042 cat >>confdefs.h
<<_ACEOF
23043 #define HAVE_CTANHL 1
23051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23052 $as_echo_n "checking for truncf... " >&6; }
23053 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23054 $as_echo_n "(cached) " >&6
23056 if test x
$gcc_no_link = xyes
; then
23057 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23060 /* end confdefs.h. */
23062 #ifdef HAVE_COMPLEX_H
23063 #include <complex.h>
23069 int (*ptr)() = (int (*)())truncf;
23078 if ac_fn_c_try_link
"$LINENO"; then :
23079 gcc_cv_math_func_truncf
=yes
23081 gcc_cv_math_func_truncf
=no
23083 rm -f core conftest.err conftest.
$ac_objext \
23084 conftest
$ac_exeext conftest.
$ac_ext
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23087 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23088 if test $gcc_cv_math_func_truncf = yes; then
23090 cat >>confdefs.h
<<_ACEOF
23091 #define HAVE_TRUNCF 1
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23100 $as_echo_n "checking for trunc... " >&6; }
23101 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23102 $as_echo_n "(cached) " >&6
23104 if test x
$gcc_no_link = xyes
; then
23105 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23108 /* end confdefs.h. */
23110 #ifdef HAVE_COMPLEX_H
23111 #include <complex.h>
23117 int (*ptr)() = (int (*)())trunc;
23126 if ac_fn_c_try_link
"$LINENO"; then :
23127 gcc_cv_math_func_trunc
=yes
23129 gcc_cv_math_func_trunc
=no
23131 rm -f core conftest.err conftest.
$ac_objext \
23132 conftest
$ac_exeext conftest.
$ac_ext
23134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23135 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23136 if test $gcc_cv_math_func_trunc = yes; then
23138 cat >>confdefs.h
<<_ACEOF
23139 #define HAVE_TRUNC 1
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23148 $as_echo_n "checking for truncl... " >&6; }
23149 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23150 $as_echo_n "(cached) " >&6
23152 if test x
$gcc_no_link = xyes
; then
23153 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23158 #ifdef HAVE_COMPLEX_H
23159 #include <complex.h>
23165 int (*ptr)() = (int (*)())truncl;
23174 if ac_fn_c_try_link
"$LINENO"; then :
23175 gcc_cv_math_func_truncl
=yes
23177 gcc_cv_math_func_truncl
=no
23179 rm -f core conftest.err conftest.
$ac_objext \
23180 conftest
$ac_exeext conftest.
$ac_ext
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23183 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23184 if test $gcc_cv_math_func_truncl = yes; then
23186 cat >>confdefs.h
<<_ACEOF
23187 #define HAVE_TRUNCL 1
23195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23196 $as_echo_n "checking for erff... " >&6; }
23197 if test "${gcc_cv_math_func_erff+set}" = set; then :
23198 $as_echo_n "(cached) " >&6
23200 if test x
$gcc_no_link = xyes
; then
23201 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23204 /* end confdefs.h. */
23206 #ifdef HAVE_COMPLEX_H
23207 #include <complex.h>
23213 int (*ptr)() = (int (*)())erff;
23222 if ac_fn_c_try_link
"$LINENO"; then :
23223 gcc_cv_math_func_erff
=yes
23225 gcc_cv_math_func_erff
=no
23227 rm -f core conftest.err conftest.
$ac_objext \
23228 conftest
$ac_exeext conftest.
$ac_ext
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23231 $as_echo "$gcc_cv_math_func_erff" >&6; }
23232 if test $gcc_cv_math_func_erff = yes; then
23234 cat >>confdefs.h
<<_ACEOF
23235 #define HAVE_ERFF 1
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23244 $as_echo_n "checking for erf... " >&6; }
23245 if test "${gcc_cv_math_func_erf+set}" = set; then :
23246 $as_echo_n "(cached) " >&6
23248 if test x
$gcc_no_link = xyes
; then
23249 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23252 /* end confdefs.h. */
23254 #ifdef HAVE_COMPLEX_H
23255 #include <complex.h>
23261 int (*ptr)() = (int (*)())erf;
23270 if ac_fn_c_try_link
"$LINENO"; then :
23271 gcc_cv_math_func_erf
=yes
23273 gcc_cv_math_func_erf
=no
23275 rm -f core conftest.err conftest.
$ac_objext \
23276 conftest
$ac_exeext conftest.
$ac_ext
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23279 $as_echo "$gcc_cv_math_func_erf" >&6; }
23280 if test $gcc_cv_math_func_erf = yes; then
23282 cat >>confdefs.h
<<_ACEOF
23291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23292 $as_echo_n "checking for erfl... " >&6; }
23293 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23294 $as_echo_n "(cached) " >&6
23296 if test x
$gcc_no_link = xyes
; then
23297 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23300 /* end confdefs.h. */
23302 #ifdef HAVE_COMPLEX_H
23303 #include <complex.h>
23309 int (*ptr)() = (int (*)())erfl;
23318 if ac_fn_c_try_link
"$LINENO"; then :
23319 gcc_cv_math_func_erfl
=yes
23321 gcc_cv_math_func_erfl
=no
23323 rm -f core conftest.err conftest.
$ac_objext \
23324 conftest
$ac_exeext conftest.
$ac_ext
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23327 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23328 if test $gcc_cv_math_func_erfl = yes; then
23330 cat >>confdefs.h
<<_ACEOF
23331 #define HAVE_ERFL 1
23339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23340 $as_echo_n "checking for erfcf... " >&6; }
23341 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23342 $as_echo_n "(cached) " >&6
23344 if test x
$gcc_no_link = xyes
; then
23345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23348 /* end confdefs.h. */
23350 #ifdef HAVE_COMPLEX_H
23351 #include <complex.h>
23357 int (*ptr)() = (int (*)())erfcf;
23366 if ac_fn_c_try_link
"$LINENO"; then :
23367 gcc_cv_math_func_erfcf
=yes
23369 gcc_cv_math_func_erfcf
=no
23371 rm -f core conftest.err conftest.
$ac_objext \
23372 conftest
$ac_exeext conftest.
$ac_ext
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23375 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23376 if test $gcc_cv_math_func_erfcf = yes; then
23378 cat >>confdefs.h
<<_ACEOF
23379 #define HAVE_ERFCF 1
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23388 $as_echo_n "checking for erfc... " >&6; }
23389 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23390 $as_echo_n "(cached) " >&6
23392 if test x
$gcc_no_link = xyes
; then
23393 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23396 /* end confdefs.h. */
23398 #ifdef HAVE_COMPLEX_H
23399 #include <complex.h>
23405 int (*ptr)() = (int (*)())erfc;
23414 if ac_fn_c_try_link
"$LINENO"; then :
23415 gcc_cv_math_func_erfc
=yes
23417 gcc_cv_math_func_erfc
=no
23419 rm -f core conftest.err conftest.
$ac_objext \
23420 conftest
$ac_exeext conftest.
$ac_ext
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23423 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23424 if test $gcc_cv_math_func_erfc = yes; then
23426 cat >>confdefs.h
<<_ACEOF
23427 #define HAVE_ERFC 1
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23436 $as_echo_n "checking for erfcl... " >&6; }
23437 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23438 $as_echo_n "(cached) " >&6
23440 if test x
$gcc_no_link = xyes
; then
23441 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23444 /* end confdefs.h. */
23446 #ifdef HAVE_COMPLEX_H
23447 #include <complex.h>
23453 int (*ptr)() = (int (*)())erfcl;
23462 if ac_fn_c_try_link
"$LINENO"; then :
23463 gcc_cv_math_func_erfcl
=yes
23465 gcc_cv_math_func_erfcl
=no
23467 rm -f core conftest.err conftest.
$ac_objext \
23468 conftest
$ac_exeext conftest.
$ac_ext
23470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23471 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23472 if test $gcc_cv_math_func_erfcl = yes; then
23474 cat >>confdefs.h
<<_ACEOF
23475 #define HAVE_ERFCL 1
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23484 $as_echo_n "checking for j0f... " >&6; }
23485 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23486 $as_echo_n "(cached) " >&6
23488 if test x
$gcc_no_link = xyes
; then
23489 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23492 /* end confdefs.h. */
23494 #ifdef HAVE_COMPLEX_H
23495 #include <complex.h>
23501 int (*ptr)() = (int (*)())j0f;
23510 if ac_fn_c_try_link
"$LINENO"; then :
23511 gcc_cv_math_func_j0f
=yes
23513 gcc_cv_math_func_j0f
=no
23515 rm -f core conftest.err conftest.
$ac_objext \
23516 conftest
$ac_exeext conftest.
$ac_ext
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23519 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23520 if test $gcc_cv_math_func_j0f = yes; then
23522 cat >>confdefs.h
<<_ACEOF
23531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23532 $as_echo_n "checking for j0... " >&6; }
23533 if test "${gcc_cv_math_func_j0+set}" = set; then :
23534 $as_echo_n "(cached) " >&6
23536 if test x
$gcc_no_link = xyes
; then
23537 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23540 /* end confdefs.h. */
23542 #ifdef HAVE_COMPLEX_H
23543 #include <complex.h>
23549 int (*ptr)() = (int (*)())j0;
23558 if ac_fn_c_try_link
"$LINENO"; then :
23559 gcc_cv_math_func_j0
=yes
23561 gcc_cv_math_func_j0
=no
23563 rm -f core conftest.err conftest.
$ac_objext \
23564 conftest
$ac_exeext conftest.
$ac_ext
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23567 $as_echo "$gcc_cv_math_func_j0" >&6; }
23568 if test $gcc_cv_math_func_j0 = yes; then
23570 cat >>confdefs.h
<<_ACEOF
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23580 $as_echo_n "checking for j0l... " >&6; }
23581 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23582 $as_echo_n "(cached) " >&6
23584 if test x
$gcc_no_link = xyes
; then
23585 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23588 /* end confdefs.h. */
23590 #ifdef HAVE_COMPLEX_H
23591 #include <complex.h>
23597 int (*ptr)() = (int (*)())j0l;
23606 if ac_fn_c_try_link
"$LINENO"; then :
23607 gcc_cv_math_func_j0l
=yes
23609 gcc_cv_math_func_j0l
=no
23611 rm -f core conftest.err conftest.
$ac_objext \
23612 conftest
$ac_exeext conftest.
$ac_ext
23614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23615 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23616 if test $gcc_cv_math_func_j0l = yes; then
23618 cat >>confdefs.h
<<_ACEOF
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23628 $as_echo_n "checking for j1f... " >&6; }
23629 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23630 $as_echo_n "(cached) " >&6
23632 if test x
$gcc_no_link = xyes
; then
23633 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23636 /* end confdefs.h. */
23638 #ifdef HAVE_COMPLEX_H
23639 #include <complex.h>
23645 int (*ptr)() = (int (*)())j1f;
23654 if ac_fn_c_try_link
"$LINENO"; then :
23655 gcc_cv_math_func_j1f
=yes
23657 gcc_cv_math_func_j1f
=no
23659 rm -f core conftest.err conftest.
$ac_objext \
23660 conftest
$ac_exeext conftest.
$ac_ext
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23663 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23664 if test $gcc_cv_math_func_j1f = yes; then
23666 cat >>confdefs.h
<<_ACEOF
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23676 $as_echo_n "checking for j1... " >&6; }
23677 if test "${gcc_cv_math_func_j1+set}" = set; then :
23678 $as_echo_n "(cached) " >&6
23680 if test x
$gcc_no_link = xyes
; then
23681 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23684 /* end confdefs.h. */
23686 #ifdef HAVE_COMPLEX_H
23687 #include <complex.h>
23693 int (*ptr)() = (int (*)())j1;
23702 if ac_fn_c_try_link
"$LINENO"; then :
23703 gcc_cv_math_func_j1
=yes
23705 gcc_cv_math_func_j1
=no
23707 rm -f core conftest.err conftest.
$ac_objext \
23708 conftest
$ac_exeext conftest.
$ac_ext
23710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23711 $as_echo "$gcc_cv_math_func_j1" >&6; }
23712 if test $gcc_cv_math_func_j1 = yes; then
23714 cat >>confdefs.h
<<_ACEOF
23723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23724 $as_echo_n "checking for j1l... " >&6; }
23725 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23726 $as_echo_n "(cached) " >&6
23728 if test x
$gcc_no_link = xyes
; then
23729 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23732 /* end confdefs.h. */
23734 #ifdef HAVE_COMPLEX_H
23735 #include <complex.h>
23741 int (*ptr)() = (int (*)())j1l;
23750 if ac_fn_c_try_link
"$LINENO"; then :
23751 gcc_cv_math_func_j1l
=yes
23753 gcc_cv_math_func_j1l
=no
23755 rm -f core conftest.err conftest.
$ac_objext \
23756 conftest
$ac_exeext conftest.
$ac_ext
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23759 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23760 if test $gcc_cv_math_func_j1l = yes; then
23762 cat >>confdefs.h
<<_ACEOF
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23772 $as_echo_n "checking for jnf... " >&6; }
23773 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23774 $as_echo_n "(cached) " >&6
23776 if test x
$gcc_no_link = xyes
; then
23777 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23780 /* end confdefs.h. */
23782 #ifdef HAVE_COMPLEX_H
23783 #include <complex.h>
23789 int (*ptr)() = (int (*)())jnf;
23798 if ac_fn_c_try_link
"$LINENO"; then :
23799 gcc_cv_math_func_jnf
=yes
23801 gcc_cv_math_func_jnf
=no
23803 rm -f core conftest.err conftest.
$ac_objext \
23804 conftest
$ac_exeext conftest.
$ac_ext
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23807 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23808 if test $gcc_cv_math_func_jnf = yes; then
23810 cat >>confdefs.h
<<_ACEOF
23819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23820 $as_echo_n "checking for jn... " >&6; }
23821 if test "${gcc_cv_math_func_jn+set}" = set; then :
23822 $as_echo_n "(cached) " >&6
23824 if test x
$gcc_no_link = xyes
; then
23825 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23828 /* end confdefs.h. */
23830 #ifdef HAVE_COMPLEX_H
23831 #include <complex.h>
23837 int (*ptr)() = (int (*)())jn;
23846 if ac_fn_c_try_link
"$LINENO"; then :
23847 gcc_cv_math_func_jn
=yes
23849 gcc_cv_math_func_jn
=no
23851 rm -f core conftest.err conftest.
$ac_objext \
23852 conftest
$ac_exeext conftest.
$ac_ext
23854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23855 $as_echo "$gcc_cv_math_func_jn" >&6; }
23856 if test $gcc_cv_math_func_jn = yes; then
23858 cat >>confdefs.h
<<_ACEOF
23867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23868 $as_echo_n "checking for jnl... " >&6; }
23869 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23870 $as_echo_n "(cached) " >&6
23872 if test x
$gcc_no_link = xyes
; then
23873 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23876 /* end confdefs.h. */
23878 #ifdef HAVE_COMPLEX_H
23879 #include <complex.h>
23885 int (*ptr)() = (int (*)())jnl;
23894 if ac_fn_c_try_link
"$LINENO"; then :
23895 gcc_cv_math_func_jnl
=yes
23897 gcc_cv_math_func_jnl
=no
23899 rm -f core conftest.err conftest.
$ac_objext \
23900 conftest
$ac_exeext conftest.
$ac_ext
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23903 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23904 if test $gcc_cv_math_func_jnl = yes; then
23906 cat >>confdefs.h
<<_ACEOF
23915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23916 $as_echo_n "checking for y0f... " >&6; }
23917 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23918 $as_echo_n "(cached) " >&6
23920 if test x
$gcc_no_link = xyes
; then
23921 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23924 /* end confdefs.h. */
23926 #ifdef HAVE_COMPLEX_H
23927 #include <complex.h>
23933 int (*ptr)() = (int (*)())y0f;
23942 if ac_fn_c_try_link
"$LINENO"; then :
23943 gcc_cv_math_func_y0f
=yes
23945 gcc_cv_math_func_y0f
=no
23947 rm -f core conftest.err conftest.
$ac_objext \
23948 conftest
$ac_exeext conftest.
$ac_ext
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23951 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23952 if test $gcc_cv_math_func_y0f = yes; then
23954 cat >>confdefs.h
<<_ACEOF
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23964 $as_echo_n "checking for y0... " >&6; }
23965 if test "${gcc_cv_math_func_y0+set}" = set; then :
23966 $as_echo_n "(cached) " >&6
23968 if test x
$gcc_no_link = xyes
; then
23969 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23972 /* end confdefs.h. */
23974 #ifdef HAVE_COMPLEX_H
23975 #include <complex.h>
23981 int (*ptr)() = (int (*)())y0;
23990 if ac_fn_c_try_link
"$LINENO"; then :
23991 gcc_cv_math_func_y0
=yes
23993 gcc_cv_math_func_y0
=no
23995 rm -f core conftest.err conftest.
$ac_objext \
23996 conftest
$ac_exeext conftest.
$ac_ext
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23999 $as_echo "$gcc_cv_math_func_y0" >&6; }
24000 if test $gcc_cv_math_func_y0 = yes; then
24002 cat >>confdefs.h
<<_ACEOF
24011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24012 $as_echo_n "checking for y0l... " >&6; }
24013 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24014 $as_echo_n "(cached) " >&6
24016 if test x
$gcc_no_link = xyes
; then
24017 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24020 /* end confdefs.h. */
24022 #ifdef HAVE_COMPLEX_H
24023 #include <complex.h>
24029 int (*ptr)() = (int (*)())y0l;
24038 if ac_fn_c_try_link
"$LINENO"; then :
24039 gcc_cv_math_func_y0l
=yes
24041 gcc_cv_math_func_y0l
=no
24043 rm -f core conftest.err conftest.
$ac_objext \
24044 conftest
$ac_exeext conftest.
$ac_ext
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24047 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24048 if test $gcc_cv_math_func_y0l = yes; then
24050 cat >>confdefs.h
<<_ACEOF
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24060 $as_echo_n "checking for y1f... " >&6; }
24061 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24062 $as_echo_n "(cached) " >&6
24064 if test x
$gcc_no_link = xyes
; then
24065 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24068 /* end confdefs.h. */
24070 #ifdef HAVE_COMPLEX_H
24071 #include <complex.h>
24077 int (*ptr)() = (int (*)())y1f;
24086 if ac_fn_c_try_link
"$LINENO"; then :
24087 gcc_cv_math_func_y1f
=yes
24089 gcc_cv_math_func_y1f
=no
24091 rm -f core conftest.err conftest.
$ac_objext \
24092 conftest
$ac_exeext conftest.
$ac_ext
24094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24095 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24096 if test $gcc_cv_math_func_y1f = yes; then
24098 cat >>confdefs.h
<<_ACEOF
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24108 $as_echo_n "checking for y1... " >&6; }
24109 if test "${gcc_cv_math_func_y1+set}" = set; then :
24110 $as_echo_n "(cached) " >&6
24112 if test x
$gcc_no_link = xyes
; then
24113 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24116 /* end confdefs.h. */
24118 #ifdef HAVE_COMPLEX_H
24119 #include <complex.h>
24125 int (*ptr)() = (int (*)())y1;
24134 if ac_fn_c_try_link
"$LINENO"; then :
24135 gcc_cv_math_func_y1
=yes
24137 gcc_cv_math_func_y1
=no
24139 rm -f core conftest.err conftest.
$ac_objext \
24140 conftest
$ac_exeext conftest.
$ac_ext
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24143 $as_echo "$gcc_cv_math_func_y1" >&6; }
24144 if test $gcc_cv_math_func_y1 = yes; then
24146 cat >>confdefs.h
<<_ACEOF
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24156 $as_echo_n "checking for y1l... " >&6; }
24157 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24158 $as_echo_n "(cached) " >&6
24160 if test x
$gcc_no_link = xyes
; then
24161 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24164 /* end confdefs.h. */
24166 #ifdef HAVE_COMPLEX_H
24167 #include <complex.h>
24173 int (*ptr)() = (int (*)())y1l;
24182 if ac_fn_c_try_link
"$LINENO"; then :
24183 gcc_cv_math_func_y1l
=yes
24185 gcc_cv_math_func_y1l
=no
24187 rm -f core conftest.err conftest.
$ac_objext \
24188 conftest
$ac_exeext conftest.
$ac_ext
24190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24191 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24192 if test $gcc_cv_math_func_y1l = yes; then
24194 cat >>confdefs.h
<<_ACEOF
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24204 $as_echo_n "checking for ynf... " >&6; }
24205 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24206 $as_echo_n "(cached) " >&6
24208 if test x
$gcc_no_link = xyes
; then
24209 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24212 /* end confdefs.h. */
24214 #ifdef HAVE_COMPLEX_H
24215 #include <complex.h>
24221 int (*ptr)() = (int (*)())ynf;
24230 if ac_fn_c_try_link
"$LINENO"; then :
24231 gcc_cv_math_func_ynf
=yes
24233 gcc_cv_math_func_ynf
=no
24235 rm -f core conftest.err conftest.
$ac_objext \
24236 conftest
$ac_exeext conftest.
$ac_ext
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24239 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24240 if test $gcc_cv_math_func_ynf = yes; then
24242 cat >>confdefs.h
<<_ACEOF
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24252 $as_echo_n "checking for yn... " >&6; }
24253 if test "${gcc_cv_math_func_yn+set}" = set; then :
24254 $as_echo_n "(cached) " >&6
24256 if test x
$gcc_no_link = xyes
; then
24257 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24260 /* end confdefs.h. */
24262 #ifdef HAVE_COMPLEX_H
24263 #include <complex.h>
24269 int (*ptr)() = (int (*)())yn;
24278 if ac_fn_c_try_link
"$LINENO"; then :
24279 gcc_cv_math_func_yn
=yes
24281 gcc_cv_math_func_yn
=no
24283 rm -f core conftest.err conftest.
$ac_objext \
24284 conftest
$ac_exeext conftest.
$ac_ext
24286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24287 $as_echo "$gcc_cv_math_func_yn" >&6; }
24288 if test $gcc_cv_math_func_yn = yes; then
24290 cat >>confdefs.h
<<_ACEOF
24299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24300 $as_echo_n "checking for ynl... " >&6; }
24301 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24302 $as_echo_n "(cached) " >&6
24304 if test x
$gcc_no_link = xyes
; then
24305 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24308 /* end confdefs.h. */
24310 #ifdef HAVE_COMPLEX_H
24311 #include <complex.h>
24317 int (*ptr)() = (int (*)())ynl;
24326 if ac_fn_c_try_link
"$LINENO"; then :
24327 gcc_cv_math_func_ynl
=yes
24329 gcc_cv_math_func_ynl
=no
24331 rm -f core conftest.err conftest.
$ac_objext \
24332 conftest
$ac_exeext conftest.
$ac_ext
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24335 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24336 if test $gcc_cv_math_func_ynl = yes; then
24338 cat >>confdefs.h
<<_ACEOF
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24348 $as_echo_n "checking for tgamma... " >&6; }
24349 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24350 $as_echo_n "(cached) " >&6
24352 if test x
$gcc_no_link = xyes
; then
24353 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24356 /* end confdefs.h. */
24358 #ifdef HAVE_COMPLEX_H
24359 #include <complex.h>
24365 int (*ptr)() = (int (*)())tgamma;
24374 if ac_fn_c_try_link
"$LINENO"; then :
24375 gcc_cv_math_func_tgamma
=yes
24377 gcc_cv_math_func_tgamma
=no
24379 rm -f core conftest.err conftest.
$ac_objext \
24380 conftest
$ac_exeext conftest.
$ac_ext
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24383 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24384 if test $gcc_cv_math_func_tgamma = yes; then
24386 cat >>confdefs.h
<<_ACEOF
24387 #define HAVE_TGAMMA 1
24395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24396 $as_echo_n "checking for tgammaf... " >&6; }
24397 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24398 $as_echo_n "(cached) " >&6
24400 if test x
$gcc_no_link = xyes
; then
24401 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24404 /* end confdefs.h. */
24406 #ifdef HAVE_COMPLEX_H
24407 #include <complex.h>
24413 int (*ptr)() = (int (*)())tgammaf;
24422 if ac_fn_c_try_link
"$LINENO"; then :
24423 gcc_cv_math_func_tgammaf
=yes
24425 gcc_cv_math_func_tgammaf
=no
24427 rm -f core conftest.err conftest.
$ac_objext \
24428 conftest
$ac_exeext conftest.
$ac_ext
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24431 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24432 if test $gcc_cv_math_func_tgammaf = yes; then
24434 cat >>confdefs.h
<<_ACEOF
24435 #define HAVE_TGAMMAF 1
24443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24444 $as_echo_n "checking for tgammal... " >&6; }
24445 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24446 $as_echo_n "(cached) " >&6
24448 if test x
$gcc_no_link = xyes
; then
24449 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24454 #ifdef HAVE_COMPLEX_H
24455 #include <complex.h>
24461 int (*ptr)() = (int (*)())tgammal;
24470 if ac_fn_c_try_link
"$LINENO"; then :
24471 gcc_cv_math_func_tgammal
=yes
24473 gcc_cv_math_func_tgammal
=no
24475 rm -f core conftest.err conftest.
$ac_objext \
24476 conftest
$ac_exeext conftest.
$ac_ext
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24479 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24480 if test $gcc_cv_math_func_tgammal = yes; then
24482 cat >>confdefs.h
<<_ACEOF
24483 #define HAVE_TGAMMAL 1
24491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24492 $as_echo_n "checking for lgamma... " >&6; }
24493 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24494 $as_echo_n "(cached) " >&6
24496 if test x
$gcc_no_link = xyes
; then
24497 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24500 /* end confdefs.h. */
24502 #ifdef HAVE_COMPLEX_H
24503 #include <complex.h>
24509 int (*ptr)() = (int (*)())lgamma;
24518 if ac_fn_c_try_link
"$LINENO"; then :
24519 gcc_cv_math_func_lgamma
=yes
24521 gcc_cv_math_func_lgamma
=no
24523 rm -f core conftest.err conftest.
$ac_objext \
24524 conftest
$ac_exeext conftest.
$ac_ext
24526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24527 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24528 if test $gcc_cv_math_func_lgamma = yes; then
24530 cat >>confdefs.h
<<_ACEOF
24531 #define HAVE_LGAMMA 1
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24540 $as_echo_n "checking for lgammaf... " >&6; }
24541 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24542 $as_echo_n "(cached) " >&6
24544 if test x
$gcc_no_link = xyes
; then
24545 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24548 /* end confdefs.h. */
24550 #ifdef HAVE_COMPLEX_H
24551 #include <complex.h>
24557 int (*ptr)() = (int (*)())lgammaf;
24566 if ac_fn_c_try_link
"$LINENO"; then :
24567 gcc_cv_math_func_lgammaf
=yes
24569 gcc_cv_math_func_lgammaf
=no
24571 rm -f core conftest.err conftest.
$ac_objext \
24572 conftest
$ac_exeext conftest.
$ac_ext
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24575 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24576 if test $gcc_cv_math_func_lgammaf = yes; then
24578 cat >>confdefs.h
<<_ACEOF
24579 #define HAVE_LGAMMAF 1
24587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24588 $as_echo_n "checking for lgammal... " >&6; }
24589 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24590 $as_echo_n "(cached) " >&6
24592 if test x
$gcc_no_link = xyes
; then
24593 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24596 /* end confdefs.h. */
24598 #ifdef HAVE_COMPLEX_H
24599 #include <complex.h>
24605 int (*ptr)() = (int (*)())lgammal;
24614 if ac_fn_c_try_link
"$LINENO"; then :
24615 gcc_cv_math_func_lgammal
=yes
24617 gcc_cv_math_func_lgammal
=no
24619 rm -f core conftest.err conftest.
$ac_objext \
24620 conftest
$ac_exeext conftest.
$ac_ext
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24623 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24624 if test $gcc_cv_math_func_lgammal = yes; then
24626 cat >>confdefs.h
<<_ACEOF
24627 #define HAVE_LGAMMAL 1
24633 # Check for GFORTRAN_C99_1.1 funcs
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24638 $as_echo_n "checking for cacos... " >&6; }
24639 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24640 $as_echo_n "(cached) " >&6
24642 if test x
$gcc_no_link = xyes
; then
24643 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24646 /* end confdefs.h. */
24648 #ifdef HAVE_COMPLEX_H
24649 #include <complex.h>
24655 int (*ptr)() = (int (*)())cacos;
24664 if ac_fn_c_try_link
"$LINENO"; then :
24665 gcc_cv_math_func_cacos
=yes
24667 gcc_cv_math_func_cacos
=no
24669 rm -f core conftest.err conftest.
$ac_objext \
24670 conftest
$ac_exeext conftest.
$ac_ext
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24673 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24674 if test $gcc_cv_math_func_cacos = yes; then
24676 cat >>confdefs.h
<<_ACEOF
24677 #define HAVE_CACOS 1
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24686 $as_echo_n "checking for cacosf... " >&6; }
24687 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24688 $as_echo_n "(cached) " >&6
24690 if test x
$gcc_no_link = xyes
; then
24691 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24694 /* end confdefs.h. */
24696 #ifdef HAVE_COMPLEX_H
24697 #include <complex.h>
24703 int (*ptr)() = (int (*)())cacosf;
24712 if ac_fn_c_try_link
"$LINENO"; then :
24713 gcc_cv_math_func_cacosf
=yes
24715 gcc_cv_math_func_cacosf
=no
24717 rm -f core conftest.err conftest.
$ac_objext \
24718 conftest
$ac_exeext conftest.
$ac_ext
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24721 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24722 if test $gcc_cv_math_func_cacosf = yes; then
24724 cat >>confdefs.h
<<_ACEOF
24725 #define HAVE_CACOSF 1
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24734 $as_echo_n "checking for cacosh... " >&6; }
24735 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24736 $as_echo_n "(cached) " >&6
24738 if test x
$gcc_no_link = xyes
; then
24739 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24744 #ifdef HAVE_COMPLEX_H
24745 #include <complex.h>
24751 int (*ptr)() = (int (*)())cacosh;
24760 if ac_fn_c_try_link
"$LINENO"; then :
24761 gcc_cv_math_func_cacosh
=yes
24763 gcc_cv_math_func_cacosh
=no
24765 rm -f core conftest.err conftest.
$ac_objext \
24766 conftest
$ac_exeext conftest.
$ac_ext
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24769 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24770 if test $gcc_cv_math_func_cacosh = yes; then
24772 cat >>confdefs.h
<<_ACEOF
24773 #define HAVE_CACOSH 1
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24782 $as_echo_n "checking for cacoshf... " >&6; }
24783 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24784 $as_echo_n "(cached) " >&6
24786 if test x
$gcc_no_link = xyes
; then
24787 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24790 /* end confdefs.h. */
24792 #ifdef HAVE_COMPLEX_H
24793 #include <complex.h>
24799 int (*ptr)() = (int (*)())cacoshf;
24808 if ac_fn_c_try_link
"$LINENO"; then :
24809 gcc_cv_math_func_cacoshf
=yes
24811 gcc_cv_math_func_cacoshf
=no
24813 rm -f core conftest.err conftest.
$ac_objext \
24814 conftest
$ac_exeext conftest.
$ac_ext
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24817 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24818 if test $gcc_cv_math_func_cacoshf = yes; then
24820 cat >>confdefs.h
<<_ACEOF
24821 #define HAVE_CACOSHF 1
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24830 $as_echo_n "checking for cacoshl... " >&6; }
24831 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24832 $as_echo_n "(cached) " >&6
24834 if test x
$gcc_no_link = xyes
; then
24835 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24838 /* end confdefs.h. */
24840 #ifdef HAVE_COMPLEX_H
24841 #include <complex.h>
24847 int (*ptr)() = (int (*)())cacoshl;
24856 if ac_fn_c_try_link
"$LINENO"; then :
24857 gcc_cv_math_func_cacoshl
=yes
24859 gcc_cv_math_func_cacoshl
=no
24861 rm -f core conftest.err conftest.
$ac_objext \
24862 conftest
$ac_exeext conftest.
$ac_ext
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24865 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24866 if test $gcc_cv_math_func_cacoshl = yes; then
24868 cat >>confdefs.h
<<_ACEOF
24869 #define HAVE_CACOSHL 1
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24878 $as_echo_n "checking for cacosl... " >&6; }
24879 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24880 $as_echo_n "(cached) " >&6
24882 if test x
$gcc_no_link = xyes
; then
24883 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24886 /* end confdefs.h. */
24888 #ifdef HAVE_COMPLEX_H
24889 #include <complex.h>
24895 int (*ptr)() = (int (*)())cacosl;
24904 if ac_fn_c_try_link
"$LINENO"; then :
24905 gcc_cv_math_func_cacosl
=yes
24907 gcc_cv_math_func_cacosl
=no
24909 rm -f core conftest.err conftest.
$ac_objext \
24910 conftest
$ac_exeext conftest.
$ac_ext
24912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24913 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24914 if test $gcc_cv_math_func_cacosl = yes; then
24916 cat >>confdefs.h
<<_ACEOF
24917 #define HAVE_CACOSL 1
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24926 $as_echo_n "checking for casin... " >&6; }
24927 if test "${gcc_cv_math_func_casin+set}" = set; then :
24928 $as_echo_n "(cached) " >&6
24930 if test x
$gcc_no_link = xyes
; then
24931 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24934 /* end confdefs.h. */
24936 #ifdef HAVE_COMPLEX_H
24937 #include <complex.h>
24943 int (*ptr)() = (int (*)())casin;
24952 if ac_fn_c_try_link
"$LINENO"; then :
24953 gcc_cv_math_func_casin
=yes
24955 gcc_cv_math_func_casin
=no
24957 rm -f core conftest.err conftest.
$ac_objext \
24958 conftest
$ac_exeext conftest.
$ac_ext
24960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24961 $as_echo "$gcc_cv_math_func_casin" >&6; }
24962 if test $gcc_cv_math_func_casin = yes; then
24964 cat >>confdefs.h
<<_ACEOF
24965 #define HAVE_CASIN 1
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24974 $as_echo_n "checking for casinf... " >&6; }
24975 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24976 $as_echo_n "(cached) " >&6
24978 if test x
$gcc_no_link = xyes
; then
24979 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24982 /* end confdefs.h. */
24984 #ifdef HAVE_COMPLEX_H
24985 #include <complex.h>
24991 int (*ptr)() = (int (*)())casinf;
25000 if ac_fn_c_try_link
"$LINENO"; then :
25001 gcc_cv_math_func_casinf
=yes
25003 gcc_cv_math_func_casinf
=no
25005 rm -f core conftest.err conftest.
$ac_objext \
25006 conftest
$ac_exeext conftest.
$ac_ext
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25009 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25010 if test $gcc_cv_math_func_casinf = yes; then
25012 cat >>confdefs.h
<<_ACEOF
25013 #define HAVE_CASINF 1
25021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25022 $as_echo_n "checking for casinh... " >&6; }
25023 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25024 $as_echo_n "(cached) " >&6
25026 if test x
$gcc_no_link = xyes
; then
25027 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25030 /* end confdefs.h. */
25032 #ifdef HAVE_COMPLEX_H
25033 #include <complex.h>
25039 int (*ptr)() = (int (*)())casinh;
25048 if ac_fn_c_try_link
"$LINENO"; then :
25049 gcc_cv_math_func_casinh
=yes
25051 gcc_cv_math_func_casinh
=no
25053 rm -f core conftest.err conftest.
$ac_objext \
25054 conftest
$ac_exeext conftest.
$ac_ext
25056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25057 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25058 if test $gcc_cv_math_func_casinh = yes; then
25060 cat >>confdefs.h
<<_ACEOF
25061 #define HAVE_CASINH 1
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25070 $as_echo_n "checking for casinhf... " >&6; }
25071 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25072 $as_echo_n "(cached) " >&6
25074 if test x
$gcc_no_link = xyes
; then
25075 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25078 /* end confdefs.h. */
25080 #ifdef HAVE_COMPLEX_H
25081 #include <complex.h>
25087 int (*ptr)() = (int (*)())casinhf;
25096 if ac_fn_c_try_link
"$LINENO"; then :
25097 gcc_cv_math_func_casinhf
=yes
25099 gcc_cv_math_func_casinhf
=no
25101 rm -f core conftest.err conftest.
$ac_objext \
25102 conftest
$ac_exeext conftest.
$ac_ext
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25105 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25106 if test $gcc_cv_math_func_casinhf = yes; then
25108 cat >>confdefs.h
<<_ACEOF
25109 #define HAVE_CASINHF 1
25117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25118 $as_echo_n "checking for casinhl... " >&6; }
25119 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25120 $as_echo_n "(cached) " >&6
25122 if test x
$gcc_no_link = xyes
; then
25123 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25126 /* end confdefs.h. */
25128 #ifdef HAVE_COMPLEX_H
25129 #include <complex.h>
25135 int (*ptr)() = (int (*)())casinhl;
25144 if ac_fn_c_try_link
"$LINENO"; then :
25145 gcc_cv_math_func_casinhl
=yes
25147 gcc_cv_math_func_casinhl
=no
25149 rm -f core conftest.err conftest.
$ac_objext \
25150 conftest
$ac_exeext conftest.
$ac_ext
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25153 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25154 if test $gcc_cv_math_func_casinhl = yes; then
25156 cat >>confdefs.h
<<_ACEOF
25157 #define HAVE_CASINHL 1
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25166 $as_echo_n "checking for casinl... " >&6; }
25167 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25168 $as_echo_n "(cached) " >&6
25170 if test x
$gcc_no_link = xyes
; then
25171 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h. */
25176 #ifdef HAVE_COMPLEX_H
25177 #include <complex.h>
25183 int (*ptr)() = (int (*)())casinl;
25192 if ac_fn_c_try_link
"$LINENO"; then :
25193 gcc_cv_math_func_casinl
=yes
25195 gcc_cv_math_func_casinl
=no
25197 rm -f core conftest.err conftest.
$ac_objext \
25198 conftest
$ac_exeext conftest.
$ac_ext
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25201 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25202 if test $gcc_cv_math_func_casinl = yes; then
25204 cat >>confdefs.h
<<_ACEOF
25205 #define HAVE_CASINL 1
25213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25214 $as_echo_n "checking for catan... " >&6; }
25215 if test "${gcc_cv_math_func_catan+set}" = set; then :
25216 $as_echo_n "(cached) " >&6
25218 if test x
$gcc_no_link = xyes
; then
25219 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25222 /* end confdefs.h. */
25224 #ifdef HAVE_COMPLEX_H
25225 #include <complex.h>
25231 int (*ptr)() = (int (*)())catan;
25240 if ac_fn_c_try_link
"$LINENO"; then :
25241 gcc_cv_math_func_catan
=yes
25243 gcc_cv_math_func_catan
=no
25245 rm -f core conftest.err conftest.
$ac_objext \
25246 conftest
$ac_exeext conftest.
$ac_ext
25248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25249 $as_echo "$gcc_cv_math_func_catan" >&6; }
25250 if test $gcc_cv_math_func_catan = yes; then
25252 cat >>confdefs.h
<<_ACEOF
25253 #define HAVE_CATAN 1
25261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25262 $as_echo_n "checking for catanf... " >&6; }
25263 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25264 $as_echo_n "(cached) " >&6
25266 if test x
$gcc_no_link = xyes
; then
25267 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25270 /* end confdefs.h. */
25272 #ifdef HAVE_COMPLEX_H
25273 #include <complex.h>
25279 int (*ptr)() = (int (*)())catanf;
25288 if ac_fn_c_try_link
"$LINENO"; then :
25289 gcc_cv_math_func_catanf
=yes
25291 gcc_cv_math_func_catanf
=no
25293 rm -f core conftest.err conftest.
$ac_objext \
25294 conftest
$ac_exeext conftest.
$ac_ext
25296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25297 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25298 if test $gcc_cv_math_func_catanf = yes; then
25300 cat >>confdefs.h
<<_ACEOF
25301 #define HAVE_CATANF 1
25309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25310 $as_echo_n "checking for catanh... " >&6; }
25311 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25312 $as_echo_n "(cached) " >&6
25314 if test x
$gcc_no_link = xyes
; then
25315 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h. */
25320 #ifdef HAVE_COMPLEX_H
25321 #include <complex.h>
25327 int (*ptr)() = (int (*)())catanh;
25336 if ac_fn_c_try_link
"$LINENO"; then :
25337 gcc_cv_math_func_catanh
=yes
25339 gcc_cv_math_func_catanh
=no
25341 rm -f core conftest.err conftest.
$ac_objext \
25342 conftest
$ac_exeext conftest.
$ac_ext
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25345 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25346 if test $gcc_cv_math_func_catanh = yes; then
25348 cat >>confdefs.h
<<_ACEOF
25349 #define HAVE_CATANH 1
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25358 $as_echo_n "checking for catanhf... " >&6; }
25359 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25360 $as_echo_n "(cached) " >&6
25362 if test x
$gcc_no_link = xyes
; then
25363 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25366 /* end confdefs.h. */
25368 #ifdef HAVE_COMPLEX_H
25369 #include <complex.h>
25375 int (*ptr)() = (int (*)())catanhf;
25384 if ac_fn_c_try_link
"$LINENO"; then :
25385 gcc_cv_math_func_catanhf
=yes
25387 gcc_cv_math_func_catanhf
=no
25389 rm -f core conftest.err conftest.
$ac_objext \
25390 conftest
$ac_exeext conftest.
$ac_ext
25392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25393 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25394 if test $gcc_cv_math_func_catanhf = yes; then
25396 cat >>confdefs.h
<<_ACEOF
25397 #define HAVE_CATANHF 1
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25406 $as_echo_n "checking for catanhl... " >&6; }
25407 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25408 $as_echo_n "(cached) " >&6
25410 if test x
$gcc_no_link = xyes
; then
25411 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25414 /* end confdefs.h. */
25416 #ifdef HAVE_COMPLEX_H
25417 #include <complex.h>
25423 int (*ptr)() = (int (*)())catanhl;
25432 if ac_fn_c_try_link
"$LINENO"; then :
25433 gcc_cv_math_func_catanhl
=yes
25435 gcc_cv_math_func_catanhl
=no
25437 rm -f core conftest.err conftest.
$ac_objext \
25438 conftest
$ac_exeext conftest.
$ac_ext
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25441 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25442 if test $gcc_cv_math_func_catanhl = yes; then
25444 cat >>confdefs.h
<<_ACEOF
25445 #define HAVE_CATANHL 1
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25454 $as_echo_n "checking for catanl... " >&6; }
25455 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25456 $as_echo_n "(cached) " >&6
25458 if test x
$gcc_no_link = xyes
; then
25459 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25462 /* end confdefs.h. */
25464 #ifdef HAVE_COMPLEX_H
25465 #include <complex.h>
25471 int (*ptr)() = (int (*)())catanl;
25480 if ac_fn_c_try_link
"$LINENO"; then :
25481 gcc_cv_math_func_catanl
=yes
25483 gcc_cv_math_func_catanl
=no
25485 rm -f core conftest.err conftest.
$ac_objext \
25486 conftest
$ac_exeext conftest.
$ac_ext
25488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25489 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25490 if test $gcc_cv_math_func_catanl = yes; then
25492 cat >>confdefs.h
<<_ACEOF
25493 #define HAVE_CATANL 1
25499 # On AIX, clog is present in libm as __clog
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25501 $as_echo_n "checking for __clog in -lm... " >&6; }
25502 if test "${ac_cv_lib_m___clog+set}" = set; then :
25503 $as_echo_n "(cached) " >&6
25505 ac_check_lib_save_LIBS
=$LIBS
25507 if test x
$gcc_no_link = xyes
; then
25508 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25511 /* end confdefs.h. */
25513 /* Override any GCC internal prototype to avoid an error.
25514 Use char because int might match the return type of a GCC
25515 builtin and then its argument prototype would still apply. */
25528 if ac_fn_c_try_link
"$LINENO"; then :
25529 ac_cv_lib_m___clog
=yes
25531 ac_cv_lib_m___clog
=no
25533 rm -f core conftest.err conftest.
$ac_objext \
25534 conftest
$ac_exeext conftest.
$ac_ext
25535 LIBS
=$ac_check_lib_save_LIBS
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25538 $as_echo "$ac_cv_lib_m___clog" >&6; }
25539 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25541 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25546 # Check whether the system has a working stat()
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25549 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25550 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25551 $as_echo_n "(cached) " >&6
25554 if test "$cross_compiling" = yes; then :
25556 case "${target}" in
25557 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25558 *) libgfor_cv_have_working_stat
=yes;;
25561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25562 /* end confdefs.h. */
25565 #include <sys/types.h>
25566 #include <sys/stat.h>
25567 #include <unistd.h>
25572 struct stat st1, st2;
25574 f = fopen ("foo", "w");
25575 g = fopen ("bar", "w");
25576 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25578 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25585 if ac_fn_c_try_run
"$LINENO"; then :
25586 libgfor_cv_have_working_stat
=yes
25588 libgfor_cv_have_working_stat
=no
25590 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25591 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25596 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25597 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25599 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25603 # Check whether __mingw_snprintf() is present
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25606 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25607 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25608 $as_echo_n "(cached) " >&6
25611 if test x
$gcc_no_link = xyes
; then
25612 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25615 /* end confdefs.h. */
25618 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25624 __mingw_snprintf (NULL, 0, "%d\n", 1);
25630 if ac_fn_c_try_link
"$LINENO"; then :
25631 eval "libgfor_cv_have_mingw_snprintf=yes"
25633 eval "libgfor_cv_have_mingw_snprintf=no"
25635 rm -f core conftest.err conftest.
$ac_objext \
25636 conftest
$ac_exeext conftest.
$ac_ext
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25640 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25641 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25643 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25648 # Check whether libquadmath should be used
25649 # Check whether --enable-libquadmath-support was given.
25650 if test "${enable_libquadmath_support+set}" = set; then :
25651 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25653 ENABLE_LIBQUADMATH_SUPPORT
=yes
25656 enable_libquadmath_support
=
25657 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25658 enable_libquadmath_support
=no
25661 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25665 if test "x$enable_libquadmath_support" != xno
; then
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25668 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25669 if test "${libgfor_cv_have_float128+set}" = set; then :
25670 $as_echo_n "(cached) " >&6
25673 if test x
$gcc_no_link = xyes
; then
25674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25675 /* end confdefs.h. */
25677 typedef _Complex float __attribute__((mode(TC))) __complex128;
25679 __float128 foo (__float128 x)
25682 __complex128 z1, z2;
25688 return (__float128) z2;
25691 __float128 bar (__float128 x)
25693 return x * __builtin_huge_valq ();
25707 if ac_fn_c_try_compile
"$LINENO"; then :
25709 libgfor_cv_have_float128
=yes
25713 libgfor_cv_have_float128
=no
25716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25718 if test x
$gcc_no_link = xyes
; then
25719 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25722 /* end confdefs.h. */
25724 typedef _Complex float __attribute__((mode(TC))) __complex128;
25726 __float128 foo (__float128 x)
25729 __complex128 z1, z2;
25735 return (__float128) z2;
25738 __float128 bar (__float128 x)
25740 return x * __builtin_huge_valq ();
25754 if ac_fn_c_try_link
"$LINENO"; then :
25756 libgfor_cv_have_float128
=yes
25760 libgfor_cv_have_float128
=no
25763 rm -f core conftest.err conftest.
$ac_objext \
25764 conftest
$ac_exeext conftest.
$ac_ext
25767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25768 $as_echo "$libgfor_cv_have_float128" >&6; }
25770 if test "x$libgfor_cv_have_float128" = xyes
; then
25772 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25775 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25777 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25778 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25779 $as_echo_n "(cached) " >&6
25782 # Test for native Solaris options first.
25783 # No whitespace after -z to pass it through -Wl.
25784 libgfor_cv_as_needed_option
="-zignore"
25785 libgfor_cv_no_as_needed_option
="-zrecord"
25786 save_LDFLAGS
="$LDFLAGS"
25787 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25788 libgfor_cv_have_as_needed
=no
25790 ac_c_werror_flag
=yes
25791 if test x
$gcc_no_link = xyes
; then
25792 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25795 /* end confdefs.h. */
25805 if ac_fn_c_try_link
"$LINENO"; then :
25806 libgfor_cv_have_as_needed
=yes
25808 libgfor_cv_have_as_needed
=no
25810 rm -f core conftest.err conftest.
$ac_objext \
25811 conftest
$ac_exeext conftest.
$ac_ext
25812 LDFLAGS
="$save_LDFLAGS"
25813 if test "x$libgfor_cv_have_as_needed" = xno
; then
25814 libgfor_cv_as_needed_option
="--as-needed"
25815 libgfor_cv_no_as_needed_option
="--no-as-needed"
25816 save_LDFLAGS
="$LDFLAGS"
25817 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25818 libgfor_cv_have_as_needed
=no
25820 ac_c_werror_flag
=yes
25821 if test x
$gcc_no_link = xyes
; then
25822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25825 /* end confdefs.h. */
25835 if ac_fn_c_try_link
"$LINENO"; then :
25836 libgfor_cv_have_as_needed
=yes
25838 libgfor_cv_have_as_needed
=no
25840 rm -f core conftest.err conftest.
$ac_objext \
25841 conftest
$ac_exeext conftest.
$ac_ext
25842 LDFLAGS
="$save_LDFLAGS"
25844 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25848 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25850 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25851 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25853 LIBQUADSPEC
="-lquadmath"
25855 if test -f ..
/libquadmath
/libquadmath.la
; then
25856 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25857 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25858 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25860 LIBQUADLIB
="-lquadmath"
25866 # for --disable-quadmath
25877 if test "x$libgfor_cv_have_float128" = xyes
; then
25878 LIBGFOR_BUILD_QUAD_TRUE
=
25879 LIBGFOR_BUILD_QUAD_FALSE
='#'
25881 LIBGFOR_BUILD_QUAD_TRUE
='#'
25882 LIBGFOR_BUILD_QUAD_FALSE
=
25887 # Check for GNU libc feenableexcept
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25889 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25890 if test "${ac_cv_lib_m_feenableexcept+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 feenableexcept ();
25911 return feenableexcept ();
25916 if ac_fn_c_try_link
"$LINENO"; then :
25917 ac_cv_lib_m_feenableexcept
=yes
25919 ac_cv_lib_m_feenableexcept
=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_m_feenableexcept" >&5
25926 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25927 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25928 have_feenableexcept
=yes
25929 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25934 # At least for glibc, clock_gettime is in librt. But don't
25935 # pull that in if it still doesn't give us the function we want. This
25936 # test is copied from libgomp, and modified to not link in -lrt as
25937 # libgfortran calls clock_gettime via a weak reference if it's found
25939 if test "$ac_cv_func_clock_gettime" = no
; then
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25941 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25942 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25943 $as_echo_n "(cached) " >&6
25945 ac_check_lib_save_LIBS
=$LIBS
25947 if test x
$gcc_no_link = xyes
; then
25948 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25951 /* end confdefs.h. */
25953 /* Override any GCC internal prototype to avoid an error.
25954 Use char because int might match the return type of a GCC
25955 builtin and then its argument prototype would still apply. */
25959 char clock_gettime ();
25963 return clock_gettime ();
25968 if ac_fn_c_try_link
"$LINENO"; then :
25969 ac_cv_lib_rt_clock_gettime
=yes
25971 ac_cv_lib_rt_clock_gettime
=no
25973 rm -f core conftest.err conftest.
$ac_objext \
25974 conftest
$ac_exeext conftest.
$ac_ext
25975 LIBS
=$ac_check_lib_save_LIBS
25977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25978 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25979 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25981 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25987 # Check for SysV fpsetmask
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25990 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25991 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25992 $as_echo_n "(cached) " >&6
25995 if test x
$gcc_no_link = xyes
; then
25996 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25999 /* end confdefs.h. */
26001 #if HAVE_FLOATINGPOINT_H
26002 # include <floatingpoint.h>
26003 #endif /* HAVE_FLOATINGPOINT_H */
26005 # include <ieeefp.h>
26006 #endif /* HAVE_IEEEFP_H */
26015 if ac_fn_c_try_link
"$LINENO"; then :
26016 eval "libgfor_cv_have_fpsetmask=yes"
26018 eval "libgfor_cv_have_fpsetmask=no"
26020 rm -f core conftest.err conftest.
$ac_objext \
26021 conftest
$ac_exeext conftest.
$ac_ext
26024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26025 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26026 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26029 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26033 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h>
26035 if test "x$ac_cv_type_fp_except" = x
""yes; then :
26037 cat >>confdefs.h
<<_ACEOF
26038 #define HAVE_FP_EXCEPT 1
26043 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h>
26045 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
26047 cat >>confdefs.h
<<_ACEOF
26048 #define HAVE_FP_EXCEPT_T 1
26054 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "#include <ieeefp.h>
26056 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
26058 cat >>confdefs.h
<<_ACEOF
26059 #define HAVE_FP_RND 1
26064 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "#include <ieeefp.h>
26066 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
26068 cat >>confdefs.h
<<_ACEOF
26069 #define HAVE_FP_RND_T 1
26076 # Check for AIX fp_trap and fp_enable
26077 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26078 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
26080 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26084 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26085 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
26087 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26092 # Runs configure.host to set up necessary host-dependent shell variables.
26093 # We then display a message about it, and propagate them through the
26095 .
${srcdir}/configure.
host
26096 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26097 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26098 FPU_HOST_HEADER
=config
/${fpu_host}.h
26101 # Some targets require additional compiler options for IEEE compatibility.
26102 IEEE_FLAGS
="${ieee_flags}"
26106 # Check for POSIX getpwuid_r
26108 # There are two versions of getpwuid_r, the POSIX one with 5
26109 # arguments, and another one with 4 arguments used by at least HP-UX
26111 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26113 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26114 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26115 $as_echo_n "(cached) " >&6
26118 if test x
$gcc_no_link = xyes
; then
26119 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26125 #include <sys/types.h>
26131 getpwuid_r(0, NULL, NULL, 0, NULL);
26137 if ac_fn_c_try_link
"$LINENO"; then :
26138 libgfor_cv_posix_getpwuid_r
="yes"
26140 libgfor_cv_posix_getpwuid_r
="no"
26142 rm -f core conftest.err conftest.
$ac_objext \
26143 conftest
$ac_exeext conftest.
$ac_ext
26145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26146 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26148 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26150 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26155 # Check out attribute support.
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26158 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26159 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26160 $as_echo_n "(cached) " >&6
26163 save_CFLAGS
="$CFLAGS"
26164 CFLAGS
="$CFLAGS -Werror"
26165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26166 /* end confdefs.h. */
26167 void __attribute__((visibility("hidden"))) foo(void) { }
26176 if ac_fn_c_try_compile
"$LINENO"; then :
26177 libgfor_cv_have_attribute_visibility
=yes
26179 libgfor_cv_have_attribute_visibility
=no
26181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26182 CFLAGS
="$save_CFLAGS"
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26185 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26186 if test $libgfor_cv_have_attribute_visibility = yes; then
26188 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26193 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26194 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26195 $as_echo_n "(cached) " >&6
26198 save_CFLAGS
="$CFLAGS"
26199 CFLAGS
="$CFLAGS -Werror"
26200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26201 /* end confdefs.h. */
26202 void __attribute__((dllexport)) foo(void) { }
26211 if ac_fn_c_try_compile
"$LINENO"; then :
26212 libgfor_cv_have_attribute_dllexport
=yes
26214 libgfor_cv_have_attribute_dllexport
=no
26216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26217 CFLAGS
="$save_CFLAGS"
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26220 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26221 if test $libgfor_cv_have_attribute_dllexport = yes; then
26223 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26228 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26229 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26230 $as_echo_n "(cached) " >&6
26233 if test x
$gcc_no_link = xyes
; then
26234 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26237 /* end confdefs.h. */
26240 extern void bar(void) __attribute__((alias("foo")));
26249 if ac_fn_c_try_link
"$LINENO"; then :
26250 libgfor_cv_have_attribute_alias
=yes
26252 libgfor_cv_have_attribute_alias
=no
26254 rm -f core conftest.err conftest.
$ac_objext \
26255 conftest
$ac_exeext conftest.
$ac_ext
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26258 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26259 if test $libgfor_cv_have_attribute_alias = yes; then
26261 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26265 # Check out sync builtins support.
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26268 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26269 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26270 $as_echo_n "(cached) " >&6
26273 if test x
$gcc_no_link = xyes
; then
26274 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h. */
26283 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26284 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26289 if ac_fn_c_try_link
"$LINENO"; then :
26290 libgfor_cv_have_sync_fetch_and_add
=yes
26292 libgfor_cv_have_sync_fetch_and_add
=no
26294 rm -f core conftest.err conftest.
$ac_objext \
26295 conftest
$ac_exeext conftest.
$ac_ext
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26298 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26299 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26301 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26305 # Check out #pragma weak.
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26308 $as_echo_n "checking whether pragma weak works... " >&6; }
26309 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26310 $as_echo_n "(cached) " >&6
26313 gfor_save_CFLAGS
="$CFLAGS"
26314 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26316 /* end confdefs.h. */
26329 if ac_fn_c_try_compile
"$LINENO"; then :
26330 libgfor_cv_have_pragma_weak
=yes
26332 libgfor_cv_have_pragma_weak
=no
26334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26337 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26338 if test $libgfor_cv_have_pragma_weak = yes; then
26340 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26344 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26346 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26351 # Various other checks on target
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26354 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26355 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26356 $as_echo_n "(cached) " >&6
26359 if test "$cross_compiling" = yes; then :
26361 case "${target}" in
26362 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26363 *) libgfor_cv_have_unlink_open_file
=yes;;
26366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26371 #include <unistd.h>
26372 #include <sys/stat.h>
26378 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26381 if (unlink ("testfile") == -1)
26383 write (fd, "This is a test\n", 15);
26386 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26392 if ac_fn_c_try_run
"$LINENO"; then :
26393 libgfor_cv_have_unlink_open_file
=yes
26395 libgfor_cv_have_unlink_open_file
=no
26397 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26398 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26403 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26404 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26406 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26410 # Check whether line terminator is LF or CRLF
26412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26413 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26414 if test "${libgfor_cv_have_crlf+set}" = set; then :
26415 $as_echo_n "(cached) " >&6
26418 if test "$cross_compiling" = yes; then :
26420 case "${target}" in
26421 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26422 *) libgfor_cv_have_crlf
=no
;;
26425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26426 /* end confdefs.h. */
26428 /* This test program should exit with status 0 if system uses a CRLF as
26429 line terminator, and status 1 otherwise.
26430 Since it is used to check for mingw systems, and should return 0 in any
26431 other case, in case of a failure we will not use CRLF. */
26432 #include <sys/stat.h>
26433 #include <stdlib.h>
26445 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26448 if (write (fd, "\n", 1) < 0)
26453 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26455 bytes = read (fd, buff, 5);
26456 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26463 if ac_fn_c_try_run
"$LINENO"; then :
26464 libgfor_cv_have_crlf
=yes
26466 libgfor_cv_have_crlf
=no
26468 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26469 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26474 $as_echo "$libgfor_cv_have_crlf" >&6; }
26475 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26477 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26481 # Check whether we have _Unwind_GetIPInfo for backtrace
26484 # Check whether --with-system-libunwind was given.
26485 if test "${with_system_libunwind+set}" = set; then :
26486 withval
=$with_system_libunwind;
26489 # If system-libunwind was not specifically set, pick a default setting.
26490 if test x
$with_system_libunwind = x
; then
26492 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26493 *) with_system_libunwind
=no
;;
26496 # Based on system-libunwind and target, do we have ipinfo?
26497 if test x
$with_system_libunwind = xyes
; then
26499 ia64-
*-*) have_unwind_getipinfo
=no
;;
26500 *) have_unwind_getipinfo
=yes ;;
26503 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26506 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26507 *) have_unwind_getipinfo
=yes ;;
26512 if test x
$have_unwind_getipinfo = xyes
; then
26514 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26519 cat >confcache
<<\_ACEOF
26520 # This file is a shell script that caches the results of configure
26521 # tests run on this system so they can be shared between configure
26522 # scripts and configure runs, see configure's option --config-cache.
26523 # It is not useful on other systems. If it contains results you don't
26524 # want to keep, you may remove or edit it.
26526 # config.status only pays attention to the cache file if you give it
26527 # the --recheck option to rerun configure.
26529 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26530 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26531 # following values.
26535 # The following way of writing the cache mishandles newlines in values,
26536 # but we know of no workaround that is simple, portable, and efficient.
26537 # So, we kill variables containing newlines.
26538 # Ultrix sh set writes to stderr and can't be redirected directly,
26539 # and sets the high bit in the cache file unless we assign to the vars.
26541 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26542 eval ac_val
=\$
$ac_var
26546 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26547 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26550 _ | IFS | as_nl
) ;; #(
26551 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26552 *) { eval $ac_var=; unset $ac_var;} ;;
26558 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26559 *${as_nl}ac_space
=\
*)
26560 # `set' does not quote correctly, so add quotes: double-quote
26561 # substitution turns \\\\ into \\, and sed turns \\ into \.
26564 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26567 # `set' quotes correctly as required by POSIX, so do not add quotes.
26568 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26577 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26579 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26581 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26582 if test -w "$cache_file"; then
26583 test "x$cache_file" != "x/dev/null" &&
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26585 $as_echo "$as_me: updating cache $cache_file" >&6;}
26586 cat confcache
>$cache_file
26588 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26589 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26594 if test ${multilib} = yes; then
26595 multilib_arg
="--enable-multilib"
26600 # Write our Makefile and spec file.
26601 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26603 cat >confcache
<<\_ACEOF
26604 # This file is a shell script that caches the results of configure
26605 # tests run on this system so they can be shared between configure
26606 # scripts and configure runs, see configure's option --config-cache.
26607 # It is not useful on other systems. If it contains results you don't
26608 # want to keep, you may remove or edit it.
26610 # config.status only pays attention to the cache file if you give it
26611 # the --recheck option to rerun configure.
26613 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26614 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26615 # following values.
26619 # The following way of writing the cache mishandles newlines in values,
26620 # but we know of no workaround that is simple, portable, and efficient.
26621 # So, we kill variables containing newlines.
26622 # Ultrix sh set writes to stderr and can't be redirected directly,
26623 # and sets the high bit in the cache file unless we assign to the vars.
26625 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26626 eval ac_val
=\$
$ac_var
26630 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26631 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26634 _ | IFS | as_nl
) ;; #(
26635 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26636 *) { eval $ac_var=; unset $ac_var;} ;;
26642 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26643 *${as_nl}ac_space
=\
*)
26644 # `set' does not quote correctly, so add quotes: double-quote
26645 # substitution turns \\\\ into \\, and sed turns \\ into \.
26648 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26651 # `set' quotes correctly as required by POSIX, so do not add quotes.
26652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26661 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26663 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26665 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26666 if test -w "$cache_file"; then
26667 test "x$cache_file" != "x/dev/null" &&
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26669 $as_echo "$as_me: updating cache $cache_file" >&6;}
26670 cat confcache
>$cache_file
26672 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26673 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26678 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26679 # Let make expand exec_prefix.
26680 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26682 DEFS
=-DHAVE_CONFIG_H
26686 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26687 # 1. Remove the extension, and $U if already installed.
26688 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26689 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26690 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26691 # will be set to the directory where LIBOBJS objects are built.
26692 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26693 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26695 LIBOBJS
=$ac_libobjs
26697 LTLIBOBJS
=$ac_ltlibobjs
26700 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26701 as_fn_error
"conditional \"onestep\" was never defined.
26702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26704 if test -n "$EXEEXT"; then
26706 am__EXEEXT_FALSE
='#'
26708 am__EXEEXT_TRUE
='#'
26712 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26713 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26716 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26717 as_fn_error
"conditional \"AMDEP\" was never defined.
26718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26720 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26721 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26724 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26725 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26728 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26729 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26732 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26733 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26736 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26737 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26740 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26741 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26745 : ${CONFIG_STATUS=./config.status}
26747 ac_clean_files_save
=$ac_clean_files
26748 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26750 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26752 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26754 # Generated by $as_me.
26755 # Run this file to recreate the current configuration.
26756 # Compiler output produced by configure, useful for debugging
26757 # configure, is in config.log if it exists.
26760 ac_cs_recheck=false
26763 SHELL=\${CONFIG_SHELL-$SHELL}
26766 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26767 ## -------------------- ##
26768 ## M4sh Initialization. ##
26769 ## -------------------- ##
26771 # Be more Bourne compatible
26772 DUALCASE
=1; export DUALCASE
# for MKS sh
26773 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26776 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26777 # is contrary to our usage. Disable this feature.
26778 alias -g '${1+"$@"}'='"$@"'
26779 setopt NO_GLOB_SUBST
26781 case `(set -o) 2>/dev/null` in #(
26793 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26794 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26797 # Prefer a ksh shell builtin over an external printf program on Solaris,
26798 # but without wasting forks for bash or zsh.
26799 if test -z "$BASH_VERSION$ZSH_VERSION" \
26800 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26801 as_echo='print
-r --'
26802 as_echo_n='print
-rn --'
26803 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26804 as_echo='printf %s
\n'
26805 as_echo_n='printf %s
'
26807 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26808 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26809 as_echo_n='/usr
/ucb
/echo -n'
26811 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26812 as_echo_n_body='eval
26816 expr "X$arg" : "X\\(.*\\)$as_nl";
26817 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26819 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26821 export as_echo_n_body
26822 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26824 export as_echo_body
26825 as_echo='sh
-c $as_echo_body as_echo
'
26828 # The user is always right.
26829 if test "${PATH_SEPARATOR+set}" != set; then
26831 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26832 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26839 # We need space, tab and new line, in precisely that order. Quoting is
26840 # there to prevent editors from complaining about space-tab.
26841 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26842 # splitting by setting IFS to empty value.)
26845 # Find who we are. Look in the path if we contain no directory separator.
26847 *[\\/]* ) as_myself=$0 ;;
26848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26849 for as_dir in $PATH
26852 test -z "$as_dir" && as_dir=.
26853 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26859 # We did not find ourselves, most probably we were run as `sh COMMAND'
26860 # in which case we are not to be found in the path.
26861 if test "x$as_myself" = x
; then
26864 if test ! -f "$as_myself"; then
26865 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26869 # Unset variables that we do not need and which cause bugs (e.g. in
26870 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26871 # suppresses any "Segmentation fault" message there. '((' could
26872 # trigger a bug in pdksh 5.2.14.
26873 for as_var
in BASH_ENV ENV MAIL MAILPATH
26874 do eval test x\
${$as_var+set} = xset \
26875 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26888 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26891 # as_fn_error ERROR [LINENO LOG_FD]
26892 # ---------------------------------
26893 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26894 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26895 # script with status $?, using 1 if that was 0.
26898 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26900 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26901 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26903 $as_echo "$as_me: error: $1" >&2
26904 as_fn_exit
$as_status
26908 # as_fn_set_status STATUS
26909 # -----------------------
26910 # Set $? to STATUS, without forking.
26911 as_fn_set_status
()
26914 } # as_fn_set_status
26916 # as_fn_exit STATUS
26917 # -----------------
26918 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26922 as_fn_set_status
$1
26928 # Portably unset VAR.
26931 { eval $1=; unset $1;}
26933 as_unset
=as_fn_unset
26934 # as_fn_append VAR VALUE
26935 # ----------------------
26936 # Append the text in VALUE to the end of the definition contained in VAR. Take
26937 # advantage of any shell optimizations that allow amortized linear growth over
26938 # repeated appends, instead of the typical quadratic growth present in naive
26940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26941 eval 'as_fn_append ()
26952 # as_fn_arith ARG...
26953 # ------------------
26954 # Perform arithmetic evaluation on the ARGs, and store the result in the
26955 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26956 # must be portable across $(()) and expr.
26957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26958 eval 'as_fn_arith ()
26965 as_val
=`expr "$@" || test $? -eq 1`
26970 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26971 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26977 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26978 as_basename
=basename
26983 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26989 as_me
=`$as_basename -- "$0" ||
26990 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26991 X"$0" : 'X\(//\)$' \| \
26992 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26994 sed '/^.*\/\([^/][^/]*\)\/*$/{
27008 # Avoid depending upon Character Ranges.
27009 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27010 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27011 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27012 as_cr_digits
='0123456789'
27013 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27015 ECHO_C
= ECHO_N
= ECHO_T
=
27016 case `echo -n x` in #(((((
27018 case `echo 'xy\c'` in
27019 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27021 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27028 rm -f conf$$ conf$$.exe conf$$.
file
27029 if test -d conf$$.dir
; then
27030 rm -f conf$$.dir
/conf$$.
file
27033 mkdir conf$$.dir
2>/dev
/null
27035 if (echo >conf$$.
file) 2>/dev
/null
; then
27036 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27038 # ... but there are two gotchas:
27039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27041 # In both cases, we have to default to `cp -p'.
27042 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27044 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27052 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27053 rmdir conf$$.dir
2>/dev
/null
27058 # Create "$as_dir" as a directory, including parents if necessary.
27063 -*) as_dir
=.
/$as_dir;;
27065 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27069 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27070 *) as_qdir
=$as_dir;;
27072 as_dirs
="'$as_qdir' $as_dirs"
27073 as_dir
=`$as_dirname -- "$as_dir" ||
27074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27075 X"$as_dir" : 'X\(//\)[^/]' \| \
27076 X"$as_dir" : 'X\(//\)$' \| \
27077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27078 $as_echo X"$as_dir" |
27079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27083 /^X\(\/\/\)[^/].*/{
27096 test -d "$as_dir" && break
27098 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27099 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27103 if mkdir
-p .
2>/dev
/null
; then
27104 as_mkdir_p
='mkdir -p "$as_dir"'
27106 test -d .
/-p && rmdir .
/-p
27110 if test -x / >/dev
/null
2>&1; then
27111 as_test_x
='test -x'
27113 if ls -dL / >/dev
/null
2>&1; then
27120 if test -d "$1"; then
27126 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27127 ???[sx]*):;;*)false;;esac;fi
27131 as_executable_p
=$as_test_x
27133 # Sed expression to map a string onto a valid CPP name.
27134 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27136 # Sed expression to map a string onto a valid variable name.
27137 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27141 ## ----------------------------------- ##
27142 ## Main body of $CONFIG_STATUS script. ##
27143 ## ----------------------------------- ##
27145 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27148 # Save the log message, to keep $0 and so on meaningful, and to
27149 # report actual input values of CONFIG_FILES etc. instead of their
27150 # values after options handling.
27152 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27153 generated by GNU Autoconf 2.64. Invocation command line was
27155 CONFIG_FILES = $CONFIG_FILES
27156 CONFIG_HEADERS = $CONFIG_HEADERS
27157 CONFIG_LINKS = $CONFIG_LINKS
27158 CONFIG_COMMANDS = $CONFIG_COMMANDS
27161 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27166 case $ac_config_files in *"
27167 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27170 case $ac_config_headers in *"
27171 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27176 # Files that config.status was made for.
27177 config_files="$ac_config_files"
27178 config_headers="$ac_config_headers"
27179 config_commands="$ac_config_commands"
27183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27185 \`$as_me' instantiates files and other configuration actions
27186 from templates according to the current configuration. Unless the files
27187 and actions are specified as TAGs, all are instantiated by default.
27189 Usage: $0 [OPTION]... [TAG]...
27191 -h, --help print this help, then exit
27192 -V, --version print version number and configuration settings, then exit
27193 -q, --quiet, --silent
27194 do not print progress messages
27195 -d, --debug don't remove temporary files
27196 --recheck update $as_me by reconfiguring in the same conditions
27197 --file=FILE[:TEMPLATE]
27198 instantiate the configuration file FILE
27199 --header=FILE[:TEMPLATE]
27200 instantiate the configuration header FILE
27202 Configuration files:
27205 Configuration headers:
27208 Configuration commands:
27211 Report bugs to the package provider.
27212 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27213 General help using GNU software: <http://www.gnu.org/gethelp/>."
27216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27218 GNU Fortran Runtime Library config.status 0.3
27219 configured by $0, generated by GNU Autoconf 2.64,
27220 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27222 Copyright (C) 2009 Free Software Foundation, Inc.
27223 This config.status script is free software; the Free Software Foundation
27224 gives unlimited permission to copy, distribute and modify it."
27231 test -n "\$AWK" || AWK=awk
27234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27235 # The default lists apply if the user does not specify any file.
27241 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27242 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27253 # Handling of the options.
27254 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27256 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27257 $as_echo "$ac_cs_version"; exit ;;
27258 --debug |
--debu |
--deb |
--de |
--d |
-d )
27260 --file |
--fil |
--fi |
--f )
27263 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27265 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27266 ac_need_defaults
=false
;;
27267 --header |
--heade |
--head |
--hea )
27270 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27272 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27273 ac_need_defaults
=false
;;
27275 # Conflict between --help and --header
27276 as_fn_error
"ambiguous option: \`$1'
27277 Try \`$0 --help' for more information.";;
27278 --help |
--hel |
-h )
27279 $as_echo "$ac_cs_usage"; exit ;;
27280 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27281 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27284 # This is an error.
27285 -*) as_fn_error
"unrecognized option: \`$1'
27286 Try \`$0 --help' for more information." ;;
27288 *) as_fn_append ac_config_targets
" $1"
27289 ac_need_defaults
=false
;;
27295 ac_configure_extra_args
=
27297 if $ac_cs_silent; then
27299 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27304 if \$ac_cs_recheck; then
27305 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27307 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27308 CONFIG_SHELL='$SHELL'
27309 export CONFIG_SHELL
27314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27318 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27319 ## Running $as_me. ##
27325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27333 with_multisubdir="$with_multisubdir"
27334 with_multisrctop="$with_multisrctop"
27335 with_target_subdir="$with_target_subdir"
27336 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27337 multi_basedir="$multi_basedir"
27338 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27341 GFORTRAN="$GFORTRAN"
27343 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27346 # The HP-UX ksh and POSIX shell print the target directory to stdout
27347 # if CDPATH is set.
27348 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27350 sed_quote_subst='$sed_quote_subst'
27351 double_quote_subst='$double_quote_subst'
27352 delay_variable_subst='$delay_variable_subst'
27353 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27354 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27355 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27356 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27357 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27358 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27359 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27360 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27361 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27362 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27363 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27364 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27365 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27366 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27367 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27368 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27369 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27370 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27371 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27372 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27373 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27374 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27375 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27376 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27377 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27378 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27379 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27380 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27381 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27382 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27383 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27384 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27385 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27386 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27387 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27388 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27389 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27390 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27391 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27392 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27393 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27394 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27395 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27396 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27397 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27398 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27399 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27400 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27401 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"`'
27402 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27403 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27404 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27405 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27406 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27407 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27408 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27409 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27410 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27411 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27412 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27413 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27414 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27415 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27416 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27417 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27418 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27419 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27420 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27421 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27422 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27423 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27424 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27425 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27426 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27427 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27428 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27429 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27430 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27431 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27432 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27433 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27434 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27435 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27436 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27437 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27438 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27439 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27440 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27441 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27442 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27443 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27444 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27445 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27446 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27447 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27448 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27449 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27450 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27451 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27452 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27453 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27454 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27455 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27456 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27457 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27458 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27459 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27460 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27461 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27462 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27463 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27464 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27465 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27466 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27467 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27468 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27469 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27470 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27471 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27472 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27473 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27474 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27475 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27476 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27477 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27478 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27479 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27480 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27481 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27482 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27483 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27484 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27485 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27486 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27487 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27488 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27489 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27490 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27491 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27492 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27493 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27494 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27495 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27496 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27497 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27498 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27499 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27500 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27501 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27502 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27503 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27504 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27505 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27506 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27507 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27508 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27509 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27510 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27511 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27512 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27513 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27514 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27515 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27516 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27517 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27518 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27519 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27520 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27521 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27522 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27523 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27524 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27525 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27526 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27527 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27530 LTCFLAGS='$LTCFLAGS'
27531 compiler='$compiler_DEFAULT'
27533 # A function that is used when there is no print builtin or printf.
27534 func_fallback_echo ()
27536 eval 'cat <<_LTECHO_EOF
27541 # Quote evaled strings.
27555 deplibs_check_method \
27564 lt_cv_sys_global_symbol_pipe \
27565 lt_cv_sys_global_symbol_to_cdecl \
27566 lt_cv_sys_global_symbol_to_c_name_address \
27567 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27568 lt_prog_compiler_no_builtin_flag \
27569 lt_prog_compiler_wl \
27570 lt_prog_compiler_pic \
27571 lt_prog_compiler_static \
27572 lt_cv_prog_compiler_c_o \
27580 export_dynamic_flag_spec \
27581 whole_archive_flag_spec \
27582 compiler_needs_object \
27584 allow_undefined_flag \
27585 no_undefined_flag \
27586 hardcode_libdir_flag_spec \
27587 hardcode_libdir_flag_spec_ld \
27588 hardcode_libdir_separator \
27593 variables_saved_for_relink \
27595 library_names_spec \
27597 install_override_mode \
27601 compiler_lib_search_dirs \
27606 compiler_lib_search_path \
27610 lt_prog_compiler_no_builtin_flag_FC \
27611 lt_prog_compiler_wl_FC \
27612 lt_prog_compiler_pic_FC \
27613 lt_prog_compiler_static_FC \
27614 lt_cv_prog_compiler_c_o_FC \
27615 export_dynamic_flag_spec_FC \
27616 whole_archive_flag_spec_FC \
27617 compiler_needs_object_FC \
27619 allow_undefined_flag_FC \
27620 no_undefined_flag_FC \
27621 hardcode_libdir_flag_spec_FC \
27622 hardcode_libdir_flag_spec_ld_FC \
27623 hardcode_libdir_separator_FC \
27624 fix_srcfile_path_FC \
27625 exclude_expsyms_FC \
27626 include_expsyms_FC \
27627 file_list_spec_FC \
27628 compiler_lib_search_dirs_FC \
27629 predep_objects_FC \
27630 postdep_objects_FC \
27633 compiler_lib_search_path_FC; do
27634 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27635 *[\\\\\\\`\\"\\\$]*)
27636 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27639 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27644 # Double-quote double-evaled strings.
27645 for var in reload_cmds \
27646 old_postinstall_cmds \
27647 old_postuninstall_cmds \
27649 extract_expsyms_cmds \
27650 old_archive_from_new_cmds \
27651 old_archive_from_expsyms_cmds \
27653 archive_expsym_cmds \
27655 module_expsym_cmds \
27656 export_symbols_cmds \
27659 postuninstall_cmds \
27661 sys_lib_search_path_spec \
27662 sys_lib_dlsearch_path_spec \
27664 old_archive_cmds_FC \
27665 old_archive_from_new_cmds_FC \
27666 old_archive_from_expsyms_cmds_FC \
27668 archive_expsym_cmds_FC \
27670 module_expsym_cmds_FC \
27671 export_symbols_cmds_FC \
27672 prelink_cmds_FC; do
27673 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27674 *[\\\\\\\`\\"\\\$]*)
27675 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27678 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27683 ac_aux_dir='$ac_aux_dir'
27684 xsi_shell='$xsi_shell'
27685 lt_shell_append='$lt_shell_append'
27687 # See if we are running on zsh, and set the options which allow our
27688 # commands through without removal of \ escapes INIT.
27689 if test -n "\${ZSH_VERSION+set}" ; then
27690 setopt NO_GLOB_SUBST
27696 TIMESTAMP='$TIMESTAMP'
27707 acx_cv_header_stdint="$acx_cv_header_stdint"
27708 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27709 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27710 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27711 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27712 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27713 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27714 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27715 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27716 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27717 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27718 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27719 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27720 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27727 # Handling of arguments.
27728 for ac_config_target
in $ac_config_targets
27730 case $ac_config_target in
27731 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27732 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27733 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27734 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27735 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27736 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27737 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27739 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27744 # If the user did not use the arguments to specify the items to instantiate,
27745 # then the envvar interface is used. Set only those that are not.
27746 # We use the long form for the default assignment because of an extremely
27747 # bizarre bug on SunOS 4.1.3.
27748 if $ac_need_defaults; then
27749 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27750 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27751 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27754 # Have a temporary directory for convenience. Make it in the build tree
27755 # simply because there is no reason against having it here, and in addition,
27756 # creating and moving files from /tmp can sometimes cause problems.
27757 # Hook for its removal unless debugging.
27758 # Note that there is a small window in which the directory will not be cleaned:
27759 # after its creation but before its name has been assigned to `$tmp'.
27763 trap 'exit_status=$?
27764 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27766 trap 'as_fn_exit 1' 1 2 13 15
27768 # Create a (secure) tmp directory for tmp files.
27771 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27772 test -n "$tmp" && test -d "$tmp"
27775 tmp
=.
/conf$$
-$RANDOM
27776 (umask 077 && mkdir
"$tmp")
27777 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27779 # Set up the scripts for CONFIG_FILES section.
27780 # No need to generate them if there are no CONFIG_FILES.
27781 # This happens for instance with `./config.status config.h'.
27782 if test -n "$CONFIG_FILES"; then
27785 ac_cr
=`echo X | tr X '\015'`
27786 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27787 # But we know of no other shell where ac_cr would be empty at this
27788 # point, so we can use a bashism as a fallback.
27789 if test "x$ac_cr" = x
; then
27790 eval ac_cr
=\$
\'\\r
\'
27792 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27793 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27796 ac_cs_awk_cr
=$ac_cr
27799 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27804 echo "cat >conf$$subs.awk <<_ACEOF" &&
27805 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27807 } >conf$$subs.sh ||
27808 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27809 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27811 for ac_last_try in false false false false false :; do
27812 . ./conf$$subs.sh ||
27813 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27815 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27816 if test $ac_delim_n = $ac_delim_num; then
27818 elif $ac_last_try; then
27819 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27821 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27824 rm -f conf$$subs.sh
27826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27827 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27831 s/^/S["/; s
/!.
*/"]=/
27841 s/\(.\{148\}\).*/\1/
27843 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27848 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27855 s/\(.\{148\}\).*/\1/
27857 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27861 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27866 ' <conf$$subs.awk | sed '
27871 ' >>$CONFIG_STATUS || ac_write_fail=1
27872 rm -f conf$$subs.awk
27873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27875 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27876 for (key in S) S_is_set[key] = 1
27882 nfields = split(line, field, "@
")
27884 len = length(field[1])
27885 for (i = 2; i < nfields; i++) {
27887 keylen = length(key)
27888 if (S_is_set[key]) {
27890 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27891 len += length(value) + length(field[++i])
27902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27903 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27904 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27907 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27908 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27911 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27912 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27913 # trailing colons and then remove the whole line if VPATH becomes empty
27914 # (actually we leave an empty line to preserve line numbers).
27915 if test "x
$srcdir" = x.; then
27916 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27917 s/:*\$(srcdir):*/:/
27918 s/:*\${srcdir}:*/:/
27920 s/^\([^=]*=[ ]*\):*/\1/
27926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27927 fi # test -n "$CONFIG_FILES"
27929 # Set up the scripts for CONFIG_HEADERS section.
27930 # No need to generate them if there are no CONFIG_HEADERS.
27931 # This happens for instance with `./config.status Makefile'.
27932 if test -n "$CONFIG_HEADERS"; then
27933 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27937 # Transform confdefs.h into an awk script `defines.awk', embedded as
27938 # here-document in config.status, that substitutes the proper values into
27939 # config.h.in to produce config.h.
27941 # Create a delimiter string that does not exist in confdefs.h, to ease
27942 # handling of long lines.
27944 for ac_last_try in false false :; do
27945 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27946 if test -z "$ac_t"; then
27948 elif $ac_last_try; then
27949 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27951 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27955 # For the awk script, D is an array of macro values keyed by name,
27956 # likewise P contains macro parameters if any. Preserve backslash
27957 # newline sequences.
27959 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27961 s/.\{148\}/&'"$ac_delim"'/g
27964 s/^[ ]*#[ ]*define[ ][ ]*/ /
27971 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27973 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27977 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27978 D["\
1"]=" \
3\\\\\\n
"\\/p
27980 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27985 s/.\{148\}/&'"$ac_delim"'/g
27990 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27993 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27995 ' <confdefs.h | sed '
27996 s/'"$ac_delim"'/"\\\
27997 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28000 for (key in D) D_is_set[key] = 1
28003 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28005 split(line, arg, " ")
28006 if (arg[1] == "#") {
28010 defundef
= substr
(arg
[1], 2)
28013 split(mac1
, mac2
, "(") #)
28015 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28016 if (D_is_set
[macro
]) {
28017 # Preserve the white space surrounding the "#".
28018 print prefix
"define", macro P
[macro
] D
[macro
]
28021 # Replace #undef with comments. This is necessary, for example,
28022 # in the case of _POSIX_SOURCE, which is predefined and required
28023 # on some systems where configure will not decide to define it.
28024 if (defundef
== "undef") {
28025 print
"/*", prefix defundef
, macro
, "*/"
28033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28034 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28035 fi # test -n "$CONFIG_HEADERS"
28038 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28043 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28045 case $ac_mode$ac_tag in
28047 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28048 :[FH
]-) ac_tag
=-:-;;
28049 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28066 -) ac_f
="$tmp/stdin";;
28067 *) # Look for the file first in the build tree, then in the source tree
28068 # (if the path is not absolute). The absolute path cannot be DOS-style,
28069 # because $ac_f cannot contain `:'.
28073 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28075 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28077 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28078 as_fn_append ac_file_inputs
" '$ac_f'"
28081 # Let's still pretend it is `configure' which instantiates (i.e., don't
28082 # use $as_me), people would be surprised to read:
28083 # /* config.h. Generated by config.status. */
28084 configure_input
='Generated from '`
28085 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28087 if test x
"$ac_file" != x-
; then
28088 configure_input
="$ac_file. $configure_input"
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28090 $as_echo "$as_me: creating $ac_file" >&6;}
28092 # Neutralize special characters interpreted by sed in replacement strings.
28093 case $configure_input in #(
28094 *\
&* |
*\|
* |
*\\* )
28095 ac_sed_conf_input
=`$as_echo "$configure_input" |
28096 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28097 *) ac_sed_conf_input
=$configure_input;;
28101 *:-:* |
*:-) cat >"$tmp/stdin" \
28102 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28107 ac_dir
=`$as_dirname -- "$ac_file" ||
28108 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28109 X"$ac_file" : 'X\(//\)[^/]' \| \
28110 X"$ac_file" : 'X\(//\)$' \| \
28111 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28112 $as_echo X"$ac_file" |
28113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28117 /^X\(\/\/\)[^/].*/{
28130 as_dir
="$ac_dir"; as_fn_mkdir_p
28134 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28136 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28137 # A ".." for each directory in $ac_dir_suffix.
28138 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28139 case $ac_top_builddir_sub in
28140 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28141 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28144 ac_abs_top_builddir
=$ac_pwd
28145 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28146 # for backward compatibility:
28147 ac_top_builddir
=$ac_top_build_prefix
28150 .
) # We are building in place.
28152 ac_top_srcdir
=$ac_top_builddir_sub
28153 ac_abs_top_srcdir
=$ac_pwd ;;
28154 [\\/]* | ?
:[\\/]* ) # Absolute name.
28155 ac_srcdir
=$srcdir$ac_dir_suffix;
28156 ac_top_srcdir
=$srcdir
28157 ac_abs_top_srcdir
=$srcdir ;;
28158 *) # Relative name.
28159 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28160 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28161 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28163 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28173 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28174 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28176 ac_MKDIR_P
=$MKDIR_P
28178 [\\/$
]* | ?
:[\\/]* ) ;;
28179 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28184 # If the template does not know about datarootdir, expand it.
28185 # FIXME: This hack should be removed a few years after 2.60.
28186 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28197 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28198 *datarootdir
*) ac_datarootdir_seen
=yes;;
28199 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28201 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28204 ac_datarootdir_hack='
28205 s&@datadir@&$datadir&g
28206 s&@docdir@&$docdir&g
28207 s&@infodir@&$infodir&g
28208 s&@localedir@&$localedir&g
28209 s&@mandir@&$mandir&g
28210 s&\\\${datarootdir}&$datarootdir&g' ;;
28214 # Neutralize VPATH when `$srcdir' = `.'.
28215 # Shell code in configure.ac might set extrasub.
28216 # FIXME: do we really want to maintain this feature?
28217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28218 ac_sed_extra="$ac_vpsub
28221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28223 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28224 s|@configure_input@|
$ac_sed_conf_input|
;t t
28225 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28226 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28227 s
&@srcdir@
&$ac_srcdir&;t t
28228 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28229 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28230 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28231 s
&@builddir@
&$ac_builddir&;t t
28232 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28233 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28234 s
&@INSTALL@
&$ac_INSTALL&;t t
28235 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28236 $ac_datarootdir_hack
28238 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28239 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28241 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28242 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28243 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28245 which seems to be undefined. Please make sure it is defined." >&5
28246 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28247 which seems to be undefined. Please make sure it is defined." >&2;}
28251 -) cat "$tmp/out" && rm -f "$tmp/out";;
28252 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28254 || as_fn_error "could not create $ac_file" "$LINENO" 5
28260 if test x"$ac_file" != x-; then
28262 $as_echo "/* $configure_input */" \
28263 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28264 } >"$tmp/config.h" \
28265 || as_fn_error "could not create $ac_file" "$LINENO" 5
28266 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28267 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28268 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28271 mv "$tmp/config.h" "$ac_file" \
28272 || as_fn_error "could not create $ac_file" "$LINENO" 5
28275 $as_echo "/* $configure_input */" \
28276 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28277 || as_fn_error "could not create -" "$LINENO" 5
28279 # Compute "$ac_file"'s index
in $config_headers.
28282 for _am_header
in $config_headers :; do
28283 case $_am_header in
28284 $_am_arg |
$_am_arg:* )
28287 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28290 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28291 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28292 X"$_am_arg" : 'X\(//\)[^/]' \| \
28293 X"$_am_arg" : 'X\(//\)$' \| \
28294 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28295 $as_echo X"$_am_arg" |
28296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28300 /^X\(\/\/\)[^/].*/{
28312 s/.*/./; q'`/stamp-h
$_am_stamp_count
28315 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28316 $as_echo "$as_me: executing $ac_file commands" >&6;}
28321 case $ac_file$ac_mode in
28323 # Only add multilib support code if we just rebuilt the top-level
28325 case " $CONFIG_FILES " in
28327 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28330 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28331 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28332 # are listed without --file. Let's play safe and only enable the eval
28333 # if we detect the quoting.
28334 case $CONFIG_FILES in
28335 *\'*) eval set x
"$CONFIG_FILES" ;;
28336 *) set x
$CONFIG_FILES ;;
28341 # Strip MF so we end up with the name of the file.
28342 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28343 # Check whether this is an Automake generated Makefile or not.
28344 # We used to match only the files named `Makefile.in', but
28345 # some people rename them; so instead we look at the file content.
28346 # Grep'ing the first line is not enough: some people post-process
28347 # each Makefile.in and add a new line on top of each file to say so.
28348 # Grep'ing the whole file is not good either: AIX grep has a line
28349 # limit of 2048, but all sed's we know have understand at least 4000.
28350 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28351 dirpart
=`$as_dirname -- "$mf" ||
28352 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28353 X"$mf" : 'X\(//\)[^/]' \| \
28354 X"$mf" : 'X\(//\)$' \| \
28355 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28361 /^X\(\/\/\)[^/].*/{
28377 # Extract the definition of DEPDIR, am__include, and am__quote
28378 # from the Makefile without running `make'.
28379 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28380 test -z "$DEPDIR" && continue
28381 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28382 test -z "am__include" && continue
28383 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28384 # When using ansi2knr, U may be empty or an underscore; expand it
28385 U
=`sed -n 's/^U = //p' < "$mf"`
28386 # Find all dependency output files, they are included files with
28387 # $(DEPDIR) in their names. We invoke sed twice because it is the
28388 # simplest approach to changing $(DEPDIR) to its actual value in the
28390 for file in `sed -n "
28391 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28392 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28393 # Make sure the directory exists.
28394 test -f "$dirpart/$file" && continue
28395 fdir
=`$as_dirname -- "$file" ||
28396 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28397 X"$file" : 'X\(//\)[^/]' \| \
28398 X"$file" : 'X\(//\)$' \| \
28399 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28400 $as_echo X"$file" |
28401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28405 /^X\(\/\/\)[^/].*/{
28418 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28419 # echo "creating $dirpart/$file"
28420 echo '# dummy' > "$dirpart/$file"
28427 # See if we are running on zsh, and set the options which allow our
28428 # commands through without removal of \ escapes.
28429 if test -n "${ZSH_VERSION+set}" ; then
28430 setopt NO_GLOB_SUBST
28433 cfgfile
="${ofile}T"
28434 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28437 cat <<_LT_EOF >> "$cfgfile"
28440 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28441 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28442 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28443 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28445 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28446 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28447 # Written by Gordon Matzigkeit, 1996
28449 # This file is part of GNU Libtool.
28451 # GNU Libtool is free software; you can redistribute it and/or
28452 # modify it under the terms of the GNU General Public License as
28453 # published by the Free Software Foundation; either version 2 of
28454 # the License, or (at your option) any later version.
28456 # As a special exception to the GNU General Public License,
28457 # if you distribute this file as part of a program or library that
28458 # is built using GNU Libtool, you may include this file under the
28459 # same distribution terms that you use for the rest of that program.
28461 # GNU Libtool is distributed in the hope that it will be useful,
28462 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28463 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28464 # GNU General Public License for more details.
28466 # You should have received a copy of the GNU General Public License
28467 # along with GNU Libtool; see the file COPYING. If not, a copy
28468 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28469 # obtained by writing to the Free Software Foundation, Inc.,
28470 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28473 # The names of the tagged configurations supported by this script.
28474 available_tags="FC "
28476 # ### BEGIN LIBTOOL CONFIG
28478 # Which release of libtool.m4 was used?
28479 macro_version=$macro_version
28480 macro_revision=$macro_revision
28482 # Whether or not to build shared libraries.
28483 build_libtool_libs=$enable_shared
28485 # Whether or not to build static libraries.
28486 build_old_libs=$enable_static
28488 # What type of objects to build.
28491 # Whether or not to optimize for fast installation.
28492 fast_install=$enable_fast_install
28494 # Shell to use when invoking shell scripts.
28497 # An echo program that protects backslashes.
28501 host_alias=$host_alias
28505 # The build system.
28506 build_alias=$build_alias
28510 # A sed program that does not truncate output.
28513 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28514 Xsed="\$SED -e 1s/^X//"
28516 # A grep program that handles long lines.
28522 # A literal string matcher.
28525 # A BSD- or MS-compatible name lister.
28528 # Whether we need soft or hard links.
28531 # What is the maximum length of a command?
28532 max_cmd_len=$max_cmd_len
28534 # Object file suffix (normally "o").
28537 # Executable file suffix (normally "").
28540 # whether the shell understands "unset".
28543 # turn spaces into newlines.
28546 # turn newlines into spaces.
28549 # An object symbol dumper.
28550 OBJDUMP=$lt_OBJDUMP
28552 # Method to check whether dependent libraries are shared objects.
28553 deplibs_check_method=$lt_deplibs_check_method
28555 # Command to use when deplibs_check_method == "file_magic".
28556 file_magic_cmd=$lt_file_magic_cmd
28560 AR_FLAGS=$lt_AR_FLAGS
28562 # A symbol stripping program.
28565 # Commands used to install an old-style archive.
28567 old_postinstall_cmds=$lt_old_postinstall_cmds
28568 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28570 # Whether to use a lock for old archive extraction.
28571 lock_old_archive_extraction=$lock_old_archive_extraction
28576 # LTCC compiler flags.
28577 LTCFLAGS=$lt_CFLAGS
28579 # Take the output of nm and produce a listing of raw symbols and C names.
28580 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28582 # Transform the output of nm in a proper C declaration.
28583 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28585 # Transform the output of nm in a C name address pair.
28586 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28588 # Transform the output of nm in a C name address pair when lib prefix is needed.
28589 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28591 # The name of the directory that contains temporary libtool files.
28594 # Used to examine libraries when file_magic_cmd begins with "file".
28595 MAGIC_CMD=$MAGIC_CMD
28597 # Must we lock files when doing compilation?
28598 need_locks=$lt_need_locks
28600 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28601 DSYMUTIL=$lt_DSYMUTIL
28603 # Tool to change global to local symbols on Mac OS X.
28606 # Tool to manipulate fat objects and archives on Mac OS X.
28609 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28612 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28613 OTOOL64=$lt_OTOOL64
28615 # Old archive suffix (normally "a").
28618 # Shared library suffix (normally ".so").
28619 shrext_cmds=$lt_shrext_cmds
28621 # The commands to extract the exported symbol list from a shared archive.
28622 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28624 # Variables whose values should be saved in libtool wrapper scripts and
28625 # restored at link time.
28626 variables_saved_for_relink=$lt_variables_saved_for_relink
28628 # Do we need the "lib" prefix for modules?
28629 need_lib_prefix=$need_lib_prefix
28631 # Do we need a version for libraries?
28632 need_version=$need_version
28634 # Library versioning type.
28635 version_type=$version_type
28637 # Shared library runtime path variable.
28638 runpath_var=$runpath_var
28640 # Shared library path variable.
28641 shlibpath_var=$shlibpath_var
28643 # Is shlibpath searched before the hard-coded library search path?
28644 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28646 # Format of library name prefix.
28647 libname_spec=$lt_libname_spec
28649 # List of archive names. First name is the real one, the rest are links.
28650 # The last name is the one that the linker finds with -lNAME
28651 library_names_spec=$lt_library_names_spec
28653 # The coded name of the library, if different from the real name.
28654 soname_spec=$lt_soname_spec
28656 # Permission mode override for installation of shared libraries.
28657 install_override_mode=$lt_install_override_mode
28659 # Command to use after installation of a shared archive.
28660 postinstall_cmds=$lt_postinstall_cmds
28662 # Command to use after uninstallation of a shared archive.
28663 postuninstall_cmds=$lt_postuninstall_cmds
28665 # Commands used to finish a libtool library installation in a directory.
28666 finish_cmds=$lt_finish_cmds
28668 # As "finish_cmds", except a single script fragment to be evaled but
28670 finish_eval=$lt_finish_eval
28672 # Whether we should hardcode library paths into libraries.
28673 hardcode_into_libs=$hardcode_into_libs
28675 # Compile-time system search path for libraries.
28676 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28678 # Run-time system search path for libraries.
28679 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28681 # Whether dlopen is supported.
28682 dlopen_support=$enable_dlopen
28684 # Whether dlopen of programs is supported.
28685 dlopen_self=$enable_dlopen_self
28687 # Whether dlopen of statically linked programs is supported.
28688 dlopen_self_static=$enable_dlopen_self_static
28690 # Commands to strip libraries.
28691 old_striplib=$lt_old_striplib
28692 striplib=$lt_striplib
28695 # The linker used to build libraries.
28698 # How to create reloadable object files.
28699 reload_flag=$lt_reload_flag
28700 reload_cmds=$lt_reload_cmds
28702 # Commands used to build an old-style archive.
28703 old_archive_cmds=$lt_old_archive_cmds
28705 # A language specific compiler.
28708 # Is the compiler the GNU compiler?
28711 # Compiler flag to turn off builtin functions.
28712 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28714 # How to pass a linker flag through the compiler.
28715 wl=$lt_lt_prog_compiler_wl
28717 # Additional compiler flags for building library objects.
28718 pic_flag=$lt_lt_prog_compiler_pic
28720 # Compiler flag to prevent dynamic linking.
28721 link_static_flag=$lt_lt_prog_compiler_static
28723 # Does compiler simultaneously support -c and -o options?
28724 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28726 # Whether or not to add -lc for building shared libraries.
28727 build_libtool_need_lc=$archive_cmds_need_lc
28729 # Whether or not to disallow shared libs when runtime libs are static.
28730 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28732 # Compiler flag to allow reflexive dlopens.
28733 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28735 # Compiler flag to generate shared objects directly from archives.
28736 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28738 # Whether the compiler copes with passing no objects directly.
28739 compiler_needs_object=$lt_compiler_needs_object
28741 # Create an old-style archive from a shared archive.
28742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28744 # Create a temporary old-style archive to link instead of a shared archive.
28745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28747 # Commands used to build a shared archive.
28748 archive_cmds=$lt_archive_cmds
28749 archive_expsym_cmds=$lt_archive_expsym_cmds
28751 # Commands used to build a loadable module if different from building
28752 # a shared archive.
28753 module_cmds=$lt_module_cmds
28754 module_expsym_cmds=$lt_module_expsym_cmds
28756 # Whether we are building with GNU ld or not.
28757 with_gnu_ld=$lt_with_gnu_ld
28759 # Flag that allows shared libraries with undefined symbols to be built.
28760 allow_undefined_flag=$lt_allow_undefined_flag
28762 # Flag that enforces no undefined symbols.
28763 no_undefined_flag=$lt_no_undefined_flag
28765 # Flag to hardcode \$libdir into a binary during linking.
28766 # This must work even if \$libdir does not exist
28767 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28769 # If ld is used when linking, flag to hardcode \$libdir into a binary
28770 # during linking. This must work even if \$libdir does not exist.
28771 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28773 # Whether we need a single "-rpath" flag with a separated argument.
28774 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28777 # DIR into the resulting binary.
28778 hardcode_direct=$hardcode_direct
28780 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28781 # DIR into the resulting binary and the resulting library dependency is
28782 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28783 # library is relocated.
28784 hardcode_direct_absolute=$hardcode_direct_absolute
28786 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28787 # into the resulting binary.
28788 hardcode_minus_L=$hardcode_minus_L
28790 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28791 # into the resulting binary.
28792 hardcode_shlibpath_var=$hardcode_shlibpath_var
28794 # Set to "yes" if building a shared library automatically hardcodes DIR
28795 # into the library and all subsequent libraries and executables linked
28797 hardcode_automatic=$hardcode_automatic
28799 # Set to yes if linker adds runtime paths of dependent libraries
28800 # to runtime path list.
28801 inherit_rpath=$inherit_rpath
28803 # Whether libtool must link a program against all its dependency libraries.
28804 link_all_deplibs=$link_all_deplibs
28806 # Fix the shell variable \$srcfile for the compiler.
28807 fix_srcfile_path=$lt_fix_srcfile_path
28809 # Set to "yes" if exported symbols are required.
28810 always_export_symbols=$always_export_symbols
28812 # The commands to list exported symbols.
28813 export_symbols_cmds=$lt_export_symbols_cmds
28815 # Symbols that should not be listed in the preloaded symbols.
28816 exclude_expsyms=$lt_exclude_expsyms
28818 # Symbols that must always be exported.
28819 include_expsyms=$lt_include_expsyms
28821 # Commands necessary for linking programs (against libraries) with templates.
28822 prelink_cmds=$lt_prelink_cmds
28824 # Specify filename containing input files.
28825 file_list_spec=$lt_file_list_spec
28827 # How to hardcode a shared library path into an executable.
28828 hardcode_action=$hardcode_action
28830 # The directories searched by this compiler when creating a shared library.
28831 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28833 # Dependencies to place before and after the objects being linked to
28834 # create a shared library.
28835 predep_objects=$lt_predep_objects
28836 postdep_objects=$lt_postdep_objects
28837 predeps=$lt_predeps
28838 postdeps=$lt_postdeps
28840 # The library search path used internally by the compiler when linking
28841 # a shared library.
28842 compiler_lib_search_path=$lt_compiler_lib_search_path
28844 # ### END LIBTOOL CONFIG
28850 cat <<\_LT_EOF
>> "$cfgfile"
28851 # AIX sometimes has problems with the GCC collect2 program. For some
28852 # reason, if we set the COLLECT_NAMES environment variable, the problems
28853 # vanish in a puff of smoke.
28854 if test "X${COLLECT_NAMES+set}" != Xset
; then
28856 export COLLECT_NAMES
28863 ltmain
="$ac_aux_dir/ltmain.sh"
28866 # We use sed instead of cat because bash on DJGPP gets confused if
28867 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28868 # text mode, it properly converts lines to CR/LF. This bash problem
28869 # is reportedly fixed, but why not run on old versions too?
28870 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28871 ||
(rm -f "$cfgfile"; exit 1)
28875 cat << \_LT_EOF
>> "$cfgfile"
28877 # func_dirname file append nondir_replacement
28878 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28879 # otherwise set result to NONDIR_REPLACEMENT.
28883 */*) func_dirname_result
="${1%/*}${2}" ;;
28884 * ) func_dirname_result
="${3}" ;;
28888 # func_basename file
28891 func_basename_result
="${1##*/}"
28894 # func_dirname_and_basename file append nondir_replacement
28895 # perform func_basename and func_dirname in a single function
28897 # dirname: Compute the dirname of FILE. If nonempty,
28898 # add APPEND to the result, otherwise set result
28899 # to NONDIR_REPLACEMENT.
28900 # value returned in "$func_dirname_result"
28901 # basename: Compute filename of FILE.
28902 # value retuned in "$func_basename_result"
28903 # Implementation must be kept synchronized with func_dirname
28904 # and func_basename. For efficiency, we do not delegate to
28905 # those functions but instead duplicate the functionality here.
28906 func_dirname_and_basename
()
28909 */*) func_dirname_result
="${1%/*}${2}" ;;
28910 * ) func_dirname_result
="${3}" ;;
28912 func_basename_result
="${1##*/}"
28915 # func_stripname prefix suffix name
28916 # strip PREFIX and SUFFIX off of NAME.
28917 # PREFIX and SUFFIX must not contain globbing or regex special
28918 # characters, hashes, percent signs, but SUFFIX may contain a leading
28919 # dot (in which case that matches only a dot).
28922 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28923 # positional parameters, so assign one to ordinary parameter first.
28924 func_stripname_result
=${3}
28925 func_stripname_result
=${func_stripname_result#"${1}"}
28926 func_stripname_result
=${func_stripname_result%"${2}"}
28932 func_opt_split_opt
=${1%%=*}
28933 func_opt_split_arg
=${1#*=}
28940 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28941 *) func_lo2o_result
=${1} ;;
28945 # func_xform libobj-or-source
28948 func_xform_result
=${1%.*}.lo
28951 # func_arith arithmetic-term...
28954 func_arith_result
=$
(( $
* ))
28958 # STRING may not start with a hyphen.
28961 func_len_result
=${#1}
28966 *) # Bourne compatible functions.
28967 cat << \_LT_EOF
>> "$cfgfile"
28969 # func_dirname file append nondir_replacement
28970 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28971 # otherwise set result to NONDIR_REPLACEMENT.
28974 # Extract subdirectory from the argument.
28975 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28976 if test "X$func_dirname_result" = "X${1}"; then
28977 func_dirname_result
="${3}"
28979 func_dirname_result
="$func_dirname_result${2}"
28983 # func_basename file
28986 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28990 # func_stripname prefix suffix name
28991 # strip PREFIX and SUFFIX off of NAME.
28992 # PREFIX and SUFFIX must not contain globbing or regex special
28993 # characters, hashes, percent signs, but SUFFIX may contain a leading
28994 # dot (in which case that matches only a dot).
28995 # func_strip_suffix prefix name
28999 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29000 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29005 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29006 my_sed_long_arg
='1s/^-[^=]*=//'
29011 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29012 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29018 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29021 # func_xform libobj-or-source
29024 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29027 # func_arith arithmetic-term...
29030 func_arith_result
=`expr "$@"`
29034 # STRING may not start with a hyphen.
29037 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29043 case $lt_shell_append in
29045 cat << \_LT_EOF
>> "$cfgfile"
29047 # func_append var value
29048 # Append VALUE to the end of shell variable VAR.
29056 cat << \_LT_EOF
>> "$cfgfile"
29058 # func_append var value
29059 # Append VALUE to the end of shell variable VAR.
29070 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29071 ||
(rm -f "$cfgfile"; exit 1)
29073 mv -f "$cfgfile" "$ofile" ||
29074 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29078 cat <<_LT_EOF >> "$ofile"
29080 # ### BEGIN LIBTOOL TAG CONFIG: FC
29082 # The linker used to build libraries.
29085 # How to create reloadable object files.
29086 reload_flag=$lt_reload_flag_FC
29087 reload_cmds=$lt_reload_cmds_FC
29089 # Commands used to build an old-style archive.
29090 old_archive_cmds=$lt_old_archive_cmds_FC
29092 # A language specific compiler.
29095 # Is the compiler the GNU compiler?
29098 # Compiler flag to turn off builtin functions.
29099 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29101 # How to pass a linker flag through the compiler.
29102 wl=$lt_lt_prog_compiler_wl_FC
29104 # Additional compiler flags for building library objects.
29105 pic_flag=$lt_lt_prog_compiler_pic_FC
29107 # Compiler flag to prevent dynamic linking.
29108 link_static_flag=$lt_lt_prog_compiler_static_FC
29110 # Does compiler simultaneously support -c and -o options?
29111 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29113 # Whether or not to add -lc for building shared libraries.
29114 build_libtool_need_lc=$archive_cmds_need_lc_FC
29116 # Whether or not to disallow shared libs when runtime libs are static.
29117 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29119 # Compiler flag to allow reflexive dlopens.
29120 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29122 # Compiler flag to generate shared objects directly from archives.
29123 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29125 # Whether the compiler copes with passing no objects directly.
29126 compiler_needs_object=$lt_compiler_needs_object_FC
29128 # Create an old-style archive from a shared archive.
29129 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29131 # Create a temporary old-style archive to link instead of a shared archive.
29132 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29134 # Commands used to build a shared archive.
29135 archive_cmds=$lt_archive_cmds_FC
29136 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29138 # Commands used to build a loadable module if different from building
29139 # a shared archive.
29140 module_cmds=$lt_module_cmds_FC
29141 module_expsym_cmds=$lt_module_expsym_cmds_FC
29143 # Whether we are building with GNU ld or not.
29144 with_gnu_ld=$lt_with_gnu_ld_FC
29146 # Flag that allows shared libraries with undefined symbols to be built.
29147 allow_undefined_flag=$lt_allow_undefined_flag_FC
29149 # Flag that enforces no undefined symbols.
29150 no_undefined_flag=$lt_no_undefined_flag_FC
29152 # Flag to hardcode \$libdir into a binary during linking.
29153 # This must work even if \$libdir does not exist
29154 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29156 # If ld is used when linking, flag to hardcode \$libdir into a binary
29157 # during linking. This must work even if \$libdir does not exist.
29158 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29160 # Whether we need a single "-rpath" flag with a separated argument.
29161 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29163 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29164 # DIR into the resulting binary.
29165 hardcode_direct=$hardcode_direct_FC
29167 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29168 # DIR into the resulting binary and the resulting library dependency is
29169 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29170 # library is relocated.
29171 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29173 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29174 # into the resulting binary.
29175 hardcode_minus_L=$hardcode_minus_L_FC
29177 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29178 # into the resulting binary.
29179 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29181 # Set to "yes" if building a shared library automatically hardcodes DIR
29182 # into the library and all subsequent libraries and executables linked
29184 hardcode_automatic=$hardcode_automatic_FC
29186 # Set to yes if linker adds runtime paths of dependent libraries
29187 # to runtime path list.
29188 inherit_rpath=$inherit_rpath_FC
29190 # Whether libtool must link a program against all its dependency libraries.
29191 link_all_deplibs=$link_all_deplibs_FC
29193 # Fix the shell variable \$srcfile for the compiler.
29194 fix_srcfile_path=$lt_fix_srcfile_path_FC
29196 # Set to "yes" if exported symbols are required.
29197 always_export_symbols=$always_export_symbols_FC
29199 # The commands to list exported symbols.
29200 export_symbols_cmds=$lt_export_symbols_cmds_FC
29202 # Symbols that should not be listed in the preloaded symbols.
29203 exclude_expsyms=$lt_exclude_expsyms_FC
29205 # Symbols that must always be exported.
29206 include_expsyms=$lt_include_expsyms_FC
29208 # Commands necessary for linking programs (against libraries) with templates.
29209 prelink_cmds=$lt_prelink_cmds_FC
29211 # Specify filename containing input files.
29212 file_list_spec=$lt_file_list_spec_FC
29214 # How to hardcode a shared library path into an executable.
29215 hardcode_action=$hardcode_action_FC
29217 # The directories searched by this compiler when creating a shared library.
29218 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29220 # Dependencies to place before and after the objects being linked to
29221 # create a shared library.
29222 predep_objects=$lt_predep_objects_FC
29223 postdep_objects=$lt_postdep_objects_FC
29224 predeps=$lt_predeps_FC
29225 postdeps=$lt_postdeps_FC
29227 # The library search path used internally by the compiler when linking
29228 # a shared library.
29229 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29231 # ### END LIBTOOL TAG CONFIG: FC
29236 if test "$GCC" = yes; then
29237 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29239 echo "/* generated for $CC */" > tmp-stdint.h
29242 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29244 #ifndef GCC_GENERATED_STDINT_H
29245 #define GCC_GENERATED_STDINT_H 1
29247 #include <sys/types.h>
29250 if test "$acx_cv_header_stdint" != stdint.h
; then
29251 echo "#include <stddef.h>" >> tmp-stdint.h
29253 if test "$acx_cv_header_stdint" != stddef.h
; then
29254 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29257 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29258 /* glibc uses these symbols as guards to prevent redefinitions. */
29259 #ifdef __int8_t_defined
29264 #ifdef __uint32_t_defined
29270 # ----------------- done header, emit basic int types -------------
29271 if test "$acx_cv_header_stdint" = stddef.h
; then
29272 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29276 #ifndef __uint8_t_defined
29277 #define __uint8_t_defined
29279 typedef unsigned $acx_cv_type_int8_t uint8_t;
29286 #ifndef __uint16_t_defined
29287 #define __uint16_t_defined
29289 typedef unsigned $acx_cv_type_int16_t uint16_t;
29296 #ifndef __uint32_t_defined
29297 #define __uint32_t_defined
29299 typedef unsigned $acx_cv_type_int32_t uint32_t;
29306 #ifndef __int8_t_defined
29307 #define __int8_t_defined
29309 typedef $acx_cv_type_int8_t int8_t;
29316 #ifndef __int16_t_defined
29317 #define __int16_t_defined
29319 typedef $acx_cv_type_int16_t int16_t;
29326 #ifndef __int32_t_defined
29327 #define __int32_t_defined
29329 typedef $acx_cv_type_int32_t int32_t;
29334 elif test "$ac_cv_type_u_int32_t" = yes; then
29335 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29337 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29350 #ifndef __uint8_t_defined
29351 #define __uint8_t_defined
29353 typedef u_int8_t uint8_t;
29360 #ifndef __uint16_t_defined
29361 #define __uint16_t_defined
29363 typedef u_int16_t uint16_t;
29370 #ifndef __uint32_t_defined
29371 #define __uint32_t_defined
29373 typedef u_int32_t uint32_t;
29379 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29381 /* Some systems have guard macros to prevent redefinitions, define them. */
29403 # ------------- done basic int types, emit int64_t types ------------
29404 if test "$ac_cv_type_uint64_t" = yes; then
29405 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29407 /* system headers have good uint64_t and int64_t */
29415 elif test "$ac_cv_type_u_int64_t" = yes; then
29416 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29418 /* system headers have an u_int64_t (and int64_t) */
29424 #ifndef __uint64_t_defined
29425 #define __uint64_t_defined
29427 typedef u_int64_t uint64_t;
29432 elif test -n "$acx_cv_type_int64_t"; then
29433 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29435 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29439 typedef $acx_cv_type_int64_t int64_t;
29444 #ifndef __uint64_t_defined
29445 #define __uint64_t_defined
29447 typedef unsigned $acx_cv_type_int64_t uint64_t;
29453 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29455 /* some common heuristics for int64_t, using compiler-specific tests */
29456 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29459 #ifndef __int64_t_defined
29461 typedef long long int64_t;
29468 typedef unsigned long long uint64_t;
29472 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29473 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29474 does not implement __extension__. But that compiler doesn't define
29476 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29477 # define __extension__
29483 __extension__ typedef long long int64_t;
29489 __extension__ typedef unsigned long long uint64_t;
29493 #elif !defined __STRICT_ANSI__
29494 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29499 typedef __int64 int64_t;
29505 typedef unsigned __int64 uint64_t;
29508 # endif /* compiler */
29510 #endif /* ANSI version */
29514 # ------------- done int64_t types, emit intptr types ------------
29515 if test "$ac_cv_type_uintptr_t" != yes; then
29516 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29518 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29519 #ifndef __uintptr_t_defined
29521 typedef u$acx_cv_type_intptr_t uintptr_t;
29524 #ifndef __intptr_t_defined
29526 typedef $acx_cv_type_intptr_t intptr_t;
29532 # ------------- done intptr types, emit int_least types ------------
29533 if test "$ac_cv_type_int_least32_t" != yes; then
29534 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29536 /* Define int_least types */
29537 typedef int8_t int_least8_t;
29538 typedef int16_t int_least16_t;
29539 typedef int32_t int_least32_t;
29541 typedef int64_t int_least64_t;
29544 typedef uint8_t uint_least8_t;
29545 typedef uint16_t uint_least16_t;
29546 typedef uint32_t uint_least32_t;
29548 typedef uint64_t uint_least64_t;
29553 # ------------- done intptr types, emit int_fast types ------------
29554 if test "$ac_cv_type_int_fast32_t" != yes; then
29555 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29557 /* Define int_fast types. short is often slow */
29558 typedef int8_t int_fast8_t;
29559 typedef int int_fast16_t;
29560 typedef int32_t int_fast32_t;
29562 typedef int64_t int_fast64_t;
29565 typedef uint8_t uint_fast8_t;
29566 typedef unsigned int uint_fast16_t;
29567 typedef uint32_t uint_fast32_t;
29569 typedef uint64_t uint_fast64_t;
29574 if test "$ac_cv_type_uintmax_t" != yes; then
29575 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29577 /* Define intmax based on what we found */
29580 typedef int64_t intmax_t;
29582 typedef long intmax_t;
29587 typedef uint64_t uintmax_t;
29589 typedef unsigned long uintmax_t;
29595 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29597 #endif /* GCC_GENERATED_STDINT_H */
29600 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29603 mv -f tmp-stdint.h gstdint.h
29614 ac_clean_files
=$ac_clean_files_save
29616 test $ac_write_fail = 0 ||
29617 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29620 # configure is writing to config.log, and then calls config.status.
29621 # config.status does its own redirection, appending to config.log.
29622 # Unfortunately, on DOS this fails, as config.log is still kept open
29623 # by configure, so config.status won't be able to write to it; its
29624 # output is simply discarded. So we exec the FD to /dev/null,
29625 # effectively closing config.log, so it can be properly (re)opened and
29626 # appended to by config.status. When coming back to configure, we
29627 # need to make the FD available again.
29628 if test "$no_create" != yes; then
29630 ac_config_status_args
=
29631 test "$silent" = yes &&
29632 ac_config_status_args
="$ac_config_status_args --quiet"
29634 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29636 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29637 # would make configure fail if this is the last instruction.
29638 $ac_cs_success || as_fn_exit $?
29640 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29642 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}