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
" strcasestr"
2576 as_fn_append ac_func_list
" getrlimit"
2577 as_fn_append ac_func_list
" gettimeofday"
2578 as_fn_append ac_func_list
" stat"
2579 as_fn_append ac_func_list
" fstat"
2580 as_fn_append ac_func_list
" lstat"
2581 as_fn_append ac_func_list
" getpwuid"
2582 as_fn_append ac_func_list
" vsnprintf"
2583 as_fn_append ac_func_list
" dup"
2584 as_fn_append ac_func_list
" getcwd"
2585 as_fn_append ac_func_list
" localtime_r"
2586 as_fn_append ac_func_list
" gmtime_r"
2587 as_fn_append ac_func_list
" getpwuid_r"
2588 as_fn_append ac_func_list
" ttyname_r"
2589 as_fn_append ac_func_list
" clock_gettime"
2590 as_fn_append ac_func_list
" readlink"
2591 as_fn_append ac_func_list
" getgid"
2592 as_fn_append ac_func_list
" getpid"
2593 as_fn_append ac_func_list
" getppid"
2594 as_fn_append ac_func_list
" getuid"
2595 as_fn_append ac_func_list
" geteuid"
2596 as_fn_append ac_func_list
" umask"
2597 as_fn_append ac_func_list
" getegid"
2598 as_fn_append ac_func_list
" secure_getenv"
2599 as_fn_append ac_func_list
" __secure_getenv"
2600 as_fn_append ac_func_list
" mkostemp"
2601 as_fn_append ac_header_list
" math.h"
2602 # Check that the precious variables saved in the cache have kept the same
2604 ac_cache_corrupted
=false
2605 for ac_var
in $ac_precious_vars; do
2606 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2607 eval ac_new_set
=\
$ac_env_${ac_var}_set
2608 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2609 eval ac_new_val
=\
$ac_env_${ac_var}_value
2610 case $ac_old_set,$ac_new_set in
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2614 ac_cache_corrupted
=: ;;
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2617 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2618 ac_cache_corrupted
=: ;;
2621 if test "x$ac_old_val" != "x$ac_new_val"; then
2622 # differences in whitespace do not lead to failure.
2623 ac_old_val_w
=`echo x $ac_old_val`
2624 ac_new_val_w
=`echo x $ac_new_val`
2625 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2628 ac_cache_corrupted
=:
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2632 eval $ac_var=\
$ac_old_val
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2635 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2637 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2640 # Pass precious variables to config.status.
2641 if test "$ac_new_set" = set; then
2643 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2644 *) ac_arg
=$ac_var=$ac_new_val ;;
2646 case " $ac_configure_args " in
2647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2648 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2652 if $ac_cache_corrupted; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2657 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2659 ## -------------------- ##
2660 ## Main body of script. ##
2661 ## -------------------- ##
2664 ac_cpp
='$CPP $CPPFLAGS'
2665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2673 ac_config_headers
="$ac_config_headers config.h"
2676 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2677 for ac_t
in install-sh
install.sh shtool
; do
2678 if test -f "$ac_dir/$ac_t"; then
2680 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2685 if test -z "$ac_aux_dir"; then
2686 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2689 # These three variables are undocumented and unsupported,
2690 # and are intended to be withdrawn in a future Autoconf release.
2691 # They can cause serious problems if a builder's source tree is in a directory
2692 # whose full name contains unusual characters.
2693 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2694 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2695 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2698 # Make sure we can run config.sub.
2699 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2700 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2703 $as_echo_n "checking build system type... " >&6; }
2704 if test "${ac_cv_build+set}" = set; then :
2705 $as_echo_n "(cached) " >&6
2707 ac_build_alias
=$build_alias
2708 test "x$ac_build_alias" = x
&&
2709 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2710 test "x$ac_build_alias" = x
&&
2711 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2712 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2713 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2717 $as_echo "$ac_cv_build" >&6; }
2718 case $ac_cv_build in
2720 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2723 ac_save_IFS
=$IFS; IFS
='-'
2729 # Remember, the first character of IFS is used to create $*,
2730 # except with old shells:
2733 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2736 case ${build_alias} in
2737 "") build_noncanonical
=${build} ;;
2738 *) build_noncanonical
=${build_alias} ;;
2741 case ${host_alias} in
2742 "") host_noncanonical
=${build_noncanonical} ;;
2743 *) host_noncanonical
=${host_alias} ;;
2746 case ${target_alias} in
2747 "") target_noncanonical
=${host_noncanonical} ;;
2748 *) target_noncanonical
=${target_alias} ;;
2752 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2753 # have matching libraries, they should use host libraries: Makefile.tpl
2754 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2755 # However, they still use the build modules, because the corresponding
2756 # host modules (e.g. bison) are only built for the host when bootstrap
2758 # - build_subdir is where we find build modules, and never changes.
2759 # - build_libsubdir is where we find build libraries, and can be overridden.
2761 # Prefix 'build-' so this never conflicts with target_subdir.
2762 build_subdir
="build-${build_noncanonical}"
2764 # Check whether --with-build-libsubdir was given.
2765 if test "${with_build_libsubdir+set}" = set; then :
2766 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2768 build_libsubdir
="$build_subdir"
2771 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2772 if ( test $srcdir = .
&& test -d gcc
) \
2773 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2774 host_subdir
="host-${host_noncanonical}"
2779 target_subdir
=${target_noncanonical}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2787 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2788 # Check whether --enable-version-specific-runtime-libs was given.
2789 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2790 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2791 yes) version_specific_libs
=yes ;;
2792 no
) version_specific_libs
=no
;;
2793 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2796 version_specific_libs
=no
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2800 $as_echo "$version_specific_libs" >&6; }
2802 # Build with intermodule optimisations
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2804 $as_echo_n "checking for --enable-intermodule... " >&6; }
2805 # Check whether --enable-intermodule was given.
2806 if test "${enable_intermodule+set}" = set; then :
2807 enableval
=$enable_intermodule; case "$enable_intermodule" in
2808 yes) onestep
="-onestep";;
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2816 $as_echo "$enable_intermodule" >&6; }
2817 if test x
$onestep = x-onestep
; then
2827 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2829 # You will slowly go insane if you do not grok the following fact: when
2830 # building this library, the top-level /target/ becomes the library's /host/.
2832 # configure then causes --target to default to --host, exactly like any
2833 # other package using autoconf. Therefore, 'target' and 'host' will
2834 # always be the same. This makes sense both for native and cross compilers
2835 # just think about it for a little while. :-)
2837 # Also, if this library is being configured as part of a cross compiler, the
2838 # top-level configure script will pass the "real" host as $with_cross_host.
2840 # Do not delete or change the following two lines. For why, see
2841 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2843 $as_echo_n "checking host system type... " >&6; }
2844 if test "${ac_cv_host+set}" = set; then :
2845 $as_echo_n "(cached) " >&6
2847 if test "x$host_alias" = x
; then
2848 ac_cv_host
=$ac_cv_build
2850 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2851 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2856 $as_echo "$ac_cv_host" >&6; }
2859 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2862 ac_save_IFS
=$IFS; IFS
='-'
2868 # Remember, the first character of IFS is used to create $*,
2869 # except with old shells:
2872 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2876 $as_echo_n "checking target system type... " >&6; }
2877 if test "${ac_cv_target+set}" = set; then :
2878 $as_echo_n "(cached) " >&6
2880 if test "x$target_alias" = x
; then
2881 ac_cv_target
=$ac_cv_host
2883 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2884 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2889 $as_echo "$ac_cv_target" >&6; }
2890 case $ac_cv_target in
2892 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2894 target
=$ac_cv_target
2895 ac_save_IFS
=$IFS; IFS
='-'
2901 # Remember, the first character of IFS is used to create $*,
2902 # except with old shells:
2905 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2908 # The aliases save the names the user supplied, while $host etc.
2909 # will get canonicalized.
2910 test -n "$target_alias" &&
2911 test "$program_prefix$program_suffix$program_transform_name" = \
2913 program_prefix
=${target_alias}-
2918 target_alias
=${target_alias-$host_alias}
2921 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2922 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2923 # 1.9.6: minimum required version
2924 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2925 # of other PACKAGE_* variables will, however, and there's nothing
2926 # we can do about that; they come from AC_INIT).
2927 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2928 # file in the top srcdir, etc, etc), so stop complaining.
2929 # no-dist: we don't want 'dist' and related rules.
2930 # -Wall: turns on all automake warnings...
2931 # -Wno-portability: ...except this one, since GNU make is required.
2932 am__api_version
='1.11'
2934 # Find a good install program. We prefer a C program (faster),
2935 # so one script is as good as another. But avoid the broken or
2936 # incompatible versions:
2937 # SysV /etc/install, /usr/sbin/install
2938 # SunOS /usr/etc/install
2939 # IRIX /sbin/install
2941 # AmigaOS /C/install, which installs bootblocks on floppy discs
2942 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2943 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2944 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2945 # OS/2's system install, which has a completely different semantic
2946 # ./install, which can be erroneously created by make from ./install.sh.
2947 # Reject install programs that cannot install multiple files.
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2949 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2950 if test -z "$INSTALL"; then
2951 if test "${ac_cv_path_install+set}" = set; then :
2952 $as_echo_n "(cached) " >&6
2954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2958 test -z "$as_dir" && as_dir
=.
2959 # Account for people who put trailing slashes in PATH elements.
2960 case $as_dir/ in #((
2961 .
/ | .
// |
/[cC
]/* | \
2962 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2963 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2966 # OSF1 and SCO ODT 3.0 have their own names for install.
2967 # Don't use installbsd from OSF since it installs stuff as root
2969 for ac_prog
in ginstall scoinst
install; do
2970 for ac_exec_ext
in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2972 if test $ac_prog = install &&
2973 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2974 # AIX install. It has an incompatible calling convention.
2976 elif test $ac_prog = install &&
2977 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2978 # program-specific install script used by HP pwplus--don't use.
2981 rm -rf conftest.one conftest.two conftest.dir
2982 echo one
> conftest.one
2983 echo two
> conftest.two
2985 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2986 test -s conftest.one
&& test -s conftest.two
&&
2987 test -s conftest.dir
/conftest.one
&&
2988 test -s conftest.dir
/conftest.two
2990 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3003 rm -rf conftest.one conftest.two conftest.dir
3006 if test "${ac_cv_path_install+set}" = set; then
3007 INSTALL
=$ac_cv_path_install
3009 # As a last resort, use the slow shell script. Don't cache a
3010 # value for INSTALL within a source directory, because that will
3011 # break other packages using the cache if that directory is
3012 # removed, or if the value is a relative name.
3013 INSTALL
=$ac_install_sh
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3017 $as_echo "$INSTALL" >&6; }
3019 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3020 # It thinks the first close brace ends the variable substitution.
3021 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3023 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3025 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3028 $as_echo_n "checking whether build environment is sane... " >&6; }
3031 echo timestamp
> conftest.
file
3032 # Reject unsafe characters in $srcdir or the absolute working directory
3033 # name. Accept space and tab only in the latter.
3037 *[\\\"\
#\$\&\'\`$am_lf]*)
3038 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3041 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3042 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3045 # Do `set' in a subshell so we don't clobber the current shell's
3046 # arguments. Must try -L first in case configure is actually a
3047 # symlink; some systems play weird games with the mod time of symlinks
3048 # (eg FreeBSD returns the mod time of the symlink's containing
3051 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3052 if test "$*" = "X"; then
3054 set X
`ls -t "$srcdir/configure" conftest.file`
3057 if test "$*" != "X $srcdir/configure conftest.file" \
3058 && test "$*" != "X conftest.file $srcdir/configure"; then
3060 # If neither matched, then we have a broken ls. This can happen
3061 # if, for instance, CONFIG_SHELL is bash and it inherits a
3062 # broken ls alias from the environment. This has actually
3063 # happened. Such a system could not be considered "sane".
3064 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3065 alias in your environment" "$LINENO" 5
3068 test "$2" = conftest.
file
3074 as_fn_error
"newly created file is older than distributed files!
3075 Check your system clock" "$LINENO" 5
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3078 $as_echo "yes" >&6; }
3079 test "$program_prefix" != NONE
&&
3080 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3081 # Use a double $ so make ignores it.
3082 test "$program_suffix" != NONE
&&
3083 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3084 # Double any \ or $.
3085 # By default was `s,x,x', remove it if useless.
3086 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3087 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3089 # expand $ac_aux_dir to an absolute path
3090 am_aux_dir
=`cd $ac_aux_dir && pwd`
3092 if test x
"${MISSING+set}" != xset
; then
3095 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3097 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3100 # Use eval to expand $SHELL
3101 if eval "$MISSING --run true"; then
3102 am_missing_run
="$MISSING --run "
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3106 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3109 if test x
"${install_sh}" != xset
; then
3112 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3114 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3118 # Installed binaries are usually stripped using `strip' when the user
3119 # run `make install-strip'. However `strip' might not be the right
3120 # tool to use in cross-compilation environments, therefore Automake
3121 # will honor the `STRIP' environment variable to overrule this program.
3122 if test "$cross_compiling" != no
; then
3123 if test -n "$ac_tool_prefix"; then
3124 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3125 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if test "${ac_cv_prog_STRIP+set}" = set; then :
3129 $as_echo_n "(cached) " >&6
3131 if test -n "$STRIP"; then
3132 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir
=.
3139 for ac_exec_ext
in '' $ac_executable_extensions; do
3140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3141 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 STRIP
=$ac_cv_prog_STRIP
3152 if test -n "$STRIP"; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3154 $as_echo "$STRIP" >&6; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157 $as_echo "no" >&6; }
3162 if test -z "$ac_cv_prog_STRIP"; then
3164 # Extract the first word of "strip", so it can be a program name with args.
3165 set dummy strip
; ac_word
=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3171 if test -n "$ac_ct_STRIP"; then
3172 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir
=.
3179 for ac_exec_ext
in '' $ac_executable_extensions; do
3180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3181 ac_cv_prog_ac_ct_STRIP
="strip"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3192 if test -n "$ac_ct_STRIP"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3194 $as_echo "$ac_ct_STRIP" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3200 if test "x$ac_ct_STRIP" = x
; then
3203 case $cross_compiling:$ac_tool_warned in
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3207 ac_tool_warned
=yes ;;
3212 STRIP
="$ac_cv_prog_STRIP"
3216 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3219 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3220 if test -z "$MKDIR_P"; then
3221 if test "${ac_cv_path_mkdir+set}" = set; then :
3222 $as_echo_n "(cached) " >&6
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_prog
in mkdir gmkdir
; do
3230 for ac_exec_ext
in '' $ac_executable_extensions; do
3231 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3232 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3233 'mkdir (GNU coreutils) '* | \
3234 'mkdir (coreutils) '* | \
3235 'mkdir (fileutils) '4.1*)
3236 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3246 if test "${ac_cv_path_mkdir+set}" = set; then
3247 MKDIR_P
="$ac_cv_path_mkdir -p"
3249 # As a last resort, use the slow shell script. Don't cache a
3250 # value for MKDIR_P within a source directory, because that will
3251 # break other packages using the cache if that directory is
3252 # removed, or if the value is a relative name.
3253 test -d .
/--version && rmdir .
/--version
3254 MKDIR_P
="$ac_install_sh -d"
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3258 $as_echo "$MKDIR_P" >&6; }
3262 [\\/$
]* | ?
:[\\/]*) ;;
3263 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3266 for ac_prog
in gawk mawk nawk
awk
3268 # Extract the first word of "$ac_prog", so it can be a program name with args.
3269 set dummy
$ac_prog; ac_word
=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if test "${ac_cv_prog_AWK+set}" = set; then :
3273 $as_echo_n "(cached) " >&6
3275 if test -n "$AWK"; then
3276 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir
=.
3283 for ac_exec_ext
in '' $ac_executable_extensions; do
3284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3285 ac_cv_prog_AWK
="$ac_prog"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 if test -n "$AWK"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3298 $as_echo "$AWK" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3305 test -n "$AWK" && break
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3309 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3311 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3312 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3313 $as_echo_n "(cached) " >&6
3315 cat >conftest.
make <<\_ACEOF
3318 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3321 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3323 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3325 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3329 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3331 $as_echo "yes" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3336 SET_MAKE
="MAKE=${MAKE-make}"
3339 rm -rf .tst
2>/dev
/null
3340 mkdir .tst
2>/dev
/null
3341 if test -d .tst
; then
3346 rmdir .tst
2>/dev
/null
3348 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3349 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3350 # is not polluted with repeated "-I."
3351 am__isrc
=' -I$(srcdir)'
3352 # test to see if srcdir already configured
3353 if test -f $srcdir/config.status
; then
3354 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3358 # test whether we have cygpath
3359 if test -z "$CYGPATH_W"; then
3360 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3361 CYGPATH_W
='cygpath -w'
3368 # Define the identity of the package.
3369 PACKAGE
='libgfortran'
3373 # Some tools Automake needs.
3375 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3378 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3381 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3384 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3387 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3389 # We need awk for the "check" target. The system "awk" is bad on
3391 # Always define AMTAR for backward compatibility. Yes, it's still used
3392 # in the wild :-( We should find a proper way to deprecate it ...
3395 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3404 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3405 # Check whether --enable-maintainer-mode was given.
3406 if test "${enable_maintainer_mode+set}" = set; then :
3407 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3409 USE_MAINTAINER_MODE
=no
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3413 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3414 if test $USE_MAINTAINER_MODE = yes; then
3415 MAINTAINER_MODE_TRUE
=
3416 MAINTAINER_MODE_FALSE
='#'
3418 MAINTAINER_MODE_TRUE
='#'
3419 MAINTAINER_MODE_FALSE
=
3422 MAINT
=$MAINTAINER_MODE_TRUE
3425 # Default to --enable-multilib
3426 # Check whether --enable-multilib was given.
3427 if test "${enable_multilib+set}" = set; then :
3428 enableval
=$enable_multilib; case "$enableval" in
3429 yes) multilib
=yes ;;
3431 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3438 # We may get other options which we leave undocumented:
3439 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3440 # See config-ml.in if you want the gory details.
3442 if test "$srcdir" = "."; then
3443 if test "$with_target_subdir" != "."; then
3444 multi_basedir
="$srcdir/$with_multisrctop../.."
3446 multi_basedir
="$srcdir/$with_multisrctop.."
3449 multi_basedir
="$srcdir/.."
3453 # Even if the default multilib is not a cross compilation,
3454 # it may be that some of the other multilibs are.
3455 if test $cross_compiling = no
&& test $multilib = yes \
3456 && test "x${with_multisubdir}" != x
; then
3457 cross_compiling
=maybe
3460 ac_config_commands
="$ac_config_commands default-1"
3463 # Handy for debugging:
3464 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3466 # Are we being configured with some form of cross compiler?
3467 # NB: We don't actually need to know this just now, but when, say, a test
3468 # suite is included, we'll have to know.
3469 if test "$build" != "$host"; then
3470 LIBGFOR_IS_NATIVE
=false
3473 LIBGFOR_IS_NATIVE
=true
3476 DEPDIR
="${am__leading_dot}deps"
3478 ac_config_commands
="$ac_config_commands depfiles"
3481 am_make
=${MAKE-make}
3482 cat > confinc
<< 'END'
3484 @
echo this is the am__doit target
3487 # If we don't find an include directive, just comment out the code.
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3489 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3493 # First try GNU make style include.
3494 echo "include confinc" > confmf
3495 # Ignore all kinds of additional output from `make'.
3496 case `$am_make -s -f confmf 2> /dev/null` in #(
3497 *the\ am__doit\ target
*)
3503 # Now try BSD make style include.
3504 if test "$am__include" = "#"; then
3505 echo '.include "confinc"' > confmf
3506 case `$am_make -s -f confmf 2> /dev/null` in #(
3507 *the\ am__doit\ target
*)
3508 am__include
=.include
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3517 $as_echo "$_am_result" >&6; }
3518 rm -f confinc confmf
3520 # Check whether --enable-dependency-tracking was given.
3521 if test "${enable_dependency_tracking+set}" = set; then :
3522 enableval
=$enable_dependency_tracking;
3525 if test "x$enable_dependency_tracking" != xno
; then
3526 am_depcomp
="$ac_aux_dir/depcomp"
3530 if test "x$enable_dependency_tracking" != xno; then
3540 ac_cpp
='$CPP $CPPFLAGS'
3541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3544 if test -n "$ac_tool_prefix"; then
3545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3546 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if test "${ac_cv_prog_CC+set}" = set; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -n "$CC"; then
3553 ac_cv_prog_CC
="$CC" # Let the user override the test.
3555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir
=.
3560 for ac_exec_ext
in '' $ac_executable_extensions; do
3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 if test -n "$CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3583 if test -z "$ac_cv_prog_CC"; then
3585 # Extract the first word of "gcc", so it can be a program name with args.
3586 set dummy gcc
; ac_word
=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3592 if test -n "$ac_ct_CC"; then
3593 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3599 test -z "$as_dir" && as_dir
=.
3600 for ac_exec_ext
in '' $ac_executable_extensions; do
3601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3602 ac_cv_prog_ac_ct_CC
="gcc"
3603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3613 if test -n "$ac_ct_CC"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3615 $as_echo "$ac_ct_CC" >&6; }
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3621 if test "x$ac_ct_CC" = x
; then
3624 case $cross_compiling:$ac_tool_warned in
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3628 ac_tool_warned
=yes ;;
3636 if test -z "$CC"; then
3637 if test -n "$ac_tool_prefix"; then
3638 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3639 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_CC+set}" = set; then :
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC
="$CC" # Let the user override the test.
3648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir
=.
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 if test -n "$CC"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3668 $as_echo "$CC" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3677 if test -z "$CC"; then
3678 # Extract the first word of "cc", so it can be a program name with args.
3679 set dummy cc
; ac_word
=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if test "${ac_cv_prog_CC+set}" = set; then :
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$CC"; then
3686 ac_cv_prog_CC
="$CC" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3697 ac_prog_rejected
=yes
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 if test $ac_prog_rejected = yes; then
3709 # We found a bogon in the path, so make sure we never use it.
3710 set dummy
$ac_cv_prog_CC
3712 if test $# != 0; then
3713 # We chose a different compiler from the bogus one.
3714 # However, it has the same basename, so the bogon will be chosen
3715 # first if we set CC to just the basename; use the full file name.
3717 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3733 if test -z "$CC"; then
3734 if test -n "$ac_tool_prefix"; then
3735 for ac_prog
in cl.exe
3737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3738 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_CC+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC
="$CC" # Let the user override the test.
3747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir
=.
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3774 test -n "$CC" && break
3777 if test -z "$CC"; then
3779 for ac_prog
in cl.exe
3781 # Extract the first word of "$ac_prog", so it can be a program name with args.
3782 set dummy
$ac_prog; ac_word
=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3786 $as_echo_n "(cached) " >&6
3788 if test -n "$ac_ct_CC"; then
3789 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir
=.
3796 for ac_exec_ext
in '' $ac_executable_extensions; do
3797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3798 ac_cv_prog_ac_ct_CC
="$ac_prog"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3809 if test -n "$ac_ct_CC"; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3811 $as_echo "$ac_ct_CC" >&6; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3818 test -n "$ac_ct_CC" && break
3821 if test "x$ac_ct_CC" = x
; then
3824 case $cross_compiling:$ac_tool_warned in
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3828 ac_tool_warned
=yes ;;
3837 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3839 as_fn_error
"no acceptable C compiler found in \$PATH
3840 See \`config.log' for more details." "$LINENO" 5; }
3842 # Provide some information about the compiler.
3843 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3846 for ac_option
in --version -v -V -qversion; do
3847 { { ac_try
="$ac_compiler $ac_option >&5"
3849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3856 if test -s conftest.err; then
3858 ... rest of stderr output deleted ...
3859 10q' conftest.err >conftest.er1
3860 cat conftest.er1 >&5
3861 rm -f conftest.er1 conftest.err
3863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864 test $ac_status = 0; }
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3880 (eval $ac_link) 2>&5
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }; then :
3888 if test x$gcc_no_link = xyes; then
3889 # Setting cross_compile will disable run tests; it will
3890 # also disable AC_CHECK_FILE but that's generally
3891 # correct if we can't link.
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3906 ac_clean_files_save=$ac_clean_files
3907 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3908 # Try to create an executable without -o first, disregard a.out.
3909 # It will help us diagnose broken compilers, and finding out an intuition
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3912 $as_echo_n "checking for C compiler default output file name... " >&6; }
3913 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3915 # The possible output files:
3916 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3919 for ac_file in $ac_files
3922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3923 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3928 if { { ac_try="$ac_link_default"
3930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3931 *) ac_try_echo
=$ac_try;;
3933 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_link_default") 2>&5
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; then :
3939 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3940 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3941 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3942 # so that the user can short-circuit this test for compilers unknown to
3944 for ac_file
in $ac_files ''
3946 test -f "$ac_file" ||
continue
3948 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3951 # We found the default executable, but exeext='' is most
3955 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3957 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3959 # We set ac_cv_exeext here because the later test for it is not
3960 # safe: cross compilers may not add the suffix if given an `-o'
3961 # argument, so we may need to know it at that point already.
3962 # Even if this section looks crufty: it has the advantage of
3969 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3975 $as_echo "$ac_file" >&6; }
3976 if test -z "$ac_file"; then :
3977 $as_echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 { as_fn_set_status
77
3983 as_fn_error
"C compiler cannot create executables
3984 See \`config.log' for more details." "$LINENO" 5; }; }
3986 ac_exeext
=$ac_cv_exeext
3988 # Check that the compiler produces executables we can run. If not, either
3989 # the compiler is broken, or we cross compile.
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3991 $as_echo_n "checking whether the C compiler works... " >&6; }
3992 # If not cross compiling, check that we can run a simple program.
3993 if test "$cross_compiling" != yes; then
3994 if { ac_try
='./$ac_file'
3995 { { case "(($ac_try" in
3996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_try") 2>&5
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }; }; then
4007 if test "$cross_compiling" = maybe; then
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error "cannot run C compiled programs.
4013 If you meant to cross compile
, use \
`--host'.
4014 See \`config.log
' for more details." "$LINENO" 5; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4019 $as_echo "yes" >&6; }
4021 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4022 ac_clean_files=$ac_clean_files_save
4023 # Check that the compiler produces executables we can run. If not, either
4024 # the compiler is broken, or we cross compile.
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4026 $as_echo_n "checking whether we are cross compiling... " >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4028 $as_echo "$cross_compiling" >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4031 $as_echo_n "checking for suffix of executables... " >&6; }
4032 if { { ac_try="$ac_link"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_link") 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4044 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4045 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4047 for ac_file
in conftest.exe conftest conftest.
*; do
4048 test -f "$ac_file" ||
continue
4050 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4051 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4059 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4060 See \`config.log' for more details." "$LINENO" 5; }
4062 rm -f conftest
$ac_cv_exeext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4064 $as_echo "$ac_cv_exeext" >&6; }
4066 rm -f conftest.
$ac_ext
4067 EXEEXT
=$ac_cv_exeext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4071 $as_echo_n "checking for suffix of object files... " >&6; }
4072 if test "${ac_cv_objext+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4086 rm -f conftest.o conftest.obj
4087 if { { ac_try
="$ac_compile"
4089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4093 $as_echo "$ac_try_echo"; } >&5
4094 (eval "$ac_compile") 2>&5
4096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4097 test $ac_status = 0; }; then :
4098 for ac_file in conftest.o conftest.obj conftest.*; do
4099 test -f "$ac_file" || continue;
4101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4102 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4107 $as_echo "$as_me: failed program was:" >&5
4108 sed 's/^/| /' conftest.$ac_ext >&5
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot compute suffix of object files
: cannot compile
4113 See \
`config.log' for more details." "$LINENO" 5; }
4115 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4118 $as_echo "$ac_cv_objext" >&6; }
4119 OBJEXT=$ac_cv_objext
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4122 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4123 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4124 $as_echo_n "(cached) " >&6
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4140 if ac_fn_c_try_compile "$LINENO"; then :
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4150 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4151 if test $ac_compiler_gnu = yes; then
4156 ac_test_CFLAGS=${CFLAGS+set}
4157 ac_save_CFLAGS=$CFLAGS
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4159 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4160 if test "${ac_cv_prog_cc_g+set}" = set; then :
4161 $as_echo_n "(cached) " >&6
4163 ac_save_c_werror_flag=$ac_c_werror_flag
4164 ac_c_werror_flag=yes
4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4178 if ac_fn_c_try_compile "$LINENO"; then :
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4193 if ac_fn_c_try_compile "$LINENO"; then :
4196 ac_c_werror_flag=$ac_save_c_werror_flag
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4209 if ac_fn_c_try_compile "$LINENO"; then :
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 ac_c_werror_flag=$ac_save_c_werror_flag
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4220 $as_echo "$ac_cv_prog_cc_g" >&6; }
4221 if test "$ac_test_CFLAGS" = set; then
4222 CFLAGS=$ac_save_CFLAGS
4223 elif test $ac_cv_prog_cc_g = yes; then
4224 if test "$GCC" = yes; then
4230 if test "$GCC" = yes; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4237 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4238 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4239 $as_echo_n "(cached) " >&6
4241 ac_cv_prog_cc_c89=no
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4247 #include <sys/types.h>
4248 #include <sys/stat.h>
4249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4250 struct buf { int x; };
4251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4252 static char *e (p, i)
4258 static char *f (char * (*g) (char **, int), char **p, ...)
4263 s = g (p, va_arg (v,int));
4268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4269 function prototypes and stuff, but not '\xHH' hex character constants.
4270 These don't provoke an error unfortunately, instead are silently treated
4271 as 'x'. The following induces an error, until -std is added to get
4272 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4273 array size at least. It's necessary to write '\x00'==0 to get something
4274 that's true only with -std. */
4275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4278 inside strings and character constants. */
4280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4282 int test (int i, double x);
4283 struct s1 {int (*f) (int a);};
4284 struct s2 {int (*f) (double a);};
4285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4297 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4299 CC="$ac_save_CC $ac_arg"
4300 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_cv_prog_cc_c89=$ac_arg
4303 rm -f core conftest.err conftest.$ac_objext
4304 test "x$ac_cv_prog_cc_c89" != "xno" && break
4306 rm -f conftest.$ac_ext
4311 case "x$ac_cv_prog_cc_c89" in
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4314 $as_echo "none needed" >&6; } ;;
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4317 $as_echo "unsupported" >&6; } ;;
4319 CC="$CC $ac_cv_prog_cc_c89"
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4321 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4323 if test "x$ac_cv_prog_cc_c89" != xno; then :
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333 depcc="$CC" am_compiler_list=
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4336 $as_echo_n "checking dependency style of $depcc... " >&6; }
4337 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4341 # We make a subdir and do the tests there. Otherwise we can end up
4342 # making bogus files that we don't know about and never remove. For
4343 # instance it was reported that on HP-UX the gcc test will end up
4344 # making a dummy file named `D
' -- because `-MD' means
`put the output
4348 # Copy depcomp to subdir because otherwise we won't find it if we're
4349 # using a relative directory.
4350 cp "$am_depcomp" conftest.dir
4352 # We will build objects and dependencies in a subdirectory because
4353 # it helps to detect inapplicable dependency modes. For instance
4354 # both Tru64's cc and ICC support -MD to output dependencies as a
4355 # side effect of compilation, but ICC will put the dependencies in
4356 # the current directory while Tru64 will put them in the object
4360 am_cv_CC_dependencies_compiler_type=none
4361 if test "$am_compiler_list" = ""; then
4362 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4365 case " $depcc " in #(
4366 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4369 for depmode in $am_compiler_list; do
4370 # Setup a source with many dependencies, because some compilers
4371 # like to wrap large dependency lists on column 80 (with \), and
4372 # we should not choose a depcomp mode which is confused by this.
4374 # We need to recreate these files for each test, as the compiler may
4375 # overwrite some of them when testing with obscure command lines.
4376 # This happens at least with the AIX C compiler.
4378 for i in 1 2 3 4 5 6; do
4379 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4380 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4381 # Solaris 8's
{/usr
,}/bin
/sh.
4382 touch sub
/conftst
$i.h
4384 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4386 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4387 # mode. It turns out that the SunPro C++ compiler does not properly
4388 # handle `-M -o', and we need to detect this. Also, some Intel
4389 # versions had trouble with output in subdirs
4390 am__obj
=sub
/conftest.
${OBJEXT-o}
4391 am__minus_obj
="-o $am__obj"
4394 # This depmode causes a compiler race in universal mode.
4395 test "$am__universal" = false ||
continue
4398 # after this tag, mechanisms are not by side-effect, so they'll
4399 # only be used when explicitly requested
4400 if test "x$enable_dependency_tracking" = xyes
; then
4406 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4407 # This compiler won't grok `-c -o', but also, the minuso test has
4408 # not run yet. These depmodes are late enough in the game, and
4409 # so weak that their functioning should not be impacted.
4410 am__obj
=conftest.
${OBJEXT-o}
4415 if depmode
=$depmode \
4416 source=sub
/conftest.c object
=$am__obj \
4417 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4418 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4419 >/dev
/null
2>conftest.err
&&
4420 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4421 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4422 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4423 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4424 # icc doesn't choke on unknown options, it will just issue warnings
4425 # or remarks (even with -Werror). So we grep stderr for any message
4426 # that says an option was ignored or not supported.
4427 # When given -MP, icc 7.0 and 7.1 complain thusly:
4428 # icc: Command line warning: ignoring option '-M'; no argument required
4429 # The diagnosis changed in icc 8.0:
4430 # icc: Command line remark: option '-MP' not supported
4431 if (grep 'ignoring option' conftest.err ||
4432 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4433 am_cv_CC_dependencies_compiler_type
=$depmode
4442 am_cv_CC_dependencies_compiler_type
=none
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4447 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4448 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4451 test "x$enable_dependency_tracking" != xno \
4452 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4454 am__fastdepCC_FALSE
='#'
4456 am__fastdepCC_TRUE
='#'
4457 am__fastdepCC_FALSE
=
4463 ac_cpp
='$CPP $CPPFLAGS'
4464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4468 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4469 # On Suns, sometimes $CPP names a directory.
4470 if test -n "$CPP" && test -d "$CPP"; then
4473 if test -z "$CPP"; then
4474 if test "${ac_cv_prog_CPP+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4477 # Double quotes because CPP needs to be expanded
4478 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4481 for ac_c_preproc_warn_flag
in '' yes
4483 # Use a header file that comes with gcc, so configuring glibc
4484 # with a fresh cross-compiler works.
4485 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4486 # <limits.h> exists even on freestanding compilers.
4487 # On the NeXT, cc -E runs the code through the compiler's parser,
4488 # not just through cpp. "Syntax error" is here to catch this case.
4489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4492 # include <limits.h>
4494 # include <assert.h>
4498 if ac_fn_c_try_cpp
"$LINENO"; then :
4501 # Broken: fails on valid input.
4504 rm -f conftest.err conftest.
$ac_ext
4506 # OK, works on sane cases. Now check whether nonexistent headers
4507 # can be detected and how.
4508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4510 #include <ac_nonexistent.h>
4512 if ac_fn_c_try_cpp
"$LINENO"; then :
4513 # Broken: success on invalid input.
4516 # Passes both tests.
4520 rm -f conftest.err conftest.
$ac_ext
4523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4524 rm -f conftest.err conftest.
$ac_ext
4525 if $ac_preproc_ok; then :
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4538 $as_echo "$CPP" >&6; }
4540 for ac_c_preproc_warn_flag
in '' yes
4542 # Use a header file that comes with gcc, so configuring glibc
4543 # with a fresh cross-compiler works.
4544 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4545 # <limits.h> exists even on freestanding compilers.
4546 # On the NeXT, cc -E runs the code through the compiler's parser,
4547 # not just through cpp. "Syntax error" is here to catch this case.
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4551 # include <limits.h>
4553 # include <assert.h>
4557 if ac_fn_c_try_cpp
"$LINENO"; then :
4560 # Broken: fails on valid input.
4563 rm -f conftest.err conftest.
$ac_ext
4565 # OK, works on sane cases. Now check whether nonexistent headers
4566 # can be detected and how.
4567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4569 #include <ac_nonexistent.h>
4571 if ac_fn_c_try_cpp
"$LINENO"; then :
4572 # Broken: success on invalid input.
4575 # Passes both tests.
4579 rm -f conftest.err conftest.
$ac_ext
4582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4583 rm -f conftest.err conftest.
$ac_ext
4584 if $ac_preproc_ok; then :
4587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4589 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4590 See \`config.log' for more details." "$LINENO" 5; }
4594 ac_cpp
='$CPP $CPPFLAGS'
4595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4601 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4602 if test "${ac_cv_path_GREP+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -z "$GREP"; then
4606 ac_path_GREP_found
=false
4607 # Loop through the user's path and test for each of PROGNAME-LIST
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4609 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_prog
in grep ggrep
; do
4614 for ac_exec_ext
in '' $ac_executable_extensions; do
4615 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4616 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4617 # Check for GNU ac_path_GREP and select it if it is found.
4618 # Check for GNU $ac_path_GREP
4619 case `"$ac_path_GREP" --version 2>&1` in
4621 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4624 $as_echo_n 0123456789 >"conftest.in"
4627 cat "conftest.in" "conftest.in" >"conftest.tmp"
4628 mv "conftest.tmp" "conftest.in"
4629 cp "conftest.in" "conftest.nl"
4630 $as_echo 'GREP' >> "conftest.nl"
4631 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4632 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4633 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4634 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4635 # Best one so far, save it but keep looking for a better one
4636 ac_cv_path_GREP
="$ac_path_GREP"
4637 ac_path_GREP_max
=$ac_count
4639 # 10*(2^10) chars as input seems more than enough
4640 test $ac_count -gt 10 && break
4642 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4645 $ac_path_GREP_found && break 3
4650 if test -z "$ac_cv_path_GREP"; then
4651 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4654 ac_cv_path_GREP
=$GREP
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4659 $as_echo "$ac_cv_path_GREP" >&6; }
4660 GREP
="$ac_cv_path_GREP"
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4664 $as_echo_n "checking for egrep... " >&6; }
4665 if test "${ac_cv_path_EGREP+set}" = set; then :
4666 $as_echo_n "(cached) " >&6
4668 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4669 then ac_cv_path_EGREP
="$GREP -E"
4671 if test -z "$EGREP"; then
4672 ac_path_EGREP_found
=false
4673 # Loop through the user's path and test for each of PROGNAME-LIST
4674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4678 test -z "$as_dir" && as_dir
=.
4679 for ac_prog
in egrep; do
4680 for ac_exec_ext
in '' $ac_executable_extensions; do
4681 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4682 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4683 # Check for GNU ac_path_EGREP and select it if it is found.
4684 # Check for GNU $ac_path_EGREP
4685 case `"$ac_path_EGREP" --version 2>&1` in
4687 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4690 $as_echo_n 0123456789 >"conftest.in"
4693 cat "conftest.in" "conftest.in" >"conftest.tmp"
4694 mv "conftest.tmp" "conftest.in"
4695 cp "conftest.in" "conftest.nl"
4696 $as_echo 'EGREP' >> "conftest.nl"
4697 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4698 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4699 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4700 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4701 # Best one so far, save it but keep looking for a better one
4702 ac_cv_path_EGREP
="$ac_path_EGREP"
4703 ac_path_EGREP_max
=$ac_count
4705 # 10*(2^10) chars as input seems more than enough
4706 test $ac_count -gt 10 && break
4708 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4711 $ac_path_EGREP_found && break 3
4716 if test -z "$ac_cv_path_EGREP"; then
4717 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4720 ac_cv_path_EGREP
=$EGREP
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4726 $as_echo "$ac_cv_path_EGREP" >&6; }
4727 EGREP
="$ac_cv_path_EGREP"
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4731 $as_echo_n "checking for ANSI C header files... " >&6; }
4732 if test "${ac_cv_header_stdc+set}" = set; then :
4733 $as_echo_n "(cached) " >&6
4735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4750 if ac_fn_c_try_compile
"$LINENO"; then :
4751 ac_cv_header_stdc
=yes
4753 ac_cv_header_stdc
=no
4755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4757 if test $ac_cv_header_stdc = yes; then
4758 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4765 $EGREP "memchr" >/dev
/null
2>&1; then :
4768 ac_cv_header_stdc
=no
4774 if test $ac_cv_header_stdc = yes; then
4775 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4782 $EGREP "free" >/dev
/null
2>&1; then :
4785 ac_cv_header_stdc
=no
4791 if test $ac_cv_header_stdc = yes; then
4792 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4793 if test "$cross_compiling" = yes; then :
4796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4800 #if ((' ' & 0x0FF) == 0x020)
4801 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4802 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4804 # define ISLOWER(c) \
4805 (('a' <= (c) && (c) <= 'i') \
4806 || ('j' <= (c) && (c) <= 'r') \
4807 || ('s' <= (c) && (c) <= 'z'))
4808 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4811 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4816 for (i = 0; i < 256; i++)
4817 if (XOR (islower (i), ISLOWER (i))
4818 || toupper (i) != TOUPPER (i))
4823 if ac_fn_c_try_run
"$LINENO"; then :
4826 ac_cv_header_stdc
=no
4828 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4829 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4835 $as_echo "$ac_cv_header_stdc" >&6; }
4836 if test $ac_cv_header_stdc = yes; then
4838 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4842 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4843 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4844 inttypes.h stdint.h unistd.h
4846 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4847 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4849 eval as_val
=\$
$as_ac_Header
4850 if test "x$as_val" = x
""yes; then :
4851 cat >>confdefs.h
<<_ACEOF
4852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4861 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4862 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4869 if test "$MINIX" = yes; then
4871 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4874 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4877 $as_echo "#define _MINIX 1" >>confdefs.h
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4883 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4884 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4885 $as_echo_n "(cached) " >&6
4887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4890 # define __EXTENSIONS__ 1
4891 $ac_includes_default
4900 if ac_fn_c_try_compile
"$LINENO"; then :
4901 ac_cv_safe_to_define___extensions__
=yes
4903 ac_cv_safe_to_define___extensions__
=no
4905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4908 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4909 test $ac_cv_safe_to_define___extensions__ = yes &&
4910 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4912 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4914 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4916 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4918 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4922 # Calculate toolexeclibdir
4923 # Also toolexecdir, though it's only used in toolexeclibdir
4924 case ${version_specific_libs} in
4926 # Need the gcc compiler version to know where to install libraries
4927 # and header files if --enable-version-specific-runtime-libs option
4929 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4930 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4933 if test -n "$with_cross_host" &&
4934 test x
"$with_cross_host" != x
"no"; then
4935 # Install a library built with a cross compiler in tooldir, not libdir.
4936 toolexecdir
='$(exec_prefix)/$(target_alias)'
4937 toolexeclibdir
='$(toolexecdir)/lib'
4939 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4940 toolexeclibdir
='$(libdir)'
4942 multi_os_directory
=`$CC -print-multi-os-directory`
4943 case $multi_os_directory in
4944 .
) ;; # Avoid trailing /.
4945 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4952 # Create a spec file, so that compile/link tests don't fail
4953 test -f libgfortran.spec ||
touch libgfortran.spec
4956 ac_cpp
='$CPP $CPPFLAGS'
4957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4961 # Check the compiler.
4962 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4963 # We must force CC to /not/ be precious variables; otherwise
4964 # the wrong, non-multilib-adjusted value will be used in multilibs.
4965 # As a side effect, we have to subst CFLAGS ourselves.
4970 ac_cpp
='$CPP $CPPFLAGS'
4971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4974 if test -n "$ac_tool_prefix"; then
4975 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4976 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_CC+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$CC"; then
4983 ac_cv_prog_CC
="$CC" # Let the user override the test.
4985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir
=.
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 if test -n "$CC"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5005 $as_echo "$CC" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5013 if test -z "$ac_cv_prog_CC"; then
5015 # Extract the first word of "gcc", so it can be a program name with args.
5016 set dummy gcc
; ac_word
=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$ac_ct_CC"; then
5023 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5029 test -z "$as_dir" && as_dir
=.
5030 for ac_exec_ext
in '' $ac_executable_extensions; do
5031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5032 ac_cv_prog_ac_ct_CC
="gcc"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5043 if test -n "$ac_ct_CC"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5045 $as_echo "$ac_ct_CC" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5051 if test "x$ac_ct_CC" = x
; then
5054 case $cross_compiling:$ac_tool_warned in
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5058 ac_tool_warned
=yes ;;
5066 if test -z "$CC"; then
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5069 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_CC+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5075 if test -n "$CC"; then
5076 ac_cv_prog_CC
="$CC" # Let the user override the test.
5078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir
=.
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 if test -n "$CC"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5098 $as_echo "$CC" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5107 if test -z "$CC"; then
5108 # Extract the first word of "cc", so it can be a program name with args.
5109 set dummy cc
; ac_word
=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if test "${ac_cv_prog_CC+set}" = set; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$CC"; then
5116 ac_cv_prog_CC
="$CC" # Let the user override the test.
5119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5123 test -z "$as_dir" && as_dir
=.
5124 for ac_exec_ext
in '' $ac_executable_extensions; do
5125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5126 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5127 ac_prog_rejected
=yes
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 if test $ac_prog_rejected = yes; then
5139 # We found a bogon in the path, so make sure we never use it.
5140 set dummy
$ac_cv_prog_CC
5142 if test $# != 0; then
5143 # We chose a different compiler from the bogus one.
5144 # However, it has the same basename, so the bogon will be chosen
5145 # first if we set CC to just the basename; use the full file name.
5147 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5153 if test -n "$CC"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5155 $as_echo "$CC" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5163 if test -z "$CC"; then
5164 if test -n "$ac_tool_prefix"; then
5165 for ac_prog
in cl.exe
5167 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5168 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_CC+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5174 if test -n "$CC"; then
5175 ac_cv_prog_CC
="$CC" # Let the user override the test.
5177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir
=.
5182 for ac_exec_ext
in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 if test -n "$CC"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5197 $as_echo "$CC" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5204 test -n "$CC" && break
5207 if test -z "$CC"; then
5209 for ac_prog
in cl.exe
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy
$ac_prog; ac_word
=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5216 $as_echo_n "(cached) " >&6
5218 if test -n "$ac_ct_CC"; then
5219 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228 ac_cv_prog_ac_ct_CC
="$ac_prog"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5239 if test -n "$ac_ct_CC"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5241 $as_echo "$ac_ct_CC" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 test -n "$ac_ct_CC" && break
5251 if test "x$ac_ct_CC" = x
; then
5254 case $cross_compiling:$ac_tool_warned in
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5258 ac_tool_warned
=yes ;;
5267 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5269 as_fn_error
"no acceptable C compiler found in \$PATH
5270 See \`config.log' for more details." "$LINENO" 5; }
5272 # Provide some information about the compiler.
5273 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5276 for ac_option
in --version -v -V -qversion; do
5277 { { ac_try
="$ac_compiler $ac_option >&5"
5279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 $as_echo "$ac_try_echo"; } >&5
5284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5286 if test -s conftest.err; then
5288 ... rest of stderr output deleted ...
5289 10q' conftest.err >conftest.er1
5290 cat conftest.er1 >&5
5291 rm -f conftest.er1 conftest.err
5293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5298 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5299 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5300 $as_echo_n "(cached) " >&6
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5316 if ac_fn_c_try_compile "$LINENO"; then :
5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5326 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5327 if test $ac_compiler_gnu = yes; then
5332 ac_test_CFLAGS=${CFLAGS+set}
5333 ac_save_CFLAGS=$CFLAGS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5335 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5336 if test "${ac_cv_prog_cc_g+set}" = set; then :
5337 $as_echo_n "(cached) " >&6
5339 ac_save_c_werror_flag=$ac_c_werror_flag
5340 ac_c_werror_flag=yes
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5354 if ac_fn_c_try_compile "$LINENO"; then :
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5369 if ac_fn_c_try_compile "$LINENO"; then :
5372 ac_c_werror_flag=$ac_save_c_werror_flag
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5385 if ac_fn_c_try_compile "$LINENO"; then :
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 ac_c_werror_flag=$ac_save_c_werror_flag
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5396 $as_echo "$ac_cv_prog_cc_g" >&6; }
5397 if test "$ac_test_CFLAGS" = set; then
5398 CFLAGS=$ac_save_CFLAGS
5399 elif test $ac_cv_prog_cc_g = yes; then
5400 if test "$GCC" = yes; then
5406 if test "$GCC" = yes; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5413 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5414 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5415 $as_echo_n "(cached) " >&6
5417 ac_cv_prog_cc_c89=no
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5423 #include <sys/types.h>
5424 #include <sys/stat.h>
5425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5426 struct buf { int x; };
5427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5428 static char *e (p, i)
5434 static char *f (char * (*g) (char **, int), char **p, ...)
5439 s = g (p, va_arg (v,int));
5444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5445 function prototypes and stuff, but not '\xHH' hex character constants.
5446 These don't provoke an error unfortunately, instead are silently treated
5447 as 'x'. The following induces an error, until -std is added to get
5448 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5449 array size at least. It's necessary to write '\x00'==0 to get something
5450 that's true only with -std. */
5451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5454 inside strings and character constants. */
5456 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5458 int test (int i, double x);
5459 struct s1 {int (*f) (int a);};
5460 struct s2 {int (*f) (double a);};
5461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5472 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5473 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5475 CC="$ac_save_CC $ac_arg"
5476 if ac_fn_c_try_compile "$LINENO"; then :
5477 ac_cv_prog_cc_c89=$ac_arg
5479 rm -f core conftest.err conftest.$ac_objext
5480 test "x$ac_cv_prog_cc_c89" != "xno" && break
5482 rm -f conftest.$ac_ext
5487 case "x$ac_cv_prog_cc_c89" in
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5490 $as_echo "none needed" >&6; } ;;
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5493 $as_echo "unsupported" >&6; } ;;
5495 CC="$CC $ac_cv_prog_cc_c89"
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5497 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5499 if test "x$ac_cv_prog_cc_c89" != xno; then :
5504 ac_cpp='$CPP $CPPFLAGS'
5505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5509 depcc="$CC" am_compiler_list=
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5512 $as_echo_n "checking dependency style of $depcc... " >&6; }
5513 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5514 $as_echo_n "(cached) " >&6
5516 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5517 # We make a subdir and do the tests there. Otherwise we can end up
5518 # making bogus files that we don't know about and never remove. For
5519 # instance it was reported that on HP-UX the gcc test will end up
5520 # making a dummy file named `D
' -- because `-MD' means
`put the output
5524 # Copy depcomp to subdir because otherwise we won't find it if we're
5525 # using a relative directory.
5526 cp "$am_depcomp" conftest.dir
5528 # We will build objects and dependencies in a subdirectory because
5529 # it helps to detect inapplicable dependency modes. For instance
5530 # both Tru64's cc and ICC support -MD to output dependencies as a
5531 # side effect of compilation, but ICC will put the dependencies in
5532 # the current directory while Tru64 will put them in the object
5536 am_cv_CC_dependencies_compiler_type=none
5537 if test "$am_compiler_list" = ""; then
5538 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5541 case " $depcc " in #(
5542 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5545 for depmode in $am_compiler_list; do
5546 # Setup a source with many dependencies, because some compilers
5547 # like to wrap large dependency lists on column 80 (with \), and
5548 # we should not choose a depcomp mode which is confused by this.
5550 # We need to recreate these files for each test, as the compiler may
5551 # overwrite some of them when testing with obscure command lines.
5552 # This happens at least with the AIX C compiler.
5554 for i in 1 2 3 4 5 6; do
5555 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5556 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5557 # Solaris 8's
{/usr
,}/bin
/sh.
5558 touch sub
/conftst
$i.h
5560 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5562 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5563 # mode. It turns out that the SunPro C++ compiler does not properly
5564 # handle `-M -o', and we need to detect this. Also, some Intel
5565 # versions had trouble with output in subdirs
5566 am__obj
=sub
/conftest.
${OBJEXT-o}
5567 am__minus_obj
="-o $am__obj"
5570 # This depmode causes a compiler race in universal mode.
5571 test "$am__universal" = false ||
continue
5574 # after this tag, mechanisms are not by side-effect, so they'll
5575 # only be used when explicitly requested
5576 if test "x$enable_dependency_tracking" = xyes
; then
5582 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5583 # This compiler won't grok `-c -o', but also, the minuso test has
5584 # not run yet. These depmodes are late enough in the game, and
5585 # so weak that their functioning should not be impacted.
5586 am__obj
=conftest.
${OBJEXT-o}
5591 if depmode
=$depmode \
5592 source=sub
/conftest.c object
=$am__obj \
5593 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5594 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5595 >/dev
/null
2>conftest.err
&&
5596 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5597 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5598 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5599 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5600 # icc doesn't choke on unknown options, it will just issue warnings
5601 # or remarks (even with -Werror). So we grep stderr for any message
5602 # that says an option was ignored or not supported.
5603 # When given -MP, icc 7.0 and 7.1 complain thusly:
5604 # icc: Command line warning: ignoring option '-M'; no argument required
5605 # The diagnosis changed in icc 8.0:
5606 # icc: Command line remark: option '-MP' not supported
5607 if (grep 'ignoring option' conftest.err ||
5608 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5609 am_cv_CC_dependencies_compiler_type
=$depmode
5618 am_cv_CC_dependencies_compiler_type
=none
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5623 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5624 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5627 test "x$enable_dependency_tracking" != xno \
5628 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5630 am__fastdepCC_FALSE
='#'
5632 am__fastdepCC_TRUE
='#'
5633 am__fastdepCC_FALSE
=
5641 if test "x$CC" != xcc
; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5643 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5646 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5648 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5649 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5650 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5651 $as_echo_n "(cached) " >&6
5653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5654 /* end confdefs.h. */
5664 # Make sure it works both with $CC and with simple cc.
5665 # We do the test twice because some compilers refuse to overwrite an
5666 # existing .o file with -o, though they will create one.
5667 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5669 if { { case "(($ac_try" in
5670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5671 *) ac_try_echo=$ac_try;;
5673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5674 $as_echo "$ac_try_echo"; } >&5
5675 (eval "$ac_try") 2>&5
5677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5678 test $ac_status = 0; } &&
5679 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5681 *) ac_try_echo
=$ac_try;;
5683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5684 $as_echo "$ac_try_echo"; } >&5
5685 (eval "$ac_try") 2>&5
5687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5688 test $ac_status = 0; };
5690 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5691 if test "x$CC" != xcc
; then
5692 # Test first that cc exists at all.
5693 if { ac_try
='cc -c conftest.$ac_ext >&5'
5694 { { case "(($ac_try" in
5695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5699 $as_echo "$ac_try_echo"; } >&5
5700 (eval "$ac_try") 2>&5
5702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5703 test $ac_status = 0; }; }; then
5704 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5706 if { { case "(($ac_try" in
5707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5708 *) ac_try_echo
=$ac_try;;
5710 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5711 $as_echo "$ac_try_echo"; } >&5
5712 (eval "$ac_try") 2>&5
5714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5715 test $ac_status = 0; } &&
5716 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5718 *) ac_try_echo=$ac_try;;
5720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 $as_echo "$ac_try_echo"; } >&5
5722 (eval "$ac_try") 2>&5
5724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5725 test $ac_status = 0; };
5730 # cc exists but doesn't like -o.
5731 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5736 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5738 rm -f core conftest*
5741 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5743 $as_echo "yes" >&6; }
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5748 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5752 # FIXME: we rely on the cache variable name because
5753 # there is no other way.
5755 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5756 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5757 if test "$am_t" != yes; then
5758 # Losing compiler, so override with the script.
5759 # FIXME: It is wrong to rewrite CC.
5760 # But if we don't then we get into trouble of one sort or another.
5761 # A longer-term fix would be to have automake use am__CC in this case,
5762 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5763 CC="$am_aux_dir/compile $CC"
5768 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5769 if test "x$GCC" = "xyes"; then
5770 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5771 ## We like to use C99 routines when available. This makes sure that
5772 ## __STDC_VERSION__ is set such that libc includes make them available.
5773 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5774 ## Compile the following tests with the same system header contents
5775 ## that we'll encounter when compiling our own source files.
5776 CFLAGS="-std=gnu99 $CFLAGS"
5782 # Check for symbol versioning (copied from libssp).
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5784 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5785 # Check whether --enable-symvers was given.
5786 if test "${enable_symvers+set}" = set; then :
5787 enableval=$enable_symvers; gfortran_use_symver=$enableval
5789 gfortran_use_symver=yes
5792 if test "x$gfortran_use_symver" != xno; then
5793 save_LDFLAGS="$LDFLAGS"
5794 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5795 cat > conftest.map <<EOF
5797 global: *foo*; bar; local: *;
5800 if test x$gcc_no_link = xyes; then
5801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5814 if ac_fn_c_try_link "$LINENO"; then :
5815 gfortran_use_symver=gnu
5817 gfortran_use_symver=no
5819 rm -f core conftest.err conftest.$ac_objext \
5820 conftest$ac_exeext conftest.$ac_ext
5821 if test x$gfortran_use_symver = xno; then
5822 case "$target_os" in
5824 LDFLAGS="$save_LDFLAGS"
5825 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5826 # Sun ld cannot handle wildcards and treats all entries as undefined.
5827 cat > conftest.map <<EOF
5829 global: foo; local: *;
5832 if test x$gcc_no_link = xyes; then
5833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5836 /* end confdefs.h. */
5846 if ac_fn_c_try_link "$LINENO"; then :
5847 gfortran_use_symver=sun
5849 gfortran_use_symver=no
5851 rm -f core conftest.err conftest.$ac_objext \
5852 conftest$ac_exeext conftest.$ac_ext
5856 LDFLAGS="$save_LDFLAGS"
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5859 $as_echo "$gfortran_use_symver" >&6; }
5860 if test "x$gfortran_use_symver" != xno; then
5861 LIBGFOR_USE_SYMVER_TRUE=
5862 LIBGFOR_USE_SYMVER_FALSE='#'
5864 LIBGFOR_USE_SYMVER_TRUE='#'
5865 LIBGFOR_USE_SYMVER_FALSE=
5868 if test "x$gfortran_use_symver" = xgnu; then
5869 LIBGFOR_USE_SYMVER_GNU_TRUE=
5870 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5872 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5873 LIBGFOR_USE_SYMVER_GNU_FALSE=
5876 if test "x$gfortran_use_symver" = xsun; then
5877 LIBGFOR_USE_SYMVER_SUN_TRUE=
5878 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5880 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5881 LIBGFOR_USE_SYMVER_SUN_FALSE=
5885 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5886 # similarly to how libstdc++ does it
5887 ac_test_CFLAGS="${CFLAGS+set}"
5888 ac_save_CFLAGS="$CFLAGS"
5890 # Check for -ffunction-sections -fdata-sections
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5892 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5893 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5905 if ac_fn_c_try_compile "$LINENO"; then :
5910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5911 if test "$ac_test_CFLAGS" = set; then
5912 CFLAGS="$ac_save_CFLAGS"
5914 # this is the suspicious part
5917 if test x"$ac_fdsections" = x"yes"; then
5918 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5921 $as_echo "$ac_fdsections" >&6; }
5924 # Find other programs we need.
5925 if test -n "$ac_tool_prefix"; then
5926 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5927 set dummy ${ac_tool_prefix}as; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if test "${ac_cv_prog_AS+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5933 if test -n "$AS"; then
5934 ac_cv_prog_AS="$AS" # Let the user override the test.
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5943 ac_cv_prog_AS="${ac_tool_prefix}as"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 if test -n "$AS"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5956 $as_echo "$AS" >&6; }
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5964 if test -z "$ac_cv_prog_AS"; then
5966 # Extract the first word of "as", so it can be a program name with args.
5967 set dummy as; ac_word=$2
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5969 $as_echo_n "checking for $ac_word... " >&6; }
5970 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5971 $as_echo_n "(cached) " >&6
5973 if test -n "$ac_ct_AS"; then
5974 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 test -z "$as_dir" && as_dir=.
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5983 ac_cv_prog_ac_ct_AS="as"
5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5994 if test -n "$ac_ct_AS"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5996 $as_echo "$ac_ct_AS" >&6; }
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6002 if test "x$ac_ct_AS" = x; then
6005 case $cross_compiling:$ac_tool_warned in
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6009 ac_tool_warned=yes ;;
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6019 set dummy ${ac_tool_prefix}ar; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if test "${ac_cv_prog_AR+set}" = set; then :
6023 $as_echo_n "(cached) " >&6
6025 if test -n "$AR"; then
6026 ac_cv_prog_AR="$AR" # Let the user override the test.
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 ac_cv_prog_AR="${ac_tool_prefix}ar"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 if test -n "$AR"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6048 $as_echo "$AR" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6056 if test -z "$ac_cv_prog_AR"; then
6058 # Extract the first word of "ar", so it can be a program name with args.
6059 set dummy ar; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6063 $as_echo_n "(cached) " >&6
6065 if test -n "$ac_ct_AR"; then
6066 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6075 ac_cv_prog_ac_ct_AR="ar"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6086 if test -n "$ac_ct_AR"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6088 $as_echo "$ac_ct_AR" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6094 if test "x$ac_ct_AR" = x; then
6097 case $cross_compiling:$ac_tool_warned in
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6101 ac_tool_warned=yes ;;
6109 if test -n "$ac_tool_prefix"; then
6110 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6111 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 $as_echo_n "checking for $ac_word... " >&6; }
6114 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6115 $as_echo_n "(cached) " >&6
6117 if test -n "$RANLIB"; then
6118 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 test -z "$as_dir" && as_dir=.
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6127 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137 RANLIB=$ac_cv_prog_RANLIB
6138 if test -n "$RANLIB"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6140 $as_echo "$RANLIB" >&6; }
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 $as_echo "no" >&6; }
6148 if test -z "$ac_cv_prog_RANLIB"; then
6149 ac_ct_RANLIB=$RANLIB
6150 # Extract the first word of "ranlib", so it can be a program name with args.
6151 set dummy ranlib; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6155 $as_echo_n "(cached) " >&6
6157 if test -n "$ac_ct_RANLIB"; then
6158 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6167 ac_cv_prog_ac_ct_RANLIB="ranlib"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6178 if test -n "$ac_ct_RANLIB"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6180 $as_echo "$ac_ct_RANLIB" >&6; }
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6186 if test "x$ac_ct_RANLIB" = x; then
6187 RANLIB="ranlib-not-found-in-path-error"
6189 case $cross_compiling:$ac_tool_warned in
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6193 ac_tool_warned=yes ;;
6195 RANLIB=$ac_ct_RANLIB
6198 RANLIB="$ac_cv_prog_RANLIB"
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6202 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6204 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6205 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6206 $as_echo_n "(cached) " >&6
6208 cat >conftest.make <<\_ACEOF
6211 @echo '@@@%%%=$(MAKE)=@@@%%%'
6213 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6214 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6216 eval ac_cv_prog_make_${ac_make}_set=yes;;
6218 eval ac_cv_prog_make_${ac_make}_set=no;;
6222 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6224 $as_echo "yes" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6229 SET_MAKE="MAKE=${MAKE-make}"
6235 #AC_MSG_NOTICE([====== Starting libtool configuration])
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6243 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6248 macro_version='2.2.7a'
6249 macro_revision='1.3134'
6263 ltmain="$ac_aux_dir/ltmain.sh"
6265 # Backslashify metacharacters that are still active within
6266 # double-quoted strings.
6267 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6269 # Same as above, but do not quote variable references.
6270 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6272 # Sed substitution to delay expansion of an escaped shell variable in a
6273 # double_quote_subst'ed string.
6274 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6276 # Sed substitution to delay expansion of an escaped single quote.
6277 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6279 # Sed substitution to avoid accidental globbing in evaled expressions
6280 no_glob_subst='s/\*/\\\*/g'
6282 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6283 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6284 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6287 $as_echo_n "checking how to print
strings...
" >&6; }
6288 # Test print first, because it will be a builtin if present.
6289 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6290 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6292 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6295 # Use this function as a fallback that always works.
6296 func_fallback_echo ()
6298 eval 'cat <<_LTECHO_EOF
6302 ECHO='func_fallback_echo'
6305 # func_echo_all arg...
6306 # Invoke $ECHO with all args, space-separated.
6313 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6314 $as_echo "printf" >&6; } ;;
6315 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6316 $as_echo "print
-r" >&6; } ;;
6317 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6318 $as_echo "cat" >&6; } ;;
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6335 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6336 if test "${ac_cv_path_SED+set}" = set; then :
6337 $as_echo_n "(cached
) " >&6
6339 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6340 for ac_i in 1 2 3 4 5 6 7; do
6341 ac_script="$ac_script$as_nl$ac_script"
6343 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6344 { ac_script=; unset ac_script;}
6345 if test -z "$SED"; then
6346 ac_path_SED_found=false
6347 # Loop through the user's path and test for each of PROGNAME-LIST
6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352 test -z "$as_dir" && as_dir=.
6353 for ac_prog in sed gsed; do
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6356 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6357 # Check for GNU ac_path_SED and select it if it is found.
6358 # Check for GNU $ac_path_SED
6359 case `"$ac_path_SED" --version 2>&1` in
6361 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6364 $as_echo_n 0123456789 >"conftest.
in"
6367 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6368 mv "conftest.tmp
" "conftest.
in"
6369 cp "conftest.
in" "conftest.
nl"
6370 $as_echo '' >> "conftest.
nl"
6371 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6372 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6373 as_fn_arith $ac_count + 1 && ac_count=$as_val
6374 if test $ac_count -gt ${ac_path_SED_max-0}; then
6375 # Best one so far, save it but keep looking for a better one
6376 ac_cv_path_SED="$ac_path_SED"
6377 ac_path_SED_max=$ac_count
6379 # 10*(2^10) chars as input seems more than enough
6380 test $ac_count -gt 10 && break
6382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6385 $ac_path_SED_found && break 3
6390 if test -z "$ac_cv_path_SED"; then
6391 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6399 $as_echo "$ac_cv_path_SED" >&6; }
6400 SED="$ac_cv_path_SED"
6403 test -z "$SED" && SED=sed
6404 Xsed="$SED -e 1s
/^X
//"
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6417 $as_echo_n "checking
for fgrep...
" >&6; }
6418 if test "${ac_cv_path_FGREP+set}" = set; then :
6419 $as_echo_n "(cached
) " >&6
6421 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6422 then ac_cv_path_FGREP="$GREP -F"
6424 if test -z "$FGREP"; then
6425 ac_path_FGREP_found=false
6426 # Loop through the user's path and test for each of PROGNAME-LIST
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6431 test -z "$as_dir" && as_dir=.
6432 for ac_prog in fgrep; do
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6435 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6436 # Check for GNU ac_path_FGREP and select it if it is found.
6437 # Check for GNU $ac_path_FGREP
6438 case `"$ac_path_FGREP" --version 2>&1` in
6440 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6443 $as_echo_n 0123456789 >"conftest.
in"
6446 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6447 mv "conftest.tmp
" "conftest.
in"
6448 cp "conftest.
in" "conftest.
nl"
6449 $as_echo 'FGREP' >> "conftest.
nl"
6450 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6451 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6452 as_fn_arith $ac_count + 1 && ac_count=$as_val
6453 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6454 # Best one so far, save it but keep looking for a better one
6455 ac_cv_path_FGREP="$ac_path_FGREP"
6456 ac_path_FGREP_max=$ac_count
6458 # 10*(2^10) chars as input seems more than enough
6459 test $ac_count -gt 10 && break
6461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6464 $ac_path_FGREP_found && break 3
6469 if test -z "$ac_cv_path_FGREP"; then
6470 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6473 ac_cv_path_FGREP=$FGREP
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6479 $as_echo "$ac_cv_path_FGREP" >&6; }
6480 FGREP="$ac_cv_path_FGREP"
6483 test -z "$GREP" && GREP=grep
6503 # Check whether --with-gnu-ld was given.
6504 if test "${with_gnu_ld+set}" = set; then :
6505 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6511 if test "$GCC" = yes; then
6512 # Check if gcc -print-prog-name=ld gives a path.
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6514 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6517 # gcc leaves a trailing carriage return which upsets mingw
6518 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6520 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6523 # Accept absolute paths.
6525 re_direlt='/[^/][^/]*/\.\./'
6526 # Canonicalize the pathname of ld
6527 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6528 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6529 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6531 test -z "$LD" && LD="$ac_prog"
6534 # If it fails, then pretend we aren't using GCC.
6538 # If it is relative, then search for the first ld in PATH.
6542 elif test "$with_gnu_ld" = yes; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6544 $as_echo_n "checking
for GNU ld...
" >&6; }
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6547 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6549 if test "${lt_cv_path_LD+set}" = set; then :
6550 $as_echo_n "(cached
) " >&6
6552 if test -z "$LD"; then
6553 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6554 for ac_dir in $PATH; do
6556 test -z "$ac_dir" && ac_dir=.
6557 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6558 lt_cv_path_LD="$ac_dir/$ac_prog"
6559 # Check to see if the program is GNU ld. I'd rather use --version,
6560 # but apparently some variants of GNU ld only accept -v.
6561 # Break only if it was the GNU/non-GNU ld that we prefer.
6562 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6563 *GNU* | *'with BFD'*)
6564 test "$with_gnu_ld" != no && break
6567 test "$with_gnu_ld" != yes && break
6574 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6579 if test -n "$LD"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6581 $as_echo "$LD" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6584 $as_echo "no
" >&6; }
6586 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6588 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6589 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6590 $as_echo_n "(cached
) " >&6
6592 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6593 case `$LD -v 2>&1 </dev/null` in
6594 *GNU* | *'with BFD'*)
6595 lt_cv_prog_gnu_ld=yes
6598 lt_cv_prog_gnu_ld=no
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6603 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6604 with_gnu_ld=$lt_cv_prog_gnu_ld
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6615 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6616 if test "${lt_cv_path_NM+set}" = set; then :
6617 $as_echo_n "(cached
) " >&6
6619 if test -n "$NM"; then
6620 # Let the user override the test.
6623 lt_nm_to_check="${ac_tool_prefix}nm
"
6624 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6625 lt_nm_to_check="$lt_nm_to_check nm
"
6627 for lt_tmp_nm in $lt_nm_to_check; do
6628 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6629 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6631 test -z "$ac_dir" && ac_dir=.
6632 tmp_nm="$ac_dir/$lt_tmp_nm"
6633 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6634 # Check to see if the nm accepts a BSD-compat flag.
6635 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6636 # nm: unknown option "B
" ignored
6637 # Tru64's nm complains that /dev/null is an invalid object file
6638 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6639 */dev/null* | *'Invalid file or object type'*)
6640 lt_cv_path_NM="$tmp_nm -B"
6644 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6646 lt_cv_path_NM="$tmp_nm -p"
6650 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6651 continue # so that we can try to find one that supports BSD flags
6660 : ${lt_cv_path_NM=no}
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6664 $as_echo "$lt_cv_path_NM" >&6; }
6665 if test "$lt_cv_path_NM" != "no
"; then
6668 # Didn't find any BSD compatible name lister, look for dumpbin.
6669 if test -n "$DUMPBIN"; then :
6670 # Let the user override the test.
6672 if test -n "$ac_tool_prefix"; then
6673 for ac_prog in dumpbin "link
-dump"
6675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6678 $as_echo_n "checking
for $ac_word...
" >&6; }
6679 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6680 $as_echo_n "(cached
) " >&6
6682 if test -n "$DUMPBIN"; then
6683 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir=.
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6692 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6702 DUMPBIN=$ac_cv_prog_DUMPBIN
6703 if test -n "$DUMPBIN"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6705 $as_echo "$DUMPBIN" >&6; }
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6708 $as_echo "no
" >&6; }
6712 test -n "$DUMPBIN" && break
6715 if test -z "$DUMPBIN"; then
6716 ac_ct_DUMPBIN=$DUMPBIN
6717 for ac_prog in dumpbin "link
-dump"
6719 # Extract the first word of "$ac_prog", so it can be a program name with args.
6720 set dummy $ac_prog; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6722 $as_echo_n "checking
for $ac_word...
" >&6; }
6723 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6724 $as_echo_n "(cached
) " >&6
6726 if test -n "$ac_ct_DUMPBIN"; then
6727 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 test -z "$as_dir" && as_dir=.
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6736 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6746 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6747 if test -n "$ac_ct_DUMPBIN"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6749 $as_echo "$ac_ct_DUMPBIN" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6752 $as_echo "no
" >&6; }
6756 test -n "$ac_ct_DUMPBIN" && break
6759 if test "x
$ac_ct_DUMPBIN" = x; then
6762 case $cross_compiling:$ac_tool_warned in
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6765 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6766 ac_tool_warned=yes ;;
6768 DUMPBIN=$ac_ct_DUMPBIN
6772 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6774 DUMPBIN="$DUMPBIN -symbols"
6782 if test "$DUMPBIN" != ":"; then
6786 test -z "$NM" && NM=nm
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6794 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6795 if test "${lt_cv_nm_interface+set}" = set; then :
6796 $as_echo_n "(cached
) " >&6
6798 lt_cv_nm_interface="BSD nm
"
6799 echo "int some_variable
= 0;" > conftest.$ac_ext
6800 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6801 (eval "$ac_compile" 2>conftest.err)
6802 cat conftest.err >&5
6803 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6804 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6805 cat conftest.err >&5
6806 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6807 cat conftest.out >&5
6808 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6809 lt_cv_nm_interface="MS dumpbin
"
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6814 $as_echo "$lt_cv_nm_interface" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6817 $as_echo_n "checking whether
ln -s works...
" >&6; }
6819 if test "$LN_S" = "ln -s"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6821 $as_echo "yes" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6824 $as_echo "no
, using
$LN_S" >&6; }
6827 # find the maximum length of command line arguments
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6829 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6830 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6831 $as_echo_n "(cached
) " >&6
6838 # On DJGPP, this test can blow up pretty badly due to problems in libc
6839 # (any single argument exceeding 2000 bytes causes a buffer overrun
6840 # during glob expansion). Even if it were fixed, the result of this
6841 # check would be larger than it should be.
6842 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6846 # Under GNU Hurd, this test is not required because there is
6847 # no limit to the length of command line arguments.
6848 # Libtool will interpret -1 as no limit whatsoever
6849 lt_cv_sys_max_cmd_len=-1;
6852 cygwin* | mingw* | cegcc*)
6853 # On Win9x/ME, this test blows up -- it succeeds, but takes
6854 # about 5 minutes as the teststring grows exponentially.
6855 # Worse, since 9x/ME are not pre-emptively multitasking,
6856 # you end up with a "frozen
" computer, even though with patience
6857 # the test eventually succeeds (with a max line length of 256k).
6858 # Instead, let's just punt: use the minimum linelength reported by
6859 # all of the supported platforms: 8192 (on NT/2K/XP).
6860 lt_cv_sys_max_cmd_len=8192;
6864 # On MiNT this can take a long time and run out of memory.
6865 lt_cv_sys_max_cmd_len=8192;
6869 # On AmigaOS with pdksh, this test takes hours, literally.
6870 # So we just punt and use a minimum line length of 8192.
6871 lt_cv_sys_max_cmd_len=8192;
6874 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6875 # This has been around since 386BSD, at least. Likely further.
6876 if test -x /sbin/sysctl; then
6877 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6878 elif test -x /usr/sbin/sysctl; then
6879 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6881 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6883 # And add a safety zone
6884 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6885 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6889 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6890 lt_cv_sys_max_cmd_len=196608
6894 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6895 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6896 # nice to cause kernel panics so lets avoid the loop below.
6897 # First set a reasonable default.
6898 lt_cv_sys_max_cmd_len=16384
6900 if test -x /sbin/sysconfig; then
6901 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6902 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6907 lt_cv_sys_max_cmd_len=102400
6909 sysv5* | sco5v6* | sysv4.2uw2*)
6910 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6911 if test -n "$kargmax"; then
6912 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6914 lt_cv_sys_max_cmd_len=32768
6918 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6919 if test -n "$lt_cv_sys_max_cmd_len"; then
6920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6921 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6923 # Make teststring a little bigger before we do anything with it.
6924 # a 1K string should be a reasonable start.
6925 for i in 1 2 3 4 5 6 7 8 ; do
6926 teststring=$teststring$teststring
6928 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6929 # If test is not a shell built-in, we'll probably end up computing a
6930 # maximum length that is only half of the actual maximum length, but
6932 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6933 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6934 test $i != 17 # 1/2 MB should be enough
6937 teststring=$teststring$teststring
6939 # Only check the string length outside the loop.
6940 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6942 # Add a significant safety factor because C++ compilers can tack on
6943 # massive amounts of additional arguments before passing them to the
6944 # linker. It appears as though 1/2 is a usable value.
6945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6952 if test -n $lt_cv_sys_max_cmd_len ; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6954 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6957 $as_echo "none
" >&6; }
6959 max_cmd_len=$lt_cv_sys_max_cmd_len
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6971 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6972 # Try some XSI features
6975 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6977 && eval 'test $(( 1 + 1 )) -eq 2 \
6978 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6981 $as_echo "$xsi_shell" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6985 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6987 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6989 && lt_shell_append
=yes
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6991 $as_echo "$lt_shell_append" >&6; }
6994 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7004 # test EBCDIC or ASCII
7005 case `echo X|tr X '\101'` in
7006 A
) # ASCII based system
7007 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7008 lt_SP2NL
='tr \040 \012'
7009 lt_NL2SP
='tr \015\012 \040\040'
7011 *) # EBCDIC based system
7012 lt_SP2NL
='tr \100 \n'
7013 lt_NL2SP
='tr \r\n \100\100'
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7026 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7027 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7028 $as_echo_n "(cached) " >&6
7030 lt_cv_ld_reload_flag
='-r'
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7033 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7034 reload_flag
=$lt_cv_ld_reload_flag
7035 case $reload_flag in
7037 *) reload_flag
=" $reload_flag" ;;
7039 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7042 if test "$GCC" = yes; then
7043 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7045 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7058 if test -n "$ac_tool_prefix"; then
7059 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7060 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7064 $as_echo_n "(cached) " >&6
7066 if test -n "$OBJDUMP"; then
7067 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir
=.
7074 for ac_exec_ext
in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 OBJDUMP
=$ac_cv_prog_OBJDUMP
7087 if test -n "$OBJDUMP"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7089 $as_echo "$OBJDUMP" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7097 if test -z "$ac_cv_prog_OBJDUMP"; then
7098 ac_ct_OBJDUMP
=$OBJDUMP
7099 # Extract the first word of "objdump", so it can be a program name with args.
7100 set dummy objdump
; ac_word
=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$ac_ct_OBJDUMP"; then
7107 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir
=.
7114 for ac_exec_ext
in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7127 if test -n "$ac_ct_OBJDUMP"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7129 $as_echo "$ac_ct_OBJDUMP" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7135 if test "x$ac_ct_OBJDUMP" = x
; then
7138 case $cross_compiling:$ac_tool_warned in
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned
=yes ;;
7144 OBJDUMP
=$ac_ct_OBJDUMP
7147 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7150 test -z "$OBJDUMP" && OBJDUMP
=objdump
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7161 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7162 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7163 $as_echo_n "(cached) " >&6
7165 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7166 lt_cv_file_magic_test_file
=
7167 lt_cv_deplibs_check_method
='unknown'
7168 # Need to set the preceding variable on all platforms that support
7169 # interlibrary dependencies.
7170 # 'none' -- dependencies not supported.
7171 # `unknown' -- same as none, but documents that we really don't know.
7172 # 'pass_all' -- all dependencies passed with no checks.
7173 # 'test_compile' -- check by making test program.
7174 # 'file_magic [[regex]]' -- check by looking for files in library path
7175 # which responds to the $file_magic_cmd with a given extended regex.
7176 # If you have `file' or equivalent on your system and you're not sure
7177 # whether `pass_all' will *always* work, you probably want this one.
7181 lt_cv_deplibs_check_method
=pass_all
7185 lt_cv_deplibs_check_method
=pass_all
7189 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7190 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7191 lt_cv_file_magic_test_file
=/shlib
/libc.so
7195 # func_win32_libid is a shell function defined in ltmain.sh
7196 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7197 lt_cv_file_magic_cmd
='func_win32_libid'
7201 # Base MSYS/MinGW do not provide the 'file' command needed by
7202 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7203 # unless we find 'file', for example because we are cross-compiling.
7204 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7205 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7206 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7207 lt_cv_file_magic_cmd
='func_win32_libid'
7209 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7210 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7215 # use the weaker test based on 'objdump'. See mingw*.
7216 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7217 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7220 darwin
* | rhapsody
*)
7221 lt_cv_deplibs_check_method
=pass_all
7224 freebsd
* | dragonfly
*)
7225 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7228 # Not sure whether the presence of OpenBSD here was a mistake.
7229 # Let's accept both of them until this is cleared up.
7230 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7231 lt_cv_file_magic_cmd
=/usr
/bin
/file
7232 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7236 lt_cv_deplibs_check_method
=pass_all
7241 lt_cv_deplibs_check_method
=pass_all
7245 lt_cv_deplibs_check_method
=pass_all
7248 hpux10.20
* | hpux11
*)
7249 lt_cv_file_magic_cmd
=/usr
/bin
/file
7252 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7253 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7256 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]'
7257 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7260 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7261 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7267 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7268 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7271 irix5
* | irix6
* | nonstopux
*)
7273 *-32|
*"-32 ") libmagic
=32-bit;;
7274 *-n32|
*"-n32 ") libmagic
=N32
;;
7275 *-64|
*"-64 ") libmagic
=64-bit;;
7276 *) libmagic
=never-match
;;
7278 lt_cv_deplibs_check_method
=pass_all
7281 # This must be Linux ELF.
7282 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7283 lt_cv_deplibs_check_method
=pass_all
7287 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7288 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7290 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7295 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7296 lt_cv_file_magic_cmd
=/usr
/bin
/file
7297 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7301 lt_cv_deplibs_check_method
=pass_all
7305 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7306 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7308 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7312 osf3
* | osf4
* | osf5
*)
7313 lt_cv_deplibs_check_method
=pass_all
7317 lt_cv_deplibs_check_method
=pass_all
7321 lt_cv_deplibs_check_method
=pass_all
7324 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7325 lt_cv_deplibs_check_method
=pass_all
7329 case $host_vendor in
7331 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]'
7332 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7335 lt_cv_deplibs_check_method
=pass_all
7338 lt_cv_file_magic_cmd
='/bin/file'
7339 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7342 lt_cv_file_magic_cmd
='/bin/file'
7343 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7344 lt_cv_file_magic_test_file
=/lib
/libc.so
7347 lt_cv_deplibs_check_method
=pass_all
7350 lt_cv_deplibs_check_method
=pass_all
7356 lt_cv_deplibs_check_method
=pass_all
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7362 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7363 file_magic_cmd
=$lt_cv_file_magic_cmd
7364 deplibs_check_method
=$lt_cv_deplibs_check_method
7365 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7378 if test -n "$ac_tool_prefix"; then
7379 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7380 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_AR+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7386 if test -n "$AR"; then
7387 ac_cv_prog_AR
="$AR" # Let the user override the test.
7389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7393 test -z "$as_dir" && as_dir
=.
7394 for ac_exec_ext
in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 if test -n "$AR"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7409 $as_echo "$AR" >&6; }
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7417 if test -z "$ac_cv_prog_AR"; then
7419 # Extract the first word of "ar", so it can be a program name with args.
7420 set dummy
ar; ac_word
=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7424 $as_echo_n "(cached) " >&6
7426 if test -n "$ac_ct_AR"; then
7427 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir
=.
7434 for ac_exec_ext
in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_ac_ct_AR
="ar"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7447 if test -n "$ac_ct_AR"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7449 $as_echo "$ac_ct_AR" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7455 if test "x$ac_ct_AR" = x
; then
7458 case $cross_compiling:$ac_tool_warned in
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7462 ac_tool_warned
=yes ;;
7470 test -z "$AR" && AR
=ar
7471 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7483 if test -n "$ac_tool_prefix"; then
7484 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7485 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7487 $as_echo_n "checking for $ac_word... " >&6; }
7488 if test "${ac_cv_prog_STRIP+set}" = set; then :
7489 $as_echo_n "(cached) " >&6
7491 if test -n "$STRIP"; then
7492 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir
=.
7499 for ac_exec_ext
in '' $ac_executable_extensions; do
7500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7501 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 STRIP
=$ac_cv_prog_STRIP
7512 if test -n "$STRIP"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7514 $as_echo "$STRIP" >&6; }
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
7522 if test -z "$ac_cv_prog_STRIP"; then
7524 # Extract the first word of "strip", so it can be a program name with args.
7525 set dummy strip
; ac_word
=$2
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527 $as_echo_n "checking for $ac_word... " >&6; }
7528 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7529 $as_echo_n "(cached) " >&6
7531 if test -n "$ac_ct_STRIP"; then
7532 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7538 test -z "$as_dir" && as_dir
=.
7539 for ac_exec_ext
in '' $ac_executable_extensions; do
7540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7541 ac_cv_prog_ac_ct_STRIP
="strip"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7552 if test -n "$ac_ct_STRIP"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7554 $as_echo "$ac_ct_STRIP" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557 $as_echo "no" >&6; }
7560 if test "x$ac_ct_STRIP" = x
; then
7563 case $cross_compiling:$ac_tool_warned in
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7567 ac_tool_warned
=yes ;;
7572 STRIP
="$ac_cv_prog_STRIP"
7575 test -z "$STRIP" && STRIP
=:
7582 if test -n "$ac_tool_prefix"; then
7583 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7584 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7588 $as_echo_n "(cached) " >&6
7590 if test -n "$RANLIB"; then
7591 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7597 test -z "$as_dir" && as_dir
=.
7598 for ac_exec_ext
in '' $ac_executable_extensions; do
7599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7600 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 RANLIB
=$ac_cv_prog_RANLIB
7611 if test -n "$RANLIB"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7613 $as_echo "$RANLIB" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7621 if test -z "$ac_cv_prog_RANLIB"; then
7622 ac_ct_RANLIB
=$RANLIB
7623 # Extract the first word of "ranlib", so it can be a program name with args.
7624 set dummy ranlib
; ac_word
=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7630 if test -n "$ac_ct_RANLIB"; then
7631 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7637 test -z "$as_dir" && as_dir
=.
7638 for ac_exec_ext
in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7650 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7651 if test -n "$ac_ct_RANLIB"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7653 $as_echo "$ac_ct_RANLIB" >&6; }
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7659 if test "x$ac_ct_RANLIB" = x
; then
7662 case $cross_compiling:$ac_tool_warned in
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned
=yes ;;
7668 RANLIB
=$ac_ct_RANLIB
7671 RANLIB
="$ac_cv_prog_RANLIB"
7674 test -z "$RANLIB" && RANLIB
=:
7681 # Determine commands to create old-style static archives.
7682 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7683 old_postinstall_cmds
='chmod 644 $oldlib'
7684 old_postuninstall_cmds
=
7686 if test -n "$RANLIB"; then
7689 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7692 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7695 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7700 lock_old_archive_extraction
=yes ;;
7702 lock_old_archive_extraction
=no
;;
7743 # If no C compiler was specified, use CC.
7746 # If no C compiler flags were specified, use CFLAGS.
7747 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7749 # Allow CC to be a program name with arguments.
7753 # Check for command to grab the raw symbol name followed by C symbol from nm.
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7755 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7756 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7760 # These are sane defaults that work on at least a few old systems.
7761 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7763 # Character class describing NM global symbol codes.
7764 symcode
='[BCDEGRST]'
7766 # Regexp to match symbols that can be accessed directly from C.
7767 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7769 # Define system-specific variables.
7774 cygwin
* | mingw
* | pw32
* | cegcc
*)
7775 symcode
='[ABCDGISTW]'
7778 if test "$host_cpu" = ia64
; then
7779 symcode
='[ABCDEGRST]'
7783 symcode
='[BCDEGRST]'
7786 symcode
='[BCDEGQRST]'
7797 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7805 # If we're using GNU nm, then use its standard symbol codes.
7806 case `$NM -V 2>&1` in
7807 *GNU
* |
*'with BFD'*)
7808 symcode
='[ABCDGIRSTW]' ;;
7811 # Transform an extracted symbol line into a proper C declaration.
7812 # Some systems (esp. on ia64) link data and code symbols differently,
7813 # so use this general approach.
7814 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7816 # Transform an extracted symbol line into symbol name and symbol address
7817 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7818 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'"
7820 # Handle CRLF in mingw tool chain
7824 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7828 # Try without a prefix underscore, then with it.
7829 for ac_symprfx
in "" "_"; do
7831 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7832 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7834 # Write the raw and C identifiers.
7835 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7836 # Fake it for dumpbin and say T for any non-static function
7837 # and D for any global variable.
7838 # Also find C++ and __fastcall symbols from MSVC++,
7839 # which start with @ or ?.
7840 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7841 " {last_section=section; section=\$ 3};"\
7842 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7843 " \$ 0!~/External *\|/{next};"\
7844 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7845 " {if(hide[section]) next};"\
7846 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7847 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7848 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7849 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7850 " ' prfx=^$ac_symprfx"
7852 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7855 # Check to see that the pipe works correctly.
7859 cat > conftest.
$ac_ext <<_LT_EOF
7864 void nm_test_func(void);
7865 void nm_test_func(void){}
7869 int main(){nm_test_var='a';nm_test_func();return(0);}
7872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7873 (eval $ac_compile) 2>&5
7875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7876 test $ac_status = 0; }; then
7877 # Now try to grab the symbols.
7879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7880 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7883 test $ac_status = 0; } && test -s "$nlist"; then
7884 # Try sorting and uniquifying the output.
7885 if sort "$nlist" |
uniq > "$nlist"T
; then
7886 mv -f "$nlist"T
"$nlist"
7891 # Make sure that we snagged all the symbols we need.
7892 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7893 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7894 cat <<_LT_EOF > conftest.$ac_ext
7900 # Now generate the symbol file.
7901 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7903 cat <<_LT_EOF >> conftest.$ac_ext
7905 /* The mapping between symbol names and symbols. */
7910 lt__PROGRAM__LTX_preloaded_symbols[] =
7912 { "@PROGRAM@", (void *) 0 },
7914 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7915 cat <<\_LT_EOF
>> conftest.
$ac_ext
7919 /* This works around a problem
in FreeBSD linker
*/
7920 #ifdef FREEBSD_WORKAROUND
7921 static const void
*lt_preloaded_setup
() {
7922 return lt__PROGRAM__LTX_preloaded_symbols
;
7930 # Now try linking the two files.
7931 mv conftest.
$ac_objext conftstm.
$ac_objext
7932 lt_save_LIBS
="$LIBS"
7933 lt_save_CFLAGS
="$CFLAGS"
7934 LIBS
="conftstm.$ac_objext"
7935 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7937 (eval $ac_link) 2>&5
7939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7940 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7943 LIBS
="$lt_save_LIBS"
7944 CFLAGS
="$lt_save_CFLAGS"
7946 echo "cannot find nm_test_func in $nlist" >&5
7949 echo "cannot find nm_test_var in $nlist" >&5
7952 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7955 echo "$progname: failed program was:" >&5
7956 cat conftest.
$ac_ext >&5
7958 rm -rf conftest
* conftst
*
7960 # Do not use the global_symbol_pipe unless it works.
7961 if test "$pipe_works" = yes; then
7964 lt_cv_sys_global_symbol_pipe
=
7970 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7971 lt_cv_sys_global_symbol_to_cdecl
=
7973 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7975 $as_echo "failed" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7978 $as_echo "ok" >&6; }
8002 # Check whether --enable-libtool-lock was given.
8003 if test "${enable_libtool_lock+set}" = set; then :
8004 enableval
=$enable_libtool_lock;
8007 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8009 # Some flags need to be propagated to the compiler or linker for good
8013 # Find out which ABI we are using.
8014 echo 'int i;' > conftest.
$ac_ext
8015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8016 (eval $ac_compile) 2>&5
8018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8019 test $ac_status = 0; }; then
8020 case `/usr/bin/file conftest.$ac_objext` in
8032 # Find out which ABI we are using.
8033 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8035 (eval $ac_compile) 2>&5
8037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8038 test $ac_status = 0; }; then
8039 if test "$lt_cv_prog_gnu_ld" = yes; then
8040 case `/usr/bin/file conftest.$ac_objext` in
8042 LD
="${LD-ld} -melf32bsmip"
8045 LD
="${LD-ld} -melf32bmipn32"
8048 LD
="${LD-ld} -melf64bmip"
8052 case `/usr/bin/file conftest.$ac_objext` in
8068 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8069 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8070 # Find out which ABI we are using.
8071 echo 'int i;' > conftest.
$ac_ext
8072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8073 (eval $ac_compile) 2>&5
8075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8076 test $ac_status = 0; }; then
8077 case `/usr/bin/file conftest.o` in
8080 x86_64-
*kfreebsd
*-gnu)
8081 LD
="${LD-ld} -m elf_i386_fbsd"
8084 case `/usr/bin/file conftest.o` in
8086 LD
="${LD-ld} -m elf32_x86_64"
8089 LD
="${LD-ld} -m elf_i386"
8093 powerpc64le-
*linux
*)
8094 LD
="${LD-ld} -m elf32lppclinux"
8097 LD
="${LD-ld} -m elf32ppclinux"
8100 LD
="${LD-ld} -m elf_s390"
8103 LD
="${LD-ld} -m elf32_sparc"
8109 x86_64-
*kfreebsd
*-gnu)
8110 LD
="${LD-ld} -m elf_x86_64_fbsd"
8113 LD
="${LD-ld} -m elf_x86_64"
8116 LD
="${LD-ld} -m elf64lppc"
8119 LD
="${LD-ld} -m elf64ppc"
8121 s390
*-*linux
*|s390
*-*tpf
*)
8122 LD
="${LD-ld} -m elf64_s390"
8125 LD
="${LD-ld} -m elf64_sparc"
8135 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8136 SAVE_CFLAGS
="$CFLAGS"
8137 CFLAGS
="$CFLAGS -belf"
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8139 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8140 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8141 $as_echo_n "(cached) " >&6
8144 ac_cpp
='$CPP $CPPFLAGS'
8145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8149 if test x
$gcc_no_link = xyes
; then
8150 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h. */
8163 if ac_fn_c_try_link
"$LINENO"; then :
8164 lt_cv_cc_needs_belf
=yes
8166 lt_cv_cc_needs_belf
=no
8168 rm -f core conftest.err conftest.
$ac_objext \
8169 conftest
$ac_exeext conftest.
$ac_ext
8171 ac_cpp
='$CPP $CPPFLAGS'
8172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8178 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8179 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8180 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8181 CFLAGS
="$SAVE_CFLAGS"
8185 # Find out which ABI we are using.
8186 echo 'int i;' > conftest.
$ac_ext
8187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8188 (eval $ac_compile) 2>&5
8190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8191 test $ac_status = 0; }; then
8192 case `/usr/bin/file conftest.o` in
8194 case $lt_cv_prog_gnu_ld in
8195 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8197 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8209 need_locks
="$enable_libtool_lock"
8213 rhapsody
* | darwin
*)
8214 if test -n "$ac_tool_prefix"; then
8215 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8216 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8218 $as_echo_n "checking for $ac_word... " >&6; }
8219 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8220 $as_echo_n "(cached) " >&6
8222 if test -n "$DSYMUTIL"; then
8223 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir
=.
8230 for ac_exec_ext
in '' $ac_executable_extensions; do
8231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8232 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8242 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8243 if test -n "$DSYMUTIL"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8245 $as_echo "$DSYMUTIL" >&6; }
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8248 $as_echo "no" >&6; }
8253 if test -z "$ac_cv_prog_DSYMUTIL"; then
8254 ac_ct_DSYMUTIL
=$DSYMUTIL
8255 # Extract the first word of "dsymutil", so it can be a program name with args.
8256 set dummy dsymutil
; ac_word
=$2
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8258 $as_echo_n "checking for $ac_word... " >&6; }
8259 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8260 $as_echo_n "(cached) " >&6
8262 if test -n "$ac_ct_DSYMUTIL"; then
8263 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8269 test -z "$as_dir" && as_dir
=.
8270 for ac_exec_ext
in '' $ac_executable_extensions; do
8271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8272 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8282 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8283 if test -n "$ac_ct_DSYMUTIL"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8285 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8288 $as_echo "no" >&6; }
8291 if test "x$ac_ct_DSYMUTIL" = x
; then
8294 case $cross_compiling:$ac_tool_warned in
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8298 ac_tool_warned
=yes ;;
8300 DSYMUTIL
=$ac_ct_DSYMUTIL
8303 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8306 if test -n "$ac_tool_prefix"; then
8307 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8308 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8310 $as_echo_n "checking for $ac_word... " >&6; }
8311 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8312 $as_echo_n "(cached) " >&6
8314 if test -n "$NMEDIT"; then
8315 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8321 test -z "$as_dir" && as_dir
=.
8322 for ac_exec_ext
in '' $ac_executable_extensions; do
8323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8324 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8334 NMEDIT
=$ac_cv_prog_NMEDIT
8335 if test -n "$NMEDIT"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8337 $as_echo "$NMEDIT" >&6; }
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8345 if test -z "$ac_cv_prog_NMEDIT"; then
8346 ac_ct_NMEDIT
=$NMEDIT
8347 # Extract the first word of "nmedit", so it can be a program name with args.
8348 set dummy nmedit
; ac_word
=$2
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8350 $as_echo_n "checking for $ac_word... " >&6; }
8351 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8354 if test -n "$ac_ct_NMEDIT"; then
8355 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8361 test -z "$as_dir" && as_dir
=.
8362 for ac_exec_ext
in '' $ac_executable_extensions; do
8363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8364 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8374 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8375 if test -n "$ac_ct_NMEDIT"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8377 $as_echo "$ac_ct_NMEDIT" >&6; }
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8380 $as_echo "no" >&6; }
8383 if test "x$ac_ct_NMEDIT" = x
; then
8386 case $cross_compiling:$ac_tool_warned in
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8390 ac_tool_warned
=yes ;;
8392 NMEDIT
=$ac_ct_NMEDIT
8395 NMEDIT
="$ac_cv_prog_NMEDIT"
8398 if test -n "$ac_tool_prefix"; then
8399 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8400 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8402 $as_echo_n "checking for $ac_word... " >&6; }
8403 if test "${ac_cv_prog_LIPO+set}" = set; then :
8404 $as_echo_n "(cached) " >&6
8406 if test -n "$LIPO"; then
8407 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8413 test -z "$as_dir" && as_dir
=.
8414 for ac_exec_ext
in '' $ac_executable_extensions; do
8415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8416 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8426 LIPO
=$ac_cv_prog_LIPO
8427 if test -n "$LIPO"; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8429 $as_echo "$LIPO" >&6; }
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8432 $as_echo "no" >&6; }
8437 if test -z "$ac_cv_prog_LIPO"; then
8439 # Extract the first word of "lipo", so it can be a program name with args.
8440 set dummy lipo
; ac_word
=$2
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8442 $as_echo_n "checking for $ac_word... " >&6; }
8443 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8444 $as_echo_n "(cached) " >&6
8446 if test -n "$ac_ct_LIPO"; then
8447 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8453 test -z "$as_dir" && as_dir
=.
8454 for ac_exec_ext
in '' $ac_executable_extensions; do
8455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8456 ac_cv_prog_ac_ct_LIPO
="lipo"
8457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8466 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8467 if test -n "$ac_ct_LIPO"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8469 $as_echo "$ac_ct_LIPO" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8475 if test "x$ac_ct_LIPO" = x
; then
8478 case $cross_compiling:$ac_tool_warned in
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8482 ac_tool_warned
=yes ;;
8487 LIPO
="$ac_cv_prog_LIPO"
8490 if test -n "$ac_tool_prefix"; then
8491 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8492 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8494 $as_echo_n "checking for $ac_word... " >&6; }
8495 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8496 $as_echo_n "(cached) " >&6
8498 if test -n "$OTOOL"; then
8499 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8505 test -z "$as_dir" && as_dir
=.
8506 for ac_exec_ext
in '' $ac_executable_extensions; do
8507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8508 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8518 OTOOL
=$ac_cv_prog_OTOOL
8519 if test -n "$OTOOL"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8521 $as_echo "$OTOOL" >&6; }
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8529 if test -z "$ac_cv_prog_OTOOL"; then
8531 # Extract the first word of "otool", so it can be a program name with args.
8532 set dummy otool
; ac_word
=$2
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8534 $as_echo_n "checking for $ac_word... " >&6; }
8535 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8536 $as_echo_n "(cached) " >&6
8538 if test -n "$ac_ct_OTOOL"; then
8539 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8545 test -z "$as_dir" && as_dir
=.
8546 for ac_exec_ext
in '' $ac_executable_extensions; do
8547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8548 ac_cv_prog_ac_ct_OTOOL
="otool"
8549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8558 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8559 if test -n "$ac_ct_OTOOL"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8561 $as_echo "$ac_ct_OTOOL" >&6; }
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8567 if test "x$ac_ct_OTOOL" = x
; then
8570 case $cross_compiling:$ac_tool_warned in
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8574 ac_tool_warned
=yes ;;
8579 OTOOL
="$ac_cv_prog_OTOOL"
8582 if test -n "$ac_tool_prefix"; then
8583 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8584 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8586 $as_echo_n "checking for $ac_word... " >&6; }
8587 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8588 $as_echo_n "(cached) " >&6
8590 if test -n "$OTOOL64"; then
8591 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8597 test -z "$as_dir" && as_dir
=.
8598 for ac_exec_ext
in '' $ac_executable_extensions; do
8599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8600 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8610 OTOOL64
=$ac_cv_prog_OTOOL64
8611 if test -n "$OTOOL64"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8613 $as_echo "$OTOOL64" >&6; }
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8616 $as_echo "no" >&6; }
8621 if test -z "$ac_cv_prog_OTOOL64"; then
8622 ac_ct_OTOOL64
=$OTOOL64
8623 # Extract the first word of "otool64", so it can be a program name with args.
8624 set dummy otool64
; ac_word
=$2
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8626 $as_echo_n "checking for $ac_word... " >&6; }
8627 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8628 $as_echo_n "(cached) " >&6
8630 if test -n "$ac_ct_OTOOL64"; then
8631 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8637 test -z "$as_dir" && as_dir
=.
8638 for ac_exec_ext
in '' $ac_executable_extensions; do
8639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8640 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8650 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8651 if test -n "$ac_ct_OTOOL64"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8653 $as_echo "$ac_ct_OTOOL64" >&6; }
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8656 $as_echo "no" >&6; }
8659 if test "x$ac_ct_OTOOL64" = x
; then
8662 case $cross_compiling:$ac_tool_warned in
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8666 ac_tool_warned
=yes ;;
8668 OTOOL64
=$ac_ct_OTOOL64
8671 OTOOL64
="$ac_cv_prog_OTOOL64"
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8701 $as_echo_n "checking for -single_module linker flag... " >&6; }
8702 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8703 $as_echo_n "(cached) " >&6
8705 lt_cv_apple_cc_single_mod
=no
8706 if test -z "${LT_MULTI_MODULE}"; then
8707 # By default we will add the -single_module flag. You can override
8708 # by either setting the environment variable LT_MULTI_MODULE
8709 # non-empty at configure time, or by adding -multi_module to the
8711 rm -rf libconftest.dylib
*
8712 echo "int foo(void){return 1;}" > conftest.c
8713 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8714 -dynamiclib -Wl,-single_module conftest.c" >&5
8715 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8716 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8718 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8719 lt_cv_apple_cc_single_mod
=yes
8721 cat conftest.err
>&5
8723 rm -rf libconftest.dylib
*
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8728 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8730 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8731 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8732 $as_echo_n "(cached) " >&6
8734 lt_cv_ld_exported_symbols_list
=no
8735 save_LDFLAGS
=$LDFLAGS
8736 echo "_main" > conftest.sym
8737 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8738 if test x
$gcc_no_link = xyes
; then
8739 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8752 if ac_fn_c_try_link
"$LINENO"; then :
8753 lt_cv_ld_exported_symbols_list
=yes
8755 lt_cv_ld_exported_symbols_list
=no
8757 rm -f core conftest.err conftest.
$ac_objext \
8758 conftest
$ac_exeext conftest.
$ac_ext
8759 LDFLAGS
="$save_LDFLAGS"
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8763 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8765 $as_echo_n "checking for -force_load linker flag... " >&6; }
8766 if test "${lt_cv_ld_force_load+set}" = set; then :
8767 $as_echo_n "(cached) " >&6
8769 lt_cv_ld_force_load
=no
8770 cat > conftest.c
<< _LT_EOF
8771 int forced_loaded() { return 2;}
8773 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8774 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8775 echo "$AR cru libconftest.a conftest.o" >&5
8776 $AR cru libconftest.a conftest.o
2>&5
8777 cat > conftest.c
<< _LT_EOF
8778 int main() { return 0;}
8780 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8781 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8783 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8784 lt_cv_ld_force_load
=yes
8786 cat conftest.err
>&5
8788 rm -f conftest.err libconftest.a conftest conftest.c
8789 rm -rf conftest.dSYM
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8793 $as_echo "$lt_cv_ld_force_load" >&6; }
8795 rhapsody
* | darwin1.
[012])
8796 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8798 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8799 darwin
*) # darwin 5.x on
8800 # if running on 10.5 or later, the deployment target defaults
8801 # to the OS version, if on x86, and 10.4, the deployment
8802 # target defaults to 10.4. Don't you love it?
8803 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8804 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8805 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8807 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8809 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8813 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8814 _lt_dar_single_mod
='$single_module'
8816 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8817 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8819 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8821 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8822 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8829 for ac_header
in dlfcn.h
8831 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8833 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8834 cat >>confdefs.h
<<_ACEOF
8835 #define HAVE_DLFCN_H 1
8854 # Check whether --enable-shared was given.
8855 if test "${enable_shared+set}" = set; then :
8856 enableval
=$enable_shared; p
=${PACKAGE-default}
8858 yes) enable_shared
=yes ;;
8859 no
) enable_shared
=no
;;
8862 # Look at the argument we got. We use all the common list separators.
8863 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8864 for pkg
in $enableval; do
8866 if test "X$pkg" = "X$p"; then
8885 # Check whether --enable-static was given.
8886 if test "${enable_static+set}" = set; then :
8887 enableval
=$enable_static; p
=${PACKAGE-default}
8889 yes) enable_static
=yes ;;
8890 no
) enable_static
=no
;;
8893 # Look at the argument we got. We use all the common list separators.
8894 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8895 for pkg
in $enableval; do
8897 if test "X$pkg" = "X$p"; then
8917 # Check whether --with-pic was given.
8918 if test "${with_pic+set}" = set; then :
8919 withval
=$with_pic; pic_mode
="$withval"
8925 test -z "$pic_mode" && pic_mode
=default
8933 # Check whether --enable-fast-install was given.
8934 if test "${enable_fast_install+set}" = set; then :
8935 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8937 yes) enable_fast_install
=yes ;;
8938 no
) enable_fast_install
=no
;;
8940 enable_fast_install
=no
8941 # Look at the argument we got. We use all the common list separators.
8942 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8943 for pkg
in $enableval; do
8945 if test "X$pkg" = "X$p"; then
8946 enable_fast_install
=yes
8953 enable_fast_install
=yes
8966 # This can be used to rebuild libtool when needed
8967 LIBTOOL_DEPS
="$ltmain"
8969 # Always use our own libtool.
8970 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8997 test -z "$LN_S" && LN_S
="ln -s"
9012 if test -n "${ZSH_VERSION+set}" ; then
9013 setopt NO_GLOB_SUBST
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9017 $as_echo_n "checking for objdir... " >&6; }
9018 if test "${lt_cv_objdir+set}" = set; then :
9019 $as_echo_n "(cached) " >&6
9021 rm -f .libs
2>/dev
/null
9022 mkdir .libs
2>/dev
/null
9023 if test -d .libs
; then
9026 # MS-DOS does not allow filenames that begin with a dot.
9029 rmdir .libs
2>/dev
/null
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9032 $as_echo "$lt_cv_objdir" >&6; }
9033 objdir
=$lt_cv_objdir
9039 cat >>confdefs.h
<<_ACEOF
9040 #define LT_OBJDIR "$lt_cv_objdir/"
9048 # AIX sometimes has problems with the GCC collect2 program. For some
9049 # reason, if we set the COLLECT_NAMES environment variable, the problems
9050 # vanish in a puff of smoke.
9051 if test "X${COLLECT_NAMES+set}" != Xset
; then
9053 export COLLECT_NAMES
9060 can_build_shared
=yes
9062 # All known linkers require a `.a' archive for static linking (except MSVC,
9063 # which needs '.lib').
9066 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9069 old_CFLAGS
="$CFLAGS"
9071 # Set sane defaults for various variables
9072 test -z "$CC" && CC
=cc
9073 test -z "$LTCC" && LTCC
=$CC
9074 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9075 test -z "$LD" && LD
=ld
9076 test -z "$ac_objext" && ac_objext
=o
9078 for cc_temp
in $compiler""; do
9080 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9081 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9086 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9089 # Only perform the check for file, if the check method requires it
9090 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9091 case $deplibs_check_method in
9093 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9095 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9096 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9097 $as_echo_n "(cached) " >&6
9101 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9104 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9105 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9106 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9107 for ac_dir
in $ac_dummy; do
9109 test -z "$ac_dir" && ac_dir
=.
9110 if test -f $ac_dir/${ac_tool_prefix}file; then
9111 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9112 if test -n "$file_magic_test_file"; then
9113 case $deplibs_check_method in
9115 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9116 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9117 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9118 $EGREP "$file_magic_regex" > /dev
/null
; then
9123 *** Warning: the command libtool uses to detect shared libraries,
9124 *** $file_magic_cmd, produces output that libtool cannot recognize.
9125 *** The result is that libtool may fail to recognize shared libraries
9126 *** as such. This will affect the creation of libtool libraries that
9127 *** depend on shared libraries, but programs linked with such libtool
9128 *** libraries will work regardless of this problem. Nevertheless, you
9129 *** may want to report the problem to your system manager and/or to
9130 *** bug-libtool@gnu.org
9140 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9145 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9146 if test -n "$MAGIC_CMD"; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9148 $as_echo "$MAGIC_CMD" >&6; }
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9151 $as_echo "no" >&6; }
9158 if test -z "$lt_cv_path_MAGIC_CMD"; then
9159 if test -n "$ac_tool_prefix"; then
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9161 $as_echo_n "checking for file... " >&6; }
9162 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9163 $as_echo_n "(cached) " >&6
9167 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9170 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9171 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9172 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9173 for ac_dir
in $ac_dummy; do
9175 test -z "$ac_dir" && ac_dir
=.
9176 if test -f $ac_dir/file; then
9177 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9178 if test -n "$file_magic_test_file"; then
9179 case $deplibs_check_method in
9181 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9182 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9183 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9184 $EGREP "$file_magic_regex" > /dev
/null
; then
9189 *** Warning: the command libtool uses to detect shared libraries,
9190 *** $file_magic_cmd, produces output that libtool cannot recognize.
9191 *** The result is that libtool may fail to recognize shared libraries
9192 *** as such. This will affect the creation of libtool libraries that
9193 *** depend on shared libraries, but programs linked with such libtool
9194 *** libraries will work regardless of this problem. Nevertheless, you
9195 *** may want to report the problem to your system manager and/or to
9196 *** bug-libtool@gnu.org
9206 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9211 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9212 if test -n "$MAGIC_CMD"; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9214 $as_echo "$MAGIC_CMD" >&6; }
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9217 $as_echo "no" >&6; }
9230 # Use C for the default configuration in the libtool script
9234 ac_cpp
='$CPP $CPPFLAGS'
9235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9240 # Source file extension for C test sources.
9243 # Object file extension for compiled C test sources.
9247 # Code to be used in simple compile tests
9248 lt_simple_compile_test_code
="int some_variable = 0;"
9250 # Code to be used in simple link tests
9251 lt_simple_link_test_code
='int main(){return(0);}'
9259 # If no C compiler was specified, use CC.
9262 # If no C compiler flags were specified, use CFLAGS.
9263 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9265 # Allow CC to be a program name with arguments.
9268 # Save the default compiler, since it gets overwritten when the other
9269 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9270 compiler_DEFAULT
=$CC
9272 # save warnings/boilerplate of simple test code
9273 ac_outfile
=conftest.
$ac_objext
9274 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9275 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9276 _lt_compiler_boilerplate
=`cat conftest.err`
9279 ac_outfile
=conftest.
$ac_objext
9280 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9281 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9282 _lt_linker_boilerplate
=`cat conftest.err`
9287 ## There is no encapsulation within the following macros, do not change
9288 ## the running order or otherwise move them around unless you know exactly
9289 ## what you are doing...
9290 if test -n "$compiler"; then
9292 lt_prog_compiler_no_builtin_flag
=
9294 if test "$GCC" = yes; then
9295 case $cc_basename in
9297 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9299 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9303 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9304 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9305 $as_echo_n "(cached) " >&6
9307 lt_cv_prog_compiler_rtti_exceptions
=no
9308 ac_outfile
=conftest.
$ac_objext
9309 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9310 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9311 # Insert the option either (1) after the last *FLAGS variable, or
9312 # (2) before a word containing "conftest.", or (3) at the end.
9313 # Note that $ac_compile itself does not contain backslashes and begins
9314 # with a dollar sign (not a hyphen), so the echo should work correctly.
9315 # The option is referenced via a variable to avoid confusing sed.
9316 lt_compile
=`echo "$ac_compile" | $SED \
9317 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9318 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9319 -e 's:$: $lt_compiler_flag:'`
9320 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9321 (eval "$lt_compile" 2>conftest.err
)
9323 cat conftest.err
>&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 if (exit $ac_status) && test -s "$ac_outfile"; then
9326 # The compiler can only warn and ignore the option if not recognized
9327 # So say no if there are warnings other than the usual output.
9328 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9329 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9330 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9331 lt_cv_prog_compiler_rtti_exceptions
=yes
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9338 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9340 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9341 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9353 lt_prog_compiler_wl
=
9354 lt_prog_compiler_pic
=
9355 lt_prog_compiler_static
=
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9358 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9360 if test "$GCC" = yes; then
9361 lt_prog_compiler_wl
='-Wl,'
9362 lt_prog_compiler_static
='-static'
9366 # All AIX code is PIC.
9367 if test "$host_cpu" = ia64
; then
9368 # AIX 5 now supports IA64 processor
9369 lt_prog_compiler_static
='-Bstatic'
9371 lt_prog_compiler_pic
='-fPIC'
9377 # see comment about AmigaOS4 .so support
9378 lt_prog_compiler_pic
='-fPIC'
9381 # FIXME: we need at least 68020 code to build shared libraries, but
9382 # adding the `-m68020' flag to GCC prevents building anything better,
9384 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9389 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9390 # PIC is the default for these OSes.
9393 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9394 # This hack is so that the source file can tell whether it is being
9395 # built for inclusion in a dll (and should export symbols for example).
9396 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9397 # (--disable-auto-import) libraries
9398 lt_prog_compiler_pic
='-DDLL_EXPORT'
9401 darwin
* | rhapsody
*)
9402 # PIC is the default on this platform
9403 # Common symbols not allowed in MH_DYLIB files
9404 lt_prog_compiler_pic
='-fno-common'
9408 # PIC is the default for Haiku.
9409 # The "-static" flag exists, but is broken.
9410 lt_prog_compiler_static
=
9414 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9415 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9416 # sets the default TLS model and affects inlining.
9422 lt_prog_compiler_pic
='-fPIC'
9428 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9429 # Instead, we relocate shared libraries at runtime.
9433 # Just because we use GCC doesn't mean we suddenly get shared libraries
9434 # on systems that don't support them.
9435 lt_prog_compiler_can_build_shared
=no
9440 # QNX uses GNU C++, but need to define -shared option too, otherwise
9442 lt_prog_compiler_pic
='-fPIC -shared'
9446 if test -d /usr
/nec
; then
9447 lt_prog_compiler_pic
=-Kconform_pic
9452 lt_prog_compiler_pic
='-fPIC'
9456 case $cc_basename in
9457 nvcc
*) # Cuda Compiler Driver 2.2
9458 lt_prog_compiler_wl
='-Xlinker '
9459 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9463 # PORTME Check for flag to pass linker flags through the system compiler.
9466 lt_prog_compiler_wl
='-Wl,'
9467 if test "$host_cpu" = ia64
; then
9468 # AIX 5 now supports IA64 processor
9469 lt_prog_compiler_static
='-Bstatic'
9471 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9475 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9476 # This hack is so that the source file can tell whether it is being
9477 # built for inclusion in a dll (and should export symbols for example).
9478 lt_prog_compiler_pic
='-DDLL_EXPORT'
9481 hpux9
* | hpux10
* | hpux11
*)
9482 lt_prog_compiler_wl
='-Wl,'
9483 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9490 lt_prog_compiler_pic
='+Z'
9493 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9494 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9497 irix5
* | irix6
* | nonstopux
*)
9498 lt_prog_compiler_wl
='-Wl,'
9499 # PIC (with -KPIC) is the default.
9500 lt_prog_compiler_static
='-non_shared'
9503 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9504 case $cc_basename in
9505 # old Intel for x86_64 which still supported -KPIC.
9507 lt_prog_compiler_wl
='-Wl,'
9508 lt_prog_compiler_pic
='-KPIC'
9509 lt_prog_compiler_static
='-static'
9511 # icc used to be incompatible with GCC.
9512 # ICC 10 doesn't accept -KPIC any more.
9514 lt_prog_compiler_wl
='-Wl,'
9515 lt_prog_compiler_pic
='-fPIC'
9516 lt_prog_compiler_static
='-static'
9518 # Lahey Fortran 8.1.
9520 lt_prog_compiler_wl
='-Wl,'
9521 lt_prog_compiler_pic
='--shared'
9522 lt_prog_compiler_static
='--static'
9524 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9525 # Portland Group compilers (*not* the Pentium gcc compiler,
9526 # which looks to be a dead project)
9527 lt_prog_compiler_wl
='-Wl,'
9528 lt_prog_compiler_pic
='-fpic'
9529 lt_prog_compiler_static
='-Bstatic'
9532 lt_prog_compiler_wl
='-Wl,'
9533 # All Alpha code is PIC.
9534 lt_prog_compiler_static
='-non_shared'
9536 xl
* | bgxl
* | bgf
* | mpixl
*)
9537 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9538 lt_prog_compiler_wl
='-Wl,'
9539 lt_prog_compiler_pic
='-qpic'
9540 lt_prog_compiler_static
='-qstaticlink'
9543 case `$CC -V 2>&1 | sed 5q` in
9544 *Sun\ F
* |
*Sun
*Fortran
*)
9545 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9546 lt_prog_compiler_pic
='-KPIC'
9547 lt_prog_compiler_static
='-Bstatic'
9548 lt_prog_compiler_wl
=''
9552 lt_prog_compiler_pic
='-KPIC'
9553 lt_prog_compiler_static
='-Bstatic'
9554 lt_prog_compiler_wl
='-Wl,'
9562 lt_prog_compiler_pic
='-KPIC'
9563 lt_prog_compiler_static
='-Bstatic'
9567 # QNX uses GNU C++, but need to define -shared option too, otherwise
9569 lt_prog_compiler_pic
='-fPIC -shared'
9572 osf3
* | osf4
* | osf5
*)
9573 lt_prog_compiler_wl
='-Wl,'
9574 # All OSF/1 code is PIC.
9575 lt_prog_compiler_static
='-non_shared'
9579 lt_prog_compiler_static
='-non_shared'
9583 lt_prog_compiler_pic
='-KPIC'
9584 lt_prog_compiler_static
='-Bstatic'
9585 case $cc_basename in
9587 lt_prog_compiler_wl
='-Qoption ld ';;
9589 lt_prog_compiler_wl
='-Wl,';;
9594 lt_prog_compiler_wl
='-Qoption ld '
9595 lt_prog_compiler_pic
='-PIC'
9596 lt_prog_compiler_static
='-Bstatic'
9599 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9600 lt_prog_compiler_wl
='-Wl,'
9601 lt_prog_compiler_pic
='-KPIC'
9602 lt_prog_compiler_static
='-Bstatic'
9606 if test -d /usr
/nec
;then
9607 lt_prog_compiler_pic
='-Kconform_pic'
9608 lt_prog_compiler_static
='-Bstatic'
9612 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9613 lt_prog_compiler_wl
='-Wl,'
9614 lt_prog_compiler_pic
='-KPIC'
9615 lt_prog_compiler_static
='-Bstatic'
9619 lt_prog_compiler_wl
='-Wl,'
9620 lt_prog_compiler_can_build_shared
=no
9624 lt_prog_compiler_pic
='-pic'
9625 lt_prog_compiler_static
='-Bstatic'
9629 lt_prog_compiler_can_build_shared
=no
9635 # For platforms which do not support PIC, -DPIC is meaningless:
9637 lt_prog_compiler_pic
=
9640 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9644 $as_echo "$lt_prog_compiler_pic" >&6; }
9652 # Check to make sure the PIC flag actually works.
9654 if test -n "$lt_prog_compiler_pic"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9656 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9657 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9658 $as_echo_n "(cached) " >&6
9660 lt_cv_prog_compiler_pic_works
=no
9661 ac_outfile
=conftest.
$ac_objext
9662 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9663 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9664 # Insert the option either (1) after the last *FLAGS variable, or
9665 # (2) before a word containing "conftest.", or (3) at the end.
9666 # Note that $ac_compile itself does not contain backslashes and begins
9667 # with a dollar sign (not a hyphen), so the echo should work correctly.
9668 # The option is referenced via a variable to avoid confusing sed.
9669 lt_compile
=`echo "$ac_compile" | $SED \
9670 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9672 -e 's:$: $lt_compiler_flag:'`
9673 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9674 (eval "$lt_compile" 2>conftest.err
)
9676 cat conftest.err
>&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 if (exit $ac_status) && test -s "$ac_outfile"; then
9679 # The compiler can only warn and ignore the option if not recognized
9680 # So say no if there are warnings other than the usual output.
9681 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9682 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9683 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9684 lt_cv_prog_compiler_pic_works
=yes
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9691 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9693 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9694 case $lt_prog_compiler_pic in
9696 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9699 lt_prog_compiler_pic
=
9700 lt_prog_compiler_can_build_shared
=no
9711 # Check to make sure the static flag actually works.
9713 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9715 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9716 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9717 $as_echo_n "(cached) " >&6
9719 lt_cv_prog_compiler_static_works
=no
9720 save_LDFLAGS
="$LDFLAGS"
9721 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9722 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9723 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9724 # The linker can only warn and ignore the option if not recognized
9725 # So say no if there are warnings
9726 if test -s conftest.err
; then
9727 # Append any errors to the config.log.
9728 cat conftest.err
1>&5
9729 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9730 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9731 if diff conftest.exp conftest.er2
>/dev
/null
; then
9732 lt_cv_prog_compiler_static_works
=yes
9735 lt_cv_prog_compiler_static_works
=yes
9739 LDFLAGS
="$save_LDFLAGS"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9743 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9745 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9748 lt_prog_compiler_static
=
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9759 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9760 $as_echo_n "(cached) " >&6
9762 lt_cv_prog_compiler_c_o
=no
9763 $RM -r conftest
2>/dev
/null
9767 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9769 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9770 # Insert the option either (1) after the last *FLAGS variable, or
9771 # (2) before a word containing "conftest.", or (3) at the end.
9772 # Note that $ac_compile itself does not contain backslashes and begins
9773 # with a dollar sign (not a hyphen), so the echo should work correctly.
9774 lt_compile
=`echo "$ac_compile" | $SED \
9775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9777 -e 's:$: $lt_compiler_flag:'`
9778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9779 (eval "$lt_compile" 2>out
/conftest.err
)
9781 cat out
/conftest.err
>&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9785 # The compiler can only warn and ignore the option if not recognized
9786 # So say no if there are warnings
9787 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9788 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9789 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9790 lt_cv_prog_compiler_c_o
=yes
9795 # SGI C++ compiler will create directory out/ii_files/ for
9796 # template instantiation
9797 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9798 $RM out
/* && rmdir out
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9805 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9814 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9815 $as_echo_n "(cached) " >&6
9817 lt_cv_prog_compiler_c_o
=no
9818 $RM -r conftest
2>/dev
/null
9822 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9824 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9825 # Insert the option either (1) after the last *FLAGS variable, or
9826 # (2) before a word containing "conftest.", or (3) at the end.
9827 # Note that $ac_compile itself does not contain backslashes and begins
9828 # with a dollar sign (not a hyphen), so the echo should work correctly.
9829 lt_compile
=`echo "$ac_compile" | $SED \
9830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9832 -e 's:$: $lt_compiler_flag:'`
9833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9834 (eval "$lt_compile" 2>out
/conftest.err
)
9836 cat out
/conftest.err
>&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9840 # The compiler can only warn and ignore the option if not recognized
9841 # So say no if there are warnings
9842 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9843 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9844 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9845 lt_cv_prog_compiler_c_o
=yes
9850 # SGI C++ compiler will create directory out/ii_files/ for
9851 # template instantiation
9852 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9853 $RM out
/* && rmdir out
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9860 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9865 hard_links
="nottested"
9866 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9867 # do not overwrite the value of need_locks provided by the user
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9869 $as_echo_n "checking if we can lock with hard links... " >&6; }
9872 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9874 ln conftest.a conftest.b
2>&5 || hard_links
=no
9875 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9877 $as_echo "$hard_links" >&6; }
9878 if test "$hard_links" = no
; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9880 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9896 allow_undefined_flag
=
9897 always_export_symbols
=no
9899 archive_expsym_cmds
=
9900 compiler_needs_object
=no
9901 enable_shared_with_static_runtimes
=no
9902 export_dynamic_flag_spec
=
9903 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9904 hardcode_automatic
=no
9906 hardcode_direct_absolute
=no
9907 hardcode_libdir_flag_spec
=
9908 hardcode_libdir_flag_spec_ld
=
9909 hardcode_libdir_separator
=
9911 hardcode_shlibpath_var
=unsupported
9913 link_all_deplibs
=unknown
9916 old_archive_from_new_cmds
=
9917 old_archive_from_expsyms_cmds
=
9918 thread_safe_flag_spec
=
9919 whole_archive_flag_spec
=
9920 # include_expsyms should be a list of space-separated symbols to be *always*
9921 # included in the symbol list
9923 # exclude_expsyms can be an extended regexp of symbols to exclude
9924 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9925 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9926 # as well as any symbol that contains `d'.
9927 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9928 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9929 # platforms (ab)use it in PIC code, but their linkers get confused if
9930 # the symbol is explicitly referenced. Since portable code cannot
9931 # rely on this symbol name, it's probably fine to never include it in
9932 # preloaded symbol tables.
9933 # Exclude shared library initialization/finalization symbols.
9934 extract_expsyms_cmds
=
9937 cygwin
* | mingw
* | pw32
* | cegcc
*)
9938 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9939 # When not using gcc, we currently assume that we are using
9940 # Microsoft Visual C++.
9941 if test "$GCC" != yes; then
9946 # we just hope/assume this is gcc and not c89 (= MSVC++)
9956 # On some targets, GNU ld is compatible enough with the native linker
9957 # that we're better off using the native interface for both.
9958 lt_use_gnu_ld_interface
=no
9959 if test "$with_gnu_ld" = yes; then
9962 # The AIX port of GNU ld has always aspired to compatibility
9963 # with the native linker. However, as the warning in the GNU ld
9964 # block says, versions before 2.19.5* couldn't really create working
9965 # shared libraries, regardless of the interface used.
9966 case `$LD -v 2>&1` in
9967 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9968 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9969 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9971 lt_use_gnu_ld_interface
=yes
9976 lt_use_gnu_ld_interface
=yes
9981 if test "$lt_use_gnu_ld_interface" = yes; then
9982 # If archive_cmds runs LD, not CC, wlarc should be empty
9985 # Set some defaults for GNU ld with shared library support. These
9986 # are reset later if shared libraries are not supported. Putting them
9987 # here allows them to be overridden if necessary.
9988 runpath_var
=LD_RUN_PATH
9989 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9990 export_dynamic_flag_spec
='${wl}--export-dynamic'
9991 # ancient GNU ld didn't support --whole-archive et. al.
9992 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9993 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9995 whole_archive_flag_spec
=
9997 supports_anon_versioning
=no
9998 case `$LD -v 2>&1` in
9999 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10000 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10001 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10002 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10003 *\
2.11.
*) ;; # other 2.11 versions
10004 *) supports_anon_versioning
=yes ;;
10007 # See if GNU ld supports shared libraries.
10010 # On AIX/PPC, the GNU linker is very broken
10011 if test "$host_cpu" != ia64
; then
10015 *** Warning: the GNU linker, at least up to release 2.19, is reported
10016 *** to be unable to reliably create shared libraries on AIX.
10017 *** Therefore, libtool is disabling shared libraries support. If you
10018 *** really care for shared libraries, you may want to install binutils
10019 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10020 *** You will then need to restart the configuration process.
10029 # see comment about AmigaOS4 .so support
10030 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10031 archive_expsym_cmds
=''
10034 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)'
10035 hardcode_libdir_flag_spec
='-L$libdir'
10036 hardcode_minus_L
=yes
10042 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10043 allow_undefined_flag
=unsupported
10044 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10045 # support --undefined. This deserves some investigation. FIXME
10046 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10052 cygwin
* | mingw
* | pw32
* | cegcc
*)
10053 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10054 # as there is no search path for DLLs.
10055 hardcode_libdir_flag_spec
='-L$libdir'
10056 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10057 allow_undefined_flag
=unsupported
10058 always_export_symbols
=no
10059 enable_shared_with_static_runtimes
=yes
10060 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10062 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10063 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10064 # If the export-symbols file already is a .def file (1st line
10065 # is EXPORTS), use it as is; otherwise, prepend...
10066 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10067 cp $export_symbols $output_objdir/$soname.def;
10069 echo EXPORTS > $output_objdir/$soname.def;
10070 cat $export_symbols >> $output_objdir/$soname.def;
10072 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10079 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10080 link_all_deplibs
=yes
10085 hardcode_shlibpath_var
=no
10086 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10087 export_dynamic_flag_spec
='${wl}-E'
10088 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10089 # Instead, shared libraries are loaded at an image base (0x10000000 by
10090 # default) and relocated if they conflict, which is a slow very memory
10091 # consuming and fragmenting process. To avoid this, we pick a random,
10092 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10093 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10094 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10095 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'
10098 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10100 if test "$host_os" = linux-dietlibc
; then
10101 case $cc_basename in
10102 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10105 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10106 && test "$tmp_diet" = no
10109 tmp_sharedflag
='-shared'
10110 case $cc_basename,$host_cpu in
10111 pgcc
*) # Portland Group C compiler
10112 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'
10113 tmp_addflag
=' $pic_flag'
10115 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10116 # Portland Group f77 and f90 compilers
10117 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'
10118 tmp_addflag
=' $pic_flag -Mnomain' ;;
10119 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10120 tmp_addflag
=' -i_dynamic' ;;
10121 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10122 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10123 ifc
* | ifort
*) # Intel Fortran compiler
10124 tmp_addflag
=' -nofor_main' ;;
10125 lf95
*) # Lahey Fortran 8.1
10126 whole_archive_flag_spec
=
10127 tmp_sharedflag
='--shared' ;;
10128 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10129 tmp_sharedflag
='-qmkshrobj'
10131 nvcc
*) # Cuda Compiler Driver 2.2
10132 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'
10133 compiler_needs_object
=yes
10136 case `$CC -V 2>&1 | sed 5q` in
10137 *Sun\ C
*) # Sun C 5.9
10138 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'
10139 compiler_needs_object
=yes
10140 tmp_sharedflag
='-G' ;;
10141 *Sun\ F
*) # Sun Fortran 8.3
10142 tmp_sharedflag
='-G' ;;
10144 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10146 if test "x$supports_anon_versioning" = xyes
; then
10147 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10148 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10149 echo "local: *; };" >> $output_objdir/$libname.ver~
10150 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10153 case $cc_basename in
10154 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10155 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10156 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10157 hardcode_libdir_flag_spec
=
10158 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10159 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10160 if test "x$supports_anon_versioning" = xyes
; then
10161 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10162 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10163 echo "local: *; };" >> $output_objdir/$libname.ver~
10164 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10174 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10175 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10178 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10179 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10184 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10188 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10189 *** create shared libraries on Solaris systems. Therefore, libtool
10190 *** is disabling shared libraries support. We urge you to upgrade GNU
10191 *** binutils to release 2.9.1 or newer. Another option is to modify
10192 *** your PATH or compiler configuration so that the native linker is
10193 *** used, and then restart.
10196 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10197 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10198 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10204 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10205 case `$LD -v 2>&1` in
10206 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10210 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10211 *** reliably create shared libraries on SCO systems. Therefore, libtool
10212 *** is disabling shared libraries support. We urge you to upgrade GNU
10213 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10214 *** your PATH or compiler configuration so that the native linker is
10215 *** used, and then restart.
10220 # For security reasons, it is highly recommended that you always
10221 # use absolute paths for naming shared libraries, and exclude the
10222 # DT_RUNPATH tag from executables and libraries. But doing so
10223 # requires that you compile everything twice, which is a pain.
10224 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10225 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10226 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10227 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10236 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10238 hardcode_direct
=yes
10239 hardcode_shlibpath_var
=no
10243 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10244 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10245 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10252 if test "$ld_shlibs" = no
; then
10254 hardcode_libdir_flag_spec
=
10255 export_dynamic_flag_spec
=
10256 whole_archive_flag_spec
=
10259 # PORTME fill in a description of your system's linker (not GNU ld)
10262 allow_undefined_flag
=unsupported
10263 always_export_symbols
=yes
10264 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'
10265 # Note: this linker hardcodes the directories in LIBPATH if there
10266 # are no directories specified by -L.
10267 hardcode_minus_L
=yes
10268 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10269 # Neither direct hardcoding nor static linking is supported with a
10271 hardcode_direct
=unsupported
10276 if test "$host_cpu" = ia64
; then
10277 # On IA64, the linker does run time linking by default, so we don't
10278 # have to do anything special.
10279 aix_use_runtimelinking
=no
10280 exp_sym_flag
='-Bexport'
10283 # If we're using GNU nm, then we don't want the "-C" option.
10284 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10285 # Also, AIX nm treats weak defined symbols like other global
10286 # defined symbols, whereas GNU nm marks them as "W".
10287 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10288 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'
10290 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'
10292 aix_use_runtimelinking
=no
10294 # Test if we are trying to use run time linking or normal
10295 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10296 # need to do runtime linking.
10297 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10298 for ld_flag
in $LDFLAGS; do
10299 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10300 aix_use_runtimelinking
=yes
10307 exp_sym_flag
='-bexport'
10308 no_entry_flag
='-bnoentry'
10311 # When large executables or shared objects are built, AIX ld can
10312 # have problems creating the table of contents. If linking a library
10313 # or program results in "error TOC overflow" add -mminimal-toc to
10314 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10315 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10318 hardcode_direct
=yes
10319 hardcode_direct_absolute
=yes
10320 hardcode_libdir_separator
=':'
10321 link_all_deplibs
=yes
10322 file_list_spec
='${wl}-f,'
10324 if test "$GCC" = yes; then
10325 case $host_os in aix4.
[012]|aix4.
[012].
*)
10326 # We only want to do this on AIX 4.2 and lower, the check
10327 # below for broken collect2 doesn't work under 4.3+
10328 collect2name
=`${CC} -print-prog-name=collect2`
10329 if test -f "$collect2name" &&
10330 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10332 # We have reworked collect2
10335 # We have old collect2
10336 hardcode_direct
=unsupported
10337 # It fails to find uninstalled libraries when the uninstalled
10338 # path is not listed in the libpath. Setting hardcode_minus_L
10339 # to unsupported forces relinking
10340 hardcode_minus_L
=yes
10341 hardcode_libdir_flag_spec
='-L$libdir'
10342 hardcode_libdir_separator
=
10346 shared_flag
='-shared'
10347 if test "$aix_use_runtimelinking" = yes; then
10348 shared_flag
="$shared_flag "'${wl}-G'
10352 if test "$host_cpu" = ia64
; then
10353 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10354 # chokes on -Wl,-G. The following line is correct:
10357 if test "$aix_use_runtimelinking" = yes; then
10358 shared_flag
='${wl}-G'
10360 shared_flag
='${wl}-bM:SRE'
10365 export_dynamic_flag_spec
='${wl}-bexpall'
10366 # It seems that -bexpall does not export symbols beginning with
10367 # underscore (_), so it is better to generate a list of symbols to export.
10368 always_export_symbols
=yes
10369 if test "$aix_use_runtimelinking" = yes; then
10370 # Warning - without using the other runtime loading flags (-brtl),
10371 # -berok will link without error, but may produce a broken library.
10372 allow_undefined_flag
='-berok'
10373 # Determine the default libpath from the value encoded in an
10374 # empty executable.
10375 if test x
$gcc_no_link = xyes
; then
10376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10389 if ac_fn_c_try_link
"$LINENO"; then :
10391 lt_aix_libpath_sed
='
10392 /Import File Strings/,/^$/ {
10398 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10399 # Check for a 64-bit object if we didn't find anything.
10400 if test -z "$aix_libpath"; then
10401 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10404 rm -f core conftest.err conftest.
$ac_objext \
10405 conftest
$ac_exeext conftest.
$ac_ext
10406 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10408 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10409 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"
10411 if test "$host_cpu" = ia64
; then
10412 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10413 allow_undefined_flag
="-z nodefs"
10414 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"
10416 # Determine the default libpath from the value encoded in an
10417 # empty executable.
10418 if test x
$gcc_no_link = xyes
; then
10419 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10432 if ac_fn_c_try_link
"$LINENO"; then :
10434 lt_aix_libpath_sed
='
10435 /Import File Strings/,/^$/ {
10441 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10442 # Check for a 64-bit object if we didn't find anything.
10443 if test -z "$aix_libpath"; then
10444 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10447 rm -f core conftest.err conftest.
$ac_objext \
10448 conftest
$ac_exeext conftest.
$ac_ext
10449 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10451 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10452 # Warning - without using the other run time loading flags,
10453 # -berok will link without error, but may produce a broken library.
10454 no_undefined_flag
=' ${wl}-bernotok'
10455 allow_undefined_flag
=' ${wl}-berok'
10456 if test "$with_gnu_ld" = yes; then
10457 # We only use this code for GNU lds that support --whole-archive.
10458 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10460 # Exported symbols can be pulled into shared objects from archives
10461 whole_archive_flag_spec
='$convenience'
10463 archive_cmds_need_lc
=yes
10464 # This is similar to how AIX traditionally builds its shared libraries.
10465 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'
10473 # see comment about AmigaOS4 .so support
10474 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10475 archive_expsym_cmds
=''
10478 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)'
10479 hardcode_libdir_flag_spec
='-L$libdir'
10480 hardcode_minus_L
=yes
10486 export_dynamic_flag_spec
=-rdynamic
10489 cygwin
* | mingw
* | pw32
* | cegcc
*)
10490 # When not using gcc, we currently assume that we are using
10491 # Microsoft Visual C++.
10492 # hardcode_libdir_flag_spec is actually meaningless, as there is
10493 # no search path for DLLs.
10494 hardcode_libdir_flag_spec
=' '
10495 allow_undefined_flag
=unsupported
10496 # Tell ltmain to make .lib files, not .a files.
10498 # Tell ltmain to make .dll files, not .so files.
10500 # FIXME: Setting linknames here is a bad hack.
10501 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10502 # The linker will automatically build a .lib file if we build a DLL.
10503 old_archive_from_new_cmds
='true'
10504 # FIXME: Should let the user specify the lib program.
10505 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10506 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10507 enable_shared_with_static_runtimes
=yes
10510 darwin
* | rhapsody
*)
10513 archive_cmds_need_lc
=no
10515 hardcode_automatic
=yes
10516 hardcode_shlibpath_var
=unsupported
10517 if test "$lt_cv_ld_force_load" = "yes"; then
10518 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\"`'
10520 whole_archive_flag_spec
=''
10522 link_all_deplibs
=yes
10523 allow_undefined_flag
="$_lt_dar_allow_undefined"
10524 case $cc_basename in
10525 ifort
*) _lt_dar_can_shared
=yes ;;
10526 *) _lt_dar_can_shared
=$GCC ;;
10528 if test "$_lt_dar_can_shared" = "yes"; then
10529 output_verbose_link_cmd
=func_echo_all
10530 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10531 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10532 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}"
10533 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}"
10542 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10543 hardcode_libdir_flag_spec
='-L$libdir'
10544 hardcode_shlibpath_var
=no
10547 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10548 # support. Future versions do this automatically, but an explicit c++rt0.o
10549 # does not break anything, and helps significantly (at the cost of a little
10552 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10553 hardcode_libdir_flag_spec
='-R$libdir'
10554 hardcode_direct
=yes
10555 hardcode_shlibpath_var
=no
10558 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10560 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10561 hardcode_direct
=yes
10562 hardcode_minus_L
=yes
10563 hardcode_shlibpath_var
=no
10566 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10567 freebsd
* | dragonfly
*)
10568 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10569 hardcode_libdir_flag_spec
='-R$libdir'
10570 hardcode_direct
=yes
10571 hardcode_shlibpath_var
=no
10575 if test "$GCC" = yes; then
10576 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'
10578 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'
10580 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10581 hardcode_libdir_separator
=:
10582 hardcode_direct
=yes
10584 # hardcode_minus_L: Not really in the search PATH,
10585 # but as the default location of the library.
10586 hardcode_minus_L
=yes
10587 export_dynamic_flag_spec
='${wl}-E'
10591 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10592 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10594 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10596 if test "$with_gnu_ld" = no
; then
10597 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10598 hardcode_libdir_flag_spec_ld
='+b $libdir'
10599 hardcode_libdir_separator
=:
10600 hardcode_direct
=yes
10601 hardcode_direct_absolute
=yes
10602 export_dynamic_flag_spec
='${wl}-E'
10603 # hardcode_minus_L: Not really in the search PATH,
10604 # but as the default location of the library.
10605 hardcode_minus_L
=yes
10610 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10613 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10616 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10619 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10628 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10632 # Older versions of the 11.00 compiler do not understand -b yet
10633 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10635 $as_echo_n "checking if $CC understands -b... " >&6; }
10636 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10637 $as_echo_n "(cached) " >&6
10639 lt_cv_prog_compiler__b
=no
10640 save_LDFLAGS
="$LDFLAGS"
10641 LDFLAGS
="$LDFLAGS -b"
10642 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10643 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10644 # The linker can only warn and ignore the option if not recognized
10645 # So say no if there are warnings
10646 if test -s conftest.err
; then
10647 # Append any errors to the config.log.
10648 cat conftest.err
1>&5
10649 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10650 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10651 if diff conftest.exp conftest.er2
>/dev
/null
; then
10652 lt_cv_prog_compiler__b
=yes
10655 lt_cv_prog_compiler__b
=yes
10659 LDFLAGS
="$save_LDFLAGS"
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10663 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10665 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10666 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10668 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10674 if test "$with_gnu_ld" = no
; then
10675 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10676 hardcode_libdir_separator
=:
10681 hardcode_shlibpath_var
=no
10684 hardcode_direct
=yes
10685 hardcode_direct_absolute
=yes
10686 export_dynamic_flag_spec
='${wl}-E'
10688 # hardcode_minus_L: Not really in the search PATH,
10689 # but as the default location of the library.
10690 hardcode_minus_L
=yes
10696 irix5
* | irix6
* | nonstopux
*)
10697 if test "$GCC" = yes; then
10698 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'
10699 # Try to use the -exported_symbol ld option, if it does not
10700 # work, assume that -exports_file does not work either and
10701 # implicitly export all symbols.
10702 save_LDFLAGS
="$LDFLAGS"
10703 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10704 if test x
$gcc_no_link = xyes
; then
10705 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10711 if ac_fn_c_try_link
"$LINENO"; then :
10712 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'
10715 rm -f core conftest.err conftest.
$ac_objext \
10716 conftest
$ac_exeext conftest.
$ac_ext
10717 LDFLAGS
="$save_LDFLAGS"
10719 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'
10720 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'
10722 archive_cmds_need_lc
='no'
10723 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10724 hardcode_libdir_separator
=:
10726 link_all_deplibs
=yes
10730 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10731 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10733 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10735 hardcode_libdir_flag_spec
='-R$libdir'
10736 hardcode_direct
=yes
10737 hardcode_shlibpath_var
=no
10741 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10742 hardcode_direct
=yes
10743 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10744 hardcode_libdir_separator
=:
10745 hardcode_shlibpath_var
=no
10752 if test -f /usr
/libexec
/ld.so
; then
10753 hardcode_direct
=yes
10754 hardcode_shlibpath_var
=no
10755 hardcode_direct_absolute
=yes
10756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10757 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10758 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10759 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10760 export_dynamic_flag_spec
='${wl}-E'
10763 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10764 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10765 hardcode_libdir_flag_spec
='-R$libdir'
10768 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10769 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10779 hardcode_libdir_flag_spec
='-L$libdir'
10780 hardcode_minus_L
=yes
10781 allow_undefined_flag
=unsupported
10782 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'
10783 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10787 if test "$GCC" = yes; then
10788 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10789 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'
10791 allow_undefined_flag
=' -expect_unresolved \*'
10792 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'
10794 archive_cmds_need_lc
='no'
10795 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10796 hardcode_libdir_separator
=:
10799 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10800 if test "$GCC" = yes; then
10801 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10802 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'
10803 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10805 allow_undefined_flag
=' -expect_unresolved \*'
10806 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'
10807 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~
10808 $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'
10810 # Both c and cxx compiler support -rpath directly
10811 hardcode_libdir_flag_spec
='-rpath $libdir'
10813 archive_cmds_need_lc
='no'
10814 hardcode_libdir_separator
=:
10818 no_undefined_flag
=' -z defs'
10819 if test "$GCC" = yes; then
10821 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10822 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10823 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10825 case `$CC -V 2>&1` in
10828 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10829 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10830 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10834 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10835 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10836 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10840 hardcode_libdir_flag_spec
='-R$libdir'
10841 hardcode_shlibpath_var
=no
10843 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10845 # The compiler driver will combine and reorder linker options,
10846 # but understands `-z linker_flag'. GCC discards it without `$wl',
10847 # but is careful enough not to reorder.
10848 # Supported since Solaris 2.6 (maybe 2.5.1?)
10849 if test "$GCC" = yes; then
10850 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10852 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10856 link_all_deplibs
=yes
10860 if test "x$host_vendor" = xsequent
; then
10861 # Use $CC to link under sequent, because it throws in some extra .o
10862 # files that make .init and .fini sections work.
10863 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10865 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10867 hardcode_libdir_flag_spec
='-L$libdir'
10868 hardcode_direct
=yes
10869 hardcode_minus_L
=yes
10870 hardcode_shlibpath_var
=no
10874 case $host_vendor in
10876 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10877 hardcode_direct
=yes # is this really true???
10880 ## LD is ld it makes a PLAMLIB
10881 ## CC just makes a GrossModule.
10882 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10883 reload_cmds
='$CC -r -o $output$reload_objs'
10887 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10888 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10891 runpath_var
='LD_RUN_PATH'
10892 hardcode_shlibpath_var
=no
10896 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10897 hardcode_shlibpath_var
=no
10898 export_dynamic_flag_spec
='-Bexport'
10902 if test -d /usr
/nec
; then
10903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_shlibpath_var
=no
10905 runpath_var
=LD_RUN_PATH
10906 hardcode_runpath_var
=yes
10911 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10912 no_undefined_flag
='${wl}-z,text'
10913 archive_cmds_need_lc
=no
10914 hardcode_shlibpath_var
=no
10915 runpath_var
='LD_RUN_PATH'
10917 if test "$GCC" = yes; then
10918 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10919 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10922 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 sysv5
* | sco3.2v5
* | sco5v6
*)
10927 # Note: We can NOT use -z defs as we might desire, because we do not
10928 # link with -lc, and that would cause any symbols used from libc to
10929 # always be unresolved, which means just about no library would
10930 # ever link correctly. If we're not using GNU ld we use -z text
10931 # though, which does catch some bad symbols but isn't as heavy-handed
10933 no_undefined_flag
='${wl}-z,text'
10934 allow_undefined_flag
='${wl}-z,nodefs'
10935 archive_cmds_need_lc
=no
10936 hardcode_shlibpath_var
=no
10937 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10938 hardcode_libdir_separator
=':'
10939 link_all_deplibs
=yes
10940 export_dynamic_flag_spec
='${wl}-Bexport'
10941 runpath_var
='LD_RUN_PATH'
10943 if test "$GCC" = yes; then
10944 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10945 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10947 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10954 hardcode_libdir_flag_spec
='-L$libdir'
10955 hardcode_shlibpath_var
=no
10963 if test x
$host_vendor = xsni
; then
10965 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10966 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10973 $as_echo "$ld_shlibs" >&6; }
10974 test "$ld_shlibs" = no
&& can_build_shared
=no
10976 with_gnu_ld
=$with_gnu_ld
10993 # Do we need to explicitly link libc?
10995 case "x$archive_cmds_need_lc" in
10997 # Assume -lc should be added
10998 archive_cmds_need_lc
=yes
11000 if test "$enable_shared" = yes && test "$GCC" = yes; then
11001 case $archive_cmds in
11003 # FIXME: we may have to deal with multi-command sequences.
11006 # Test whether the compiler implicitly links with -lc since on some
11007 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11008 # to ld, don't add -lc before -lgcc.
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11010 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11011 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11012 $as_echo_n "(cached) " >&6
11015 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11018 (eval $ac_compile) 2>&5
11020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11021 test $ac_status = 0; } 2>conftest.err
; then
11024 libobjs
=conftest.
$ac_objext
11026 wl
=$lt_prog_compiler_wl
11027 pic_flag
=$lt_prog_compiler_pic
11033 lt_save_allow_undefined_flag
=$allow_undefined_flag
11034 allow_undefined_flag
=
11035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11036 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11039 test $ac_status = 0; }
11041 lt_cv_archive_cmds_need_lc
=no
11043 lt_cv_archive_cmds_need_lc
=yes
11045 allow_undefined_flag
=$lt_save_allow_undefined_flag
11047 cat conftest.err
1>&5
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11053 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11054 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11218 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11220 if test "$GCC" = yes; then
11222 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11223 *) lt_awk_arg
="/^libraries:/" ;;
11226 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11227 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11229 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11230 case $lt_search_path_spec in
11232 # if the path contains ";" then we assume it to be the separator
11233 # otherwise default to the standard path separator (i.e. ":") - it is
11234 # assumed that no part of a normal pathname contains ";" but that should
11235 # okay in the real world where ";" in dirpaths is itself problematic.
11236 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11239 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11242 # Ok, now we have the path, separated by spaces, we can step through it
11243 # and add multilib dir if necessary.
11244 lt_tmp_lt_search_path_spec
=
11245 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11246 for lt_sys_path
in $lt_search_path_spec; do
11247 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11248 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11250 test -d "$lt_sys_path" && \
11251 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11254 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11255 BEGIN {RS=" "; FS="/|\n";} {
11258 for (lt_i = NF; lt_i > 0; lt_i--) {
11259 if ($lt_i != "" && $lt_i != ".") {
11260 if ($lt_i == "..") {
11263 if (lt_count == 0) {
11264 lt_foo="/" $lt_i lt_foo;
11271 if (lt_foo != "") { lt_freq[lt_foo]++; }
11272 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11274 # AWK program above erroneously prepends '/' to C:/dos/paths
11277 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11278 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11280 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11282 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11284 library_names_spec
=
11285 libname_spec
='lib$name'
11289 postuninstall_cmds
=
11293 shlibpath_overrides_runpath
=unknown
11295 dynamic_linker
="$host_os ld.so"
11296 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11297 need_lib_prefix
=unknown
11298 hardcode_into_libs
=no
11300 # when you set need_version to no, make sure it does not cause -set_version
11301 # flags to be left without arguments
11302 need_version
=unknown
11307 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11308 shlibpath_var
=LIBPATH
11310 # AIX 3 has no versioning support, so we append a major version to the name.
11311 soname_spec
='${libname}${release}${shared_ext}$major'
11318 hardcode_into_libs
=yes
11319 if test "$host_cpu" = ia64
; then
11320 # AIX 5 supports IA64
11321 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11322 shlibpath_var
=LD_LIBRARY_PATH
11324 # With GCC up to 2.95.x, collect2 would create an import file
11325 # for dependence libraries. The import file would start with
11326 # the line `#! .'. This would cause the generated library to
11327 # depend on `.', always an invalid library. This was fixed in
11328 # development snapshots of GCC prior to 3.0.
11330 aix4 | aix4.
[01] | aix4.
[01].
*)
11331 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11333 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11336 can_build_shared
=no
11340 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11341 # soname into executable. Probably we can add versioning support to
11342 # collect2, so additional links can be useful in future.
11343 if test "$aix_use_runtimelinking" = yes; then
11344 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11345 # instead of lib<name>.a to let people know that these are not
11346 # typical AIX shared libraries.
11347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349 # We preserve .a as extension for shared libraries through AIX4.2
11350 # and later when we are not doing run time linking.
11351 library_names_spec
='${libname}${release}.a $libname.a'
11352 soname_spec
='${libname}${release}${shared_ext}$major'
11354 shlibpath_var
=LIBPATH
11361 # Since July 2007 AmigaOS4 officially supports .so libraries.
11362 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11366 library_names_spec
='$libname.ixlibrary $libname.a'
11367 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11368 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'
11374 library_names_spec
='${libname}${shared_ext}'
11375 dynamic_linker
="$host_os ld.so"
11376 shlibpath_var
=LIBRARY_PATH
11382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11383 soname_spec
='${libname}${release}${shared_ext}$major'
11384 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11385 shlibpath_var
=LD_LIBRARY_PATH
11386 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11387 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11388 # the default ld.so.conf also contains /usr/contrib/lib and
11389 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11390 # libtool to hard-code these into programs
11393 cygwin
* | mingw
* | pw32
* | cegcc
*)
11394 version_type
=windows
11399 case $GCC,$host_os in
11400 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11401 library_names_spec
='$libname.dll.a'
11402 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11403 postinstall_cmds
='base_file=`basename \${file}`~
11404 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11405 dldir=$destdir/`dirname \$dlpath`~
11406 test -d \$dldir || mkdir -p \$dldir~
11407 $install_prog $dir/$dlname \$dldir/$dlname~
11408 chmod a+x \$dldir/$dlname~
11409 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11410 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11412 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11413 dlpath=$dir/\$dldll~
11415 shlibpath_overrides_runpath
=yes
11419 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11420 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11422 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11425 # MinGW DLLs use traditional 'lib' prefix
11426 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11429 # pw32 DLLs use 'pw' prefix rather than 'lib'
11430 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11436 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11439 dynamic_linker
='Win32 ld.exe'
11440 # FIXME: first we should search . and the directory the executable is in
11444 darwin
* | rhapsody
*)
11445 dynamic_linker
="$host_os dyld"
11446 version_type
=darwin
11449 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11450 soname_spec
='${libname}${release}${major}$shared_ext'
11451 shlibpath_overrides_runpath
=yes
11452 shlibpath_var
=DYLD_LIBRARY_PATH
11453 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11455 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11456 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11464 soname_spec
='${libname}${release}${shared_ext}$major'
11465 shlibpath_var
=LD_LIBRARY_PATH
11468 freebsd
* | dragonfly
*)
11469 # DragonFly does not have aout. When/if they implement a new
11470 # versioning mechanism, adjust this.
11471 if test -x /usr
/bin
/objformat
; then
11472 objformat
=`/usr/bin/objformat`
11475 freebsd
[23].
*) objformat
=aout
;;
11476 *) objformat
=elf
;;
11479 version_type
=freebsd-
$objformat
11480 case $version_type in
11482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11491 shlibpath_var
=LD_LIBRARY_PATH
11494 shlibpath_overrides_runpath
=yes
11496 freebsd3.
[01]* | freebsdelf3.
[01]*)
11497 shlibpath_overrides_runpath
=yes
11498 hardcode_into_libs
=yes
11500 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11501 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11502 shlibpath_overrides_runpath
=no
11503 hardcode_into_libs
=yes
11505 *) # from 4.6 on, and DragonFly
11506 shlibpath_overrides_runpath
=yes
11507 hardcode_into_libs
=yes
11516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11517 soname_spec
='${libname}${release}${shared_ext}$major'
11518 shlibpath_var
=LD_LIBRARY_PATH
11519 hardcode_into_libs
=yes
11526 dynamic_linker
="$host_os runtime_loader"
11527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11528 soname_spec
='${libname}${release}${shared_ext}$major'
11529 shlibpath_var
=LIBRARY_PATH
11530 shlibpath_overrides_runpath
=yes
11531 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11532 hardcode_into_libs
=yes
11535 hpux9
* | hpux10
* | hpux11
*)
11536 # Give a soname corresponding to the major version so that dld.sl refuses to
11537 # link against other versions.
11544 hardcode_into_libs
=yes
11545 dynamic_linker
="$host_os dld.so"
11546 shlibpath_var
=LD_LIBRARY_PATH
11547 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549 soname_spec
='${libname}${release}${shared_ext}$major'
11550 if test "X$HPUX_IA64_MODE" = X32
; then
11551 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11553 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11555 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11559 hardcode_into_libs
=yes
11560 dynamic_linker
="$host_os dld.sl"
11561 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11562 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11564 soname_spec
='${libname}${release}${shared_ext}$major'
11565 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11566 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11570 dynamic_linker
="$host_os dld.sl"
11571 shlibpath_var
=SHLIB_PATH
11572 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11574 soname_spec
='${libname}${release}${shared_ext}$major'
11577 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11578 postinstall_cmds
='chmod 555 $lib'
11579 # or fails outright, so override atomically:
11580 install_override_mode
=555
11587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11588 soname_spec
='${libname}${release}${shared_ext}$major'
11589 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11590 shlibpath_var
=LD_LIBRARY_PATH
11591 shlibpath_overrides_runpath
=no
11592 hardcode_into_libs
=yes
11595 irix5
* | irix6
* | nonstopux
*)
11597 nonstopux
*) version_type
=nonstopux
;;
11599 if test "$lt_cv_prog_gnu_ld" = yes; then
11607 soname_spec
='${libname}${release}${shared_ext}$major'
11608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11610 irix5
* | nonstopux
*)
11611 libsuff
= shlibsuff
=
11614 case $LD in # libtool.m4 will add one of these switches to LD
11615 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11616 libsuff
= shlibsuff
= libmagic
=32-bit;;
11617 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11618 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11619 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11620 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11621 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11625 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11626 shlibpath_overrides_runpath
=no
11627 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11628 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11629 hardcode_into_libs
=yes
11632 # No shared lib support for Linux oldld, aout, or coff.
11633 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11637 # This must be Linux ELF.
11638 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11643 soname_spec
='${libname}${release}${shared_ext}$major'
11644 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11645 shlibpath_var
=LD_LIBRARY_PATH
11646 shlibpath_overrides_runpath
=no
11648 # Some binutils ld are patched to set DT_RUNPATH
11649 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11650 $as_echo_n "(cached) " >&6
11652 lt_cv_shlibpath_overrides_runpath
=no
11653 save_LDFLAGS
=$LDFLAGS
11654 save_libdir
=$libdir
11655 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11656 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11657 if test x
$gcc_no_link = xyes
; then
11658 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11671 if ac_fn_c_try_link
"$LINENO"; then :
11672 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11673 lt_cv_shlibpath_overrides_runpath
=yes
11676 rm -f core conftest.err conftest.
$ac_objext \
11677 conftest
$ac_exeext conftest.
$ac_ext
11678 LDFLAGS
=$save_LDFLAGS
11679 libdir
=$save_libdir
11683 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11685 # This implies no fast_install, which is unacceptable.
11686 # Some rework will be needed to allow for fast_install
11687 # before this can be enabled.
11688 hardcode_into_libs
=yes
11690 # Append ld.so.conf contents to the search path
11691 if test -f /etc
/ld.so.conf
; then
11692 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' ' '`
11693 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11696 # We used to test for /lib/ld.so.1 and disable shared libraries on
11697 # powerpc, because MkLinux only supported shared libraries with the
11698 # GNU dynamic linker. Since this was broken with cross compilers,
11699 # most powerpc-linux boxes support dynamic linking these days and
11700 # people can always --disable-shared, the test was removed, and we
11701 # assume the GNU/Linux dynamic linker is in use.
11702 dynamic_linker
='GNU/Linux ld.so'
11709 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11711 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11712 dynamic_linker
='NetBSD (a.out) ld.so'
11714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11715 soname_spec
='${libname}${release}${shared_ext}$major'
11716 dynamic_linker
='NetBSD ld.elf_so'
11718 shlibpath_var
=LD_LIBRARY_PATH
11719 shlibpath_overrides_runpath
=yes
11720 hardcode_into_libs
=yes
11725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11726 shlibpath_var
=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath
=yes
11734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11735 soname_spec
='${libname}${release}${shared_ext}$major'
11736 shlibpath_var
=LD_LIBRARY_PATH
11737 shlibpath_overrides_runpath
=no
11738 hardcode_into_libs
=yes
11739 dynamic_linker
='ldqnx.so'
11744 sys_lib_dlsearch_path_spec
="/usr/lib"
11746 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11748 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11749 *) need_version
=no
;;
11751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11752 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11753 shlibpath_var
=LD_LIBRARY_PATH
11754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11756 openbsd2.
[89] | openbsd2.
[89].
*)
11757 shlibpath_overrides_runpath
=no
11760 shlibpath_overrides_runpath
=yes
11764 shlibpath_overrides_runpath
=yes
11769 libname_spec
='$name'
11772 library_names_spec
='$libname${shared_ext} $libname.a'
11773 dynamic_linker
='OS/2 ld.exe'
11774 shlibpath_var
=LIBPATH
11777 osf3
* | osf4
* | osf5
*)
11781 soname_spec
='${libname}${release}${shared_ext}$major'
11782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11783 shlibpath_var
=LD_LIBRARY_PATH
11784 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11785 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11797 soname_spec
='${libname}${release}${shared_ext}$major'
11798 shlibpath_var
=LD_LIBRARY_PATH
11799 shlibpath_overrides_runpath
=yes
11800 hardcode_into_libs
=yes
11801 # ldd complains unless libraries are executable
11802 postinstall_cmds
='chmod +x $lib'
11807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11808 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11809 shlibpath_var
=LD_LIBRARY_PATH
11810 shlibpath_overrides_runpath
=yes
11811 if test "$with_gnu_ld" = yes; then
11819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820 soname_spec
='${libname}${release}${shared_ext}$major'
11821 shlibpath_var
=LD_LIBRARY_PATH
11822 case $host_vendor in
11824 shlibpath_overrides_runpath
=no
11826 runpath_var
=LD_RUN_PATH
11834 shlibpath_overrides_runpath
=no
11835 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11841 if test -d /usr
/nec
;then
11843 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11844 soname_spec
='$libname${shared_ext}.$major'
11845 shlibpath_var
=LD_LIBRARY_PATH
11849 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11850 version_type
=freebsd-elf
11853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11854 soname_spec
='${libname}${release}${shared_ext}$major'
11855 shlibpath_var
=LD_LIBRARY_PATH
11856 shlibpath_overrides_runpath
=yes
11857 hardcode_into_libs
=yes
11858 if test "$with_gnu_ld" = yes; then
11859 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11861 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11864 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11868 sys_lib_dlsearch_path_spec
='/usr/lib'
11872 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11877 shlibpath_var
=LD_LIBRARY_PATH
11878 shlibpath_overrides_runpath
=no
11879 hardcode_into_libs
=yes
11884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11885 soname_spec
='${libname}${release}${shared_ext}$major'
11886 shlibpath_var
=LD_LIBRARY_PATH
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11894 $as_echo "$dynamic_linker" >&6; }
11895 test "$dynamic_linker" = no
&& can_build_shared
=no
11897 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11898 if test "$GCC" = yes; then
11899 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11902 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11903 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11905 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11906 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12001 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12003 if test -n "$hardcode_libdir_flag_spec" ||
12004 test -n "$runpath_var" ||
12005 test "X$hardcode_automatic" = "Xyes" ; then
12007 # We can hardcode non-existent directories.
12008 if test "$hardcode_direct" != no
&&
12009 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12010 # have to relink, otherwise we might link with an installed library
12011 # when we should be linking with a yet-to-be-installed one
12012 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12013 test "$hardcode_minus_L" != no
; then
12014 # Linking always hardcodes the temporary library directory.
12015 hardcode_action
=relink
12017 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12018 hardcode_action
=immediate
12021 # We cannot hardcode anything, or else we can only hardcode existing
12023 hardcode_action
=unsupported
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12026 $as_echo "$hardcode_action" >&6; }
12028 if test "$hardcode_action" = relink ||
12029 test "$inherit_rpath" = yes; then
12030 # Fast installation is not supported
12031 enable_fast_install
=no
12032 elif test "$shlibpath_overrides_runpath" = yes ||
12033 test "$enable_shared" = no
; then
12034 # Fast installation is not necessary
12035 enable_fast_install
=needless
12043 if test "x$enable_dlopen" != xyes
; then
12044 enable_dlopen
=unknown
12045 enable_dlopen_self
=unknown
12046 enable_dlopen_self_static
=unknown
12053 lt_cv_dlopen
="load_add_on"
12055 lt_cv_dlopen_self
=yes
12058 mingw
* | pw32
* | cegcc
*)
12059 lt_cv_dlopen
="LoadLibrary"
12064 lt_cv_dlopen
="dlopen"
12069 # if libdl is installed we need to link against it
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12071 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12072 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12073 $as_echo_n "(cached) " >&6
12075 ac_check_lib_save_LIBS
=$LIBS
12077 if test x
$gcc_no_link = xyes
; then
12078 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12083 /* Override any GCC internal prototype to avoid an error.
12084 Use char because int might match the return type of a GCC
12085 builtin and then its argument prototype would still apply. */
12098 if ac_fn_c_try_link
"$LINENO"; then :
12099 ac_cv_lib_dl_dlopen
=yes
12101 ac_cv_lib_dl_dlopen
=no
12103 rm -f core conftest.err conftest.
$ac_objext \
12104 conftest
$ac_exeext conftest.
$ac_ext
12105 LIBS
=$ac_check_lib_save_LIBS
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12108 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12109 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12110 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12113 lt_cv_dlopen
="dyld"
12115 lt_cv_dlopen_self
=yes
12122 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12123 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12124 lt_cv_dlopen
="shl_load"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12127 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12128 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12129 $as_echo_n "(cached) " >&6
12131 ac_check_lib_save_LIBS
=$LIBS
12133 if test x
$gcc_no_link = xyes
; then
12134 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12139 /* Override any GCC internal prototype to avoid an error.
12140 Use char because int might match the return type of a GCC
12141 builtin and then its argument prototype would still apply. */
12149 return shl_load ();
12154 if ac_fn_c_try_link
"$LINENO"; then :
12155 ac_cv_lib_dld_shl_load
=yes
12157 ac_cv_lib_dld_shl_load
=no
12159 rm -f core conftest.err conftest.
$ac_objext \
12160 conftest
$ac_exeext conftest.
$ac_ext
12161 LIBS
=$ac_check_lib_save_LIBS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12164 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12165 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12166 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12168 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12169 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12170 lt_cv_dlopen
="dlopen"
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12173 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12174 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12175 $as_echo_n "(cached) " >&6
12177 ac_check_lib_save_LIBS
=$LIBS
12179 if test x
$gcc_no_link = xyes
; then
12180 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12183 /* end confdefs.h. */
12185 /* Override any GCC internal prototype to avoid an error.
12186 Use char because int might match the return type of a GCC
12187 builtin and then its argument prototype would still apply. */
12200 if ac_fn_c_try_link
"$LINENO"; then :
12201 ac_cv_lib_dl_dlopen
=yes
12203 ac_cv_lib_dl_dlopen
=no
12205 rm -f core conftest.err conftest.
$ac_objext \
12206 conftest
$ac_exeext conftest.
$ac_ext
12207 LIBS
=$ac_check_lib_save_LIBS
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12210 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12211 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12212 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12215 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12216 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12217 $as_echo_n "(cached) " >&6
12219 ac_check_lib_save_LIBS
=$LIBS
12220 LIBS
="-lsvld $LIBS"
12221 if test x
$gcc_no_link = xyes
; then
12222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12227 /* Override any GCC internal prototype to avoid an error.
12228 Use char because int might match the return type of a GCC
12229 builtin and then its argument prototype would still apply. */
12242 if ac_fn_c_try_link
"$LINENO"; then :
12243 ac_cv_lib_svld_dlopen
=yes
12245 ac_cv_lib_svld_dlopen
=no
12247 rm -f core conftest.err conftest.
$ac_objext \
12248 conftest
$ac_exeext conftest.
$ac_ext
12249 LIBS
=$ac_check_lib_save_LIBS
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12252 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12253 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12254 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12257 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12258 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12259 $as_echo_n "(cached) " >&6
12261 ac_check_lib_save_LIBS
=$LIBS
12263 if test x
$gcc_no_link = xyes
; then
12264 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 /* Override any GCC internal prototype to avoid an error.
12270 Use char because int might match the return type of a GCC
12271 builtin and then its argument prototype would still apply. */
12279 return dld_link ();
12284 if ac_fn_c_try_link
"$LINENO"; then :
12285 ac_cv_lib_dld_dld_link
=yes
12287 ac_cv_lib_dld_dld_link
=no
12289 rm -f core conftest.err conftest.
$ac_objext \
12290 conftest
$ac_exeext conftest.
$ac_ext
12291 LIBS
=$ac_check_lib_save_LIBS
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12294 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12295 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12296 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12317 if test "x$lt_cv_dlopen" != xno
; then
12323 case $lt_cv_dlopen in
12325 save_CPPFLAGS
="$CPPFLAGS"
12326 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12328 save_LDFLAGS
="$LDFLAGS"
12329 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12332 LIBS
="$lt_cv_dlopen_libs $LIBS"
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12335 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12336 if test "${lt_cv_dlopen_self+set}" = set; then :
12337 $as_echo_n "(cached) " >&6
12339 if test "$cross_compiling" = yes; then :
12340 lt_cv_dlopen_self
=cross
12342 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12343 lt_status
=$lt_dlunknown
12344 cat > conftest.
$ac_ext <<_LT_EOF
12345 #line 12345 "configure"
12346 #include "confdefs.h"
12355 # define LT_DLGLOBAL RTLD_GLOBAL
12358 # define LT_DLGLOBAL DL_GLOBAL
12360 # define LT_DLGLOBAL 0
12364 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12365 find out it does not work in some platform. */
12366 #ifndef LT_DLLAZY_OR_NOW
12368 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12371 # define LT_DLLAZY_OR_NOW DL_LAZY
12374 # define LT_DLLAZY_OR_NOW RTLD_NOW
12377 # define LT_DLLAZY_OR_NOW DL_NOW
12379 # define LT_DLLAZY_OR_NOW 0
12386 /* When -fvisbility=hidden is used, assume the code has been annotated
12387 correspondingly for the symbols needed. */
12388 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12389 void fnord () __attribute__((visibility("default")));
12392 void fnord () { int i=42; }
12395 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12396 int status = $lt_dlunknown;
12400 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12403 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12404 else puts (dlerror ());
12406 /* dlclose (self); */
12414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12415 (eval $ac_link) 2>&5
12417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12418 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12419 (.
/conftest
; exit; ) >&5 2>/dev
/null
12421 case x
$lt_status in
12422 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12423 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12424 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12427 # compilation failed
12428 lt_cv_dlopen_self
=no
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12436 $as_echo "$lt_cv_dlopen_self" >&6; }
12438 if test "x$lt_cv_dlopen_self" = xyes
; then
12439 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12441 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12442 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12443 $as_echo_n "(cached) " >&6
12445 if test "$cross_compiling" = yes; then :
12446 lt_cv_dlopen_self_static
=cross
12448 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12449 lt_status
=$lt_dlunknown
12450 cat > conftest.
$ac_ext <<_LT_EOF
12451 #line 12451 "configure"
12452 #include "confdefs.h"
12461 # define LT_DLGLOBAL RTLD_GLOBAL
12464 # define LT_DLGLOBAL DL_GLOBAL
12466 # define LT_DLGLOBAL 0
12470 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12471 find out it does not work in some platform. */
12472 #ifndef LT_DLLAZY_OR_NOW
12474 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12477 # define LT_DLLAZY_OR_NOW DL_LAZY
12480 # define LT_DLLAZY_OR_NOW RTLD_NOW
12483 # define LT_DLLAZY_OR_NOW DL_NOW
12485 # define LT_DLLAZY_OR_NOW 0
12492 /* When -fvisbility=hidden is used, assume the code has been annotated
12493 correspondingly for the symbols needed. */
12494 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12495 void fnord () __attribute__((visibility("default")));
12498 void fnord () { int i=42; }
12501 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12502 int status = $lt_dlunknown;
12506 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12509 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12510 else puts (dlerror ());
12512 /* dlclose (self); */
12520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12521 (eval $ac_link) 2>&5
12523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12524 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12525 (.
/conftest
; exit; ) >&5 2>/dev
/null
12527 case x
$lt_status in
12528 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12529 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12530 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12533 # compilation failed
12534 lt_cv_dlopen_self_static
=no
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12542 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12545 CPPFLAGS
="$save_CPPFLAGS"
12546 LDFLAGS
="$save_LDFLAGS"
12551 case $lt_cv_dlopen_self in
12552 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12553 *) enable_dlopen_self
=unknown
;;
12556 case $lt_cv_dlopen_self_static in
12557 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12558 *) enable_dlopen_self_static
=unknown
;;
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12581 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12582 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12583 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12584 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12586 $as_echo "yes" >&6; }
12588 # FIXME - insert some real tests, host_os isn't really good enough
12591 if test -n "$STRIP" ; then
12592 striplib
="$STRIP -x"
12593 old_striplib
="$STRIP -S"
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12595 $as_echo "yes" >&6; }
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12598 $as_echo "no" >&6; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12603 $as_echo "no" >&6; }
12619 # Report which library types will actually be built
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12621 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12623 $as_echo "$can_build_shared" >&6; }
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12626 $as_echo_n "checking whether to build shared libraries... " >&6; }
12627 test "$can_build_shared" = "no" && enable_shared
=no
12629 # On AIX, shared libraries and static libraries use the same namespace, and
12630 # are all built from PIC.
12633 test "$enable_shared" = yes && enable_static
=no
12634 if test -n "$RANLIB"; then
12635 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12636 postinstall_cmds
='$RANLIB $lib'
12641 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12642 test "$enable_shared" = yes && enable_static
=no
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12647 $as_echo "$enable_shared" >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12650 $as_echo_n "checking whether to build static libraries... " >&6; }
12651 # Make sure either enable_shared or enable_static is yes.
12652 test "$enable_shared" = yes || enable_static
=yes
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12654 $as_echo "$enable_static" >&6; }
12661 ac_cpp
='$CPP $CPPFLAGS'
12662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12680 ac_config_commands
="$ac_config_commands libtool"
12685 # Only expand once:
12692 *-cygwin* |
*-mingw*)
12693 # 'host' will be top-level target in the case of a target lib,
12694 # we must compare to with_cross_host to decide if this is a native
12695 # or cross-compiler and select where to install dlls appropriately.
12696 if test -n "$with_cross_host" &&
12697 test x
"$with_cross_host" != x
"no"; then
12698 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12700 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12712 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12714 # We need gfortran to compile parts of the library
12715 #AC_PROG_FC(gfortran)
12717 ac_ext
=${ac_fc_srcext-f}
12718 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12719 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12721 if test -n "$ac_tool_prefix"; then
12722 for ac_prog
in gfortran
12724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12725 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if test "${ac_cv_prog_FC+set}" = set; then :
12729 $as_echo_n "(cached) " >&6
12731 if test -n "$FC"; then
12732 ac_cv_prog_FC
="$FC" # Let the user override the test.
12734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12735 for as_dir
in $PATH
12738 test -z "$as_dir" && as_dir
=.
12739 for ac_exec_ext
in '' $ac_executable_extensions; do
12740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12741 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12752 if test -n "$FC"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12754 $as_echo "$FC" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12761 test -n "$FC" && break
12764 if test -z "$FC"; then
12766 for ac_prog
in gfortran
12768 # Extract the first word of "$ac_prog", so it can be a program name with args.
12769 set dummy
$ac_prog; ac_word
=$2
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12771 $as_echo_n "checking for $ac_word... " >&6; }
12772 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12773 $as_echo_n "(cached) " >&6
12775 if test -n "$ac_ct_FC"; then
12776 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12779 for as_dir
in $PATH
12782 test -z "$as_dir" && as_dir
=.
12783 for ac_exec_ext
in '' $ac_executable_extensions; do
12784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12785 ac_cv_prog_ac_ct_FC
="$ac_prog"
12786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12795 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12796 if test -n "$ac_ct_FC"; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12798 $as_echo "$ac_ct_FC" >&6; }
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12805 test -n "$ac_ct_FC" && break
12808 if test "x$ac_ct_FC" = x
; then
12811 case $cross_compiling:$ac_tool_warned in
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12815 ac_tool_warned
=yes ;;
12822 # Provide some information about the compiler.
12823 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12826 for ac_option
in --version -v -V -qversion; do
12827 { { ac_try
="$ac_compiler $ac_option >&5"
12828 case "(($ac_try" in
12829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12830 *) ac_try_echo=$ac_try;;
12832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12833 $as_echo "$ac_try_echo"; } >&5
12834 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12836 if test -s conftest.err; then
12838 ... rest of stderr output deleted ...
12839 10q' conftest.err >conftest.er1
12840 cat conftest.er1 >&5
12841 rm -f conftest.er1 conftest.err
12843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12844 test $ac_status = 0; }
12848 # If we don't use `.F
' as extension, the preprocessor is not run on the
12849 # input file. (Note that this only needs to work for GNU compilers.)
12850 ac_save_ext=$ac_ext
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12853 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12854 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12855 $as_echo_n "(cached) " >&6
12857 cat > conftest.$ac_ext <<_ACEOF
12865 if ac_fn_fc_try_compile "$LINENO"; then :
12866 ac_compiler_gnu=yes
12870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12875 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12876 ac_ext=$ac_save_ext
12877 ac_test_FCFLAGS=${FCFLAGS+set}
12878 ac_save_FCFLAGS=$FCFLAGS
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12881 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12882 if test "${ac_cv_prog_fc_g+set}" = set; then :
12883 $as_echo_n "(cached) " >&6
12886 cat > conftest.$ac_ext <<_ACEOF
12891 if ac_fn_fc_try_compile "$LINENO"; then :
12892 ac_cv_prog_fc_g=yes
12896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12900 $as_echo "$ac_cv_prog_fc_g" >&6; }
12901 if test "$ac_test_FCFLAGS" = set; then
12902 FCFLAGS=$ac_save_FCFLAGS
12903 elif test $ac_cv_prog_fc_g = yes; then
12904 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12910 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12918 ac_cpp='$CPP $CPPFLAGS'
12919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12920 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12923 ac_ext=${ac_fc_srcext-f}
12924 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12925 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12926 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12929 if test -z "$FC" || test "X$FC" = "Xno"; then
12933 archive_cmds_need_lc_FC=no
12934 allow_undefined_flag_FC=
12935 always_export_symbols_FC=no
12936 archive_expsym_cmds_FC=
12937 export_dynamic_flag_spec_FC=
12938 hardcode_direct_FC=no
12939 hardcode_direct_absolute_FC=no
12940 hardcode_libdir_flag_spec_FC=
12941 hardcode_libdir_flag_spec_ld_FC=
12942 hardcode_libdir_separator_FC=
12943 hardcode_minus_L_FC=no
12944 hardcode_automatic_FC=no
12945 inherit_rpath_FC=no
12947 module_expsym_cmds_FC=
12948 link_all_deplibs_FC=unknown
12949 old_archive_cmds_FC=$old_archive_cmds
12950 reload_flag_FC=$reload_flag
12951 reload_cmds_FC=$reload_cmds
12952 no_undefined_flag_FC=
12953 whole_archive_flag_spec_FC=
12954 enable_shared_with_static_runtimes_FC=no
12956 # Source file extension for fc test sources.
12957 ac_ext=${ac_fc_srcext-f}
12959 # Object file extension for compiled fc test sources.
12963 # No sense in running all these tests if we already determined that
12964 # the FC compiler isn't working. Some variables
(like enable_shared
)
12965 # are currently assumed to apply to all compilers on this platform,
12966 # and will be corrupted by setting them based on a non-working compiler.
12967 if test "$_lt_disable_FC" != yes; then
12968 # Code to be used in simple compile tests
12969 lt_simple_compile_test_code
="\
12975 # Code to be used in simple link tests
12976 lt_simple_link_test_code
="\
12981 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12988 # If no C compiler was specified, use CC.
12991 # If no C compiler flags were specified, use CFLAGS.
12992 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12994 # Allow CC to be a program name with arguments.
12998 # save warnings/boilerplate of simple test code
12999 ac_outfile
=conftest.
$ac_objext
13000 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13001 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13002 _lt_compiler_boilerplate
=`cat conftest.err`
13005 ac_outfile
=conftest.
$ac_objext
13006 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13007 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13008 _lt_linker_boilerplate
=`cat conftest.err`
13012 # Allow CC to be a program name with arguments.
13017 GCC
=$ac_cv_fc_compiler_gnu
13020 for cc_temp
in $compiler""; do
13022 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13023 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13028 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13031 if test -n "$compiler"; then
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13033 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13035 $as_echo "$can_build_shared" >&6; }
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13038 $as_echo_n "checking whether to build shared libraries... " >&6; }
13039 test "$can_build_shared" = "no" && enable_shared
=no
13041 # On AIX, shared libraries and static libraries use the same namespace, and
13042 # are all built from PIC.
13045 test "$enable_shared" = yes && enable_static
=no
13046 if test -n "$RANLIB"; then
13047 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13048 postinstall_cmds
='$RANLIB $lib'
13052 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13053 test "$enable_shared" = yes && enable_static
=no
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13058 $as_echo "$enable_shared" >&6; }
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13061 $as_echo_n "checking whether to build static libraries... " >&6; }
13062 # Make sure either enable_shared or enable_static is yes.
13063 test "$enable_shared" = yes || enable_static
=yes
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13065 $as_echo "$enable_static" >&6; }
13067 GCC_FC
="$ac_cv_fc_compiler_gnu"
13071 ## There is no encapsulation within the following macros, do not change
13072 ## the running order or otherwise move them around unless you know exactly
13073 ## what you are doing...
13074 # Dependencies to place before and after the object being linked:
13076 postdep_objects_FC
=
13079 compiler_lib_search_path_FC
=
13081 cat > conftest.
$ac_ext <<_LT_EOF
13090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13091 (eval $ac_compile) 2>&5
13093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13094 test $ac_status = 0; }; then
13095 # Parse the compiler output and extract the necessary
13096 # objects, libraries and library flags.
13098 # Sentinel used to keep track of whether or not we are before
13099 # the conftest object file.
13100 pre_test_object_deps_done
=no
13102 for p
in `eval "$output_verbose_link_cmd"`; do
13106 # Some compilers place space between "-{L,R}" and the path.
13107 # Remove the space.
13108 if test $p = "-L" ||
13109 test $p = "-R"; then
13116 if test "$pre_test_object_deps_done" = no
; then
13119 # Internal compiler library paths should come after those
13120 # provided the user. The postdeps already come after the
13121 # user supplied libs so there is no need to process them.
13122 if test -z "$compiler_lib_search_path_FC"; then
13123 compiler_lib_search_path_FC
="${prev}${p}"
13125 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13128 # The "-l" case would never come before the object being
13129 # linked, so don't bother handling this case.
13132 if test -z "$postdeps_FC"; then
13133 postdeps_FC
="${prev}${p}"
13135 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13141 # This assumes that the test object file only shows up
13142 # once in the compiler output.
13143 if test "$p" = "conftest.$objext"; then
13144 pre_test_object_deps_done
=yes
13148 if test "$pre_test_object_deps_done" = no
; then
13149 if test -z "$predep_objects_FC"; then
13150 predep_objects_FC
="$p"
13152 predep_objects_FC
="$predep_objects_FC $p"
13155 if test -z "$postdep_objects_FC"; then
13156 postdep_objects_FC
="$p"
13158 postdep_objects_FC
="$postdep_objects_FC $p"
13163 *) ;; # Ignore the rest.
13171 echo "libtool.m4: error: problem compiling FC test program"
13174 $RM -f confest.
$objext
13176 # PORTME: override above test on systems where it is broken
13179 case " $postdeps_FC " in
13180 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13182 compiler_lib_search_dirs_FC
=
13183 if test -n "${compiler_lib_search_path_FC}"; then
13184 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13217 lt_prog_compiler_wl_FC
=
13218 lt_prog_compiler_pic_FC
=
13219 lt_prog_compiler_static_FC
=
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13222 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13224 if test "$GCC" = yes; then
13225 lt_prog_compiler_wl_FC
='-Wl,'
13226 lt_prog_compiler_static_FC
='-static'
13230 # All AIX code is PIC.
13231 if test "$host_cpu" = ia64
; then
13232 # AIX 5 now supports IA64 processor
13233 lt_prog_compiler_static_FC
='-Bstatic'
13235 lt_prog_compiler_pic_FC
='-fPIC'
13241 # see comment about AmigaOS4 .so support
13242 lt_prog_compiler_pic_FC
='-fPIC'
13245 # FIXME: we need at least 68020 code to build shared libraries, but
13246 # adding the `-m68020' flag to GCC prevents building anything better,
13248 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13253 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13254 # PIC is the default for these OSes.
13257 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13258 # This hack is so that the source file can tell whether it is being
13259 # built for inclusion in a dll (and should export symbols for example).
13260 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13261 # (--disable-auto-import) libraries
13262 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13265 darwin
* | rhapsody
*)
13266 # PIC is the default on this platform
13267 # Common symbols not allowed in MH_DYLIB files
13268 lt_prog_compiler_pic_FC
='-fno-common'
13272 # PIC is the default for Haiku.
13273 # The "-static" flag exists, but is broken.
13274 lt_prog_compiler_static_FC
=
13278 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13279 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13280 # sets the default TLS model and affects inlining.
13286 lt_prog_compiler_pic_FC
='-fPIC'
13292 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13293 # Instead, we relocate shared libraries at runtime.
13297 # Just because we use GCC doesn't mean we suddenly get shared libraries
13298 # on systems that don't support them.
13299 lt_prog_compiler_can_build_shared_FC
=no
13304 # QNX uses GNU C++, but need to define -shared option too, otherwise
13305 # it will coredump.
13306 lt_prog_compiler_pic_FC
='-fPIC -shared'
13310 if test -d /usr
/nec
; then
13311 lt_prog_compiler_pic_FC
=-Kconform_pic
13316 lt_prog_compiler_pic_FC
='-fPIC'
13320 case $cc_basename in
13321 nvcc
*) # Cuda Compiler Driver 2.2
13322 lt_prog_compiler_wl_FC
='-Xlinker '
13323 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13327 # PORTME Check for flag to pass linker flags through the system compiler.
13330 lt_prog_compiler_wl_FC
='-Wl,'
13331 if test "$host_cpu" = ia64
; then
13332 # AIX 5 now supports IA64 processor
13333 lt_prog_compiler_static_FC
='-Bstatic'
13335 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13339 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13340 # This hack is so that the source file can tell whether it is being
13341 # built for inclusion in a dll (and should export symbols for example).
13342 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13345 hpux9
* | hpux10
* | hpux11
*)
13346 lt_prog_compiler_wl_FC
='-Wl,'
13347 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13348 # not for PA HP-UX.
13354 lt_prog_compiler_pic_FC
='+Z'
13357 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13358 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13361 irix5
* | irix6
* | nonstopux
*)
13362 lt_prog_compiler_wl_FC
='-Wl,'
13363 # PIC (with -KPIC) is the default.
13364 lt_prog_compiler_static_FC
='-non_shared'
13367 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13368 case $cc_basename in
13369 # old Intel for x86_64 which still supported -KPIC.
13371 lt_prog_compiler_wl_FC
='-Wl,'
13372 lt_prog_compiler_pic_FC
='-KPIC'
13373 lt_prog_compiler_static_FC
='-static'
13375 # icc used to be incompatible with GCC.
13376 # ICC 10 doesn't accept -KPIC any more.
13378 lt_prog_compiler_wl_FC
='-Wl,'
13379 lt_prog_compiler_pic_FC
='-fPIC'
13380 lt_prog_compiler_static_FC
='-static'
13382 # Lahey Fortran 8.1.
13384 lt_prog_compiler_wl_FC
='-Wl,'
13385 lt_prog_compiler_pic_FC
='--shared'
13386 lt_prog_compiler_static_FC
='--static'
13388 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13389 # Portland Group compilers (*not* the Pentium gcc compiler,
13390 # which looks to be a dead project)
13391 lt_prog_compiler_wl_FC
='-Wl,'
13392 lt_prog_compiler_pic_FC
='-fpic'
13393 lt_prog_compiler_static_FC
='-Bstatic'
13396 lt_prog_compiler_wl_FC
='-Wl,'
13397 # All Alpha code is PIC.
13398 lt_prog_compiler_static_FC
='-non_shared'
13400 xl
* | bgxl
* | bgf
* | mpixl
*)
13401 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13402 lt_prog_compiler_wl_FC
='-Wl,'
13403 lt_prog_compiler_pic_FC
='-qpic'
13404 lt_prog_compiler_static_FC
='-qstaticlink'
13407 case `$CC -V 2>&1 | sed 5q` in
13408 *Sun\ F
* |
*Sun
*Fortran
*)
13409 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13410 lt_prog_compiler_pic_FC
='-KPIC'
13411 lt_prog_compiler_static_FC
='-Bstatic'
13412 lt_prog_compiler_wl_FC
=''
13416 lt_prog_compiler_pic_FC
='-KPIC'
13417 lt_prog_compiler_static_FC
='-Bstatic'
13418 lt_prog_compiler_wl_FC
='-Wl,'
13426 lt_prog_compiler_pic_FC
='-KPIC'
13427 lt_prog_compiler_static_FC
='-Bstatic'
13431 # QNX uses GNU C++, but need to define -shared option too, otherwise
13432 # it will coredump.
13433 lt_prog_compiler_pic_FC
='-fPIC -shared'
13436 osf3
* | osf4
* | osf5
*)
13437 lt_prog_compiler_wl_FC
='-Wl,'
13438 # All OSF/1 code is PIC.
13439 lt_prog_compiler_static_FC
='-non_shared'
13443 lt_prog_compiler_static_FC
='-non_shared'
13447 lt_prog_compiler_pic_FC
='-KPIC'
13448 lt_prog_compiler_static_FC
='-Bstatic'
13449 case $cc_basename in
13450 f77
* | f90
* | f95
*)
13451 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13453 lt_prog_compiler_wl_FC
='-Wl,';;
13458 lt_prog_compiler_wl_FC
='-Qoption ld '
13459 lt_prog_compiler_pic_FC
='-PIC'
13460 lt_prog_compiler_static_FC
='-Bstatic'
13463 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13464 lt_prog_compiler_wl_FC
='-Wl,'
13465 lt_prog_compiler_pic_FC
='-KPIC'
13466 lt_prog_compiler_static_FC
='-Bstatic'
13470 if test -d /usr
/nec
;then
13471 lt_prog_compiler_pic_FC
='-Kconform_pic'
13472 lt_prog_compiler_static_FC
='-Bstatic'
13476 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13477 lt_prog_compiler_wl_FC
='-Wl,'
13478 lt_prog_compiler_pic_FC
='-KPIC'
13479 lt_prog_compiler_static_FC
='-Bstatic'
13483 lt_prog_compiler_wl_FC
='-Wl,'
13484 lt_prog_compiler_can_build_shared_FC
=no
13488 lt_prog_compiler_pic_FC
='-pic'
13489 lt_prog_compiler_static_FC
='-Bstatic'
13493 lt_prog_compiler_can_build_shared_FC
=no
13499 # For platforms which do not support PIC, -DPIC is meaningless:
13501 lt_prog_compiler_pic_FC
=
13504 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13508 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13513 # Check to make sure the PIC flag actually works.
13515 if test -n "$lt_prog_compiler_pic_FC"; then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13517 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13518 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13519 $as_echo_n "(cached) " >&6
13521 lt_cv_prog_compiler_pic_works_FC
=no
13522 ac_outfile
=conftest.
$ac_objext
13523 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13524 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13525 # Insert the option either (1) after the last *FLAGS variable, or
13526 # (2) before a word containing "conftest.", or (3) at the end.
13527 # Note that $ac_compile itself does not contain backslashes and begins
13528 # with a dollar sign (not a hyphen), so the echo should work correctly.
13529 # The option is referenced via a variable to avoid confusing sed.
13530 lt_compile
=`echo "$ac_compile" | $SED \
13531 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13533 -e 's:$: $lt_compiler_flag:'`
13534 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13535 (eval "$lt_compile" 2>conftest.err
)
13537 cat conftest.err
>&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 if (exit $ac_status) && test -s "$ac_outfile"; then
13540 # The compiler can only warn and ignore the option if not recognized
13541 # So say no if there are warnings other than the usual output.
13542 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13543 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13544 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13545 lt_cv_prog_compiler_pic_works_FC
=yes
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13552 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13554 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13555 case $lt_prog_compiler_pic_FC in
13557 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13560 lt_prog_compiler_pic_FC
=
13561 lt_prog_compiler_can_build_shared_FC
=no
13569 # Check to make sure the static flag actually works.
13571 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13573 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13574 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13575 $as_echo_n "(cached) " >&6
13577 lt_cv_prog_compiler_static_works_FC
=no
13578 save_LDFLAGS
="$LDFLAGS"
13579 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13580 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13581 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13582 # The linker can only warn and ignore the option if not recognized
13583 # So say no if there are warnings
13584 if test -s conftest.err
; then
13585 # Append any errors to the config.log.
13586 cat conftest.err
1>&5
13587 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13588 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13589 if diff conftest.exp conftest.er2
>/dev
/null
; then
13590 lt_cv_prog_compiler_static_works_FC
=yes
13593 lt_cv_prog_compiler_static_works_FC
=yes
13597 LDFLAGS
="$save_LDFLAGS"
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13601 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13603 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13606 lt_prog_compiler_static_FC
=
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13613 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13614 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13615 $as_echo_n "(cached) " >&6
13617 lt_cv_prog_compiler_c_o_FC
=no
13618 $RM -r conftest
2>/dev
/null
13622 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13624 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13625 # Insert the option either (1) after the last *FLAGS variable, or
13626 # (2) before a word containing "conftest.", or (3) at the end.
13627 # Note that $ac_compile itself does not contain backslashes and begins
13628 # with a dollar sign (not a hyphen), so the echo should work correctly.
13629 lt_compile
=`echo "$ac_compile" | $SED \
13630 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13631 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13632 -e 's:$: $lt_compiler_flag:'`
13633 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13634 (eval "$lt_compile" 2>out
/conftest.err
)
13636 cat out
/conftest.err
>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13640 # The compiler can only warn and ignore the option if not recognized
13641 # So say no if there are warnings
13642 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13643 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13644 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13645 lt_cv_prog_compiler_c_o_FC
=yes
13650 # SGI C++ compiler will create directory out/ii_files/ for
13651 # template instantiation
13652 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13653 $RM out
/* && rmdir out
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13660 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13666 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13667 $as_echo_n "(cached) " >&6
13669 lt_cv_prog_compiler_c_o_FC
=no
13670 $RM -r conftest
2>/dev
/null
13674 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13676 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13677 # Insert the option either (1) after the last *FLAGS variable, or
13678 # (2) before a word containing "conftest.", or (3) at the end.
13679 # Note that $ac_compile itself does not contain backslashes and begins
13680 # with a dollar sign (not a hyphen), so the echo should work correctly.
13681 lt_compile
=`echo "$ac_compile" | $SED \
13682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13684 -e 's:$: $lt_compiler_flag:'`
13685 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13686 (eval "$lt_compile" 2>out
/conftest.err
)
13688 cat out
/conftest.err
>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13692 # The compiler can only warn and ignore the option if not recognized
13693 # So say no if there are warnings
13694 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13695 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13696 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13697 lt_cv_prog_compiler_c_o_FC
=yes
13702 # SGI C++ compiler will create directory out/ii_files/ for
13703 # template instantiation
13704 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13705 $RM out
/* && rmdir out
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13712 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13717 hard_links
="nottested"
13718 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13719 # do not overwrite the value of need_locks provided by the user
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13721 $as_echo_n "checking if we can lock with hard links... " >&6; }
13724 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13726 ln conftest.a conftest.b
2>&5 || hard_links
=no
13727 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13729 $as_echo "$hard_links" >&6; }
13730 if test "$hard_links" = no
; then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13732 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13742 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13745 allow_undefined_flag_FC
=
13746 always_export_symbols_FC
=no
13748 archive_expsym_cmds_FC
=
13749 compiler_needs_object_FC
=no
13750 enable_shared_with_static_runtimes_FC
=no
13751 export_dynamic_flag_spec_FC
=
13752 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13753 hardcode_automatic_FC
=no
13754 hardcode_direct_FC
=no
13755 hardcode_direct_absolute_FC
=no
13756 hardcode_libdir_flag_spec_FC
=
13757 hardcode_libdir_flag_spec_ld_FC
=
13758 hardcode_libdir_separator_FC
=
13759 hardcode_minus_L_FC
=no
13760 hardcode_shlibpath_var_FC
=unsupported
13761 inherit_rpath_FC
=no
13762 link_all_deplibs_FC
=unknown
13764 module_expsym_cmds_FC
=
13765 old_archive_from_new_cmds_FC
=
13766 old_archive_from_expsyms_cmds_FC
=
13767 thread_safe_flag_spec_FC
=
13768 whole_archive_flag_spec_FC
=
13769 # include_expsyms should be a list of space-separated symbols to be *always*
13770 # included in the symbol list
13771 include_expsyms_FC
=
13772 # exclude_expsyms can be an extended regexp of symbols to exclude
13773 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13774 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13775 # as well as any symbol that contains `d'.
13776 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13777 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13778 # platforms (ab)use it in PIC code, but their linkers get confused if
13779 # the symbol is explicitly referenced. Since portable code cannot
13780 # rely on this symbol name, it's probably fine to never include it in
13781 # preloaded symbol tables.
13782 # Exclude shared library initialization/finalization symbols.
13783 extract_expsyms_cmds
=
13786 cygwin
* | mingw
* | pw32
* | cegcc
*)
13787 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13788 # When not using gcc, we currently assume that we are using
13789 # Microsoft Visual C++.
13790 if test "$GCC" != yes; then
13795 # we just hope/assume this is gcc and not c89 (= MSVC++)
13805 # On some targets, GNU ld is compatible enough with the native linker
13806 # that we're better off using the native interface for both.
13807 lt_use_gnu_ld_interface
=no
13808 if test "$with_gnu_ld" = yes; then
13811 # The AIX port of GNU ld has always aspired to compatibility
13812 # with the native linker. However, as the warning in the GNU ld
13813 # block says, versions before 2.19.5* couldn't really create working
13814 # shared libraries, regardless of the interface used.
13815 case `$LD -v 2>&1` in
13816 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13817 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13818 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13820 lt_use_gnu_ld_interface
=yes
13825 lt_use_gnu_ld_interface
=yes
13830 if test "$lt_use_gnu_ld_interface" = yes; then
13831 # If archive_cmds runs LD, not CC, wlarc should be empty
13834 # Set some defaults for GNU ld with shared library support. These
13835 # are reset later if shared libraries are not supported. Putting them
13836 # here allows them to be overridden if necessary.
13837 runpath_var
=LD_RUN_PATH
13838 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13839 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13840 # ancient GNU ld didn't support --whole-archive et. al.
13841 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13842 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13844 whole_archive_flag_spec_FC
=
13846 supports_anon_versioning
=no
13847 case `$LD -v 2>&1` in
13848 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13849 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13850 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13851 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13852 *\
2.11.
*) ;; # other 2.11 versions
13853 *) supports_anon_versioning
=yes ;;
13856 # See if GNU ld supports shared libraries.
13859 # On AIX/PPC, the GNU linker is very broken
13860 if test "$host_cpu" != ia64
; then
13864 *** Warning: the GNU linker, at least up to release 2.19, is reported
13865 *** to be unable to reliably create shared libraries on AIX.
13866 *** Therefore, libtool is disabling shared libraries support. If you
13867 *** really care for shared libraries, you may want to install binutils
13868 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13869 *** You will then need to restart the configuration process.
13878 # see comment about AmigaOS4 .so support
13879 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13880 archive_expsym_cmds_FC
=''
13883 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)'
13884 hardcode_libdir_flag_spec_FC
='-L$libdir'
13885 hardcode_minus_L_FC
=yes
13891 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13892 allow_undefined_flag_FC
=unsupported
13893 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13894 # support --undefined. This deserves some investigation. FIXME
13895 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13901 cygwin
* | mingw
* | pw32
* | cegcc
*)
13902 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13903 # as there is no search path for DLLs.
13904 hardcode_libdir_flag_spec_FC
='-L$libdir'
13905 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13906 allow_undefined_flag_FC
=unsupported
13907 always_export_symbols_FC
=no
13908 enable_shared_with_static_runtimes_FC
=yes
13909 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13911 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13912 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13913 # If the export-symbols file already is a .def file (1st line
13914 # is EXPORTS), use it as is; otherwise, prepend...
13915 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13916 cp $export_symbols $output_objdir/$soname.def;
13918 echo EXPORTS > $output_objdir/$soname.def;
13919 cat $export_symbols >> $output_objdir/$soname.def;
13921 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13928 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13929 link_all_deplibs_FC
=yes
13933 hardcode_direct_FC
=no
13934 hardcode_shlibpath_var_FC
=no
13935 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13936 export_dynamic_flag_spec_FC
='${wl}-E'
13937 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13938 # Instead, shared libraries are loaded at an image base (0x10000000 by
13939 # default) and relocated if they conflict, which is a slow very memory
13940 # consuming and fragmenting process. To avoid this, we pick a random,
13941 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13942 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13943 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'
13944 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'
13947 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13949 if test "$host_os" = linux-dietlibc
; then
13950 case $cc_basename in
13951 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13954 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13955 && test "$tmp_diet" = no
13958 tmp_sharedflag
='-shared'
13959 case $cc_basename,$host_cpu in
13960 pgcc
*) # Portland Group C compiler
13961 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'
13962 tmp_addflag
=' $pic_flag'
13964 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13965 # Portland Group f77 and f90 compilers
13966 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'
13967 tmp_addflag
=' $pic_flag -Mnomain' ;;
13968 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13969 tmp_addflag
=' -i_dynamic' ;;
13970 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13971 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13972 ifc
* | ifort
*) # Intel Fortran compiler
13973 tmp_addflag
=' -nofor_main' ;;
13974 lf95
*) # Lahey Fortran 8.1
13975 whole_archive_flag_spec_FC
=
13976 tmp_sharedflag
='--shared' ;;
13977 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13978 tmp_sharedflag
='-qmkshrobj'
13980 nvcc
*) # Cuda Compiler Driver 2.2
13981 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'
13982 compiler_needs_object_FC
=yes
13985 case `$CC -V 2>&1 | sed 5q` in
13986 *Sun\ C
*) # Sun C 5.9
13987 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'
13988 compiler_needs_object_FC
=yes
13989 tmp_sharedflag
='-G' ;;
13990 *Sun\ F
*) # Sun Fortran 8.3
13991 tmp_sharedflag
='-G' ;;
13993 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13995 if test "x$supports_anon_versioning" = xyes
; then
13996 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13997 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13998 echo "local: *; };" >> $output_objdir/$libname.ver~
13999 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14002 case $cc_basename in
14003 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14004 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14005 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14006 hardcode_libdir_flag_spec_FC
=
14007 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14008 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14009 if test "x$supports_anon_versioning" = xyes
; then
14010 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14011 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14012 echo "local: *; };" >> $output_objdir/$libname.ver~
14013 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14023 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14024 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14027 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14028 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14033 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14037 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14038 *** create shared libraries on Solaris systems. Therefore, libtool
14039 *** is disabling shared libraries support. We urge you to upgrade GNU
14040 *** binutils to release 2.9.1 or newer. Another option is to modify
14041 *** your PATH or compiler configuration so that the native linker is
14042 *** used, and then restart.
14045 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14046 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14047 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14053 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14054 case `$LD -v 2>&1` in
14055 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14059 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14060 *** reliably create shared libraries on SCO systems. Therefore, libtool
14061 *** is disabling shared libraries support. We urge you to upgrade GNU
14062 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14063 *** your PATH or compiler configuration so that the native linker is
14064 *** used, and then restart.
14069 # For security reasons, it is highly recommended that you always
14070 # use absolute paths for naming shared libraries, and exclude the
14071 # DT_RUNPATH tag from executables and libraries. But doing so
14072 # requires that you compile everything twice, which is a pain.
14073 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14074 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14075 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14076 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14085 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14087 hardcode_direct_FC
=yes
14088 hardcode_shlibpath_var_FC
=no
14092 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14093 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14094 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14101 if test "$ld_shlibs_FC" = no
; then
14103 hardcode_libdir_flag_spec_FC
=
14104 export_dynamic_flag_spec_FC
=
14105 whole_archive_flag_spec_FC
=
14108 # PORTME fill in a description of your system's linker (not GNU ld)
14111 allow_undefined_flag_FC
=unsupported
14112 always_export_symbols_FC
=yes
14113 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'
14114 # Note: this linker hardcodes the directories in LIBPATH if there
14115 # are no directories specified by -L.
14116 hardcode_minus_L_FC
=yes
14117 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14118 # Neither direct hardcoding nor static linking is supported with a
14120 hardcode_direct_FC
=unsupported
14125 if test "$host_cpu" = ia64
; then
14126 # On IA64, the linker does run time linking by default, so we don't
14127 # have to do anything special.
14128 aix_use_runtimelinking
=no
14129 exp_sym_flag
='-Bexport'
14132 # If we're using GNU nm, then we don't want the "-C" option.
14133 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14134 # Also, AIX nm treats weak defined symbols like other global
14135 # defined symbols, whereas GNU nm marks them as "W".
14136 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14137 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'
14139 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'
14141 aix_use_runtimelinking
=no
14143 # Test if we are trying to use run time linking or normal
14144 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14145 # need to do runtime linking.
14146 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14147 for ld_flag
in $LDFLAGS; do
14148 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14149 aix_use_runtimelinking
=yes
14156 exp_sym_flag
='-bexport'
14157 no_entry_flag
='-bnoentry'
14160 # When large executables or shared objects are built, AIX ld can
14161 # have problems creating the table of contents. If linking a library
14162 # or program results in "error TOC overflow" add -mminimal-toc to
14163 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14164 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14167 hardcode_direct_FC
=yes
14168 hardcode_direct_absolute_FC
=yes
14169 hardcode_libdir_separator_FC
=':'
14170 link_all_deplibs_FC
=yes
14171 file_list_spec_FC
='${wl}-f,'
14173 if test "$GCC" = yes; then
14174 case $host_os in aix4.
[012]|aix4.
[012].
*)
14175 # We only want to do this on AIX 4.2 and lower, the check
14176 # below for broken collect2 doesn't work under 4.3+
14177 collect2name
=`${CC} -print-prog-name=collect2`
14178 if test -f "$collect2name" &&
14179 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14181 # We have reworked collect2
14184 # We have old collect2
14185 hardcode_direct_FC
=unsupported
14186 # It fails to find uninstalled libraries when the uninstalled
14187 # path is not listed in the libpath. Setting hardcode_minus_L
14188 # to unsupported forces relinking
14189 hardcode_minus_L_FC
=yes
14190 hardcode_libdir_flag_spec_FC
='-L$libdir'
14191 hardcode_libdir_separator_FC
=
14195 shared_flag
='-shared'
14196 if test "$aix_use_runtimelinking" = yes; then
14197 shared_flag
="$shared_flag "'${wl}-G'
14201 if test "$host_cpu" = ia64
; then
14202 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14203 # chokes on -Wl,-G. The following line is correct:
14206 if test "$aix_use_runtimelinking" = yes; then
14207 shared_flag
='${wl}-G'
14209 shared_flag
='${wl}-bM:SRE'
14214 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14215 # It seems that -bexpall does not export symbols beginning with
14216 # underscore (_), so it is better to generate a list of symbols to export.
14217 always_export_symbols_FC
=yes
14218 if test "$aix_use_runtimelinking" = yes; then
14219 # Warning - without using the other runtime loading flags (-brtl),
14220 # -berok will link without error, but may produce a broken library.
14221 allow_undefined_flag_FC
='-berok'
14222 # Determine the default libpath from the value encoded in an
14223 # empty executable.
14224 if test x
$gcc_no_link = xyes
; then
14225 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14227 cat > conftest.
$ac_ext <<_ACEOF
14232 if ac_fn_fc_try_link
"$LINENO"; then :
14234 lt_aix_libpath_sed
='
14235 /Import File Strings/,/^$/ {
14241 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14242 # Check for a 64-bit object if we didn't find anything.
14243 if test -z "$aix_libpath"; then
14244 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14247 rm -f core conftest.err conftest.
$ac_objext \
14248 conftest
$ac_exeext conftest.
$ac_ext
14249 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14251 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14252 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"
14254 if test "$host_cpu" = ia64
; then
14255 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14256 allow_undefined_flag_FC
="-z nodefs"
14257 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"
14259 # Determine the default libpath from the value encoded in an
14260 # empty executable.
14261 if test x
$gcc_no_link = xyes
; then
14262 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14264 cat > conftest.
$ac_ext <<_ACEOF
14269 if ac_fn_fc_try_link
"$LINENO"; then :
14271 lt_aix_libpath_sed
='
14272 /Import File Strings/,/^$/ {
14278 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14279 # Check for a 64-bit object if we didn't find anything.
14280 if test -z "$aix_libpath"; then
14281 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14284 rm -f core conftest.err conftest.
$ac_objext \
14285 conftest
$ac_exeext conftest.
$ac_ext
14286 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14288 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14289 # Warning - without using the other run time loading flags,
14290 # -berok will link without error, but may produce a broken library.
14291 no_undefined_flag_FC
=' ${wl}-bernotok'
14292 allow_undefined_flag_FC
=' ${wl}-berok'
14293 if test "$with_gnu_ld" = yes; then
14294 # We only use this code for GNU lds that support --whole-archive.
14295 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14297 # Exported symbols can be pulled into shared objects from archives
14298 whole_archive_flag_spec_FC
='$convenience'
14300 archive_cmds_need_lc_FC
=yes
14301 # This is similar to how AIX traditionally builds its shared libraries.
14302 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'
14310 # see comment about AmigaOS4 .so support
14311 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14312 archive_expsym_cmds_FC
=''
14315 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)'
14316 hardcode_libdir_flag_spec_FC
='-L$libdir'
14317 hardcode_minus_L_FC
=yes
14323 export_dynamic_flag_spec_FC
=-rdynamic
14326 cygwin
* | mingw
* | pw32
* | cegcc
*)
14327 # When not using gcc, we currently assume that we are using
14328 # Microsoft Visual C++.
14329 # hardcode_libdir_flag_spec is actually meaningless, as there is
14330 # no search path for DLLs.
14331 hardcode_libdir_flag_spec_FC
=' '
14332 allow_undefined_flag_FC
=unsupported
14333 # Tell ltmain to make .lib files, not .a files.
14335 # Tell ltmain to make .dll files, not .so files.
14337 # FIXME: Setting linknames here is a bad hack.
14338 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14339 # The linker will automatically build a .lib file if we build a DLL.
14340 old_archive_from_new_cmds_FC
='true'
14341 # FIXME: Should let the user specify the lib program.
14342 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14343 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14344 enable_shared_with_static_runtimes_FC
=yes
14347 darwin
* | rhapsody
*)
14350 archive_cmds_need_lc_FC
=no
14351 hardcode_direct_FC
=no
14352 hardcode_automatic_FC
=yes
14353 hardcode_shlibpath_var_FC
=unsupported
14354 if test "$lt_cv_ld_force_load" = "yes"; then
14355 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\"`'
14357 whole_archive_flag_spec_FC
=''
14359 link_all_deplibs_FC
=yes
14360 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14361 case $cc_basename in
14362 ifort
*) _lt_dar_can_shared
=yes ;;
14363 *) _lt_dar_can_shared
=$GCC ;;
14365 if test "$_lt_dar_can_shared" = "yes"; then
14366 output_verbose_link_cmd
=func_echo_all
14367 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}"
14368 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14369 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}"
14370 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}"
14379 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14380 hardcode_libdir_flag_spec_FC
='-L$libdir'
14381 hardcode_shlibpath_var_FC
=no
14384 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14385 # support. Future versions do this automatically, but an explicit c++rt0.o
14386 # does not break anything, and helps significantly (at the cost of a little
14389 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14390 hardcode_libdir_flag_spec_FC
='-R$libdir'
14391 hardcode_direct_FC
=yes
14392 hardcode_shlibpath_var_FC
=no
14395 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14397 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14398 hardcode_direct_FC
=yes
14399 hardcode_minus_L_FC
=yes
14400 hardcode_shlibpath_var_FC
=no
14403 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14404 freebsd
* | dragonfly
*)
14405 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14406 hardcode_libdir_flag_spec_FC
='-R$libdir'
14407 hardcode_direct_FC
=yes
14408 hardcode_shlibpath_var_FC
=no
14412 if test "$GCC" = yes; then
14413 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'
14415 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'
14417 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14418 hardcode_libdir_separator_FC
=:
14419 hardcode_direct_FC
=yes
14421 # hardcode_minus_L: Not really in the search PATH,
14422 # but as the default location of the library.
14423 hardcode_minus_L_FC
=yes
14424 export_dynamic_flag_spec_FC
='${wl}-E'
14428 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14429 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14431 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14433 if test "$with_gnu_ld" = no
; then
14434 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14435 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14436 hardcode_libdir_separator_FC
=:
14437 hardcode_direct_FC
=yes
14438 hardcode_direct_absolute_FC
=yes
14439 export_dynamic_flag_spec_FC
='${wl}-E'
14440 # hardcode_minus_L: Not really in the search PATH,
14441 # but as the default location of the library.
14442 hardcode_minus_L_FC
=yes
14447 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14450 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14453 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14456 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14462 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14465 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14468 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14472 if test "$with_gnu_ld" = no
; then
14473 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14474 hardcode_libdir_separator_FC
=:
14478 hardcode_direct_FC
=no
14479 hardcode_shlibpath_var_FC
=no
14482 hardcode_direct_FC
=yes
14483 hardcode_direct_absolute_FC
=yes
14484 export_dynamic_flag_spec_FC
='${wl}-E'
14486 # hardcode_minus_L: Not really in the search PATH,
14487 # but as the default location of the library.
14488 hardcode_minus_L_FC
=yes
14494 irix5
* | irix6
* | nonstopux
*)
14495 if test "$GCC" = yes; then
14496 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'
14497 # Try to use the -exported_symbol ld option, if it does not
14498 # work, assume that -exports_file does not work either and
14499 # implicitly export all symbols.
14500 save_LDFLAGS
="$LDFLAGS"
14501 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14502 if test x
$gcc_no_link = xyes
; then
14503 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14505 cat > conftest.
$ac_ext <<_ACEOF
14508 if ac_fn_fc_try_link
"$LINENO"; then :
14509 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'
14512 rm -f core conftest.err conftest.
$ac_objext \
14513 conftest
$ac_exeext conftest.
$ac_ext
14514 LDFLAGS
="$save_LDFLAGS"
14516 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'
14517 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'
14519 archive_cmds_need_lc_FC
='no'
14520 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14521 hardcode_libdir_separator_FC
=:
14522 inherit_rpath_FC
=yes
14523 link_all_deplibs_FC
=yes
14527 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14528 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14530 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14532 hardcode_libdir_flag_spec_FC
='-R$libdir'
14533 hardcode_direct_FC
=yes
14534 hardcode_shlibpath_var_FC
=no
14538 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14539 hardcode_direct_FC
=yes
14540 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14541 hardcode_libdir_separator_FC
=:
14542 hardcode_shlibpath_var_FC
=no
14549 if test -f /usr
/libexec
/ld.so
; then
14550 hardcode_direct_FC
=yes
14551 hardcode_shlibpath_var_FC
=no
14552 hardcode_direct_absolute_FC
=yes
14553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14554 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14555 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14556 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14557 export_dynamic_flag_spec_FC
='${wl}-E'
14560 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14561 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14562 hardcode_libdir_flag_spec_FC
='-R$libdir'
14565 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14566 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14576 hardcode_libdir_flag_spec_FC
='-L$libdir'
14577 hardcode_minus_L_FC
=yes
14578 allow_undefined_flag_FC
=unsupported
14579 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'
14580 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14584 if test "$GCC" = yes; then
14585 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14586 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'
14588 allow_undefined_flag_FC
=' -expect_unresolved \*'
14589 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'
14591 archive_cmds_need_lc_FC
='no'
14592 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14593 hardcode_libdir_separator_FC
=:
14596 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14597 if test "$GCC" = yes; then
14598 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14599 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'
14600 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14602 allow_undefined_flag_FC
=' -expect_unresolved \*'
14603 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'
14604 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~
14605 $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'
14607 # Both c and cxx compiler support -rpath directly
14608 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14610 archive_cmds_need_lc_FC
='no'
14611 hardcode_libdir_separator_FC
=:
14615 no_undefined_flag_FC
=' -z defs'
14616 if test "$GCC" = yes; then
14618 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14619 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14620 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14622 case `$CC -V 2>&1` in
14625 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14626 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14627 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14631 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14632 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14633 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14637 hardcode_libdir_flag_spec_FC
='-R$libdir'
14638 hardcode_shlibpath_var_FC
=no
14640 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14642 # The compiler driver will combine and reorder linker options,
14643 # but understands `-z linker_flag'. GCC discards it without `$wl',
14644 # but is careful enough not to reorder.
14645 # Supported since Solaris 2.6 (maybe 2.5.1?)
14646 if test "$GCC" = yes; then
14647 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14649 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14653 link_all_deplibs_FC
=yes
14657 if test "x$host_vendor" = xsequent
; then
14658 # Use $CC to link under sequent, because it throws in some extra .o
14659 # files that make .init and .fini sections work.
14660 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14662 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14664 hardcode_libdir_flag_spec_FC
='-L$libdir'
14665 hardcode_direct_FC
=yes
14666 hardcode_minus_L_FC
=yes
14667 hardcode_shlibpath_var_FC
=no
14671 case $host_vendor in
14673 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14674 hardcode_direct_FC
=yes # is this really true???
14677 ## LD is ld it makes a PLAMLIB
14678 ## CC just makes a GrossModule.
14679 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14680 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14681 hardcode_direct_FC
=no
14684 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14685 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14688 runpath_var
='LD_RUN_PATH'
14689 hardcode_shlibpath_var_FC
=no
14693 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14694 hardcode_shlibpath_var_FC
=no
14695 export_dynamic_flag_spec_FC
='-Bexport'
14699 if test -d /usr
/nec
; then
14700 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14701 hardcode_shlibpath_var_FC
=no
14702 runpath_var
=LD_RUN_PATH
14703 hardcode_runpath_var
=yes
14708 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14709 no_undefined_flag_FC
='${wl}-z,text'
14710 archive_cmds_need_lc_FC
=no
14711 hardcode_shlibpath_var_FC
=no
14712 runpath_var
='LD_RUN_PATH'
14714 if test "$GCC" = yes; then
14715 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14716 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14718 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14719 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14723 sysv5
* | sco3.2v5
* | sco5v6
*)
14724 # Note: We can NOT use -z defs as we might desire, because we do not
14725 # link with -lc, and that would cause any symbols used from libc to
14726 # always be unresolved, which means just about no library would
14727 # ever link correctly. If we're not using GNU ld we use -z text
14728 # though, which does catch some bad symbols but isn't as heavy-handed
14730 no_undefined_flag_FC
='${wl}-z,text'
14731 allow_undefined_flag_FC
='${wl}-z,nodefs'
14732 archive_cmds_need_lc_FC
=no
14733 hardcode_shlibpath_var_FC
=no
14734 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14735 hardcode_libdir_separator_FC
=':'
14736 link_all_deplibs_FC
=yes
14737 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14738 runpath_var
='LD_RUN_PATH'
14740 if test "$GCC" = yes; then
14741 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14742 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14744 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14745 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14750 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14751 hardcode_libdir_flag_spec_FC
='-L$libdir'
14752 hardcode_shlibpath_var_FC
=no
14760 if test x
$host_vendor = xsni
; then
14762 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14763 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14770 $as_echo "$ld_shlibs_FC" >&6; }
14771 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14773 with_gnu_ld_FC
=$with_gnu_ld
14781 # Do we need to explicitly link libc?
14783 case "x$archive_cmds_need_lc_FC" in
14785 # Assume -lc should be added
14786 archive_cmds_need_lc_FC
=yes
14788 if test "$enable_shared" = yes && test "$GCC" = yes; then
14789 case $archive_cmds_FC in
14791 # FIXME: we may have to deal with multi-command sequences.
14794 # Test whether the compiler implicitly links with -lc since on some
14795 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14796 # to ld, don't add -lc before -lgcc.
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14798 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14799 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14800 $as_echo_n "(cached) " >&6
14803 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14806 (eval $ac_compile) 2>&5
14808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14809 test $ac_status = 0; } 2>conftest.err
; then
14812 libobjs
=conftest.
$ac_objext
14814 wl
=$lt_prog_compiler_wl_FC
14815 pic_flag
=$lt_prog_compiler_pic_FC
14821 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14822 allow_undefined_flag_FC
=
14823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14824 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14827 test $ac_status = 0; }
14829 lt_cv_archive_cmds_need_lc_FC
=no
14831 lt_cv_archive_cmds_need_lc_FC
=yes
14833 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14835 cat conftest.err
1>&5
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14841 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14842 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14913 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14915 library_names_spec
=
14916 libname_spec
='lib$name'
14920 postuninstall_cmds
=
14924 shlibpath_overrides_runpath
=unknown
14926 dynamic_linker
="$host_os ld.so"
14927 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14928 need_lib_prefix
=unknown
14929 hardcode_into_libs
=no
14931 # when you set need_version to no, make sure it does not cause -set_version
14932 # flags to be left without arguments
14933 need_version
=unknown
14938 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14939 shlibpath_var
=LIBPATH
14941 # AIX 3 has no versioning support, so we append a major version to the name.
14942 soname_spec
='${libname}${release}${shared_ext}$major'
14949 hardcode_into_libs
=yes
14950 if test "$host_cpu" = ia64
; then
14951 # AIX 5 supports IA64
14952 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14953 shlibpath_var
=LD_LIBRARY_PATH
14955 # With GCC up to 2.95.x, collect2 would create an import file
14956 # for dependence libraries. The import file would start with
14957 # the line `#! .'. This would cause the generated library to
14958 # depend on `.', always an invalid library. This was fixed in
14959 # development snapshots of GCC prior to 3.0.
14961 aix4 | aix4.
[01] | aix4.
[01].
*)
14962 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14964 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14967 can_build_shared
=no
14971 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14972 # soname into executable. Probably we can add versioning support to
14973 # collect2, so additional links can be useful in future.
14974 if test "$aix_use_runtimelinking" = yes; then
14975 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14976 # instead of lib<name>.a to let people know that these are not
14977 # typical AIX shared libraries.
14978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14980 # We preserve .a as extension for shared libraries through AIX4.2
14981 # and later when we are not doing run time linking.
14982 library_names_spec
='${libname}${release}.a $libname.a'
14983 soname_spec
='${libname}${release}${shared_ext}$major'
14985 shlibpath_var
=LIBPATH
14992 # Since July 2007 AmigaOS4 officially supports .so libraries.
14993 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14997 library_names_spec
='$libname.ixlibrary $libname.a'
14998 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14999 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'
15005 library_names_spec
='${libname}${shared_ext}'
15006 dynamic_linker
="$host_os ld.so"
15007 shlibpath_var
=LIBRARY_PATH
15013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15014 soname_spec
='${libname}${release}${shared_ext}$major'
15015 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15016 shlibpath_var
=LD_LIBRARY_PATH
15017 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15018 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15019 # the default ld.so.conf also contains /usr/contrib/lib and
15020 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15021 # libtool to hard-code these into programs
15024 cygwin
* | mingw
* | pw32
* | cegcc
*)
15025 version_type
=windows
15030 case $GCC,$host_os in
15031 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15032 library_names_spec
='$libname.dll.a'
15033 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15034 postinstall_cmds
='base_file=`basename \${file}`~
15035 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15036 dldir=$destdir/`dirname \$dlpath`~
15037 test -d \$dldir || mkdir -p \$dldir~
15038 $install_prog $dir/$dlname \$dldir/$dlname~
15039 chmod a+x \$dldir/$dlname~
15040 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15041 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15043 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15044 dlpath=$dir/\$dldll~
15046 shlibpath_overrides_runpath
=yes
15050 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15051 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15055 # MinGW DLLs use traditional 'lib' prefix
15056 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15059 # pw32 DLLs use 'pw' prefix rather than 'lib'
15060 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15066 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15069 dynamic_linker
='Win32 ld.exe'
15070 # FIXME: first we should search . and the directory the executable is in
15074 darwin
* | rhapsody
*)
15075 dynamic_linker
="$host_os dyld"
15076 version_type
=darwin
15079 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15080 soname_spec
='${libname}${release}${major}$shared_ext'
15081 shlibpath_overrides_runpath
=yes
15082 shlibpath_var
=DYLD_LIBRARY_PATH
15083 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15085 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15093 soname_spec
='${libname}${release}${shared_ext}$major'
15094 shlibpath_var
=LD_LIBRARY_PATH
15097 freebsd
* | dragonfly
*)
15098 # DragonFly does not have aout. When/if they implement a new
15099 # versioning mechanism, adjust this.
15100 if test -x /usr
/bin
/objformat
; then
15101 objformat
=`/usr/bin/objformat`
15104 freebsd
[23].
*) objformat
=aout
;;
15105 *) objformat
=elf
;;
15108 version_type
=freebsd-
$objformat
15109 case $version_type in
15111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15116 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15120 shlibpath_var
=LD_LIBRARY_PATH
15123 shlibpath_overrides_runpath
=yes
15125 freebsd3.
[01]* | freebsdelf3.
[01]*)
15126 shlibpath_overrides_runpath
=yes
15127 hardcode_into_libs
=yes
15129 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15130 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15131 shlibpath_overrides_runpath
=no
15132 hardcode_into_libs
=yes
15134 *) # from 4.6 on, and DragonFly
15135 shlibpath_overrides_runpath
=yes
15136 hardcode_into_libs
=yes
15145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15146 soname_spec
='${libname}${release}${shared_ext}$major'
15147 shlibpath_var
=LD_LIBRARY_PATH
15148 hardcode_into_libs
=yes
15155 dynamic_linker
="$host_os runtime_loader"
15156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15157 soname_spec
='${libname}${release}${shared_ext}$major'
15158 shlibpath_var
=LIBRARY_PATH
15159 shlibpath_overrides_runpath
=yes
15160 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15161 hardcode_into_libs
=yes
15164 hpux9
* | hpux10
* | hpux11
*)
15165 # Give a soname corresponding to the major version so that dld.sl refuses to
15166 # link against other versions.
15173 hardcode_into_libs
=yes
15174 dynamic_linker
="$host_os dld.so"
15175 shlibpath_var
=LD_LIBRARY_PATH
15176 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15178 soname_spec
='${libname}${release}${shared_ext}$major'
15179 if test "X$HPUX_IA64_MODE" = X32
; then
15180 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15182 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15184 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15188 hardcode_into_libs
=yes
15189 dynamic_linker
="$host_os dld.sl"
15190 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15191 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15193 soname_spec
='${libname}${release}${shared_ext}$major'
15194 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15195 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15199 dynamic_linker
="$host_os dld.sl"
15200 shlibpath_var
=SHLIB_PATH
15201 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203 soname_spec
='${libname}${release}${shared_ext}$major'
15206 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15207 postinstall_cmds
='chmod 555 $lib'
15208 # or fails outright, so override atomically:
15209 install_override_mode
=555
15216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15217 soname_spec
='${libname}${release}${shared_ext}$major'
15218 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15219 shlibpath_var
=LD_LIBRARY_PATH
15220 shlibpath_overrides_runpath
=no
15221 hardcode_into_libs
=yes
15224 irix5
* | irix6
* | nonstopux
*)
15226 nonstopux
*) version_type
=nonstopux
;;
15228 if test "$lt_cv_prog_gnu_ld" = yes; then
15236 soname_spec
='${libname}${release}${shared_ext}$major'
15237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15239 irix5
* | nonstopux
*)
15240 libsuff
= shlibsuff
=
15243 case $LD in # libtool.m4 will add one of these switches to LD
15244 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15245 libsuff
= shlibsuff
= libmagic
=32-bit;;
15246 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15247 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15248 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15249 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15250 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15254 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15255 shlibpath_overrides_runpath
=no
15256 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15257 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15258 hardcode_into_libs
=yes
15261 # No shared lib support for Linux oldld, aout, or coff.
15262 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15266 # This must be Linux ELF.
15267 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15272 soname_spec
='${libname}${release}${shared_ext}$major'
15273 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15274 shlibpath_var
=LD_LIBRARY_PATH
15275 shlibpath_overrides_runpath
=no
15277 # Some binutils ld are patched to set DT_RUNPATH
15278 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15279 $as_echo_n "(cached) " >&6
15281 lt_cv_shlibpath_overrides_runpath
=no
15282 save_LDFLAGS
=$LDFLAGS
15283 save_libdir
=$libdir
15284 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15285 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15286 if test x
$gcc_no_link = xyes
; then
15287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15289 cat > conftest.
$ac_ext <<_ACEOF
15294 if ac_fn_fc_try_link
"$LINENO"; then :
15295 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15296 lt_cv_shlibpath_overrides_runpath
=yes
15299 rm -f core conftest.err conftest.
$ac_objext \
15300 conftest
$ac_exeext conftest.
$ac_ext
15301 LDFLAGS
=$save_LDFLAGS
15302 libdir
=$save_libdir
15306 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15308 # This implies no fast_install, which is unacceptable.
15309 # Some rework will be needed to allow for fast_install
15310 # before this can be enabled.
15311 hardcode_into_libs
=yes
15313 # Append ld.so.conf contents to the search path
15314 if test -f /etc
/ld.so.conf
; then
15315 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' ' '`
15316 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15319 # We used to test for /lib/ld.so.1 and disable shared libraries on
15320 # powerpc, because MkLinux only supported shared libraries with the
15321 # GNU dynamic linker. Since this was broken with cross compilers,
15322 # most powerpc-linux boxes support dynamic linking these days and
15323 # people can always --disable-shared, the test was removed, and we
15324 # assume the GNU/Linux dynamic linker is in use.
15325 dynamic_linker
='GNU/Linux ld.so'
15332 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15334 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15335 dynamic_linker
='NetBSD (a.out) ld.so'
15337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15338 soname_spec
='${libname}${release}${shared_ext}$major'
15339 dynamic_linker
='NetBSD ld.elf_so'
15341 shlibpath_var
=LD_LIBRARY_PATH
15342 shlibpath_overrides_runpath
=yes
15343 hardcode_into_libs
=yes
15348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15349 shlibpath_var
=LD_LIBRARY_PATH
15350 shlibpath_overrides_runpath
=yes
15357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15358 soname_spec
='${libname}${release}${shared_ext}$major'
15359 shlibpath_var
=LD_LIBRARY_PATH
15360 shlibpath_overrides_runpath
=no
15361 hardcode_into_libs
=yes
15362 dynamic_linker
='ldqnx.so'
15367 sys_lib_dlsearch_path_spec
="/usr/lib"
15369 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15371 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15372 *) need_version
=no
;;
15374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15375 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15376 shlibpath_var
=LD_LIBRARY_PATH
15377 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15379 openbsd2.
[89] | openbsd2.
[89].
*)
15380 shlibpath_overrides_runpath
=no
15383 shlibpath_overrides_runpath
=yes
15387 shlibpath_overrides_runpath
=yes
15392 libname_spec
='$name'
15395 library_names_spec
='$libname${shared_ext} $libname.a'
15396 dynamic_linker
='OS/2 ld.exe'
15397 shlibpath_var
=LIBPATH
15400 osf3
* | osf4
* | osf5
*)
15404 soname_spec
='${libname}${release}${shared_ext}$major'
15405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15406 shlibpath_var
=LD_LIBRARY_PATH
15407 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15408 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15420 soname_spec
='${libname}${release}${shared_ext}$major'
15421 shlibpath_var
=LD_LIBRARY_PATH
15422 shlibpath_overrides_runpath
=yes
15423 hardcode_into_libs
=yes
15424 # ldd complains unless libraries are executable
15425 postinstall_cmds
='chmod +x $lib'
15430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15431 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15432 shlibpath_var
=LD_LIBRARY_PATH
15433 shlibpath_overrides_runpath
=yes
15434 if test "$with_gnu_ld" = yes; then
15442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15443 soname_spec
='${libname}${release}${shared_ext}$major'
15444 shlibpath_var
=LD_LIBRARY_PATH
15445 case $host_vendor in
15447 shlibpath_overrides_runpath
=no
15449 runpath_var
=LD_RUN_PATH
15457 shlibpath_overrides_runpath
=no
15458 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15464 if test -d /usr
/nec
;then
15466 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15467 soname_spec
='$libname${shared_ext}.$major'
15468 shlibpath_var
=LD_LIBRARY_PATH
15472 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15473 version_type
=freebsd-elf
15476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15477 soname_spec
='${libname}${release}${shared_ext}$major'
15478 shlibpath_var
=LD_LIBRARY_PATH
15479 shlibpath_overrides_runpath
=yes
15480 hardcode_into_libs
=yes
15481 if test "$with_gnu_ld" = yes; then
15482 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15484 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15487 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15491 sys_lib_dlsearch_path_spec
='/usr/lib'
15495 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15500 shlibpath_var
=LD_LIBRARY_PATH
15501 shlibpath_overrides_runpath
=no
15502 hardcode_into_libs
=yes
15507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15508 soname_spec
='${libname}${release}${shared_ext}$major'
15509 shlibpath_var
=LD_LIBRARY_PATH
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15517 $as_echo "$dynamic_linker" >&6; }
15518 test "$dynamic_linker" = no
&& can_build_shared
=no
15520 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15521 if test "$GCC" = yes; then
15522 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15525 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15526 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15528 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15529 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15570 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15571 hardcode_action_FC
=
15572 if test -n "$hardcode_libdir_flag_spec_FC" ||
15573 test -n "$runpath_var_FC" ||
15574 test "X$hardcode_automatic_FC" = "Xyes" ; then
15576 # We can hardcode non-existent directories.
15577 if test "$hardcode_direct_FC" != no
&&
15578 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15579 # have to relink, otherwise we might link with an installed library
15580 # when we should be linking with a yet-to-be-installed one
15581 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15582 test "$hardcode_minus_L_FC" != no
; then
15583 # Linking always hardcodes the temporary library directory.
15584 hardcode_action_FC
=relink
15586 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15587 hardcode_action_FC
=immediate
15590 # We cannot hardcode anything, or else we can only hardcode existing
15592 hardcode_action_FC
=unsupported
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15595 $as_echo "$hardcode_action_FC" >&6; }
15597 if test "$hardcode_action_FC" = relink ||
15598 test "$inherit_rpath_FC" = yes; then
15599 # Fast installation is not supported
15600 enable_fast_install
=no
15601 elif test "$shlibpath_overrides_runpath" = yes ||
15602 test "$enable_shared" = no
; then
15603 # Fast installation is not necessary
15604 enable_fast_install
=needless
15613 fi # test -n "$compiler"
15617 fi # test "$_lt_disable_FC" != yes
15620 ac_cpp
='$CPP $CPPFLAGS'
15621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15627 # extra LD Flags which are required for targets
15630 # Darwin needs -single_module when linking libgfortran
15631 extra_ldflags_libgfortran
=-Wl,-single_module
15636 # We need a working compiler at that point, otherwise give a clear
15637 # error message and bail out.
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15640 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15641 ac_ext
=${ac_fc_srcext-f}
15642 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15643 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15646 cat > conftest.
$ac_ext <<_ACEOF
15649 real, parameter :: bar = sin (12.34 / 2.5)
15652 if ac_fn_fc_try_compile
"$LINENO"; then :
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15654 $as_echo "yes" >&6; }
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15657 $as_echo "no" >&6; }
15658 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15663 ac_cpp
='$CPP $CPPFLAGS'
15664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15670 # Check whether --enable-largefile was given.
15671 if test "${enable_largefile+set}" = set; then :
15672 enableval
=$enable_largefile;
15675 if test "$enable_largefile" != no
; then
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15678 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15679 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15680 $as_echo_n "(cached) " >&6
15682 ac_cv_sys_largefile_CC
=no
15683 if test "$GCC" != yes; then
15686 # IRIX 6.2 and later do not support large files by default,
15687 # so use the C compiler's -n32 option if that helps.
15688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15689 /* end confdefs.h. */
15690 #include <sys/types.h>
15691 /* Check that off_t can represent 2**63 - 1 correctly.
15692 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15693 since some C++ compilers masquerading as C compilers
15694 incorrectly reject 9223372036854775807. */
15695 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15696 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15697 && LARGE_OFF_T % 2147483647 == 1)
15707 if ac_fn_c_try_compile
"$LINENO"; then :
15710 rm -f core conftest.err conftest.
$ac_objext
15712 if ac_fn_c_try_compile
"$LINENO"; then :
15713 ac_cv_sys_largefile_CC
=' -n32'; break
15715 rm -f core conftest.err conftest.
$ac_objext
15719 rm -f conftest.
$ac_ext
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15723 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15724 if test "$ac_cv_sys_largefile_CC" != no
; then
15725 CC
=$CC$ac_cv_sys_largefile_CC
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15729 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15730 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15731 $as_echo_n "(cached) " >&6
15734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15736 #include <sys/types.h>
15737 /* Check that off_t can represent 2**63 - 1 correctly.
15738 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15739 since some C++ compilers masquerading as C compilers
15740 incorrectly reject 9223372036854775807. */
15741 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15742 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15743 && LARGE_OFF_T % 2147483647 == 1)
15753 if ac_fn_c_try_compile
"$LINENO"; then :
15754 ac_cv_sys_file_offset_bits
=no
; break
15756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15759 #define _FILE_OFFSET_BITS 64
15760 #include <sys/types.h>
15761 /* Check that off_t can represent 2**63 - 1 correctly.
15762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15763 since some C++ compilers masquerading as C compilers
15764 incorrectly reject 9223372036854775807. */
15765 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15766 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15767 && LARGE_OFF_T % 2147483647 == 1)
15777 if ac_fn_c_try_compile
"$LINENO"; then :
15778 ac_cv_sys_file_offset_bits
=64; break
15780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15781 ac_cv_sys_file_offset_bits
=unknown
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15786 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15787 case $ac_cv_sys_file_offset_bits in #(
15790 cat >>confdefs.h
<<_ACEOF
15791 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15796 if test $ac_cv_sys_file_offset_bits = unknown
; then
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15798 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15799 if test "${ac_cv_sys_large_files+set}" = set; then :
15800 $as_echo_n "(cached) " >&6
15803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15805 #include <sys/types.h>
15806 /* Check that off_t can represent 2**63 - 1 correctly.
15807 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15808 since some C++ compilers masquerading as C compilers
15809 incorrectly reject 9223372036854775807. */
15810 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15811 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15812 && LARGE_OFF_T % 2147483647 == 1)
15822 if ac_fn_c_try_compile
"$LINENO"; then :
15823 ac_cv_sys_large_files
=no
; break
15825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15828 #define _LARGE_FILES 1
15829 #include <sys/types.h>
15830 /* Check that off_t can represent 2**63 - 1 correctly.
15831 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15832 since some C++ compilers masquerading as C compilers
15833 incorrectly reject 9223372036854775807. */
15834 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15835 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15836 && LARGE_OFF_T % 2147483647 == 1)
15846 if ac_fn_c_try_compile
"$LINENO"; then :
15847 ac_cv_sys_large_files
=1; break
15849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15850 ac_cv_sys_large_files
=unknown
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15855 $as_echo "$ac_cv_sys_large_files" >&6; }
15856 case $ac_cv_sys_large_files in #(
15859 cat >>confdefs.h
<<_ACEOF
15860 #define _LARGE_FILES $ac_cv_sys_large_files
15870 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15871 if test "x$ac_cv_type_off_t" = x
""yes; then :
15875 cat >>confdefs.h
<<_ACEOF
15876 #define off_t long int
15882 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15883 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15885 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15888 for ac_type
in 'int' 'long int' 'long long int'; do
15889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15891 $ac_includes_default
15895 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15902 if ac_fn_c_try_compile
"$LINENO"; then :
15904 cat >>confdefs.h
<<_ACEOF
15905 #define intptr_t $ac_type
15910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15911 test -z "$ac_type" && break
15917 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15918 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15920 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15923 for ac_type
in 'unsigned int' 'unsigned long int' \
15924 'unsigned long long int'; do
15925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 $ac_includes_default
15931 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15938 if ac_fn_c_try_compile
"$LINENO"; then :
15940 cat >>confdefs.h
<<_ACEOF
15941 #define uintptr_t $ac_type
15946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15947 test -z "$ac_type" && break
15952 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15953 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_PTRDIFF_T 1
15963 # check header files (we assume C89 is available, so don't check for that)
15967 for ac_header
in $ac_header_list
15969 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15970 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15972 eval as_val
=\$
$as_ac_Header
15973 if test "x$as_val" = x
""yes; then :
15974 cat >>confdefs.h
<<_ACEOF
15975 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16014 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16016 acx_cv_header_stdint
=stddef.h
16017 acx_cv_header_stdint_kind
="(already complete)"
16018 for i
in stdint.h
$inttype_headers; do
16019 unset ac_cv_type_uintptr_t
16020 unset ac_cv_type_uintmax_t
16021 unset ac_cv_type_int_least32_t
16022 unset ac_cv_type_int_fast32_t
16023 unset ac_cv_type_uint64_t
16024 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16025 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16028 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16029 acx_cv_header_stdint
=$i
16034 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16037 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16040 acx_cv_header_stdint_kind
="(mostly complete)"
16043 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16046 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16049 acx_cv_header_stdint_kind
="(mostly complete)"
16052 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16055 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16058 acx_cv_header_stdint_kind
="(mostly complete)"
16061 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16064 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16067 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16072 if test "$acx_cv_header_stdint" = stddef.h
; then
16073 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16074 for i
in stdint.h
$inttype_headers; do
16075 unset ac_cv_type_uintptr_t
16076 unset ac_cv_type_uint32_t
16077 unset ac_cv_type_uint64_t
16078 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16079 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16082 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16083 acx_cv_header_stdint
=$i
16088 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16091 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16095 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16098 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16105 if test "$acx_cv_header_stdint" = stddef.h
; then
16106 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16107 for i
in sys
/types.h
$inttype_headers; do
16108 unset ac_cv_type_u_int32_t
16109 unset ac_cv_type_u_int64_t
16110 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16111 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16114 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16115 acx_cv_header_stdint
=$i
16120 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16123 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16130 if test "$acx_cv_header_stdint" = stddef.h
; then
16131 acx_cv_header_stdint_kind
="(using manual detection)"
16134 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16135 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16136 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16137 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16138 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16140 # ----------------- Summarize what we found so far
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16143 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16145 case `$as_basename -- gstdint.h ||
16146 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16147 Xgstdint.h : 'X\(//\)$' \| \
16148 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16149 $as_echo X/gstdint.h |
16150 sed '/^.*\/\([^/][^/]*\)\/*$/{
16163 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16164 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16165 inttypes.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;} ;;
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16171 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16173 # ----------------- done included file, check C basic types --------
16175 # Lacking an uintptr_t? Test size of void *
16176 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16177 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16178 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16179 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16180 # This bug is HP SR number 8606223364.
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16182 $as_echo_n "checking size of void *... " >&6; }
16183 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16184 $as_echo_n "(cached) " >&6
16186 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16189 if test "$ac_cv_type_void_p" = yes; then
16190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16192 { as_fn_set_status
77
16193 as_fn_error
"cannot compute sizeof (void *)
16194 See \`config.log' for more details." "$LINENO" 5; }; }
16196 ac_cv_sizeof_void_p
=0
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16202 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16206 cat >>confdefs.h
<<_ACEOF
16207 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16213 # Lacking an uint64_t? Test size of long
16214 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16215 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16218 # This bug is HP SR number 8606223364.
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16220 $as_echo_n "checking size of long... " >&6; }
16221 if test "${ac_cv_sizeof_long+set}" = set; then :
16222 $as_echo_n "(cached) " >&6
16224 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16227 if test "$ac_cv_type_long" = yes; then
16228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16230 { as_fn_set_status
77
16231 as_fn_error
"cannot compute sizeof (long)
16232 See \`config.log' for more details." "$LINENO" 5; }; }
16234 ac_cv_sizeof_long
=0
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16240 $as_echo "$ac_cv_sizeof_long" >&6; }
16244 cat >>confdefs.h
<<_ACEOF
16245 #define SIZEOF_LONG $ac_cv_sizeof_long
16251 if test $acx_cv_header_stdint = stddef.h
; then
16252 # Lacking a good header? Test size of everything and deduce all types.
16253 # The cast to long int works around a bug in the HP C Compiler
16254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16256 # This bug is HP SR number 8606223364.
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16258 $as_echo_n "checking size of int... " >&6; }
16259 if test "${ac_cv_sizeof_int+set}" = set; then :
16260 $as_echo_n "(cached) " >&6
16262 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16265 if test "$ac_cv_type_int" = yes; then
16266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16268 { as_fn_set_status
77
16269 as_fn_error
"cannot compute sizeof (int)
16270 See \`config.log' for more details." "$LINENO" 5; }; }
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16278 $as_echo "$ac_cv_sizeof_int" >&6; }
16282 cat >>confdefs.h
<<_ACEOF
16283 #define SIZEOF_INT $ac_cv_sizeof_int
16287 # The cast to long int works around a bug in the HP C Compiler
16288 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16289 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16290 # This bug is HP SR number 8606223364.
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16292 $as_echo_n "checking size of short... " >&6; }
16293 if test "${ac_cv_sizeof_short+set}" = set; then :
16294 $as_echo_n "(cached) " >&6
16296 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16299 if test "$ac_cv_type_short" = yes; then
16300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16302 { as_fn_set_status
77
16303 as_fn_error
"cannot compute sizeof (short)
16304 See \`config.log' for more details." "$LINENO" 5; }; }
16306 ac_cv_sizeof_short
=0
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16312 $as_echo "$ac_cv_sizeof_short" >&6; }
16316 cat >>confdefs.h
<<_ACEOF
16317 #define SIZEOF_SHORT $ac_cv_sizeof_short
16321 # The cast to long int works around a bug in the HP C Compiler
16322 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16323 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16324 # This bug is HP SR number 8606223364.
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16326 $as_echo_n "checking size of char... " >&6; }
16327 if test "${ac_cv_sizeof_char+set}" = set; then :
16328 $as_echo_n "(cached) " >&6
16330 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16333 if test "$ac_cv_type_char" = yes; then
16334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16336 { as_fn_set_status
77
16337 as_fn_error
"cannot compute sizeof (char)
16338 See \`config.log' for more details." "$LINENO" 5; }; }
16340 ac_cv_sizeof_char
=0
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16346 $as_echo "$ac_cv_sizeof_char" >&6; }
16350 cat >>confdefs.h
<<_ACEOF
16351 #define SIZEOF_CHAR $ac_cv_sizeof_char
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16357 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16358 case "$ac_cv_sizeof_char" in
16359 1) acx_cv_type_int8_t
=char
;;
16360 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16363 $as_echo "$acx_cv_type_int8_t" >&6; }
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16366 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16367 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16368 2:*) acx_cv_type_int16_t
=int
;;
16369 *:2) acx_cv_type_int16_t
=short
;;
16370 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16373 $as_echo "$acx_cv_type_int16_t" >&6; }
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16376 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16377 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16378 4:*) acx_cv_type_int32_t
=int
;;
16379 *:4) acx_cv_type_int32_t
=long
;;
16380 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16383 $as_echo "$acx_cv_type_int32_t" >&6; }
16386 # These tests are here to make the output prettier
16388 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16389 case "$ac_cv_sizeof_long" in
16390 8) acx_cv_type_int64_t
=long
;;
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16393 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16395 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16398 # Now we can use the above types
16400 if test "$ac_cv_type_uintptr_t" != yes; then
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16402 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16403 case $ac_cv_sizeof_void_p in
16404 2) acx_cv_type_intptr_t
=int16_t
;;
16405 4) acx_cv_type_intptr_t
=int32_t
;;
16406 8) acx_cv_type_intptr_t
=int64_t
;;
16407 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16410 $as_echo "$acx_cv_type_intptr_t" >&6; }
16413 # ----------------- done all checks, emit header -------------
16414 ac_config_commands
="$ac_config_commands gstdint.h"
16419 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16420 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16422 cat >>confdefs.h
<<_ACEOF
16423 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16428 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16429 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16431 cat >>confdefs.h
<<_ACEOF
16432 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16437 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16438 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16440 cat >>confdefs.h
<<_ACEOF
16441 #define HAVE_STRUCT_STAT_ST_RDEV 1
16448 # Check for library functions.
16449 if test "x${with_newlib}" = "xyes"; then
16450 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16451 # may not work correctly, because the compiler may not be able to
16452 # link executables.
16454 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16457 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16460 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16463 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16466 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16469 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16472 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16475 # At some point, we should differentiate between architectures
16476 # like x86, which have long double versions, and alpha/powerpc/etc.,
16477 # which don't. For the time being, punt.
16478 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16480 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16487 for ac_func
in $ac_func_list
16489 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16490 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16491 eval as_val
=\$
$as_ac_var
16492 if test "x$as_val" = x
""yes; then :
16493 cat >>confdefs.h
<<_ACEOF
16494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16607 # Check strerror_r, cannot be above as versions with two and three arguments exist
16609 ac_save_CFLAGS
="$CFLAGS"
16610 CFLAGS
="-Wimplicit-function-declaration -Werror"
16611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h. */
16613 #define _GNU_SOURCE 1
16614 #include <string.h>
16615 #include <locale.h>
16619 char s[128]; strerror_r(5, s, 128);
16624 if ac_fn_c_try_compile
"$LINENO"; then :
16626 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16630 CFLAGS
="$ac_save_CFLAGS"
16632 ac_save_CFLAGS
="$CFLAGS"
16633 CFLAGS
="-Wimplicit-function-declaration -Werror"
16634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16635 /* end confdefs.h. */
16636 #define _GNU_SOURCE 1
16637 #include <string.h>
16638 #include <locale.h>
16642 char s[128]; strerror_r(5, s);
16647 if ac_fn_c_try_compile
"$LINENO"; then :
16649 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16653 CFLAGS
="$ac_save_CFLAGS"
16656 # Check for C99 (and other IEEE) math functions
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16658 $as_echo_n "checking for sin in -lm... " >&6; }
16659 if test "${ac_cv_lib_m_sin+set}" = set; then :
16660 $as_echo_n "(cached) " >&6
16662 ac_check_lib_save_LIBS
=$LIBS
16664 if test x
$gcc_no_link = xyes
; then
16665 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16670 /* Override any GCC internal prototype to avoid an error.
16671 Use char because int might match the return type of a GCC
16672 builtin and then its argument prototype would still apply. */
16685 if ac_fn_c_try_link
"$LINENO"; then :
16686 ac_cv_lib_m_sin
=yes
16690 rm -f core conftest.err conftest.
$ac_objext \
16691 conftest
$ac_exeext conftest.
$ac_ext
16692 LIBS
=$ac_check_lib_save_LIBS
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16695 $as_echo "$ac_cv_lib_m_sin" >&6; }
16696 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16697 cat >>confdefs.h
<<_ACEOF
16698 #define HAVE_LIBM 1
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16712 $as_echo_n "checking for acosf... " >&6; }
16713 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16714 $as_echo_n "(cached) " >&6
16716 if test x
$gcc_no_link = xyes
; then
16717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16722 #ifdef HAVE_COMPLEX_H
16723 #include <complex.h>
16729 int (*ptr)() = (int (*)())acosf;
16738 if ac_fn_c_try_link
"$LINENO"; then :
16739 gcc_cv_math_func_acosf
=yes
16741 gcc_cv_math_func_acosf
=no
16743 rm -f core conftest.err conftest.
$ac_objext \
16744 conftest
$ac_exeext conftest.
$ac_ext
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16747 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16748 if test $gcc_cv_math_func_acosf = yes; then
16750 cat >>confdefs.h
<<_ACEOF
16751 #define HAVE_ACOSF 1
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16760 $as_echo_n "checking for acos... " >&6; }
16761 if test "${gcc_cv_math_func_acos+set}" = set; then :
16762 $as_echo_n "(cached) " >&6
16764 if test x
$gcc_no_link = xyes
; then
16765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16770 #ifdef HAVE_COMPLEX_H
16771 #include <complex.h>
16777 int (*ptr)() = (int (*)())acos;
16786 if ac_fn_c_try_link
"$LINENO"; then :
16787 gcc_cv_math_func_acos
=yes
16789 gcc_cv_math_func_acos
=no
16791 rm -f core conftest.err conftest.
$ac_objext \
16792 conftest
$ac_exeext conftest.
$ac_ext
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16795 $as_echo "$gcc_cv_math_func_acos" >&6; }
16796 if test $gcc_cv_math_func_acos = yes; then
16798 cat >>confdefs.h
<<_ACEOF
16799 #define HAVE_ACOS 1
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16808 $as_echo_n "checking for acosl... " >&6; }
16809 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16810 $as_echo_n "(cached) " >&6
16812 if test x
$gcc_no_link = xyes
; then
16813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 #ifdef HAVE_COMPLEX_H
16819 #include <complex.h>
16825 int (*ptr)() = (int (*)())acosl;
16834 if ac_fn_c_try_link
"$LINENO"; then :
16835 gcc_cv_math_func_acosl
=yes
16837 gcc_cv_math_func_acosl
=no
16839 rm -f core conftest.err conftest.
$ac_objext \
16840 conftest
$ac_exeext conftest.
$ac_ext
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16843 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16844 if test $gcc_cv_math_func_acosl = yes; then
16846 cat >>confdefs.h
<<_ACEOF
16847 #define HAVE_ACOSL 1
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16856 $as_echo_n "checking for acoshf... " >&6; }
16857 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16858 $as_echo_n "(cached) " >&6
16860 if test x
$gcc_no_link = xyes
; then
16861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16866 #ifdef HAVE_COMPLEX_H
16867 #include <complex.h>
16873 int (*ptr)() = (int (*)())acoshf;
16882 if ac_fn_c_try_link
"$LINENO"; then :
16883 gcc_cv_math_func_acoshf
=yes
16885 gcc_cv_math_func_acoshf
=no
16887 rm -f core conftest.err conftest.
$ac_objext \
16888 conftest
$ac_exeext conftest.
$ac_ext
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16891 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16892 if test $gcc_cv_math_func_acoshf = yes; then
16894 cat >>confdefs.h
<<_ACEOF
16895 #define HAVE_ACOSHF 1
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16904 $as_echo_n "checking for acosh... " >&6; }
16905 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16906 $as_echo_n "(cached) " >&6
16908 if test x
$gcc_no_link = xyes
; then
16909 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16914 #ifdef HAVE_COMPLEX_H
16915 #include <complex.h>
16921 int (*ptr)() = (int (*)())acosh;
16930 if ac_fn_c_try_link
"$LINENO"; then :
16931 gcc_cv_math_func_acosh
=yes
16933 gcc_cv_math_func_acosh
=no
16935 rm -f core conftest.err conftest.
$ac_objext \
16936 conftest
$ac_exeext conftest.
$ac_ext
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16939 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16940 if test $gcc_cv_math_func_acosh = yes; then
16942 cat >>confdefs.h
<<_ACEOF
16943 #define HAVE_ACOSH 1
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16952 $as_echo_n "checking for acoshl... " >&6; }
16953 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16954 $as_echo_n "(cached) " >&6
16956 if test x
$gcc_no_link = xyes
; then
16957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16962 #ifdef HAVE_COMPLEX_H
16963 #include <complex.h>
16969 int (*ptr)() = (int (*)())acoshl;
16978 if ac_fn_c_try_link
"$LINENO"; then :
16979 gcc_cv_math_func_acoshl
=yes
16981 gcc_cv_math_func_acoshl
=no
16983 rm -f core conftest.err conftest.
$ac_objext \
16984 conftest
$ac_exeext conftest.
$ac_ext
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16987 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16988 if test $gcc_cv_math_func_acoshl = yes; then
16990 cat >>confdefs.h
<<_ACEOF
16991 #define HAVE_ACOSHL 1
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17000 $as_echo_n "checking for asinf... " >&6; }
17001 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17002 $as_echo_n "(cached) " >&6
17004 if test x
$gcc_no_link = xyes
; then
17005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17010 #ifdef HAVE_COMPLEX_H
17011 #include <complex.h>
17017 int (*ptr)() = (int (*)())asinf;
17026 if ac_fn_c_try_link
"$LINENO"; then :
17027 gcc_cv_math_func_asinf
=yes
17029 gcc_cv_math_func_asinf
=no
17031 rm -f core conftest.err conftest.
$ac_objext \
17032 conftest
$ac_exeext conftest.
$ac_ext
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17035 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17036 if test $gcc_cv_math_func_asinf = yes; then
17038 cat >>confdefs.h
<<_ACEOF
17039 #define HAVE_ASINF 1
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17048 $as_echo_n "checking for asin... " >&6; }
17049 if test "${gcc_cv_math_func_asin+set}" = set; then :
17050 $as_echo_n "(cached) " >&6
17052 if test x
$gcc_no_link = xyes
; then
17053 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17058 #ifdef HAVE_COMPLEX_H
17059 #include <complex.h>
17065 int (*ptr)() = (int (*)())asin;
17074 if ac_fn_c_try_link
"$LINENO"; then :
17075 gcc_cv_math_func_asin
=yes
17077 gcc_cv_math_func_asin
=no
17079 rm -f core conftest.err conftest.
$ac_objext \
17080 conftest
$ac_exeext conftest.
$ac_ext
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17083 $as_echo "$gcc_cv_math_func_asin" >&6; }
17084 if test $gcc_cv_math_func_asin = yes; then
17086 cat >>confdefs.h
<<_ACEOF
17087 #define HAVE_ASIN 1
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17096 $as_echo_n "checking for asinl... " >&6; }
17097 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17098 $as_echo_n "(cached) " >&6
17100 if test x
$gcc_no_link = xyes
; then
17101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17106 #ifdef HAVE_COMPLEX_H
17107 #include <complex.h>
17113 int (*ptr)() = (int (*)())asinl;
17122 if ac_fn_c_try_link
"$LINENO"; then :
17123 gcc_cv_math_func_asinl
=yes
17125 gcc_cv_math_func_asinl
=no
17127 rm -f core conftest.err conftest.
$ac_objext \
17128 conftest
$ac_exeext conftest.
$ac_ext
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17131 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17132 if test $gcc_cv_math_func_asinl = yes; then
17134 cat >>confdefs.h
<<_ACEOF
17135 #define HAVE_ASINL 1
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17144 $as_echo_n "checking for asinhf... " >&6; }
17145 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17146 $as_echo_n "(cached) " >&6
17148 if test x
$gcc_no_link = xyes
; then
17149 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17154 #ifdef HAVE_COMPLEX_H
17155 #include <complex.h>
17161 int (*ptr)() = (int (*)())asinhf;
17170 if ac_fn_c_try_link
"$LINENO"; then :
17171 gcc_cv_math_func_asinhf
=yes
17173 gcc_cv_math_func_asinhf
=no
17175 rm -f core conftest.err conftest.
$ac_objext \
17176 conftest
$ac_exeext conftest.
$ac_ext
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17179 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17180 if test $gcc_cv_math_func_asinhf = yes; then
17182 cat >>confdefs.h
<<_ACEOF
17183 #define HAVE_ASINHF 1
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17192 $as_echo_n "checking for asinh... " >&6; }
17193 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17194 $as_echo_n "(cached) " >&6
17196 if test x
$gcc_no_link = xyes
; then
17197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17202 #ifdef HAVE_COMPLEX_H
17203 #include <complex.h>
17209 int (*ptr)() = (int (*)())asinh;
17218 if ac_fn_c_try_link
"$LINENO"; then :
17219 gcc_cv_math_func_asinh
=yes
17221 gcc_cv_math_func_asinh
=no
17223 rm -f core conftest.err conftest.
$ac_objext \
17224 conftest
$ac_exeext conftest.
$ac_ext
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17227 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17228 if test $gcc_cv_math_func_asinh = yes; then
17230 cat >>confdefs.h
<<_ACEOF
17231 #define HAVE_ASINH 1
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17240 $as_echo_n "checking for asinhl... " >&6; }
17241 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17242 $as_echo_n "(cached) " >&6
17244 if test x
$gcc_no_link = xyes
; then
17245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17250 #ifdef HAVE_COMPLEX_H
17251 #include <complex.h>
17257 int (*ptr)() = (int (*)())asinhl;
17266 if ac_fn_c_try_link
"$LINENO"; then :
17267 gcc_cv_math_func_asinhl
=yes
17269 gcc_cv_math_func_asinhl
=no
17271 rm -f core conftest.err conftest.
$ac_objext \
17272 conftest
$ac_exeext conftest.
$ac_ext
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17275 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17276 if test $gcc_cv_math_func_asinhl = yes; then
17278 cat >>confdefs.h
<<_ACEOF
17279 #define HAVE_ASINHL 1
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17288 $as_echo_n "checking for atan2f... " >&6; }
17289 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17290 $as_echo_n "(cached) " >&6
17292 if test x
$gcc_no_link = xyes
; then
17293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17298 #ifdef HAVE_COMPLEX_H
17299 #include <complex.h>
17305 int (*ptr)() = (int (*)())atan2f;
17314 if ac_fn_c_try_link
"$LINENO"; then :
17315 gcc_cv_math_func_atan2f
=yes
17317 gcc_cv_math_func_atan2f
=no
17319 rm -f core conftest.err conftest.
$ac_objext \
17320 conftest
$ac_exeext conftest.
$ac_ext
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17323 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17324 if test $gcc_cv_math_func_atan2f = yes; then
17326 cat >>confdefs.h
<<_ACEOF
17327 #define HAVE_ATAN2F 1
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17336 $as_echo_n "checking for atan2... " >&6; }
17337 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17338 $as_echo_n "(cached) " >&6
17340 if test x
$gcc_no_link = xyes
; then
17341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17346 #ifdef HAVE_COMPLEX_H
17347 #include <complex.h>
17353 int (*ptr)() = (int (*)())atan2;
17362 if ac_fn_c_try_link
"$LINENO"; then :
17363 gcc_cv_math_func_atan2
=yes
17365 gcc_cv_math_func_atan2
=no
17367 rm -f core conftest.err conftest.
$ac_objext \
17368 conftest
$ac_exeext conftest.
$ac_ext
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17371 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17372 if test $gcc_cv_math_func_atan2 = yes; then
17374 cat >>confdefs.h
<<_ACEOF
17375 #define HAVE_ATAN2 1
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17384 $as_echo_n "checking for atan2l... " >&6; }
17385 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17386 $as_echo_n "(cached) " >&6
17388 if test x
$gcc_no_link = xyes
; then
17389 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17394 #ifdef HAVE_COMPLEX_H
17395 #include <complex.h>
17401 int (*ptr)() = (int (*)())atan2l;
17410 if ac_fn_c_try_link
"$LINENO"; then :
17411 gcc_cv_math_func_atan2l
=yes
17413 gcc_cv_math_func_atan2l
=no
17415 rm -f core conftest.err conftest.
$ac_objext \
17416 conftest
$ac_exeext conftest.
$ac_ext
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17419 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17420 if test $gcc_cv_math_func_atan2l = yes; then
17422 cat >>confdefs.h
<<_ACEOF
17423 #define HAVE_ATAN2L 1
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17432 $as_echo_n "checking for atanf... " >&6; }
17433 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17434 $as_echo_n "(cached) " >&6
17436 if test x
$gcc_no_link = xyes
; then
17437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17442 #ifdef HAVE_COMPLEX_H
17443 #include <complex.h>
17449 int (*ptr)() = (int (*)())atanf;
17458 if ac_fn_c_try_link
"$LINENO"; then :
17459 gcc_cv_math_func_atanf
=yes
17461 gcc_cv_math_func_atanf
=no
17463 rm -f core conftest.err conftest.
$ac_objext \
17464 conftest
$ac_exeext conftest.
$ac_ext
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17467 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17468 if test $gcc_cv_math_func_atanf = yes; then
17470 cat >>confdefs.h
<<_ACEOF
17471 #define HAVE_ATANF 1
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17480 $as_echo_n "checking for atan... " >&6; }
17481 if test "${gcc_cv_math_func_atan+set}" = set; then :
17482 $as_echo_n "(cached) " >&6
17484 if test x
$gcc_no_link = xyes
; then
17485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17488 /* end confdefs.h. */
17490 #ifdef HAVE_COMPLEX_H
17491 #include <complex.h>
17497 int (*ptr)() = (int (*)())atan;
17506 if ac_fn_c_try_link
"$LINENO"; then :
17507 gcc_cv_math_func_atan
=yes
17509 gcc_cv_math_func_atan
=no
17511 rm -f core conftest.err conftest.
$ac_objext \
17512 conftest
$ac_exeext conftest.
$ac_ext
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17515 $as_echo "$gcc_cv_math_func_atan" >&6; }
17516 if test $gcc_cv_math_func_atan = yes; then
17518 cat >>confdefs.h
<<_ACEOF
17519 #define HAVE_ATAN 1
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17528 $as_echo_n "checking for atanl... " >&6; }
17529 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17530 $as_echo_n "(cached) " >&6
17532 if test x
$gcc_no_link = xyes
; then
17533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17538 #ifdef HAVE_COMPLEX_H
17539 #include <complex.h>
17545 int (*ptr)() = (int (*)())atanl;
17554 if ac_fn_c_try_link
"$LINENO"; then :
17555 gcc_cv_math_func_atanl
=yes
17557 gcc_cv_math_func_atanl
=no
17559 rm -f core conftest.err conftest.
$ac_objext \
17560 conftest
$ac_exeext conftest.
$ac_ext
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17563 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17564 if test $gcc_cv_math_func_atanl = yes; then
17566 cat >>confdefs.h
<<_ACEOF
17567 #define HAVE_ATANL 1
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17576 $as_echo_n "checking for atanhf... " >&6; }
17577 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17578 $as_echo_n "(cached) " >&6
17580 if test x
$gcc_no_link = xyes
; then
17581 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17586 #ifdef HAVE_COMPLEX_H
17587 #include <complex.h>
17593 int (*ptr)() = (int (*)())atanhf;
17602 if ac_fn_c_try_link
"$LINENO"; then :
17603 gcc_cv_math_func_atanhf
=yes
17605 gcc_cv_math_func_atanhf
=no
17607 rm -f core conftest.err conftest.
$ac_objext \
17608 conftest
$ac_exeext conftest.
$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17611 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17612 if test $gcc_cv_math_func_atanhf = yes; then
17614 cat >>confdefs.h
<<_ACEOF
17615 #define HAVE_ATANHF 1
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17624 $as_echo_n "checking for atanh... " >&6; }
17625 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17626 $as_echo_n "(cached) " >&6
17628 if test x
$gcc_no_link = xyes
; then
17629 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17634 #ifdef HAVE_COMPLEX_H
17635 #include <complex.h>
17641 int (*ptr)() = (int (*)())atanh;
17650 if ac_fn_c_try_link
"$LINENO"; then :
17651 gcc_cv_math_func_atanh
=yes
17653 gcc_cv_math_func_atanh
=no
17655 rm -f core conftest.err conftest.
$ac_objext \
17656 conftest
$ac_exeext conftest.
$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17659 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17660 if test $gcc_cv_math_func_atanh = yes; then
17662 cat >>confdefs.h
<<_ACEOF
17663 #define HAVE_ATANH 1
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17672 $as_echo_n "checking for atanhl... " >&6; }
17673 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17674 $as_echo_n "(cached) " >&6
17676 if test x
$gcc_no_link = xyes
; then
17677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17682 #ifdef HAVE_COMPLEX_H
17683 #include <complex.h>
17689 int (*ptr)() = (int (*)())atanhl;
17698 if ac_fn_c_try_link
"$LINENO"; then :
17699 gcc_cv_math_func_atanhl
=yes
17701 gcc_cv_math_func_atanhl
=no
17703 rm -f core conftest.err conftest.
$ac_objext \
17704 conftest
$ac_exeext conftest.
$ac_ext
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17707 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17708 if test $gcc_cv_math_func_atanhl = yes; then
17710 cat >>confdefs.h
<<_ACEOF
17711 #define HAVE_ATANHL 1
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17720 $as_echo_n "checking for cargf... " >&6; }
17721 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17722 $as_echo_n "(cached) " >&6
17724 if test x
$gcc_no_link = xyes
; then
17725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17730 #ifdef HAVE_COMPLEX_H
17731 #include <complex.h>
17737 int (*ptr)() = (int (*)())cargf;
17746 if ac_fn_c_try_link
"$LINENO"; then :
17747 gcc_cv_math_func_cargf
=yes
17749 gcc_cv_math_func_cargf
=no
17751 rm -f core conftest.err conftest.
$ac_objext \
17752 conftest
$ac_exeext conftest.
$ac_ext
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17755 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17756 if test $gcc_cv_math_func_cargf = yes; then
17758 cat >>confdefs.h
<<_ACEOF
17759 #define HAVE_CARGF 1
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17768 $as_echo_n "checking for carg... " >&6; }
17769 if test "${gcc_cv_math_func_carg+set}" = set; then :
17770 $as_echo_n "(cached) " >&6
17772 if test x
$gcc_no_link = xyes
; then
17773 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17778 #ifdef HAVE_COMPLEX_H
17779 #include <complex.h>
17785 int (*ptr)() = (int (*)())carg;
17794 if ac_fn_c_try_link
"$LINENO"; then :
17795 gcc_cv_math_func_carg
=yes
17797 gcc_cv_math_func_carg
=no
17799 rm -f core conftest.err conftest.
$ac_objext \
17800 conftest
$ac_exeext conftest.
$ac_ext
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17803 $as_echo "$gcc_cv_math_func_carg" >&6; }
17804 if test $gcc_cv_math_func_carg = yes; then
17806 cat >>confdefs.h
<<_ACEOF
17807 #define HAVE_CARG 1
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17816 $as_echo_n "checking for cargl... " >&6; }
17817 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17818 $as_echo_n "(cached) " >&6
17820 if test x
$gcc_no_link = xyes
; then
17821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17826 #ifdef HAVE_COMPLEX_H
17827 #include <complex.h>
17833 int (*ptr)() = (int (*)())cargl;
17842 if ac_fn_c_try_link
"$LINENO"; then :
17843 gcc_cv_math_func_cargl
=yes
17845 gcc_cv_math_func_cargl
=no
17847 rm -f core conftest.err conftest.
$ac_objext \
17848 conftest
$ac_exeext conftest.
$ac_ext
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17851 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17852 if test $gcc_cv_math_func_cargl = yes; then
17854 cat >>confdefs.h
<<_ACEOF
17855 #define HAVE_CARGL 1
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17864 $as_echo_n "checking for ceilf... " >&6; }
17865 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17866 $as_echo_n "(cached) " >&6
17868 if test x
$gcc_no_link = xyes
; then
17869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17874 #ifdef HAVE_COMPLEX_H
17875 #include <complex.h>
17881 int (*ptr)() = (int (*)())ceilf;
17890 if ac_fn_c_try_link
"$LINENO"; then :
17891 gcc_cv_math_func_ceilf
=yes
17893 gcc_cv_math_func_ceilf
=no
17895 rm -f core conftest.err conftest.
$ac_objext \
17896 conftest
$ac_exeext conftest.
$ac_ext
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17899 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17900 if test $gcc_cv_math_func_ceilf = yes; then
17902 cat >>confdefs.h
<<_ACEOF
17903 #define HAVE_CEILF 1
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17912 $as_echo_n "checking for ceil... " >&6; }
17913 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17916 if test x
$gcc_no_link = xyes
; then
17917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17922 #ifdef HAVE_COMPLEX_H
17923 #include <complex.h>
17929 int (*ptr)() = (int (*)())ceil;
17938 if ac_fn_c_try_link
"$LINENO"; then :
17939 gcc_cv_math_func_ceil
=yes
17941 gcc_cv_math_func_ceil
=no
17943 rm -f core conftest.err conftest.
$ac_objext \
17944 conftest
$ac_exeext conftest.
$ac_ext
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17947 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17948 if test $gcc_cv_math_func_ceil = yes; then
17950 cat >>confdefs.h
<<_ACEOF
17951 #define HAVE_CEIL 1
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17960 $as_echo_n "checking for ceill... " >&6; }
17961 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17962 $as_echo_n "(cached) " >&6
17964 if test x
$gcc_no_link = xyes
; then
17965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17970 #ifdef HAVE_COMPLEX_H
17971 #include <complex.h>
17977 int (*ptr)() = (int (*)())ceill;
17986 if ac_fn_c_try_link
"$LINENO"; then :
17987 gcc_cv_math_func_ceill
=yes
17989 gcc_cv_math_func_ceill
=no
17991 rm -f core conftest.err conftest.
$ac_objext \
17992 conftest
$ac_exeext conftest.
$ac_ext
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17995 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17996 if test $gcc_cv_math_func_ceill = yes; then
17998 cat >>confdefs.h
<<_ACEOF
17999 #define HAVE_CEILL 1
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18008 $as_echo_n "checking for copysignf... " >&6; }
18009 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18010 $as_echo_n "(cached) " >&6
18012 if test x
$gcc_no_link = xyes
; then
18013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18018 #ifdef HAVE_COMPLEX_H
18019 #include <complex.h>
18025 int (*ptr)() = (int (*)())copysignf;
18034 if ac_fn_c_try_link
"$LINENO"; then :
18035 gcc_cv_math_func_copysignf
=yes
18037 gcc_cv_math_func_copysignf
=no
18039 rm -f core conftest.err conftest.
$ac_objext \
18040 conftest
$ac_exeext conftest.
$ac_ext
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18043 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18044 if test $gcc_cv_math_func_copysignf = yes; then
18046 cat >>confdefs.h
<<_ACEOF
18047 #define HAVE_COPYSIGNF 1
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18056 $as_echo_n "checking for copysign... " >&6; }
18057 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18058 $as_echo_n "(cached) " >&6
18060 if test x
$gcc_no_link = xyes
; then
18061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18066 #ifdef HAVE_COMPLEX_H
18067 #include <complex.h>
18073 int (*ptr)() = (int (*)())copysign;
18082 if ac_fn_c_try_link
"$LINENO"; then :
18083 gcc_cv_math_func_copysign
=yes
18085 gcc_cv_math_func_copysign
=no
18087 rm -f core conftest.err conftest.
$ac_objext \
18088 conftest
$ac_exeext conftest.
$ac_ext
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18091 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18092 if test $gcc_cv_math_func_copysign = yes; then
18094 cat >>confdefs.h
<<_ACEOF
18095 #define HAVE_COPYSIGN 1
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18104 $as_echo_n "checking for copysignl... " >&6; }
18105 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18106 $as_echo_n "(cached) " >&6
18108 if test x
$gcc_no_link = xyes
; then
18109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18112 /* end confdefs.h. */
18114 #ifdef HAVE_COMPLEX_H
18115 #include <complex.h>
18121 int (*ptr)() = (int (*)())copysignl;
18130 if ac_fn_c_try_link
"$LINENO"; then :
18131 gcc_cv_math_func_copysignl
=yes
18133 gcc_cv_math_func_copysignl
=no
18135 rm -f core conftest.err conftest.
$ac_objext \
18136 conftest
$ac_exeext conftest.
$ac_ext
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18139 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18140 if test $gcc_cv_math_func_copysignl = yes; then
18142 cat >>confdefs.h
<<_ACEOF
18143 #define HAVE_COPYSIGNL 1
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18152 $as_echo_n "checking for cosf... " >&6; }
18153 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18154 $as_echo_n "(cached) " >&6
18156 if test x
$gcc_no_link = xyes
; then
18157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18160 /* end confdefs.h. */
18162 #ifdef HAVE_COMPLEX_H
18163 #include <complex.h>
18169 int (*ptr)() = (int (*)())cosf;
18178 if ac_fn_c_try_link
"$LINENO"; then :
18179 gcc_cv_math_func_cosf
=yes
18181 gcc_cv_math_func_cosf
=no
18183 rm -f core conftest.err conftest.
$ac_objext \
18184 conftest
$ac_exeext conftest.
$ac_ext
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18187 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18188 if test $gcc_cv_math_func_cosf = yes; then
18190 cat >>confdefs.h
<<_ACEOF
18191 #define HAVE_COSF 1
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18200 $as_echo_n "checking for cos... " >&6; }
18201 if test "${gcc_cv_math_func_cos+set}" = set; then :
18202 $as_echo_n "(cached) " >&6
18204 if test x
$gcc_no_link = xyes
; then
18205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18208 /* end confdefs.h. */
18210 #ifdef HAVE_COMPLEX_H
18211 #include <complex.h>
18217 int (*ptr)() = (int (*)())cos;
18226 if ac_fn_c_try_link
"$LINENO"; then :
18227 gcc_cv_math_func_cos
=yes
18229 gcc_cv_math_func_cos
=no
18231 rm -f core conftest.err conftest.
$ac_objext \
18232 conftest
$ac_exeext conftest.
$ac_ext
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18235 $as_echo "$gcc_cv_math_func_cos" >&6; }
18236 if test $gcc_cv_math_func_cos = yes; then
18238 cat >>confdefs.h
<<_ACEOF
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18248 $as_echo_n "checking for cosl... " >&6; }
18249 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18250 $as_echo_n "(cached) " >&6
18252 if test x
$gcc_no_link = xyes
; then
18253 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18258 #ifdef HAVE_COMPLEX_H
18259 #include <complex.h>
18265 int (*ptr)() = (int (*)())cosl;
18274 if ac_fn_c_try_link
"$LINENO"; then :
18275 gcc_cv_math_func_cosl
=yes
18277 gcc_cv_math_func_cosl
=no
18279 rm -f core conftest.err conftest.
$ac_objext \
18280 conftest
$ac_exeext conftest.
$ac_ext
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18283 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18284 if test $gcc_cv_math_func_cosl = yes; then
18286 cat >>confdefs.h
<<_ACEOF
18287 #define HAVE_COSL 1
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18296 $as_echo_n "checking for ccosf... " >&6; }
18297 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18298 $as_echo_n "(cached) " >&6
18300 if test x
$gcc_no_link = xyes
; then
18301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18306 #ifdef HAVE_COMPLEX_H
18307 #include <complex.h>
18313 int (*ptr)() = (int (*)())ccosf;
18322 if ac_fn_c_try_link
"$LINENO"; then :
18323 gcc_cv_math_func_ccosf
=yes
18325 gcc_cv_math_func_ccosf
=no
18327 rm -f core conftest.err conftest.
$ac_objext \
18328 conftest
$ac_exeext conftest.
$ac_ext
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18331 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18332 if test $gcc_cv_math_func_ccosf = yes; then
18334 cat >>confdefs.h
<<_ACEOF
18335 #define HAVE_CCOSF 1
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18344 $as_echo_n "checking for ccos... " >&6; }
18345 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18346 $as_echo_n "(cached) " >&6
18348 if test x
$gcc_no_link = xyes
; then
18349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18352 /* end confdefs.h. */
18354 #ifdef HAVE_COMPLEX_H
18355 #include <complex.h>
18361 int (*ptr)() = (int (*)())ccos;
18370 if ac_fn_c_try_link
"$LINENO"; then :
18371 gcc_cv_math_func_ccos
=yes
18373 gcc_cv_math_func_ccos
=no
18375 rm -f core conftest.err conftest.
$ac_objext \
18376 conftest
$ac_exeext conftest.
$ac_ext
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18379 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18380 if test $gcc_cv_math_func_ccos = yes; then
18382 cat >>confdefs.h
<<_ACEOF
18383 #define HAVE_CCOS 1
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18392 $as_echo_n "checking for ccosl... " >&6; }
18393 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18394 $as_echo_n "(cached) " >&6
18396 if test x
$gcc_no_link = xyes
; then
18397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18402 #ifdef HAVE_COMPLEX_H
18403 #include <complex.h>
18409 int (*ptr)() = (int (*)())ccosl;
18418 if ac_fn_c_try_link
"$LINENO"; then :
18419 gcc_cv_math_func_ccosl
=yes
18421 gcc_cv_math_func_ccosl
=no
18423 rm -f core conftest.err conftest.
$ac_objext \
18424 conftest
$ac_exeext conftest.
$ac_ext
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18427 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18428 if test $gcc_cv_math_func_ccosl = yes; then
18430 cat >>confdefs.h
<<_ACEOF
18431 #define HAVE_CCOSL 1
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18440 $as_echo_n "checking for coshf... " >&6; }
18441 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18444 if test x
$gcc_no_link = xyes
; then
18445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18450 #ifdef HAVE_COMPLEX_H
18451 #include <complex.h>
18457 int (*ptr)() = (int (*)())coshf;
18466 if ac_fn_c_try_link
"$LINENO"; then :
18467 gcc_cv_math_func_coshf
=yes
18469 gcc_cv_math_func_coshf
=no
18471 rm -f core conftest.err conftest.
$ac_objext \
18472 conftest
$ac_exeext conftest.
$ac_ext
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18475 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18476 if test $gcc_cv_math_func_coshf = yes; then
18478 cat >>confdefs.h
<<_ACEOF
18479 #define HAVE_COSHF 1
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18488 $as_echo_n "checking for cosh... " >&6; }
18489 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18490 $as_echo_n "(cached) " >&6
18492 if test x
$gcc_no_link = xyes
; then
18493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18498 #ifdef HAVE_COMPLEX_H
18499 #include <complex.h>
18505 int (*ptr)() = (int (*)())cosh;
18514 if ac_fn_c_try_link
"$LINENO"; then :
18515 gcc_cv_math_func_cosh
=yes
18517 gcc_cv_math_func_cosh
=no
18519 rm -f core conftest.err conftest.
$ac_objext \
18520 conftest
$ac_exeext conftest.
$ac_ext
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18523 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18524 if test $gcc_cv_math_func_cosh = yes; then
18526 cat >>confdefs.h
<<_ACEOF
18527 #define HAVE_COSH 1
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18536 $as_echo_n "checking for coshl... " >&6; }
18537 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18538 $as_echo_n "(cached) " >&6
18540 if test x
$gcc_no_link = xyes
; then
18541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18546 #ifdef HAVE_COMPLEX_H
18547 #include <complex.h>
18553 int (*ptr)() = (int (*)())coshl;
18562 if ac_fn_c_try_link
"$LINENO"; then :
18563 gcc_cv_math_func_coshl
=yes
18565 gcc_cv_math_func_coshl
=no
18567 rm -f core conftest.err conftest.
$ac_objext \
18568 conftest
$ac_exeext conftest.
$ac_ext
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18571 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18572 if test $gcc_cv_math_func_coshl = yes; then
18574 cat >>confdefs.h
<<_ACEOF
18575 #define HAVE_COSHL 1
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18584 $as_echo_n "checking for ccoshf... " >&6; }
18585 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18586 $as_echo_n "(cached) " >&6
18588 if test x
$gcc_no_link = xyes
; then
18589 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18594 #ifdef HAVE_COMPLEX_H
18595 #include <complex.h>
18601 int (*ptr)() = (int (*)())ccoshf;
18610 if ac_fn_c_try_link
"$LINENO"; then :
18611 gcc_cv_math_func_ccoshf
=yes
18613 gcc_cv_math_func_ccoshf
=no
18615 rm -f core conftest.err conftest.
$ac_objext \
18616 conftest
$ac_exeext conftest.
$ac_ext
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18619 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18620 if test $gcc_cv_math_func_ccoshf = yes; then
18622 cat >>confdefs.h
<<_ACEOF
18623 #define HAVE_CCOSHF 1
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18632 $as_echo_n "checking for ccosh... " >&6; }
18633 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18634 $as_echo_n "(cached) " >&6
18636 if test x
$gcc_no_link = xyes
; then
18637 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18642 #ifdef HAVE_COMPLEX_H
18643 #include <complex.h>
18649 int (*ptr)() = (int (*)())ccosh;
18658 if ac_fn_c_try_link
"$LINENO"; then :
18659 gcc_cv_math_func_ccosh
=yes
18661 gcc_cv_math_func_ccosh
=no
18663 rm -f core conftest.err conftest.
$ac_objext \
18664 conftest
$ac_exeext conftest.
$ac_ext
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18667 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18668 if test $gcc_cv_math_func_ccosh = yes; then
18670 cat >>confdefs.h
<<_ACEOF
18671 #define HAVE_CCOSH 1
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18680 $as_echo_n "checking for ccoshl... " >&6; }
18681 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18682 $as_echo_n "(cached) " >&6
18684 if test x
$gcc_no_link = xyes
; then
18685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18690 #ifdef HAVE_COMPLEX_H
18691 #include <complex.h>
18697 int (*ptr)() = (int (*)())ccoshl;
18706 if ac_fn_c_try_link
"$LINENO"; then :
18707 gcc_cv_math_func_ccoshl
=yes
18709 gcc_cv_math_func_ccoshl
=no
18711 rm -f core conftest.err conftest.
$ac_objext \
18712 conftest
$ac_exeext conftest.
$ac_ext
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18715 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18716 if test $gcc_cv_math_func_ccoshl = yes; then
18718 cat >>confdefs.h
<<_ACEOF
18719 #define HAVE_CCOSHL 1
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18728 $as_echo_n "checking for expf... " >&6; }
18729 if test "${gcc_cv_math_func_expf+set}" = set; then :
18730 $as_echo_n "(cached) " >&6
18732 if test x
$gcc_no_link = xyes
; then
18733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18738 #ifdef HAVE_COMPLEX_H
18739 #include <complex.h>
18745 int (*ptr)() = (int (*)())expf;
18754 if ac_fn_c_try_link
"$LINENO"; then :
18755 gcc_cv_math_func_expf
=yes
18757 gcc_cv_math_func_expf
=no
18759 rm -f core conftest.err conftest.
$ac_objext \
18760 conftest
$ac_exeext conftest.
$ac_ext
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18763 $as_echo "$gcc_cv_math_func_expf" >&6; }
18764 if test $gcc_cv_math_func_expf = yes; then
18766 cat >>confdefs.h
<<_ACEOF
18767 #define HAVE_EXPF 1
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18776 $as_echo_n "checking for exp... " >&6; }
18777 if test "${gcc_cv_math_func_exp+set}" = set; then :
18778 $as_echo_n "(cached) " >&6
18780 if test x
$gcc_no_link = xyes
; then
18781 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18786 #ifdef HAVE_COMPLEX_H
18787 #include <complex.h>
18793 int (*ptr)() = (int (*)())exp;
18802 if ac_fn_c_try_link
"$LINENO"; then :
18803 gcc_cv_math_func_exp
=yes
18805 gcc_cv_math_func_exp
=no
18807 rm -f core conftest.err conftest.
$ac_objext \
18808 conftest
$ac_exeext conftest.
$ac_ext
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18811 $as_echo "$gcc_cv_math_func_exp" >&6; }
18812 if test $gcc_cv_math_func_exp = yes; then
18814 cat >>confdefs.h
<<_ACEOF
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18824 $as_echo_n "checking for expl... " >&6; }
18825 if test "${gcc_cv_math_func_expl+set}" = set; then :
18826 $as_echo_n "(cached) " >&6
18828 if test x
$gcc_no_link = xyes
; then
18829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18834 #ifdef HAVE_COMPLEX_H
18835 #include <complex.h>
18841 int (*ptr)() = (int (*)())expl;
18850 if ac_fn_c_try_link
"$LINENO"; then :
18851 gcc_cv_math_func_expl
=yes
18853 gcc_cv_math_func_expl
=no
18855 rm -f core conftest.err conftest.
$ac_objext \
18856 conftest
$ac_exeext conftest.
$ac_ext
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18859 $as_echo "$gcc_cv_math_func_expl" >&6; }
18860 if test $gcc_cv_math_func_expl = yes; then
18862 cat >>confdefs.h
<<_ACEOF
18863 #define HAVE_EXPL 1
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18872 $as_echo_n "checking for cexpf... " >&6; }
18873 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18874 $as_echo_n "(cached) " >&6
18876 if test x
$gcc_no_link = xyes
; then
18877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18882 #ifdef HAVE_COMPLEX_H
18883 #include <complex.h>
18889 int (*ptr)() = (int (*)())cexpf;
18898 if ac_fn_c_try_link
"$LINENO"; then :
18899 gcc_cv_math_func_cexpf
=yes
18901 gcc_cv_math_func_cexpf
=no
18903 rm -f core conftest.err conftest.
$ac_objext \
18904 conftest
$ac_exeext conftest.
$ac_ext
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18907 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18908 if test $gcc_cv_math_func_cexpf = yes; then
18910 cat >>confdefs.h
<<_ACEOF
18911 #define HAVE_CEXPF 1
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18920 $as_echo_n "checking for cexp... " >&6; }
18921 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18922 $as_echo_n "(cached) " >&6
18924 if test x
$gcc_no_link = xyes
; then
18925 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18930 #ifdef HAVE_COMPLEX_H
18931 #include <complex.h>
18937 int (*ptr)() = (int (*)())cexp;
18946 if ac_fn_c_try_link
"$LINENO"; then :
18947 gcc_cv_math_func_cexp
=yes
18949 gcc_cv_math_func_cexp
=no
18951 rm -f core conftest.err conftest.
$ac_objext \
18952 conftest
$ac_exeext conftest.
$ac_ext
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18955 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18956 if test $gcc_cv_math_func_cexp = yes; then
18958 cat >>confdefs.h
<<_ACEOF
18959 #define HAVE_CEXP 1
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18968 $as_echo_n "checking for cexpl... " >&6; }
18969 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18970 $as_echo_n "(cached) " >&6
18972 if test x
$gcc_no_link = xyes
; then
18973 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18978 #ifdef HAVE_COMPLEX_H
18979 #include <complex.h>
18985 int (*ptr)() = (int (*)())cexpl;
18994 if ac_fn_c_try_link
"$LINENO"; then :
18995 gcc_cv_math_func_cexpl
=yes
18997 gcc_cv_math_func_cexpl
=no
18999 rm -f core conftest.err conftest.
$ac_objext \
19000 conftest
$ac_exeext conftest.
$ac_ext
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19003 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19004 if test $gcc_cv_math_func_cexpl = yes; then
19006 cat >>confdefs.h
<<_ACEOF
19007 #define HAVE_CEXPL 1
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19016 $as_echo_n "checking for fabsf... " >&6; }
19017 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19018 $as_echo_n "(cached) " >&6
19020 if test x
$gcc_no_link = xyes
; then
19021 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19026 #ifdef HAVE_COMPLEX_H
19027 #include <complex.h>
19033 int (*ptr)() = (int (*)())fabsf;
19042 if ac_fn_c_try_link
"$LINENO"; then :
19043 gcc_cv_math_func_fabsf
=yes
19045 gcc_cv_math_func_fabsf
=no
19047 rm -f core conftest.err conftest.
$ac_objext \
19048 conftest
$ac_exeext conftest.
$ac_ext
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19051 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19052 if test $gcc_cv_math_func_fabsf = yes; then
19054 cat >>confdefs.h
<<_ACEOF
19055 #define HAVE_FABSF 1
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19064 $as_echo_n "checking for fabs... " >&6; }
19065 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19066 $as_echo_n "(cached) " >&6
19068 if test x
$gcc_no_link = xyes
; then
19069 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19074 #ifdef HAVE_COMPLEX_H
19075 #include <complex.h>
19081 int (*ptr)() = (int (*)())fabs;
19090 if ac_fn_c_try_link
"$LINENO"; then :
19091 gcc_cv_math_func_fabs
=yes
19093 gcc_cv_math_func_fabs
=no
19095 rm -f core conftest.err conftest.
$ac_objext \
19096 conftest
$ac_exeext conftest.
$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19099 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19100 if test $gcc_cv_math_func_fabs = yes; then
19102 cat >>confdefs.h
<<_ACEOF
19103 #define HAVE_FABS 1
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19112 $as_echo_n "checking for fabsl... " >&6; }
19113 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19114 $as_echo_n "(cached) " >&6
19116 if test x
$gcc_no_link = xyes
; then
19117 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19122 #ifdef HAVE_COMPLEX_H
19123 #include <complex.h>
19129 int (*ptr)() = (int (*)())fabsl;
19138 if ac_fn_c_try_link
"$LINENO"; then :
19139 gcc_cv_math_func_fabsl
=yes
19141 gcc_cv_math_func_fabsl
=no
19143 rm -f core conftest.err conftest.
$ac_objext \
19144 conftest
$ac_exeext conftest.
$ac_ext
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19147 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19148 if test $gcc_cv_math_func_fabsl = yes; then
19150 cat >>confdefs.h
<<_ACEOF
19151 #define HAVE_FABSL 1
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19160 $as_echo_n "checking for cabsf... " >&6; }
19161 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19162 $as_echo_n "(cached) " >&6
19164 if test x
$gcc_no_link = xyes
; then
19165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19170 #ifdef HAVE_COMPLEX_H
19171 #include <complex.h>
19177 int (*ptr)() = (int (*)())cabsf;
19186 if ac_fn_c_try_link
"$LINENO"; then :
19187 gcc_cv_math_func_cabsf
=yes
19189 gcc_cv_math_func_cabsf
=no
19191 rm -f core conftest.err conftest.
$ac_objext \
19192 conftest
$ac_exeext conftest.
$ac_ext
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19195 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19196 if test $gcc_cv_math_func_cabsf = yes; then
19198 cat >>confdefs.h
<<_ACEOF
19199 #define HAVE_CABSF 1
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19208 $as_echo_n "checking for cabs... " >&6; }
19209 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19210 $as_echo_n "(cached) " >&6
19212 if test x
$gcc_no_link = xyes
; then
19213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19218 #ifdef HAVE_COMPLEX_H
19219 #include <complex.h>
19225 int (*ptr)() = (int (*)())cabs;
19234 if ac_fn_c_try_link
"$LINENO"; then :
19235 gcc_cv_math_func_cabs
=yes
19237 gcc_cv_math_func_cabs
=no
19239 rm -f core conftest.err conftest.
$ac_objext \
19240 conftest
$ac_exeext conftest.
$ac_ext
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19243 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19244 if test $gcc_cv_math_func_cabs = yes; then
19246 cat >>confdefs.h
<<_ACEOF
19247 #define HAVE_CABS 1
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19256 $as_echo_n "checking for cabsl... " >&6; }
19257 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19258 $as_echo_n "(cached) " >&6
19260 if test x
$gcc_no_link = xyes
; then
19261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19266 #ifdef HAVE_COMPLEX_H
19267 #include <complex.h>
19273 int (*ptr)() = (int (*)())cabsl;
19282 if ac_fn_c_try_link
"$LINENO"; then :
19283 gcc_cv_math_func_cabsl
=yes
19285 gcc_cv_math_func_cabsl
=no
19287 rm -f core conftest.err conftest.
$ac_objext \
19288 conftest
$ac_exeext conftest.
$ac_ext
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19291 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19292 if test $gcc_cv_math_func_cabsl = yes; then
19294 cat >>confdefs.h
<<_ACEOF
19295 #define HAVE_CABSL 1
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19304 $as_echo_n "checking for floorf... " >&6; }
19305 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19306 $as_echo_n "(cached) " >&6
19308 if test x
$gcc_no_link = xyes
; then
19309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19314 #ifdef HAVE_COMPLEX_H
19315 #include <complex.h>
19321 int (*ptr)() = (int (*)())floorf;
19330 if ac_fn_c_try_link
"$LINENO"; then :
19331 gcc_cv_math_func_floorf
=yes
19333 gcc_cv_math_func_floorf
=no
19335 rm -f core conftest.err conftest.
$ac_objext \
19336 conftest
$ac_exeext conftest.
$ac_ext
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19339 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19340 if test $gcc_cv_math_func_floorf = yes; then
19342 cat >>confdefs.h
<<_ACEOF
19343 #define HAVE_FLOORF 1
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19352 $as_echo_n "checking for floor... " >&6; }
19353 if test "${gcc_cv_math_func_floor+set}" = set; then :
19354 $as_echo_n "(cached) " >&6
19356 if test x
$gcc_no_link = xyes
; then
19357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19362 #ifdef HAVE_COMPLEX_H
19363 #include <complex.h>
19369 int (*ptr)() = (int (*)())floor;
19378 if ac_fn_c_try_link
"$LINENO"; then :
19379 gcc_cv_math_func_floor
=yes
19381 gcc_cv_math_func_floor
=no
19383 rm -f core conftest.err conftest.
$ac_objext \
19384 conftest
$ac_exeext conftest.
$ac_ext
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19387 $as_echo "$gcc_cv_math_func_floor" >&6; }
19388 if test $gcc_cv_math_func_floor = yes; then
19390 cat >>confdefs.h
<<_ACEOF
19391 #define HAVE_FLOOR 1
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19400 $as_echo_n "checking for floorl... " >&6; }
19401 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19402 $as_echo_n "(cached) " >&6
19404 if test x
$gcc_no_link = xyes
; then
19405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19410 #ifdef HAVE_COMPLEX_H
19411 #include <complex.h>
19417 int (*ptr)() = (int (*)())floorl;
19426 if ac_fn_c_try_link
"$LINENO"; then :
19427 gcc_cv_math_func_floorl
=yes
19429 gcc_cv_math_func_floorl
=no
19431 rm -f core conftest.err conftest.
$ac_objext \
19432 conftest
$ac_exeext conftest.
$ac_ext
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19435 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19436 if test $gcc_cv_math_func_floorl = yes; then
19438 cat >>confdefs.h
<<_ACEOF
19439 #define HAVE_FLOORL 1
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19448 $as_echo_n "checking for fmodf... " >&6; }
19449 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19450 $as_echo_n "(cached) " >&6
19452 if test x
$gcc_no_link = xyes
; then
19453 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19458 #ifdef HAVE_COMPLEX_H
19459 #include <complex.h>
19465 int (*ptr)() = (int (*)())fmodf;
19474 if ac_fn_c_try_link
"$LINENO"; then :
19475 gcc_cv_math_func_fmodf
=yes
19477 gcc_cv_math_func_fmodf
=no
19479 rm -f core conftest.err conftest.
$ac_objext \
19480 conftest
$ac_exeext conftest.
$ac_ext
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19483 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19484 if test $gcc_cv_math_func_fmodf = yes; then
19486 cat >>confdefs.h
<<_ACEOF
19487 #define HAVE_FMODF 1
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19496 $as_echo_n "checking for fmod... " >&6; }
19497 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19498 $as_echo_n "(cached) " >&6
19500 if test x
$gcc_no_link = xyes
; then
19501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19506 #ifdef HAVE_COMPLEX_H
19507 #include <complex.h>
19513 int (*ptr)() = (int (*)())fmod;
19522 if ac_fn_c_try_link
"$LINENO"; then :
19523 gcc_cv_math_func_fmod
=yes
19525 gcc_cv_math_func_fmod
=no
19527 rm -f core conftest.err conftest.
$ac_objext \
19528 conftest
$ac_exeext conftest.
$ac_ext
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19531 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19532 if test $gcc_cv_math_func_fmod = yes; then
19534 cat >>confdefs.h
<<_ACEOF
19535 #define HAVE_FMOD 1
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19544 $as_echo_n "checking for fmodl... " >&6; }
19545 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19546 $as_echo_n "(cached) " >&6
19548 if test x
$gcc_no_link = xyes
; then
19549 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19554 #ifdef HAVE_COMPLEX_H
19555 #include <complex.h>
19561 int (*ptr)() = (int (*)())fmodl;
19570 if ac_fn_c_try_link
"$LINENO"; then :
19571 gcc_cv_math_func_fmodl
=yes
19573 gcc_cv_math_func_fmodl
=no
19575 rm -f core conftest.err conftest.
$ac_objext \
19576 conftest
$ac_exeext conftest.
$ac_ext
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19579 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19580 if test $gcc_cv_math_func_fmodl = yes; then
19582 cat >>confdefs.h
<<_ACEOF
19583 #define HAVE_FMODL 1
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19592 $as_echo_n "checking for frexpf... " >&6; }
19593 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19594 $as_echo_n "(cached) " >&6
19596 if test x
$gcc_no_link = xyes
; then
19597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19602 #ifdef HAVE_COMPLEX_H
19603 #include <complex.h>
19609 int (*ptr)() = (int (*)())frexpf;
19618 if ac_fn_c_try_link
"$LINENO"; then :
19619 gcc_cv_math_func_frexpf
=yes
19621 gcc_cv_math_func_frexpf
=no
19623 rm -f core conftest.err conftest.
$ac_objext \
19624 conftest
$ac_exeext conftest.
$ac_ext
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19627 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19628 if test $gcc_cv_math_func_frexpf = yes; then
19630 cat >>confdefs.h
<<_ACEOF
19631 #define HAVE_FREXPF 1
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19640 $as_echo_n "checking for frexp... " >&6; }
19641 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19642 $as_echo_n "(cached) " >&6
19644 if test x
$gcc_no_link = xyes
; then
19645 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19650 #ifdef HAVE_COMPLEX_H
19651 #include <complex.h>
19657 int (*ptr)() = (int (*)())frexp;
19666 if ac_fn_c_try_link
"$LINENO"; then :
19667 gcc_cv_math_func_frexp
=yes
19669 gcc_cv_math_func_frexp
=no
19671 rm -f core conftest.err conftest.
$ac_objext \
19672 conftest
$ac_exeext conftest.
$ac_ext
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19675 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19676 if test $gcc_cv_math_func_frexp = yes; then
19678 cat >>confdefs.h
<<_ACEOF
19679 #define HAVE_FREXP 1
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19688 $as_echo_n "checking for frexpl... " >&6; }
19689 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19690 $as_echo_n "(cached) " >&6
19692 if test x
$gcc_no_link = xyes
; then
19693 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19698 #ifdef HAVE_COMPLEX_H
19699 #include <complex.h>
19705 int (*ptr)() = (int (*)())frexpl;
19714 if ac_fn_c_try_link
"$LINENO"; then :
19715 gcc_cv_math_func_frexpl
=yes
19717 gcc_cv_math_func_frexpl
=no
19719 rm -f core conftest.err conftest.
$ac_objext \
19720 conftest
$ac_exeext conftest.
$ac_ext
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19723 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19724 if test $gcc_cv_math_func_frexpl = yes; then
19726 cat >>confdefs.h
<<_ACEOF
19727 #define HAVE_FREXPL 1
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19736 $as_echo_n "checking for hypotf... " >&6; }
19737 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19738 $as_echo_n "(cached) " >&6
19740 if test x
$gcc_no_link = xyes
; then
19741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19746 #ifdef HAVE_COMPLEX_H
19747 #include <complex.h>
19753 int (*ptr)() = (int (*)())hypotf;
19762 if ac_fn_c_try_link
"$LINENO"; then :
19763 gcc_cv_math_func_hypotf
=yes
19765 gcc_cv_math_func_hypotf
=no
19767 rm -f core conftest.err conftest.
$ac_objext \
19768 conftest
$ac_exeext conftest.
$ac_ext
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19771 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19772 if test $gcc_cv_math_func_hypotf = yes; then
19774 cat >>confdefs.h
<<_ACEOF
19775 #define HAVE_HYPOTF 1
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19784 $as_echo_n "checking for hypot... " >&6; }
19785 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19786 $as_echo_n "(cached) " >&6
19788 if test x
$gcc_no_link = xyes
; then
19789 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19794 #ifdef HAVE_COMPLEX_H
19795 #include <complex.h>
19801 int (*ptr)() = (int (*)())hypot;
19810 if ac_fn_c_try_link
"$LINENO"; then :
19811 gcc_cv_math_func_hypot
=yes
19813 gcc_cv_math_func_hypot
=no
19815 rm -f core conftest.err conftest.
$ac_objext \
19816 conftest
$ac_exeext conftest.
$ac_ext
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19819 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19820 if test $gcc_cv_math_func_hypot = yes; then
19822 cat >>confdefs.h
<<_ACEOF
19823 #define HAVE_HYPOT 1
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19832 $as_echo_n "checking for hypotl... " >&6; }
19833 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19834 $as_echo_n "(cached) " >&6
19836 if test x
$gcc_no_link = xyes
; then
19837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19842 #ifdef HAVE_COMPLEX_H
19843 #include <complex.h>
19849 int (*ptr)() = (int (*)())hypotl;
19858 if ac_fn_c_try_link
"$LINENO"; then :
19859 gcc_cv_math_func_hypotl
=yes
19861 gcc_cv_math_func_hypotl
=no
19863 rm -f core conftest.err conftest.
$ac_objext \
19864 conftest
$ac_exeext conftest.
$ac_ext
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19867 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19868 if test $gcc_cv_math_func_hypotl = yes; then
19870 cat >>confdefs.h
<<_ACEOF
19871 #define HAVE_HYPOTL 1
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19880 $as_echo_n "checking for ldexpf... " >&6; }
19881 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19884 if test x
$gcc_no_link = xyes
; then
19885 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19890 #ifdef HAVE_COMPLEX_H
19891 #include <complex.h>
19897 int (*ptr)() = (int (*)())ldexpf;
19906 if ac_fn_c_try_link
"$LINENO"; then :
19907 gcc_cv_math_func_ldexpf
=yes
19909 gcc_cv_math_func_ldexpf
=no
19911 rm -f core conftest.err conftest.
$ac_objext \
19912 conftest
$ac_exeext conftest.
$ac_ext
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19915 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19916 if test $gcc_cv_math_func_ldexpf = yes; then
19918 cat >>confdefs.h
<<_ACEOF
19919 #define HAVE_LDEXPF 1
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19928 $as_echo_n "checking for ldexp... " >&6; }
19929 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19930 $as_echo_n "(cached) " >&6
19932 if test x
$gcc_no_link = xyes
; then
19933 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19938 #ifdef HAVE_COMPLEX_H
19939 #include <complex.h>
19945 int (*ptr)() = (int (*)())ldexp;
19954 if ac_fn_c_try_link
"$LINENO"; then :
19955 gcc_cv_math_func_ldexp
=yes
19957 gcc_cv_math_func_ldexp
=no
19959 rm -f core conftest.err conftest.
$ac_objext \
19960 conftest
$ac_exeext conftest.
$ac_ext
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19963 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19964 if test $gcc_cv_math_func_ldexp = yes; then
19966 cat >>confdefs.h
<<_ACEOF
19967 #define HAVE_LDEXP 1
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19976 $as_echo_n "checking for ldexpl... " >&6; }
19977 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19978 $as_echo_n "(cached) " >&6
19980 if test x
$gcc_no_link = xyes
; then
19981 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19984 /* end confdefs.h. */
19986 #ifdef HAVE_COMPLEX_H
19987 #include <complex.h>
19993 int (*ptr)() = (int (*)())ldexpl;
20002 if ac_fn_c_try_link
"$LINENO"; then :
20003 gcc_cv_math_func_ldexpl
=yes
20005 gcc_cv_math_func_ldexpl
=no
20007 rm -f core conftest.err conftest.
$ac_objext \
20008 conftest
$ac_exeext conftest.
$ac_ext
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20011 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20012 if test $gcc_cv_math_func_ldexpl = yes; then
20014 cat >>confdefs.h
<<_ACEOF
20015 #define HAVE_LDEXPL 1
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20024 $as_echo_n "checking for logf... " >&6; }
20025 if test "${gcc_cv_math_func_logf+set}" = set; then :
20026 $as_echo_n "(cached) " >&6
20028 if test x
$gcc_no_link = xyes
; then
20029 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20034 #ifdef HAVE_COMPLEX_H
20035 #include <complex.h>
20041 int (*ptr)() = (int (*)())logf;
20050 if ac_fn_c_try_link
"$LINENO"; then :
20051 gcc_cv_math_func_logf
=yes
20053 gcc_cv_math_func_logf
=no
20055 rm -f core conftest.err conftest.
$ac_objext \
20056 conftest
$ac_exeext conftest.
$ac_ext
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20059 $as_echo "$gcc_cv_math_func_logf" >&6; }
20060 if test $gcc_cv_math_func_logf = yes; then
20062 cat >>confdefs.h
<<_ACEOF
20063 #define HAVE_LOGF 1
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20072 $as_echo_n "checking for log... " >&6; }
20073 if test "${gcc_cv_math_func_log+set}" = set; then :
20074 $as_echo_n "(cached) " >&6
20076 if test x
$gcc_no_link = xyes
; then
20077 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20080 /* end confdefs.h. */
20082 #ifdef HAVE_COMPLEX_H
20083 #include <complex.h>
20089 int (*ptr)() = (int (*)())log;
20098 if ac_fn_c_try_link
"$LINENO"; then :
20099 gcc_cv_math_func_log
=yes
20101 gcc_cv_math_func_log
=no
20103 rm -f core conftest.err conftest.
$ac_objext \
20104 conftest
$ac_exeext conftest.
$ac_ext
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20107 $as_echo "$gcc_cv_math_func_log" >&6; }
20108 if test $gcc_cv_math_func_log = yes; then
20110 cat >>confdefs.h
<<_ACEOF
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20120 $as_echo_n "checking for logl... " >&6; }
20121 if test "${gcc_cv_math_func_logl+set}" = set; then :
20122 $as_echo_n "(cached) " >&6
20124 if test x
$gcc_no_link = xyes
; then
20125 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20130 #ifdef HAVE_COMPLEX_H
20131 #include <complex.h>
20137 int (*ptr)() = (int (*)())logl;
20146 if ac_fn_c_try_link
"$LINENO"; then :
20147 gcc_cv_math_func_logl
=yes
20149 gcc_cv_math_func_logl
=no
20151 rm -f core conftest.err conftest.
$ac_objext \
20152 conftest
$ac_exeext conftest.
$ac_ext
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20155 $as_echo "$gcc_cv_math_func_logl" >&6; }
20156 if test $gcc_cv_math_func_logl = yes; then
20158 cat >>confdefs.h
<<_ACEOF
20159 #define HAVE_LOGL 1
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20168 $as_echo_n "checking for clogf... " >&6; }
20169 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20170 $as_echo_n "(cached) " >&6
20172 if test x
$gcc_no_link = xyes
; then
20173 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20178 #ifdef HAVE_COMPLEX_H
20179 #include <complex.h>
20185 int (*ptr)() = (int (*)())clogf;
20194 if ac_fn_c_try_link
"$LINENO"; then :
20195 gcc_cv_math_func_clogf
=yes
20197 gcc_cv_math_func_clogf
=no
20199 rm -f core conftest.err conftest.
$ac_objext \
20200 conftest
$ac_exeext conftest.
$ac_ext
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20203 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20204 if test $gcc_cv_math_func_clogf = yes; then
20206 cat >>confdefs.h
<<_ACEOF
20207 #define HAVE_CLOGF 1
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20216 $as_echo_n "checking for clog... " >&6; }
20217 if test "${gcc_cv_math_func_clog+set}" = set; then :
20218 $as_echo_n "(cached) " >&6
20220 if test x
$gcc_no_link = xyes
; then
20221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20226 #ifdef HAVE_COMPLEX_H
20227 #include <complex.h>
20233 int (*ptr)() = (int (*)())clog;
20242 if ac_fn_c_try_link
"$LINENO"; then :
20243 gcc_cv_math_func_clog
=yes
20245 gcc_cv_math_func_clog
=no
20247 rm -f core conftest.err conftest.
$ac_objext \
20248 conftest
$ac_exeext conftest.
$ac_ext
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20251 $as_echo "$gcc_cv_math_func_clog" >&6; }
20252 if test $gcc_cv_math_func_clog = yes; then
20254 cat >>confdefs.h
<<_ACEOF
20255 #define HAVE_CLOG 1
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20264 $as_echo_n "checking for clogl... " >&6; }
20265 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20266 $as_echo_n "(cached) " >&6
20268 if test x
$gcc_no_link = xyes
; then
20269 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h. */
20274 #ifdef HAVE_COMPLEX_H
20275 #include <complex.h>
20281 int (*ptr)() = (int (*)())clogl;
20290 if ac_fn_c_try_link
"$LINENO"; then :
20291 gcc_cv_math_func_clogl
=yes
20293 gcc_cv_math_func_clogl
=no
20295 rm -f core conftest.err conftest.
$ac_objext \
20296 conftest
$ac_exeext conftest.
$ac_ext
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20299 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20300 if test $gcc_cv_math_func_clogl = yes; then
20302 cat >>confdefs.h
<<_ACEOF
20303 #define HAVE_CLOGL 1
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20312 $as_echo_n "checking for log10f... " >&6; }
20313 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20314 $as_echo_n "(cached) " >&6
20316 if test x
$gcc_no_link = xyes
; then
20317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20322 #ifdef HAVE_COMPLEX_H
20323 #include <complex.h>
20329 int (*ptr)() = (int (*)())log10f;
20338 if ac_fn_c_try_link
"$LINENO"; then :
20339 gcc_cv_math_func_log10f
=yes
20341 gcc_cv_math_func_log10f
=no
20343 rm -f core conftest.err conftest.
$ac_objext \
20344 conftest
$ac_exeext conftest.
$ac_ext
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20347 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20348 if test $gcc_cv_math_func_log10f = yes; then
20350 cat >>confdefs.h
<<_ACEOF
20351 #define HAVE_LOG10F 1
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20360 $as_echo_n "checking for log10... " >&6; }
20361 if test "${gcc_cv_math_func_log10+set}" = set; then :
20362 $as_echo_n "(cached) " >&6
20364 if test x
$gcc_no_link = xyes
; then
20365 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h. */
20370 #ifdef HAVE_COMPLEX_H
20371 #include <complex.h>
20377 int (*ptr)() = (int (*)())log10;
20386 if ac_fn_c_try_link
"$LINENO"; then :
20387 gcc_cv_math_func_log10
=yes
20389 gcc_cv_math_func_log10
=no
20391 rm -f core conftest.err conftest.
$ac_objext \
20392 conftest
$ac_exeext conftest.
$ac_ext
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20395 $as_echo "$gcc_cv_math_func_log10" >&6; }
20396 if test $gcc_cv_math_func_log10 = yes; then
20398 cat >>confdefs.h
<<_ACEOF
20399 #define HAVE_LOG10 1
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20408 $as_echo_n "checking for log10l... " >&6; }
20409 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20410 $as_echo_n "(cached) " >&6
20412 if test x
$gcc_no_link = xyes
; then
20413 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20418 #ifdef HAVE_COMPLEX_H
20419 #include <complex.h>
20425 int (*ptr)() = (int (*)())log10l;
20434 if ac_fn_c_try_link
"$LINENO"; then :
20435 gcc_cv_math_func_log10l
=yes
20437 gcc_cv_math_func_log10l
=no
20439 rm -f core conftest.err conftest.
$ac_objext \
20440 conftest
$ac_exeext conftest.
$ac_ext
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20443 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20444 if test $gcc_cv_math_func_log10l = yes; then
20446 cat >>confdefs.h
<<_ACEOF
20447 #define HAVE_LOG10L 1
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20456 $as_echo_n "checking for clog10f... " >&6; }
20457 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20458 $as_echo_n "(cached) " >&6
20460 if test x
$gcc_no_link = xyes
; then
20461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20464 /* end confdefs.h. */
20466 #ifdef HAVE_COMPLEX_H
20467 #include <complex.h>
20473 int (*ptr)() = (int (*)())clog10f;
20482 if ac_fn_c_try_link
"$LINENO"; then :
20483 gcc_cv_math_func_clog10f
=yes
20485 gcc_cv_math_func_clog10f
=no
20487 rm -f core conftest.err conftest.
$ac_objext \
20488 conftest
$ac_exeext conftest.
$ac_ext
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20491 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20492 if test $gcc_cv_math_func_clog10f = yes; then
20494 cat >>confdefs.h
<<_ACEOF
20495 #define HAVE_CLOG10F 1
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20504 $as_echo_n "checking for clog10... " >&6; }
20505 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20506 $as_echo_n "(cached) " >&6
20508 if test x
$gcc_no_link = xyes
; then
20509 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20512 /* end confdefs.h. */
20514 #ifdef HAVE_COMPLEX_H
20515 #include <complex.h>
20521 int (*ptr)() = (int (*)())clog10;
20530 if ac_fn_c_try_link
"$LINENO"; then :
20531 gcc_cv_math_func_clog10
=yes
20533 gcc_cv_math_func_clog10
=no
20535 rm -f core conftest.err conftest.
$ac_objext \
20536 conftest
$ac_exeext conftest.
$ac_ext
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20539 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20540 if test $gcc_cv_math_func_clog10 = yes; then
20542 cat >>confdefs.h
<<_ACEOF
20543 #define HAVE_CLOG10 1
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20552 $as_echo_n "checking for clog10l... " >&6; }
20553 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20554 $as_echo_n "(cached) " >&6
20556 if test x
$gcc_no_link = xyes
; then
20557 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h. */
20562 #ifdef HAVE_COMPLEX_H
20563 #include <complex.h>
20569 int (*ptr)() = (int (*)())clog10l;
20578 if ac_fn_c_try_link
"$LINENO"; then :
20579 gcc_cv_math_func_clog10l
=yes
20581 gcc_cv_math_func_clog10l
=no
20583 rm -f core conftest.err conftest.
$ac_objext \
20584 conftest
$ac_exeext conftest.
$ac_ext
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20587 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20588 if test $gcc_cv_math_func_clog10l = yes; then
20590 cat >>confdefs.h
<<_ACEOF
20591 #define HAVE_CLOG10L 1
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20600 $as_echo_n "checking for nextafterf... " >&6; }
20601 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20602 $as_echo_n "(cached) " >&6
20604 if test x
$gcc_no_link = xyes
; then
20605 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20608 /* end confdefs.h. */
20610 #ifdef HAVE_COMPLEX_H
20611 #include <complex.h>
20617 int (*ptr)() = (int (*)())nextafterf;
20626 if ac_fn_c_try_link
"$LINENO"; then :
20627 gcc_cv_math_func_nextafterf
=yes
20629 gcc_cv_math_func_nextafterf
=no
20631 rm -f core conftest.err conftest.
$ac_objext \
20632 conftest
$ac_exeext conftest.
$ac_ext
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20635 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20636 if test $gcc_cv_math_func_nextafterf = yes; then
20638 cat >>confdefs.h
<<_ACEOF
20639 #define HAVE_NEXTAFTERF 1
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20648 $as_echo_n "checking for nextafter... " >&6; }
20649 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20650 $as_echo_n "(cached) " >&6
20652 if test x
$gcc_no_link = xyes
; then
20653 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20658 #ifdef HAVE_COMPLEX_H
20659 #include <complex.h>
20665 int (*ptr)() = (int (*)())nextafter;
20674 if ac_fn_c_try_link
"$LINENO"; then :
20675 gcc_cv_math_func_nextafter
=yes
20677 gcc_cv_math_func_nextafter
=no
20679 rm -f core conftest.err conftest.
$ac_objext \
20680 conftest
$ac_exeext conftest.
$ac_ext
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20683 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20684 if test $gcc_cv_math_func_nextafter = yes; then
20686 cat >>confdefs.h
<<_ACEOF
20687 #define HAVE_NEXTAFTER 1
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20696 $as_echo_n "checking for nextafterl... " >&6; }
20697 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20698 $as_echo_n "(cached) " >&6
20700 if test x
$gcc_no_link = xyes
; then
20701 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20706 #ifdef HAVE_COMPLEX_H
20707 #include <complex.h>
20713 int (*ptr)() = (int (*)())nextafterl;
20722 if ac_fn_c_try_link
"$LINENO"; then :
20723 gcc_cv_math_func_nextafterl
=yes
20725 gcc_cv_math_func_nextafterl
=no
20727 rm -f core conftest.err conftest.
$ac_objext \
20728 conftest
$ac_exeext conftest.
$ac_ext
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20731 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20732 if test $gcc_cv_math_func_nextafterl = yes; then
20734 cat >>confdefs.h
<<_ACEOF
20735 #define HAVE_NEXTAFTERL 1
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20744 $as_echo_n "checking for powf... " >&6; }
20745 if test "${gcc_cv_math_func_powf+set}" = set; then :
20746 $as_echo_n "(cached) " >&6
20748 if test x
$gcc_no_link = xyes
; then
20749 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20754 #ifdef HAVE_COMPLEX_H
20755 #include <complex.h>
20761 int (*ptr)() = (int (*)())powf;
20770 if ac_fn_c_try_link
"$LINENO"; then :
20771 gcc_cv_math_func_powf
=yes
20773 gcc_cv_math_func_powf
=no
20775 rm -f core conftest.err conftest.
$ac_objext \
20776 conftest
$ac_exeext conftest.
$ac_ext
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20779 $as_echo "$gcc_cv_math_func_powf" >&6; }
20780 if test $gcc_cv_math_func_powf = yes; then
20782 cat >>confdefs.h
<<_ACEOF
20783 #define HAVE_POWF 1
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20792 $as_echo_n "checking for pow... " >&6; }
20793 if test "${gcc_cv_math_func_pow+set}" = set; then :
20794 $as_echo_n "(cached) " >&6
20796 if test x
$gcc_no_link = xyes
; then
20797 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20802 #ifdef HAVE_COMPLEX_H
20803 #include <complex.h>
20809 int (*ptr)() = (int (*)())pow;
20818 if ac_fn_c_try_link
"$LINENO"; then :
20819 gcc_cv_math_func_pow
=yes
20821 gcc_cv_math_func_pow
=no
20823 rm -f core conftest.err conftest.
$ac_objext \
20824 conftest
$ac_exeext conftest.
$ac_ext
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20827 $as_echo "$gcc_cv_math_func_pow" >&6; }
20828 if test $gcc_cv_math_func_pow = yes; then
20830 cat >>confdefs.h
<<_ACEOF
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20840 $as_echo_n "checking for powl... " >&6; }
20841 if test "${gcc_cv_math_func_powl+set}" = set; then :
20842 $as_echo_n "(cached) " >&6
20844 if test x
$gcc_no_link = xyes
; then
20845 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20848 /* end confdefs.h. */
20850 #ifdef HAVE_COMPLEX_H
20851 #include <complex.h>
20857 int (*ptr)() = (int (*)())powl;
20866 if ac_fn_c_try_link
"$LINENO"; then :
20867 gcc_cv_math_func_powl
=yes
20869 gcc_cv_math_func_powl
=no
20871 rm -f core conftest.err conftest.
$ac_objext \
20872 conftest
$ac_exeext conftest.
$ac_ext
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20875 $as_echo "$gcc_cv_math_func_powl" >&6; }
20876 if test $gcc_cv_math_func_powl = yes; then
20878 cat >>confdefs.h
<<_ACEOF
20879 #define HAVE_POWL 1
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20888 $as_echo_n "checking for cpowf... " >&6; }
20889 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20890 $as_echo_n "(cached) " >&6
20892 if test x
$gcc_no_link = xyes
; then
20893 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20896 /* end confdefs.h. */
20898 #ifdef HAVE_COMPLEX_H
20899 #include <complex.h>
20905 int (*ptr)() = (int (*)())cpowf;
20914 if ac_fn_c_try_link
"$LINENO"; then :
20915 gcc_cv_math_func_cpowf
=yes
20917 gcc_cv_math_func_cpowf
=no
20919 rm -f core conftest.err conftest.
$ac_objext \
20920 conftest
$ac_exeext conftest.
$ac_ext
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20923 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20924 if test $gcc_cv_math_func_cpowf = yes; then
20926 cat >>confdefs.h
<<_ACEOF
20927 #define HAVE_CPOWF 1
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20936 $as_echo_n "checking for cpow... " >&6; }
20937 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20938 $as_echo_n "(cached) " >&6
20940 if test x
$gcc_no_link = xyes
; then
20941 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20944 /* end confdefs.h. */
20946 #ifdef HAVE_COMPLEX_H
20947 #include <complex.h>
20953 int (*ptr)() = (int (*)())cpow;
20962 if ac_fn_c_try_link
"$LINENO"; then :
20963 gcc_cv_math_func_cpow
=yes
20965 gcc_cv_math_func_cpow
=no
20967 rm -f core conftest.err conftest.
$ac_objext \
20968 conftest
$ac_exeext conftest.
$ac_ext
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20971 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20972 if test $gcc_cv_math_func_cpow = yes; then
20974 cat >>confdefs.h
<<_ACEOF
20975 #define HAVE_CPOW 1
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20984 $as_echo_n "checking for cpowl... " >&6; }
20985 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20986 $as_echo_n "(cached) " >&6
20988 if test x
$gcc_no_link = xyes
; then
20989 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20992 /* end confdefs.h. */
20994 #ifdef HAVE_COMPLEX_H
20995 #include <complex.h>
21001 int (*ptr)() = (int (*)())cpowl;
21010 if ac_fn_c_try_link
"$LINENO"; then :
21011 gcc_cv_math_func_cpowl
=yes
21013 gcc_cv_math_func_cpowl
=no
21015 rm -f core conftest.err conftest.
$ac_objext \
21016 conftest
$ac_exeext conftest.
$ac_ext
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21019 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21020 if test $gcc_cv_math_func_cpowl = yes; then
21022 cat >>confdefs.h
<<_ACEOF
21023 #define HAVE_CPOWL 1
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21032 $as_echo_n "checking for roundf... " >&6; }
21033 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21034 $as_echo_n "(cached) " >&6
21036 if test x
$gcc_no_link = xyes
; then
21037 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21042 #ifdef HAVE_COMPLEX_H
21043 #include <complex.h>
21049 int (*ptr)() = (int (*)())roundf;
21058 if ac_fn_c_try_link
"$LINENO"; then :
21059 gcc_cv_math_func_roundf
=yes
21061 gcc_cv_math_func_roundf
=no
21063 rm -f core conftest.err conftest.
$ac_objext \
21064 conftest
$ac_exeext conftest.
$ac_ext
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21067 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21068 if test $gcc_cv_math_func_roundf = yes; then
21070 cat >>confdefs.h
<<_ACEOF
21071 #define HAVE_ROUNDF 1
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21080 $as_echo_n "checking for round... " >&6; }
21081 if test "${gcc_cv_math_func_round+set}" = set; then :
21082 $as_echo_n "(cached) " >&6
21084 if test x
$gcc_no_link = xyes
; then
21085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h. */
21090 #ifdef HAVE_COMPLEX_H
21091 #include <complex.h>
21097 int (*ptr)() = (int (*)())round;
21106 if ac_fn_c_try_link
"$LINENO"; then :
21107 gcc_cv_math_func_round
=yes
21109 gcc_cv_math_func_round
=no
21111 rm -f core conftest.err conftest.
$ac_objext \
21112 conftest
$ac_exeext conftest.
$ac_ext
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21115 $as_echo "$gcc_cv_math_func_round" >&6; }
21116 if test $gcc_cv_math_func_round = yes; then
21118 cat >>confdefs.h
<<_ACEOF
21119 #define HAVE_ROUND 1
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21128 $as_echo_n "checking for roundl... " >&6; }
21129 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21130 $as_echo_n "(cached) " >&6
21132 if test x
$gcc_no_link = xyes
; then
21133 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21138 #ifdef HAVE_COMPLEX_H
21139 #include <complex.h>
21145 int (*ptr)() = (int (*)())roundl;
21154 if ac_fn_c_try_link
"$LINENO"; then :
21155 gcc_cv_math_func_roundl
=yes
21157 gcc_cv_math_func_roundl
=no
21159 rm -f core conftest.err conftest.
$ac_objext \
21160 conftest
$ac_exeext conftest.
$ac_ext
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21163 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21164 if test $gcc_cv_math_func_roundl = yes; then
21166 cat >>confdefs.h
<<_ACEOF
21167 #define HAVE_ROUNDL 1
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21176 $as_echo_n "checking for lroundf... " >&6; }
21177 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21178 $as_echo_n "(cached) " >&6
21180 if test x
$gcc_no_link = xyes
; then
21181 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21186 #ifdef HAVE_COMPLEX_H
21187 #include <complex.h>
21193 int (*ptr)() = (int (*)())lroundf;
21202 if ac_fn_c_try_link
"$LINENO"; then :
21203 gcc_cv_math_func_lroundf
=yes
21205 gcc_cv_math_func_lroundf
=no
21207 rm -f core conftest.err conftest.
$ac_objext \
21208 conftest
$ac_exeext conftest.
$ac_ext
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21211 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21212 if test $gcc_cv_math_func_lroundf = yes; then
21214 cat >>confdefs.h
<<_ACEOF
21215 #define HAVE_LROUNDF 1
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21224 $as_echo_n "checking for lround... " >&6; }
21225 if test "${gcc_cv_math_func_lround+set}" = set; then :
21226 $as_echo_n "(cached) " >&6
21228 if test x
$gcc_no_link = xyes
; then
21229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21232 /* end confdefs.h. */
21234 #ifdef HAVE_COMPLEX_H
21235 #include <complex.h>
21241 int (*ptr)() = (int (*)())lround;
21250 if ac_fn_c_try_link
"$LINENO"; then :
21251 gcc_cv_math_func_lround
=yes
21253 gcc_cv_math_func_lround
=no
21255 rm -f core conftest.err conftest.
$ac_objext \
21256 conftest
$ac_exeext conftest.
$ac_ext
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21259 $as_echo "$gcc_cv_math_func_lround" >&6; }
21260 if test $gcc_cv_math_func_lround = yes; then
21262 cat >>confdefs.h
<<_ACEOF
21263 #define HAVE_LROUND 1
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21272 $as_echo_n "checking for lroundl... " >&6; }
21273 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21274 $as_echo_n "(cached) " >&6
21276 if test x
$gcc_no_link = xyes
; then
21277 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21280 /* end confdefs.h. */
21282 #ifdef HAVE_COMPLEX_H
21283 #include <complex.h>
21289 int (*ptr)() = (int (*)())lroundl;
21298 if ac_fn_c_try_link
"$LINENO"; then :
21299 gcc_cv_math_func_lroundl
=yes
21301 gcc_cv_math_func_lroundl
=no
21303 rm -f core conftest.err conftest.
$ac_objext \
21304 conftest
$ac_exeext conftest.
$ac_ext
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21307 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21308 if test $gcc_cv_math_func_lroundl = yes; then
21310 cat >>confdefs.h
<<_ACEOF
21311 #define HAVE_LROUNDL 1
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21320 $as_echo_n "checking for llroundf... " >&6; }
21321 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21322 $as_echo_n "(cached) " >&6
21324 if test x
$gcc_no_link = xyes
; then
21325 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21328 /* end confdefs.h. */
21330 #ifdef HAVE_COMPLEX_H
21331 #include <complex.h>
21337 int (*ptr)() = (int (*)())llroundf;
21346 if ac_fn_c_try_link
"$LINENO"; then :
21347 gcc_cv_math_func_llroundf
=yes
21349 gcc_cv_math_func_llroundf
=no
21351 rm -f core conftest.err conftest.
$ac_objext \
21352 conftest
$ac_exeext conftest.
$ac_ext
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21355 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21356 if test $gcc_cv_math_func_llroundf = yes; then
21358 cat >>confdefs.h
<<_ACEOF
21359 #define HAVE_LLROUNDF 1
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21368 $as_echo_n "checking for llround... " >&6; }
21369 if test "${gcc_cv_math_func_llround+set}" = set; then :
21370 $as_echo_n "(cached) " >&6
21372 if test x
$gcc_no_link = xyes
; then
21373 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21376 /* end confdefs.h. */
21378 #ifdef HAVE_COMPLEX_H
21379 #include <complex.h>
21385 int (*ptr)() = (int (*)())llround;
21394 if ac_fn_c_try_link
"$LINENO"; then :
21395 gcc_cv_math_func_llround
=yes
21397 gcc_cv_math_func_llround
=no
21399 rm -f core conftest.err conftest.
$ac_objext \
21400 conftest
$ac_exeext conftest.
$ac_ext
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21403 $as_echo "$gcc_cv_math_func_llround" >&6; }
21404 if test $gcc_cv_math_func_llround = yes; then
21406 cat >>confdefs.h
<<_ACEOF
21407 #define HAVE_LLROUND 1
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21416 $as_echo_n "checking for llroundl... " >&6; }
21417 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21418 $as_echo_n "(cached) " >&6
21420 if test x
$gcc_no_link = xyes
; then
21421 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21426 #ifdef HAVE_COMPLEX_H
21427 #include <complex.h>
21433 int (*ptr)() = (int (*)())llroundl;
21442 if ac_fn_c_try_link
"$LINENO"; then :
21443 gcc_cv_math_func_llroundl
=yes
21445 gcc_cv_math_func_llroundl
=no
21447 rm -f core conftest.err conftest.
$ac_objext \
21448 conftest
$ac_exeext conftest.
$ac_ext
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21451 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21452 if test $gcc_cv_math_func_llroundl = yes; then
21454 cat >>confdefs.h
<<_ACEOF
21455 #define HAVE_LLROUNDL 1
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21464 $as_echo_n "checking for scalbnf... " >&6; }
21465 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21466 $as_echo_n "(cached) " >&6
21468 if test x
$gcc_no_link = xyes
; then
21469 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21472 /* end confdefs.h. */
21474 #ifdef HAVE_COMPLEX_H
21475 #include <complex.h>
21481 int (*ptr)() = (int (*)())scalbnf;
21490 if ac_fn_c_try_link
"$LINENO"; then :
21491 gcc_cv_math_func_scalbnf
=yes
21493 gcc_cv_math_func_scalbnf
=no
21495 rm -f core conftest.err conftest.
$ac_objext \
21496 conftest
$ac_exeext conftest.
$ac_ext
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21499 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21500 if test $gcc_cv_math_func_scalbnf = yes; then
21502 cat >>confdefs.h
<<_ACEOF
21503 #define HAVE_SCALBNF 1
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21512 $as_echo_n "checking for scalbn... " >&6; }
21513 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21514 $as_echo_n "(cached) " >&6
21516 if test x
$gcc_no_link = xyes
; then
21517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h. */
21522 #ifdef HAVE_COMPLEX_H
21523 #include <complex.h>
21529 int (*ptr)() = (int (*)())scalbn;
21538 if ac_fn_c_try_link
"$LINENO"; then :
21539 gcc_cv_math_func_scalbn
=yes
21541 gcc_cv_math_func_scalbn
=no
21543 rm -f core conftest.err conftest.
$ac_objext \
21544 conftest
$ac_exeext conftest.
$ac_ext
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21547 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21548 if test $gcc_cv_math_func_scalbn = yes; then
21550 cat >>confdefs.h
<<_ACEOF
21551 #define HAVE_SCALBN 1
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21560 $as_echo_n "checking for scalbnl... " >&6; }
21561 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21564 if test x
$gcc_no_link = xyes
; then
21565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21570 #ifdef HAVE_COMPLEX_H
21571 #include <complex.h>
21577 int (*ptr)() = (int (*)())scalbnl;
21586 if ac_fn_c_try_link
"$LINENO"; then :
21587 gcc_cv_math_func_scalbnl
=yes
21589 gcc_cv_math_func_scalbnl
=no
21591 rm -f core conftest.err conftest.
$ac_objext \
21592 conftest
$ac_exeext conftest.
$ac_ext
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21595 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21596 if test $gcc_cv_math_func_scalbnl = yes; then
21598 cat >>confdefs.h
<<_ACEOF
21599 #define HAVE_SCALBNL 1
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21608 $as_echo_n "checking for sinf... " >&6; }
21609 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21610 $as_echo_n "(cached) " >&6
21612 if test x
$gcc_no_link = xyes
; then
21613 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h. */
21618 #ifdef HAVE_COMPLEX_H
21619 #include <complex.h>
21625 int (*ptr)() = (int (*)())sinf;
21634 if ac_fn_c_try_link
"$LINENO"; then :
21635 gcc_cv_math_func_sinf
=yes
21637 gcc_cv_math_func_sinf
=no
21639 rm -f core conftest.err conftest.
$ac_objext \
21640 conftest
$ac_exeext conftest.
$ac_ext
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21643 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21644 if test $gcc_cv_math_func_sinf = yes; then
21646 cat >>confdefs.h
<<_ACEOF
21647 #define HAVE_SINF 1
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21656 $as_echo_n "checking for sin... " >&6; }
21657 if test "${gcc_cv_math_func_sin+set}" = set; then :
21658 $as_echo_n "(cached) " >&6
21660 if test x
$gcc_no_link = xyes
; then
21661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21666 #ifdef HAVE_COMPLEX_H
21667 #include <complex.h>
21673 int (*ptr)() = (int (*)())sin;
21682 if ac_fn_c_try_link
"$LINENO"; then :
21683 gcc_cv_math_func_sin
=yes
21685 gcc_cv_math_func_sin
=no
21687 rm -f core conftest.err conftest.
$ac_objext \
21688 conftest
$ac_exeext conftest.
$ac_ext
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21691 $as_echo "$gcc_cv_math_func_sin" >&6; }
21692 if test $gcc_cv_math_func_sin = yes; then
21694 cat >>confdefs.h
<<_ACEOF
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21704 $as_echo_n "checking for sinl... " >&6; }
21705 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21706 $as_echo_n "(cached) " >&6
21708 if test x
$gcc_no_link = xyes
; then
21709 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21712 /* end confdefs.h. */
21714 #ifdef HAVE_COMPLEX_H
21715 #include <complex.h>
21721 int (*ptr)() = (int (*)())sinl;
21730 if ac_fn_c_try_link
"$LINENO"; then :
21731 gcc_cv_math_func_sinl
=yes
21733 gcc_cv_math_func_sinl
=no
21735 rm -f core conftest.err conftest.
$ac_objext \
21736 conftest
$ac_exeext conftest.
$ac_ext
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21739 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21740 if test $gcc_cv_math_func_sinl = yes; then
21742 cat >>confdefs.h
<<_ACEOF
21743 #define HAVE_SINL 1
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21752 $as_echo_n "checking for csinf... " >&6; }
21753 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21754 $as_echo_n "(cached) " >&6
21756 if test x
$gcc_no_link = xyes
; then
21757 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21762 #ifdef HAVE_COMPLEX_H
21763 #include <complex.h>
21769 int (*ptr)() = (int (*)())csinf;
21778 if ac_fn_c_try_link
"$LINENO"; then :
21779 gcc_cv_math_func_csinf
=yes
21781 gcc_cv_math_func_csinf
=no
21783 rm -f core conftest.err conftest.
$ac_objext \
21784 conftest
$ac_exeext conftest.
$ac_ext
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21787 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21788 if test $gcc_cv_math_func_csinf = yes; then
21790 cat >>confdefs.h
<<_ACEOF
21791 #define HAVE_CSINF 1
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21800 $as_echo_n "checking for csin... " >&6; }
21801 if test "${gcc_cv_math_func_csin+set}" = set; then :
21802 $as_echo_n "(cached) " >&6
21804 if test x
$gcc_no_link = xyes
; then
21805 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21808 /* end confdefs.h. */
21810 #ifdef HAVE_COMPLEX_H
21811 #include <complex.h>
21817 int (*ptr)() = (int (*)())csin;
21826 if ac_fn_c_try_link
"$LINENO"; then :
21827 gcc_cv_math_func_csin
=yes
21829 gcc_cv_math_func_csin
=no
21831 rm -f core conftest.err conftest.
$ac_objext \
21832 conftest
$ac_exeext conftest.
$ac_ext
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21835 $as_echo "$gcc_cv_math_func_csin" >&6; }
21836 if test $gcc_cv_math_func_csin = yes; then
21838 cat >>confdefs.h
<<_ACEOF
21839 #define HAVE_CSIN 1
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21848 $as_echo_n "checking for csinl... " >&6; }
21849 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21850 $as_echo_n "(cached) " >&6
21852 if test x
$gcc_no_link = xyes
; then
21853 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21858 #ifdef HAVE_COMPLEX_H
21859 #include <complex.h>
21865 int (*ptr)() = (int (*)())csinl;
21874 if ac_fn_c_try_link
"$LINENO"; then :
21875 gcc_cv_math_func_csinl
=yes
21877 gcc_cv_math_func_csinl
=no
21879 rm -f core conftest.err conftest.
$ac_objext \
21880 conftest
$ac_exeext conftest.
$ac_ext
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21883 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21884 if test $gcc_cv_math_func_csinl = yes; then
21886 cat >>confdefs.h
<<_ACEOF
21887 #define HAVE_CSINL 1
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21896 $as_echo_n "checking for sinhf... " >&6; }
21897 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21898 $as_echo_n "(cached) " >&6
21900 if test x
$gcc_no_link = xyes
; then
21901 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21904 /* end confdefs.h. */
21906 #ifdef HAVE_COMPLEX_H
21907 #include <complex.h>
21913 int (*ptr)() = (int (*)())sinhf;
21922 if ac_fn_c_try_link
"$LINENO"; then :
21923 gcc_cv_math_func_sinhf
=yes
21925 gcc_cv_math_func_sinhf
=no
21927 rm -f core conftest.err conftest.
$ac_objext \
21928 conftest
$ac_exeext conftest.
$ac_ext
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21931 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21932 if test $gcc_cv_math_func_sinhf = yes; then
21934 cat >>confdefs.h
<<_ACEOF
21935 #define HAVE_SINHF 1
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21944 $as_echo_n "checking for sinh... " >&6; }
21945 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21946 $as_echo_n "(cached) " >&6
21948 if test x
$gcc_no_link = xyes
; then
21949 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21952 /* end confdefs.h. */
21954 #ifdef HAVE_COMPLEX_H
21955 #include <complex.h>
21961 int (*ptr)() = (int (*)())sinh;
21970 if ac_fn_c_try_link
"$LINENO"; then :
21971 gcc_cv_math_func_sinh
=yes
21973 gcc_cv_math_func_sinh
=no
21975 rm -f core conftest.err conftest.
$ac_objext \
21976 conftest
$ac_exeext conftest.
$ac_ext
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21979 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21980 if test $gcc_cv_math_func_sinh = yes; then
21982 cat >>confdefs.h
<<_ACEOF
21983 #define HAVE_SINH 1
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21992 $as_echo_n "checking for sinhl... " >&6; }
21993 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21994 $as_echo_n "(cached) " >&6
21996 if test x
$gcc_no_link = xyes
; then
21997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22000 /* end confdefs.h. */
22002 #ifdef HAVE_COMPLEX_H
22003 #include <complex.h>
22009 int (*ptr)() = (int (*)())sinhl;
22018 if ac_fn_c_try_link
"$LINENO"; then :
22019 gcc_cv_math_func_sinhl
=yes
22021 gcc_cv_math_func_sinhl
=no
22023 rm -f core conftest.err conftest.
$ac_objext \
22024 conftest
$ac_exeext conftest.
$ac_ext
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22027 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22028 if test $gcc_cv_math_func_sinhl = yes; then
22030 cat >>confdefs.h
<<_ACEOF
22031 #define HAVE_SINHL 1
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22040 $as_echo_n "checking for csinhf... " >&6; }
22041 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22042 $as_echo_n "(cached) " >&6
22044 if test x
$gcc_no_link = xyes
; then
22045 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22048 /* end confdefs.h. */
22050 #ifdef HAVE_COMPLEX_H
22051 #include <complex.h>
22057 int (*ptr)() = (int (*)())csinhf;
22066 if ac_fn_c_try_link
"$LINENO"; then :
22067 gcc_cv_math_func_csinhf
=yes
22069 gcc_cv_math_func_csinhf
=no
22071 rm -f core conftest.err conftest.
$ac_objext \
22072 conftest
$ac_exeext conftest.
$ac_ext
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22075 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22076 if test $gcc_cv_math_func_csinhf = yes; then
22078 cat >>confdefs.h
<<_ACEOF
22079 #define HAVE_CSINHF 1
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22088 $as_echo_n "checking for csinh... " >&6; }
22089 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22090 $as_echo_n "(cached) " >&6
22092 if test x
$gcc_no_link = xyes
; then
22093 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22096 /* end confdefs.h. */
22098 #ifdef HAVE_COMPLEX_H
22099 #include <complex.h>
22105 int (*ptr)() = (int (*)())csinh;
22114 if ac_fn_c_try_link
"$LINENO"; then :
22115 gcc_cv_math_func_csinh
=yes
22117 gcc_cv_math_func_csinh
=no
22119 rm -f core conftest.err conftest.
$ac_objext \
22120 conftest
$ac_exeext conftest.
$ac_ext
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22123 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22124 if test $gcc_cv_math_func_csinh = yes; then
22126 cat >>confdefs.h
<<_ACEOF
22127 #define HAVE_CSINH 1
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22136 $as_echo_n "checking for csinhl... " >&6; }
22137 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22140 if test x
$gcc_no_link = xyes
; then
22141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h. */
22146 #ifdef HAVE_COMPLEX_H
22147 #include <complex.h>
22153 int (*ptr)() = (int (*)())csinhl;
22162 if ac_fn_c_try_link
"$LINENO"; then :
22163 gcc_cv_math_func_csinhl
=yes
22165 gcc_cv_math_func_csinhl
=no
22167 rm -f core conftest.err conftest.
$ac_objext \
22168 conftest
$ac_exeext conftest.
$ac_ext
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22171 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22172 if test $gcc_cv_math_func_csinhl = yes; then
22174 cat >>confdefs.h
<<_ACEOF
22175 #define HAVE_CSINHL 1
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22184 $as_echo_n "checking for sqrtf... " >&6; }
22185 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22186 $as_echo_n "(cached) " >&6
22188 if test x
$gcc_no_link = xyes
; then
22189 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22192 /* end confdefs.h. */
22194 #ifdef HAVE_COMPLEX_H
22195 #include <complex.h>
22201 int (*ptr)() = (int (*)())sqrtf;
22210 if ac_fn_c_try_link
"$LINENO"; then :
22211 gcc_cv_math_func_sqrtf
=yes
22213 gcc_cv_math_func_sqrtf
=no
22215 rm -f core conftest.err conftest.
$ac_objext \
22216 conftest
$ac_exeext conftest.
$ac_ext
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22219 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22220 if test $gcc_cv_math_func_sqrtf = yes; then
22222 cat >>confdefs.h
<<_ACEOF
22223 #define HAVE_SQRTF 1
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22232 $as_echo_n "checking for sqrt... " >&6; }
22233 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22234 $as_echo_n "(cached) " >&6
22236 if test x
$gcc_no_link = xyes
; then
22237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22240 /* end confdefs.h. */
22242 #ifdef HAVE_COMPLEX_H
22243 #include <complex.h>
22249 int (*ptr)() = (int (*)())sqrt;
22258 if ac_fn_c_try_link
"$LINENO"; then :
22259 gcc_cv_math_func_sqrt
=yes
22261 gcc_cv_math_func_sqrt
=no
22263 rm -f core conftest.err conftest.
$ac_objext \
22264 conftest
$ac_exeext conftest.
$ac_ext
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22267 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22268 if test $gcc_cv_math_func_sqrt = yes; then
22270 cat >>confdefs.h
<<_ACEOF
22271 #define HAVE_SQRT 1
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22280 $as_echo_n "checking for sqrtl... " >&6; }
22281 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22282 $as_echo_n "(cached) " >&6
22284 if test x
$gcc_no_link = xyes
; then
22285 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22290 #ifdef HAVE_COMPLEX_H
22291 #include <complex.h>
22297 int (*ptr)() = (int (*)())sqrtl;
22306 if ac_fn_c_try_link
"$LINENO"; then :
22307 gcc_cv_math_func_sqrtl
=yes
22309 gcc_cv_math_func_sqrtl
=no
22311 rm -f core conftest.err conftest.
$ac_objext \
22312 conftest
$ac_exeext conftest.
$ac_ext
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22315 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22316 if test $gcc_cv_math_func_sqrtl = yes; then
22318 cat >>confdefs.h
<<_ACEOF
22319 #define HAVE_SQRTL 1
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22328 $as_echo_n "checking for csqrtf... " >&6; }
22329 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22332 if test x
$gcc_no_link = xyes
; then
22333 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22336 /* end confdefs.h. */
22338 #ifdef HAVE_COMPLEX_H
22339 #include <complex.h>
22345 int (*ptr)() = (int (*)())csqrtf;
22354 if ac_fn_c_try_link
"$LINENO"; then :
22355 gcc_cv_math_func_csqrtf
=yes
22357 gcc_cv_math_func_csqrtf
=no
22359 rm -f core conftest.err conftest.
$ac_objext \
22360 conftest
$ac_exeext conftest.
$ac_ext
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22363 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22364 if test $gcc_cv_math_func_csqrtf = yes; then
22366 cat >>confdefs.h
<<_ACEOF
22367 #define HAVE_CSQRTF 1
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22376 $as_echo_n "checking for csqrt... " >&6; }
22377 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22378 $as_echo_n "(cached) " >&6
22380 if test x
$gcc_no_link = xyes
; then
22381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22384 /* end confdefs.h. */
22386 #ifdef HAVE_COMPLEX_H
22387 #include <complex.h>
22393 int (*ptr)() = (int (*)())csqrt;
22402 if ac_fn_c_try_link
"$LINENO"; then :
22403 gcc_cv_math_func_csqrt
=yes
22405 gcc_cv_math_func_csqrt
=no
22407 rm -f core conftest.err conftest.
$ac_objext \
22408 conftest
$ac_exeext conftest.
$ac_ext
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22411 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22412 if test $gcc_cv_math_func_csqrt = yes; then
22414 cat >>confdefs.h
<<_ACEOF
22415 #define HAVE_CSQRT 1
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22424 $as_echo_n "checking for csqrtl... " >&6; }
22425 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22426 $as_echo_n "(cached) " >&6
22428 if test x
$gcc_no_link = xyes
; then
22429 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22432 /* end confdefs.h. */
22434 #ifdef HAVE_COMPLEX_H
22435 #include <complex.h>
22441 int (*ptr)() = (int (*)())csqrtl;
22450 if ac_fn_c_try_link
"$LINENO"; then :
22451 gcc_cv_math_func_csqrtl
=yes
22453 gcc_cv_math_func_csqrtl
=no
22455 rm -f core conftest.err conftest.
$ac_objext \
22456 conftest
$ac_exeext conftest.
$ac_ext
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22459 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22460 if test $gcc_cv_math_func_csqrtl = yes; then
22462 cat >>confdefs.h
<<_ACEOF
22463 #define HAVE_CSQRTL 1
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22472 $as_echo_n "checking for tanf... " >&6; }
22473 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22474 $as_echo_n "(cached) " >&6
22476 if test x
$gcc_no_link = xyes
; then
22477 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22480 /* end confdefs.h. */
22482 #ifdef HAVE_COMPLEX_H
22483 #include <complex.h>
22489 int (*ptr)() = (int (*)())tanf;
22498 if ac_fn_c_try_link
"$LINENO"; then :
22499 gcc_cv_math_func_tanf
=yes
22501 gcc_cv_math_func_tanf
=no
22503 rm -f core conftest.err conftest.
$ac_objext \
22504 conftest
$ac_exeext conftest.
$ac_ext
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22507 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22508 if test $gcc_cv_math_func_tanf = yes; then
22510 cat >>confdefs.h
<<_ACEOF
22511 #define HAVE_TANF 1
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22520 $as_echo_n "checking for tan... " >&6; }
22521 if test "${gcc_cv_math_func_tan+set}" = set; then :
22522 $as_echo_n "(cached) " >&6
22524 if test x
$gcc_no_link = xyes
; then
22525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22528 /* end confdefs.h. */
22530 #ifdef HAVE_COMPLEX_H
22531 #include <complex.h>
22537 int (*ptr)() = (int (*)())tan;
22546 if ac_fn_c_try_link
"$LINENO"; then :
22547 gcc_cv_math_func_tan
=yes
22549 gcc_cv_math_func_tan
=no
22551 rm -f core conftest.err conftest.
$ac_objext \
22552 conftest
$ac_exeext conftest.
$ac_ext
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22555 $as_echo "$gcc_cv_math_func_tan" >&6; }
22556 if test $gcc_cv_math_func_tan = yes; then
22558 cat >>confdefs.h
<<_ACEOF
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22568 $as_echo_n "checking for tanl... " >&6; }
22569 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22570 $as_echo_n "(cached) " >&6
22572 if test x
$gcc_no_link = xyes
; then
22573 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22576 /* end confdefs.h. */
22578 #ifdef HAVE_COMPLEX_H
22579 #include <complex.h>
22585 int (*ptr)() = (int (*)())tanl;
22594 if ac_fn_c_try_link
"$LINENO"; then :
22595 gcc_cv_math_func_tanl
=yes
22597 gcc_cv_math_func_tanl
=no
22599 rm -f core conftest.err conftest.
$ac_objext \
22600 conftest
$ac_exeext conftest.
$ac_ext
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22603 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22604 if test $gcc_cv_math_func_tanl = yes; then
22606 cat >>confdefs.h
<<_ACEOF
22607 #define HAVE_TANL 1
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22616 $as_echo_n "checking for ctanf... " >&6; }
22617 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22618 $as_echo_n "(cached) " >&6
22620 if test x
$gcc_no_link = xyes
; then
22621 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22624 /* end confdefs.h. */
22626 #ifdef HAVE_COMPLEX_H
22627 #include <complex.h>
22633 int (*ptr)() = (int (*)())ctanf;
22642 if ac_fn_c_try_link
"$LINENO"; then :
22643 gcc_cv_math_func_ctanf
=yes
22645 gcc_cv_math_func_ctanf
=no
22647 rm -f core conftest.err conftest.
$ac_objext \
22648 conftest
$ac_exeext conftest.
$ac_ext
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22651 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22652 if test $gcc_cv_math_func_ctanf = yes; then
22654 cat >>confdefs.h
<<_ACEOF
22655 #define HAVE_CTANF 1
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22664 $as_echo_n "checking for ctan... " >&6; }
22665 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22666 $as_echo_n "(cached) " >&6
22668 if test x
$gcc_no_link = xyes
; then
22669 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22672 /* end confdefs.h. */
22674 #ifdef HAVE_COMPLEX_H
22675 #include <complex.h>
22681 int (*ptr)() = (int (*)())ctan;
22690 if ac_fn_c_try_link
"$LINENO"; then :
22691 gcc_cv_math_func_ctan
=yes
22693 gcc_cv_math_func_ctan
=no
22695 rm -f core conftest.err conftest.
$ac_objext \
22696 conftest
$ac_exeext conftest.
$ac_ext
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22699 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22700 if test $gcc_cv_math_func_ctan = yes; then
22702 cat >>confdefs.h
<<_ACEOF
22703 #define HAVE_CTAN 1
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22712 $as_echo_n "checking for ctanl... " >&6; }
22713 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22714 $as_echo_n "(cached) " >&6
22716 if test x
$gcc_no_link = xyes
; then
22717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22720 /* end confdefs.h. */
22722 #ifdef HAVE_COMPLEX_H
22723 #include <complex.h>
22729 int (*ptr)() = (int (*)())ctanl;
22738 if ac_fn_c_try_link
"$LINENO"; then :
22739 gcc_cv_math_func_ctanl
=yes
22741 gcc_cv_math_func_ctanl
=no
22743 rm -f core conftest.err conftest.
$ac_objext \
22744 conftest
$ac_exeext conftest.
$ac_ext
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22747 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22748 if test $gcc_cv_math_func_ctanl = yes; then
22750 cat >>confdefs.h
<<_ACEOF
22751 #define HAVE_CTANL 1
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22760 $as_echo_n "checking for tanhf... " >&6; }
22761 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22762 $as_echo_n "(cached) " >&6
22764 if test x
$gcc_no_link = xyes
; then
22765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22768 /* end confdefs.h. */
22770 #ifdef HAVE_COMPLEX_H
22771 #include <complex.h>
22777 int (*ptr)() = (int (*)())tanhf;
22786 if ac_fn_c_try_link
"$LINENO"; then :
22787 gcc_cv_math_func_tanhf
=yes
22789 gcc_cv_math_func_tanhf
=no
22791 rm -f core conftest.err conftest.
$ac_objext \
22792 conftest
$ac_exeext conftest.
$ac_ext
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22795 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22796 if test $gcc_cv_math_func_tanhf = yes; then
22798 cat >>confdefs.h
<<_ACEOF
22799 #define HAVE_TANHF 1
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22808 $as_echo_n "checking for tanh... " >&6; }
22809 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22810 $as_echo_n "(cached) " >&6
22812 if test x
$gcc_no_link = xyes
; then
22813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22816 /* end confdefs.h. */
22818 #ifdef HAVE_COMPLEX_H
22819 #include <complex.h>
22825 int (*ptr)() = (int (*)())tanh;
22834 if ac_fn_c_try_link
"$LINENO"; then :
22835 gcc_cv_math_func_tanh
=yes
22837 gcc_cv_math_func_tanh
=no
22839 rm -f core conftest.err conftest.
$ac_objext \
22840 conftest
$ac_exeext conftest.
$ac_ext
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22843 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22844 if test $gcc_cv_math_func_tanh = yes; then
22846 cat >>confdefs.h
<<_ACEOF
22847 #define HAVE_TANH 1
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22856 $as_echo_n "checking for tanhl... " >&6; }
22857 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22858 $as_echo_n "(cached) " >&6
22860 if test x
$gcc_no_link = xyes
; then
22861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22864 /* end confdefs.h. */
22866 #ifdef HAVE_COMPLEX_H
22867 #include <complex.h>
22873 int (*ptr)() = (int (*)())tanhl;
22882 if ac_fn_c_try_link
"$LINENO"; then :
22883 gcc_cv_math_func_tanhl
=yes
22885 gcc_cv_math_func_tanhl
=no
22887 rm -f core conftest.err conftest.
$ac_objext \
22888 conftest
$ac_exeext conftest.
$ac_ext
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22891 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22892 if test $gcc_cv_math_func_tanhl = yes; then
22894 cat >>confdefs.h
<<_ACEOF
22895 #define HAVE_TANHL 1
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22904 $as_echo_n "checking for ctanhf... " >&6; }
22905 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22906 $as_echo_n "(cached) " >&6
22908 if test x
$gcc_no_link = xyes
; then
22909 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h. */
22914 #ifdef HAVE_COMPLEX_H
22915 #include <complex.h>
22921 int (*ptr)() = (int (*)())ctanhf;
22930 if ac_fn_c_try_link
"$LINENO"; then :
22931 gcc_cv_math_func_ctanhf
=yes
22933 gcc_cv_math_func_ctanhf
=no
22935 rm -f core conftest.err conftest.
$ac_objext \
22936 conftest
$ac_exeext conftest.
$ac_ext
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22939 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22940 if test $gcc_cv_math_func_ctanhf = yes; then
22942 cat >>confdefs.h
<<_ACEOF
22943 #define HAVE_CTANHF 1
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22952 $as_echo_n "checking for ctanh... " >&6; }
22953 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22954 $as_echo_n "(cached) " >&6
22956 if test x
$gcc_no_link = xyes
; then
22957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22962 #ifdef HAVE_COMPLEX_H
22963 #include <complex.h>
22969 int (*ptr)() = (int (*)())ctanh;
22978 if ac_fn_c_try_link
"$LINENO"; then :
22979 gcc_cv_math_func_ctanh
=yes
22981 gcc_cv_math_func_ctanh
=no
22983 rm -f core conftest.err conftest.
$ac_objext \
22984 conftest
$ac_exeext conftest.
$ac_ext
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22987 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22988 if test $gcc_cv_math_func_ctanh = yes; then
22990 cat >>confdefs.h
<<_ACEOF
22991 #define HAVE_CTANH 1
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23000 $as_echo_n "checking for ctanhl... " >&6; }
23001 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23002 $as_echo_n "(cached) " >&6
23004 if test x
$gcc_no_link = xyes
; then
23005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23008 /* end confdefs.h. */
23010 #ifdef HAVE_COMPLEX_H
23011 #include <complex.h>
23017 int (*ptr)() = (int (*)())ctanhl;
23026 if ac_fn_c_try_link
"$LINENO"; then :
23027 gcc_cv_math_func_ctanhl
=yes
23029 gcc_cv_math_func_ctanhl
=no
23031 rm -f core conftest.err conftest.
$ac_objext \
23032 conftest
$ac_exeext conftest.
$ac_ext
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23035 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23036 if test $gcc_cv_math_func_ctanhl = yes; then
23038 cat >>confdefs.h
<<_ACEOF
23039 #define HAVE_CTANHL 1
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23048 $as_echo_n "checking for truncf... " >&6; }
23049 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23050 $as_echo_n "(cached) " >&6
23052 if test x
$gcc_no_link = xyes
; then
23053 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h. */
23058 #ifdef HAVE_COMPLEX_H
23059 #include <complex.h>
23065 int (*ptr)() = (int (*)())truncf;
23074 if ac_fn_c_try_link
"$LINENO"; then :
23075 gcc_cv_math_func_truncf
=yes
23077 gcc_cv_math_func_truncf
=no
23079 rm -f core conftest.err conftest.
$ac_objext \
23080 conftest
$ac_exeext conftest.
$ac_ext
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23083 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23084 if test $gcc_cv_math_func_truncf = yes; then
23086 cat >>confdefs.h
<<_ACEOF
23087 #define HAVE_TRUNCF 1
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23096 $as_echo_n "checking for trunc... " >&6; }
23097 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23098 $as_echo_n "(cached) " >&6
23100 if test x
$gcc_no_link = xyes
; then
23101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23104 /* end confdefs.h. */
23106 #ifdef HAVE_COMPLEX_H
23107 #include <complex.h>
23113 int (*ptr)() = (int (*)())trunc;
23122 if ac_fn_c_try_link
"$LINENO"; then :
23123 gcc_cv_math_func_trunc
=yes
23125 gcc_cv_math_func_trunc
=no
23127 rm -f core conftest.err conftest.
$ac_objext \
23128 conftest
$ac_exeext conftest.
$ac_ext
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23131 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23132 if test $gcc_cv_math_func_trunc = yes; then
23134 cat >>confdefs.h
<<_ACEOF
23135 #define HAVE_TRUNC 1
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23144 $as_echo_n "checking for truncl... " >&6; }
23145 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23146 $as_echo_n "(cached) " >&6
23148 if test x
$gcc_no_link = xyes
; then
23149 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23152 /* end confdefs.h. */
23154 #ifdef HAVE_COMPLEX_H
23155 #include <complex.h>
23161 int (*ptr)() = (int (*)())truncl;
23170 if ac_fn_c_try_link
"$LINENO"; then :
23171 gcc_cv_math_func_truncl
=yes
23173 gcc_cv_math_func_truncl
=no
23175 rm -f core conftest.err conftest.
$ac_objext \
23176 conftest
$ac_exeext conftest.
$ac_ext
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23179 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23180 if test $gcc_cv_math_func_truncl = yes; then
23182 cat >>confdefs.h
<<_ACEOF
23183 #define HAVE_TRUNCL 1
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23192 $as_echo_n "checking for erff... " >&6; }
23193 if test "${gcc_cv_math_func_erff+set}" = set; then :
23194 $as_echo_n "(cached) " >&6
23196 if test x
$gcc_no_link = xyes
; then
23197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23200 /* end confdefs.h. */
23202 #ifdef HAVE_COMPLEX_H
23203 #include <complex.h>
23209 int (*ptr)() = (int (*)())erff;
23218 if ac_fn_c_try_link
"$LINENO"; then :
23219 gcc_cv_math_func_erff
=yes
23221 gcc_cv_math_func_erff
=no
23223 rm -f core conftest.err conftest.
$ac_objext \
23224 conftest
$ac_exeext conftest.
$ac_ext
23226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23227 $as_echo "$gcc_cv_math_func_erff" >&6; }
23228 if test $gcc_cv_math_func_erff = yes; then
23230 cat >>confdefs.h
<<_ACEOF
23231 #define HAVE_ERFF 1
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23240 $as_echo_n "checking for erf... " >&6; }
23241 if test "${gcc_cv_math_func_erf+set}" = set; then :
23242 $as_echo_n "(cached) " >&6
23244 if test x
$gcc_no_link = xyes
; then
23245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23248 /* end confdefs.h. */
23250 #ifdef HAVE_COMPLEX_H
23251 #include <complex.h>
23257 int (*ptr)() = (int (*)())erf;
23266 if ac_fn_c_try_link
"$LINENO"; then :
23267 gcc_cv_math_func_erf
=yes
23269 gcc_cv_math_func_erf
=no
23271 rm -f core conftest.err conftest.
$ac_objext \
23272 conftest
$ac_exeext conftest.
$ac_ext
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23275 $as_echo "$gcc_cv_math_func_erf" >&6; }
23276 if test $gcc_cv_math_func_erf = yes; then
23278 cat >>confdefs.h
<<_ACEOF
23287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23288 $as_echo_n "checking for erfl... " >&6; }
23289 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23290 $as_echo_n "(cached) " >&6
23292 if test x
$gcc_no_link = xyes
; then
23293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23296 /* end confdefs.h. */
23298 #ifdef HAVE_COMPLEX_H
23299 #include <complex.h>
23305 int (*ptr)() = (int (*)())erfl;
23314 if ac_fn_c_try_link
"$LINENO"; then :
23315 gcc_cv_math_func_erfl
=yes
23317 gcc_cv_math_func_erfl
=no
23319 rm -f core conftest.err conftest.
$ac_objext \
23320 conftest
$ac_exeext conftest.
$ac_ext
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23323 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23324 if test $gcc_cv_math_func_erfl = yes; then
23326 cat >>confdefs.h
<<_ACEOF
23327 #define HAVE_ERFL 1
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23336 $as_echo_n "checking for erfcf... " >&6; }
23337 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23338 $as_echo_n "(cached) " >&6
23340 if test x
$gcc_no_link = xyes
; then
23341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23344 /* end confdefs.h. */
23346 #ifdef HAVE_COMPLEX_H
23347 #include <complex.h>
23353 int (*ptr)() = (int (*)())erfcf;
23362 if ac_fn_c_try_link
"$LINENO"; then :
23363 gcc_cv_math_func_erfcf
=yes
23365 gcc_cv_math_func_erfcf
=no
23367 rm -f core conftest.err conftest.
$ac_objext \
23368 conftest
$ac_exeext conftest.
$ac_ext
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23371 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23372 if test $gcc_cv_math_func_erfcf = yes; then
23374 cat >>confdefs.h
<<_ACEOF
23375 #define HAVE_ERFCF 1
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23384 $as_echo_n "checking for erfc... " >&6; }
23385 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23386 $as_echo_n "(cached) " >&6
23388 if test x
$gcc_no_link = xyes
; then
23389 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23392 /* end confdefs.h. */
23394 #ifdef HAVE_COMPLEX_H
23395 #include <complex.h>
23401 int (*ptr)() = (int (*)())erfc;
23410 if ac_fn_c_try_link
"$LINENO"; then :
23411 gcc_cv_math_func_erfc
=yes
23413 gcc_cv_math_func_erfc
=no
23415 rm -f core conftest.err conftest.
$ac_objext \
23416 conftest
$ac_exeext conftest.
$ac_ext
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23419 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23420 if test $gcc_cv_math_func_erfc = yes; then
23422 cat >>confdefs.h
<<_ACEOF
23423 #define HAVE_ERFC 1
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23432 $as_echo_n "checking for erfcl... " >&6; }
23433 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23434 $as_echo_n "(cached) " >&6
23436 if test x
$gcc_no_link = xyes
; then
23437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23440 /* end confdefs.h. */
23442 #ifdef HAVE_COMPLEX_H
23443 #include <complex.h>
23449 int (*ptr)() = (int (*)())erfcl;
23458 if ac_fn_c_try_link
"$LINENO"; then :
23459 gcc_cv_math_func_erfcl
=yes
23461 gcc_cv_math_func_erfcl
=no
23463 rm -f core conftest.err conftest.
$ac_objext \
23464 conftest
$ac_exeext conftest.
$ac_ext
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23467 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23468 if test $gcc_cv_math_func_erfcl = yes; then
23470 cat >>confdefs.h
<<_ACEOF
23471 #define HAVE_ERFCL 1
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23480 $as_echo_n "checking for j0f... " >&6; }
23481 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23482 $as_echo_n "(cached) " >&6
23484 if test x
$gcc_no_link = xyes
; then
23485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23488 /* end confdefs.h. */
23490 #ifdef HAVE_COMPLEX_H
23491 #include <complex.h>
23497 int (*ptr)() = (int (*)())j0f;
23506 if ac_fn_c_try_link
"$LINENO"; then :
23507 gcc_cv_math_func_j0f
=yes
23509 gcc_cv_math_func_j0f
=no
23511 rm -f core conftest.err conftest.
$ac_objext \
23512 conftest
$ac_exeext conftest.
$ac_ext
23514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23515 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23516 if test $gcc_cv_math_func_j0f = yes; then
23518 cat >>confdefs.h
<<_ACEOF
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23528 $as_echo_n "checking for j0... " >&6; }
23529 if test "${gcc_cv_math_func_j0+set}" = set; then :
23530 $as_echo_n "(cached) " >&6
23532 if test x
$gcc_no_link = xyes
; then
23533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23538 #ifdef HAVE_COMPLEX_H
23539 #include <complex.h>
23545 int (*ptr)() = (int (*)())j0;
23554 if ac_fn_c_try_link
"$LINENO"; then :
23555 gcc_cv_math_func_j0
=yes
23557 gcc_cv_math_func_j0
=no
23559 rm -f core conftest.err conftest.
$ac_objext \
23560 conftest
$ac_exeext conftest.
$ac_ext
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23563 $as_echo "$gcc_cv_math_func_j0" >&6; }
23564 if test $gcc_cv_math_func_j0 = yes; then
23566 cat >>confdefs.h
<<_ACEOF
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23576 $as_echo_n "checking for j0l... " >&6; }
23577 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23580 if test x
$gcc_no_link = xyes
; then
23581 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23584 /* end confdefs.h. */
23586 #ifdef HAVE_COMPLEX_H
23587 #include <complex.h>
23593 int (*ptr)() = (int (*)())j0l;
23602 if ac_fn_c_try_link
"$LINENO"; then :
23603 gcc_cv_math_func_j0l
=yes
23605 gcc_cv_math_func_j0l
=no
23607 rm -f core conftest.err conftest.
$ac_objext \
23608 conftest
$ac_exeext conftest.
$ac_ext
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23611 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23612 if test $gcc_cv_math_func_j0l = yes; then
23614 cat >>confdefs.h
<<_ACEOF
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23624 $as_echo_n "checking for j1f... " >&6; }
23625 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23626 $as_echo_n "(cached) " >&6
23628 if test x
$gcc_no_link = xyes
; then
23629 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23632 /* end confdefs.h. */
23634 #ifdef HAVE_COMPLEX_H
23635 #include <complex.h>
23641 int (*ptr)() = (int (*)())j1f;
23650 if ac_fn_c_try_link
"$LINENO"; then :
23651 gcc_cv_math_func_j1f
=yes
23653 gcc_cv_math_func_j1f
=no
23655 rm -f core conftest.err conftest.
$ac_objext \
23656 conftest
$ac_exeext conftest.
$ac_ext
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23659 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23660 if test $gcc_cv_math_func_j1f = yes; then
23662 cat >>confdefs.h
<<_ACEOF
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23672 $as_echo_n "checking for j1... " >&6; }
23673 if test "${gcc_cv_math_func_j1+set}" = set; then :
23674 $as_echo_n "(cached) " >&6
23676 if test x
$gcc_no_link = xyes
; then
23677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23680 /* end confdefs.h. */
23682 #ifdef HAVE_COMPLEX_H
23683 #include <complex.h>
23689 int (*ptr)() = (int (*)())j1;
23698 if ac_fn_c_try_link
"$LINENO"; then :
23699 gcc_cv_math_func_j1
=yes
23701 gcc_cv_math_func_j1
=no
23703 rm -f core conftest.err conftest.
$ac_objext \
23704 conftest
$ac_exeext conftest.
$ac_ext
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23707 $as_echo "$gcc_cv_math_func_j1" >&6; }
23708 if test $gcc_cv_math_func_j1 = yes; then
23710 cat >>confdefs.h
<<_ACEOF
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23720 $as_echo_n "checking for j1l... " >&6; }
23721 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23722 $as_echo_n "(cached) " >&6
23724 if test x
$gcc_no_link = xyes
; then
23725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23728 /* end confdefs.h. */
23730 #ifdef HAVE_COMPLEX_H
23731 #include <complex.h>
23737 int (*ptr)() = (int (*)())j1l;
23746 if ac_fn_c_try_link
"$LINENO"; then :
23747 gcc_cv_math_func_j1l
=yes
23749 gcc_cv_math_func_j1l
=no
23751 rm -f core conftest.err conftest.
$ac_objext \
23752 conftest
$ac_exeext conftest.
$ac_ext
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23755 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23756 if test $gcc_cv_math_func_j1l = yes; then
23758 cat >>confdefs.h
<<_ACEOF
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23768 $as_echo_n "checking for jnf... " >&6; }
23769 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23770 $as_echo_n "(cached) " >&6
23772 if test x
$gcc_no_link = xyes
; then
23773 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h. */
23778 #ifdef HAVE_COMPLEX_H
23779 #include <complex.h>
23785 int (*ptr)() = (int (*)())jnf;
23794 if ac_fn_c_try_link
"$LINENO"; then :
23795 gcc_cv_math_func_jnf
=yes
23797 gcc_cv_math_func_jnf
=no
23799 rm -f core conftest.err conftest.
$ac_objext \
23800 conftest
$ac_exeext conftest.
$ac_ext
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23803 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23804 if test $gcc_cv_math_func_jnf = yes; then
23806 cat >>confdefs.h
<<_ACEOF
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23816 $as_echo_n "checking for jn... " >&6; }
23817 if test "${gcc_cv_math_func_jn+set}" = set; then :
23818 $as_echo_n "(cached) " >&6
23820 if test x
$gcc_no_link = xyes
; then
23821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23824 /* end confdefs.h. */
23826 #ifdef HAVE_COMPLEX_H
23827 #include <complex.h>
23833 int (*ptr)() = (int (*)())jn;
23842 if ac_fn_c_try_link
"$LINENO"; then :
23843 gcc_cv_math_func_jn
=yes
23845 gcc_cv_math_func_jn
=no
23847 rm -f core conftest.err conftest.
$ac_objext \
23848 conftest
$ac_exeext conftest.
$ac_ext
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23851 $as_echo "$gcc_cv_math_func_jn" >&6; }
23852 if test $gcc_cv_math_func_jn = yes; then
23854 cat >>confdefs.h
<<_ACEOF
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23864 $as_echo_n "checking for jnl... " >&6; }
23865 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23866 $as_echo_n "(cached) " >&6
23868 if test x
$gcc_no_link = xyes
; then
23869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23872 /* end confdefs.h. */
23874 #ifdef HAVE_COMPLEX_H
23875 #include <complex.h>
23881 int (*ptr)() = (int (*)())jnl;
23890 if ac_fn_c_try_link
"$LINENO"; then :
23891 gcc_cv_math_func_jnl
=yes
23893 gcc_cv_math_func_jnl
=no
23895 rm -f core conftest.err conftest.
$ac_objext \
23896 conftest
$ac_exeext conftest.
$ac_ext
23898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23899 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23900 if test $gcc_cv_math_func_jnl = yes; then
23902 cat >>confdefs.h
<<_ACEOF
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23912 $as_echo_n "checking for y0f... " >&6; }
23913 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23914 $as_echo_n "(cached) " >&6
23916 if test x
$gcc_no_link = xyes
; then
23917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23920 /* end confdefs.h. */
23922 #ifdef HAVE_COMPLEX_H
23923 #include <complex.h>
23929 int (*ptr)() = (int (*)())y0f;
23938 if ac_fn_c_try_link
"$LINENO"; then :
23939 gcc_cv_math_func_y0f
=yes
23941 gcc_cv_math_func_y0f
=no
23943 rm -f core conftest.err conftest.
$ac_objext \
23944 conftest
$ac_exeext conftest.
$ac_ext
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23947 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23948 if test $gcc_cv_math_func_y0f = yes; then
23950 cat >>confdefs.h
<<_ACEOF
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23960 $as_echo_n "checking for y0... " >&6; }
23961 if test "${gcc_cv_math_func_y0+set}" = set; then :
23962 $as_echo_n "(cached) " >&6
23964 if test x
$gcc_no_link = xyes
; then
23965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23968 /* end confdefs.h. */
23970 #ifdef HAVE_COMPLEX_H
23971 #include <complex.h>
23977 int (*ptr)() = (int (*)())y0;
23986 if ac_fn_c_try_link
"$LINENO"; then :
23987 gcc_cv_math_func_y0
=yes
23989 gcc_cv_math_func_y0
=no
23991 rm -f core conftest.err conftest.
$ac_objext \
23992 conftest
$ac_exeext conftest.
$ac_ext
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23995 $as_echo "$gcc_cv_math_func_y0" >&6; }
23996 if test $gcc_cv_math_func_y0 = yes; then
23998 cat >>confdefs.h
<<_ACEOF
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24008 $as_echo_n "checking for y0l... " >&6; }
24009 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24010 $as_echo_n "(cached) " >&6
24012 if test x
$gcc_no_link = xyes
; then
24013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24018 #ifdef HAVE_COMPLEX_H
24019 #include <complex.h>
24025 int (*ptr)() = (int (*)())y0l;
24034 if ac_fn_c_try_link
"$LINENO"; then :
24035 gcc_cv_math_func_y0l
=yes
24037 gcc_cv_math_func_y0l
=no
24039 rm -f core conftest.err conftest.
$ac_objext \
24040 conftest
$ac_exeext conftest.
$ac_ext
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24043 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24044 if test $gcc_cv_math_func_y0l = yes; then
24046 cat >>confdefs.h
<<_ACEOF
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24056 $as_echo_n "checking for y1f... " >&6; }
24057 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24058 $as_echo_n "(cached) " >&6
24060 if test x
$gcc_no_link = xyes
; then
24061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24064 /* end confdefs.h. */
24066 #ifdef HAVE_COMPLEX_H
24067 #include <complex.h>
24073 int (*ptr)() = (int (*)())y1f;
24082 if ac_fn_c_try_link
"$LINENO"; then :
24083 gcc_cv_math_func_y1f
=yes
24085 gcc_cv_math_func_y1f
=no
24087 rm -f core conftest.err conftest.
$ac_objext \
24088 conftest
$ac_exeext conftest.
$ac_ext
24090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24091 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24092 if test $gcc_cv_math_func_y1f = yes; then
24094 cat >>confdefs.h
<<_ACEOF
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24104 $as_echo_n "checking for y1... " >&6; }
24105 if test "${gcc_cv_math_func_y1+set}" = set; then :
24106 $as_echo_n "(cached) " >&6
24108 if test x
$gcc_no_link = xyes
; then
24109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24114 #ifdef HAVE_COMPLEX_H
24115 #include <complex.h>
24121 int (*ptr)() = (int (*)())y1;
24130 if ac_fn_c_try_link
"$LINENO"; then :
24131 gcc_cv_math_func_y1
=yes
24133 gcc_cv_math_func_y1
=no
24135 rm -f core conftest.err conftest.
$ac_objext \
24136 conftest
$ac_exeext conftest.
$ac_ext
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24139 $as_echo "$gcc_cv_math_func_y1" >&6; }
24140 if test $gcc_cv_math_func_y1 = yes; then
24142 cat >>confdefs.h
<<_ACEOF
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24152 $as_echo_n "checking for y1l... " >&6; }
24153 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24154 $as_echo_n "(cached) " >&6
24156 if test x
$gcc_no_link = xyes
; then
24157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h. */
24162 #ifdef HAVE_COMPLEX_H
24163 #include <complex.h>
24169 int (*ptr)() = (int (*)())y1l;
24178 if ac_fn_c_try_link
"$LINENO"; then :
24179 gcc_cv_math_func_y1l
=yes
24181 gcc_cv_math_func_y1l
=no
24183 rm -f core conftest.err conftest.
$ac_objext \
24184 conftest
$ac_exeext conftest.
$ac_ext
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24187 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24188 if test $gcc_cv_math_func_y1l = yes; then
24190 cat >>confdefs.h
<<_ACEOF
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24200 $as_echo_n "checking for ynf... " >&6; }
24201 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24202 $as_echo_n "(cached) " >&6
24204 if test x
$gcc_no_link = xyes
; then
24205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24208 /* end confdefs.h. */
24210 #ifdef HAVE_COMPLEX_H
24211 #include <complex.h>
24217 int (*ptr)() = (int (*)())ynf;
24226 if ac_fn_c_try_link
"$LINENO"; then :
24227 gcc_cv_math_func_ynf
=yes
24229 gcc_cv_math_func_ynf
=no
24231 rm -f core conftest.err conftest.
$ac_objext \
24232 conftest
$ac_exeext conftest.
$ac_ext
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24235 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24236 if test $gcc_cv_math_func_ynf = yes; then
24238 cat >>confdefs.h
<<_ACEOF
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24248 $as_echo_n "checking for yn... " >&6; }
24249 if test "${gcc_cv_math_func_yn+set}" = set; then :
24250 $as_echo_n "(cached) " >&6
24252 if test x
$gcc_no_link = xyes
; then
24253 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24256 /* end confdefs.h. */
24258 #ifdef HAVE_COMPLEX_H
24259 #include <complex.h>
24265 int (*ptr)() = (int (*)())yn;
24274 if ac_fn_c_try_link
"$LINENO"; then :
24275 gcc_cv_math_func_yn
=yes
24277 gcc_cv_math_func_yn
=no
24279 rm -f core conftest.err conftest.
$ac_objext \
24280 conftest
$ac_exeext conftest.
$ac_ext
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24283 $as_echo "$gcc_cv_math_func_yn" >&6; }
24284 if test $gcc_cv_math_func_yn = yes; then
24286 cat >>confdefs.h
<<_ACEOF
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24296 $as_echo_n "checking for ynl... " >&6; }
24297 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24298 $as_echo_n "(cached) " >&6
24300 if test x
$gcc_no_link = xyes
; then
24301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24304 /* end confdefs.h. */
24306 #ifdef HAVE_COMPLEX_H
24307 #include <complex.h>
24313 int (*ptr)() = (int (*)())ynl;
24322 if ac_fn_c_try_link
"$LINENO"; then :
24323 gcc_cv_math_func_ynl
=yes
24325 gcc_cv_math_func_ynl
=no
24327 rm -f core conftest.err conftest.
$ac_objext \
24328 conftest
$ac_exeext conftest.
$ac_ext
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24331 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24332 if test $gcc_cv_math_func_ynl = yes; then
24334 cat >>confdefs.h
<<_ACEOF
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24344 $as_echo_n "checking for tgamma... " >&6; }
24345 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24346 $as_echo_n "(cached) " >&6
24348 if test x
$gcc_no_link = xyes
; then
24349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24354 #ifdef HAVE_COMPLEX_H
24355 #include <complex.h>
24361 int (*ptr)() = (int (*)())tgamma;
24370 if ac_fn_c_try_link
"$LINENO"; then :
24371 gcc_cv_math_func_tgamma
=yes
24373 gcc_cv_math_func_tgamma
=no
24375 rm -f core conftest.err conftest.
$ac_objext \
24376 conftest
$ac_exeext conftest.
$ac_ext
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24379 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24380 if test $gcc_cv_math_func_tgamma = yes; then
24382 cat >>confdefs.h
<<_ACEOF
24383 #define HAVE_TGAMMA 1
24391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24392 $as_echo_n "checking for tgammaf... " >&6; }
24393 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24394 $as_echo_n "(cached) " >&6
24396 if test x
$gcc_no_link = xyes
; then
24397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24402 #ifdef HAVE_COMPLEX_H
24403 #include <complex.h>
24409 int (*ptr)() = (int (*)())tgammaf;
24418 if ac_fn_c_try_link
"$LINENO"; then :
24419 gcc_cv_math_func_tgammaf
=yes
24421 gcc_cv_math_func_tgammaf
=no
24423 rm -f core conftest.err conftest.
$ac_objext \
24424 conftest
$ac_exeext conftest.
$ac_ext
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24427 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24428 if test $gcc_cv_math_func_tgammaf = yes; then
24430 cat >>confdefs.h
<<_ACEOF
24431 #define HAVE_TGAMMAF 1
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24440 $as_echo_n "checking for tgammal... " >&6; }
24441 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24444 if test x
$gcc_no_link = xyes
; then
24445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24448 /* end confdefs.h. */
24450 #ifdef HAVE_COMPLEX_H
24451 #include <complex.h>
24457 int (*ptr)() = (int (*)())tgammal;
24466 if ac_fn_c_try_link
"$LINENO"; then :
24467 gcc_cv_math_func_tgammal
=yes
24469 gcc_cv_math_func_tgammal
=no
24471 rm -f core conftest.err conftest.
$ac_objext \
24472 conftest
$ac_exeext conftest.
$ac_ext
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24475 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24476 if test $gcc_cv_math_func_tgammal = yes; then
24478 cat >>confdefs.h
<<_ACEOF
24479 #define HAVE_TGAMMAL 1
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24488 $as_echo_n "checking for lgamma... " >&6; }
24489 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24490 $as_echo_n "(cached) " >&6
24492 if test x
$gcc_no_link = xyes
; then
24493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24496 /* end confdefs.h. */
24498 #ifdef HAVE_COMPLEX_H
24499 #include <complex.h>
24505 int (*ptr)() = (int (*)())lgamma;
24514 if ac_fn_c_try_link
"$LINENO"; then :
24515 gcc_cv_math_func_lgamma
=yes
24517 gcc_cv_math_func_lgamma
=no
24519 rm -f core conftest.err conftest.
$ac_objext \
24520 conftest
$ac_exeext conftest.
$ac_ext
24522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24523 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24524 if test $gcc_cv_math_func_lgamma = yes; then
24526 cat >>confdefs.h
<<_ACEOF
24527 #define HAVE_LGAMMA 1
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24536 $as_echo_n "checking for lgammaf... " >&6; }
24537 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24538 $as_echo_n "(cached) " >&6
24540 if test x
$gcc_no_link = xyes
; then
24541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24544 /* end confdefs.h. */
24546 #ifdef HAVE_COMPLEX_H
24547 #include <complex.h>
24553 int (*ptr)() = (int (*)())lgammaf;
24562 if ac_fn_c_try_link
"$LINENO"; then :
24563 gcc_cv_math_func_lgammaf
=yes
24565 gcc_cv_math_func_lgammaf
=no
24567 rm -f core conftest.err conftest.
$ac_objext \
24568 conftest
$ac_exeext conftest.
$ac_ext
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24571 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24572 if test $gcc_cv_math_func_lgammaf = yes; then
24574 cat >>confdefs.h
<<_ACEOF
24575 #define HAVE_LGAMMAF 1
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24584 $as_echo_n "checking for lgammal... " >&6; }
24585 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24586 $as_echo_n "(cached) " >&6
24588 if test x
$gcc_no_link = xyes
; then
24589 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24592 /* end confdefs.h. */
24594 #ifdef HAVE_COMPLEX_H
24595 #include <complex.h>
24601 int (*ptr)() = (int (*)())lgammal;
24610 if ac_fn_c_try_link
"$LINENO"; then :
24611 gcc_cv_math_func_lgammal
=yes
24613 gcc_cv_math_func_lgammal
=no
24615 rm -f core conftest.err conftest.
$ac_objext \
24616 conftest
$ac_exeext conftest.
$ac_ext
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24619 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24620 if test $gcc_cv_math_func_lgammal = yes; then
24622 cat >>confdefs.h
<<_ACEOF
24623 #define HAVE_LGAMMAL 1
24629 # Check for GFORTRAN_C99_1.1 funcs
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24634 $as_echo_n "checking for cacos... " >&6; }
24635 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24636 $as_echo_n "(cached) " >&6
24638 if test x
$gcc_no_link = xyes
; then
24639 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h. */
24644 #ifdef HAVE_COMPLEX_H
24645 #include <complex.h>
24651 int (*ptr)() = (int (*)())cacos;
24660 if ac_fn_c_try_link
"$LINENO"; then :
24661 gcc_cv_math_func_cacos
=yes
24663 gcc_cv_math_func_cacos
=no
24665 rm -f core conftest.err conftest.
$ac_objext \
24666 conftest
$ac_exeext conftest.
$ac_ext
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24669 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24670 if test $gcc_cv_math_func_cacos = yes; then
24672 cat >>confdefs.h
<<_ACEOF
24673 #define HAVE_CACOS 1
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24682 $as_echo_n "checking for cacosf... " >&6; }
24683 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24686 if test x
$gcc_no_link = xyes
; then
24687 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24690 /* end confdefs.h. */
24692 #ifdef HAVE_COMPLEX_H
24693 #include <complex.h>
24699 int (*ptr)() = (int (*)())cacosf;
24708 if ac_fn_c_try_link
"$LINENO"; then :
24709 gcc_cv_math_func_cacosf
=yes
24711 gcc_cv_math_func_cacosf
=no
24713 rm -f core conftest.err conftest.
$ac_objext \
24714 conftest
$ac_exeext conftest.
$ac_ext
24716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24717 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24718 if test $gcc_cv_math_func_cacosf = yes; then
24720 cat >>confdefs.h
<<_ACEOF
24721 #define HAVE_CACOSF 1
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24730 $as_echo_n "checking for cacosh... " >&6; }
24731 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24732 $as_echo_n "(cached) " >&6
24734 if test x
$gcc_no_link = xyes
; then
24735 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24738 /* end confdefs.h. */
24740 #ifdef HAVE_COMPLEX_H
24741 #include <complex.h>
24747 int (*ptr)() = (int (*)())cacosh;
24756 if ac_fn_c_try_link
"$LINENO"; then :
24757 gcc_cv_math_func_cacosh
=yes
24759 gcc_cv_math_func_cacosh
=no
24761 rm -f core conftest.err conftest.
$ac_objext \
24762 conftest
$ac_exeext conftest.
$ac_ext
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24765 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24766 if test $gcc_cv_math_func_cacosh = yes; then
24768 cat >>confdefs.h
<<_ACEOF
24769 #define HAVE_CACOSH 1
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24778 $as_echo_n "checking for cacoshf... " >&6; }
24779 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24780 $as_echo_n "(cached) " >&6
24782 if test x
$gcc_no_link = xyes
; then
24783 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h. */
24788 #ifdef HAVE_COMPLEX_H
24789 #include <complex.h>
24795 int (*ptr)() = (int (*)())cacoshf;
24804 if ac_fn_c_try_link
"$LINENO"; then :
24805 gcc_cv_math_func_cacoshf
=yes
24807 gcc_cv_math_func_cacoshf
=no
24809 rm -f core conftest.err conftest.
$ac_objext \
24810 conftest
$ac_exeext conftest.
$ac_ext
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24813 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24814 if test $gcc_cv_math_func_cacoshf = yes; then
24816 cat >>confdefs.h
<<_ACEOF
24817 #define HAVE_CACOSHF 1
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24826 $as_echo_n "checking for cacoshl... " >&6; }
24827 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24828 $as_echo_n "(cached) " >&6
24830 if test x
$gcc_no_link = xyes
; then
24831 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24834 /* end confdefs.h. */
24836 #ifdef HAVE_COMPLEX_H
24837 #include <complex.h>
24843 int (*ptr)() = (int (*)())cacoshl;
24852 if ac_fn_c_try_link
"$LINENO"; then :
24853 gcc_cv_math_func_cacoshl
=yes
24855 gcc_cv_math_func_cacoshl
=no
24857 rm -f core conftest.err conftest.
$ac_objext \
24858 conftest
$ac_exeext conftest.
$ac_ext
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24861 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24862 if test $gcc_cv_math_func_cacoshl = yes; then
24864 cat >>confdefs.h
<<_ACEOF
24865 #define HAVE_CACOSHL 1
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24874 $as_echo_n "checking for cacosl... " >&6; }
24875 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24876 $as_echo_n "(cached) " >&6
24878 if test x
$gcc_no_link = xyes
; then
24879 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24884 #ifdef HAVE_COMPLEX_H
24885 #include <complex.h>
24891 int (*ptr)() = (int (*)())cacosl;
24900 if ac_fn_c_try_link
"$LINENO"; then :
24901 gcc_cv_math_func_cacosl
=yes
24903 gcc_cv_math_func_cacosl
=no
24905 rm -f core conftest.err conftest.
$ac_objext \
24906 conftest
$ac_exeext conftest.
$ac_ext
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24909 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24910 if test $gcc_cv_math_func_cacosl = yes; then
24912 cat >>confdefs.h
<<_ACEOF
24913 #define HAVE_CACOSL 1
24921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24922 $as_echo_n "checking for casin... " >&6; }
24923 if test "${gcc_cv_math_func_casin+set}" = set; then :
24924 $as_echo_n "(cached) " >&6
24926 if test x
$gcc_no_link = xyes
; then
24927 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24930 /* end confdefs.h. */
24932 #ifdef HAVE_COMPLEX_H
24933 #include <complex.h>
24939 int (*ptr)() = (int (*)())casin;
24948 if ac_fn_c_try_link
"$LINENO"; then :
24949 gcc_cv_math_func_casin
=yes
24951 gcc_cv_math_func_casin
=no
24953 rm -f core conftest.err conftest.
$ac_objext \
24954 conftest
$ac_exeext conftest.
$ac_ext
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24957 $as_echo "$gcc_cv_math_func_casin" >&6; }
24958 if test $gcc_cv_math_func_casin = yes; then
24960 cat >>confdefs.h
<<_ACEOF
24961 #define HAVE_CASIN 1
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24970 $as_echo_n "checking for casinf... " >&6; }
24971 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24972 $as_echo_n "(cached) " >&6
24974 if test x
$gcc_no_link = xyes
; then
24975 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24978 /* end confdefs.h. */
24980 #ifdef HAVE_COMPLEX_H
24981 #include <complex.h>
24987 int (*ptr)() = (int (*)())casinf;
24996 if ac_fn_c_try_link
"$LINENO"; then :
24997 gcc_cv_math_func_casinf
=yes
24999 gcc_cv_math_func_casinf
=no
25001 rm -f core conftest.err conftest.
$ac_objext \
25002 conftest
$ac_exeext conftest.
$ac_ext
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25005 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25006 if test $gcc_cv_math_func_casinf = yes; then
25008 cat >>confdefs.h
<<_ACEOF
25009 #define HAVE_CASINF 1
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25018 $as_echo_n "checking for casinh... " >&6; }
25019 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25020 $as_echo_n "(cached) " >&6
25022 if test x
$gcc_no_link = xyes
; then
25023 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25026 /* end confdefs.h. */
25028 #ifdef HAVE_COMPLEX_H
25029 #include <complex.h>
25035 int (*ptr)() = (int (*)())casinh;
25044 if ac_fn_c_try_link
"$LINENO"; then :
25045 gcc_cv_math_func_casinh
=yes
25047 gcc_cv_math_func_casinh
=no
25049 rm -f core conftest.err conftest.
$ac_objext \
25050 conftest
$ac_exeext conftest.
$ac_ext
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25053 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25054 if test $gcc_cv_math_func_casinh = yes; then
25056 cat >>confdefs.h
<<_ACEOF
25057 #define HAVE_CASINH 1
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25066 $as_echo_n "checking for casinhf... " >&6; }
25067 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25068 $as_echo_n "(cached) " >&6
25070 if test x
$gcc_no_link = xyes
; then
25071 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25074 /* end confdefs.h. */
25076 #ifdef HAVE_COMPLEX_H
25077 #include <complex.h>
25083 int (*ptr)() = (int (*)())casinhf;
25092 if ac_fn_c_try_link
"$LINENO"; then :
25093 gcc_cv_math_func_casinhf
=yes
25095 gcc_cv_math_func_casinhf
=no
25097 rm -f core conftest.err conftest.
$ac_objext \
25098 conftest
$ac_exeext conftest.
$ac_ext
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25101 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25102 if test $gcc_cv_math_func_casinhf = yes; then
25104 cat >>confdefs.h
<<_ACEOF
25105 #define HAVE_CASINHF 1
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25114 $as_echo_n "checking for casinhl... " >&6; }
25115 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25116 $as_echo_n "(cached) " >&6
25118 if test x
$gcc_no_link = xyes
; then
25119 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25122 /* end confdefs.h. */
25124 #ifdef HAVE_COMPLEX_H
25125 #include <complex.h>
25131 int (*ptr)() = (int (*)())casinhl;
25140 if ac_fn_c_try_link
"$LINENO"; then :
25141 gcc_cv_math_func_casinhl
=yes
25143 gcc_cv_math_func_casinhl
=no
25145 rm -f core conftest.err conftest.
$ac_objext \
25146 conftest
$ac_exeext conftest.
$ac_ext
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25149 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25150 if test $gcc_cv_math_func_casinhl = yes; then
25152 cat >>confdefs.h
<<_ACEOF
25153 #define HAVE_CASINHL 1
25161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25162 $as_echo_n "checking for casinl... " >&6; }
25163 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25164 $as_echo_n "(cached) " >&6
25166 if test x
$gcc_no_link = xyes
; then
25167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25170 /* end confdefs.h. */
25172 #ifdef HAVE_COMPLEX_H
25173 #include <complex.h>
25179 int (*ptr)() = (int (*)())casinl;
25188 if ac_fn_c_try_link
"$LINENO"; then :
25189 gcc_cv_math_func_casinl
=yes
25191 gcc_cv_math_func_casinl
=no
25193 rm -f core conftest.err conftest.
$ac_objext \
25194 conftest
$ac_exeext conftest.
$ac_ext
25196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25197 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25198 if test $gcc_cv_math_func_casinl = yes; then
25200 cat >>confdefs.h
<<_ACEOF
25201 #define HAVE_CASINL 1
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25210 $as_echo_n "checking for catan... " >&6; }
25211 if test "${gcc_cv_math_func_catan+set}" = set; then :
25212 $as_echo_n "(cached) " >&6
25214 if test x
$gcc_no_link = xyes
; then
25215 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25218 /* end confdefs.h. */
25220 #ifdef HAVE_COMPLEX_H
25221 #include <complex.h>
25227 int (*ptr)() = (int (*)())catan;
25236 if ac_fn_c_try_link
"$LINENO"; then :
25237 gcc_cv_math_func_catan
=yes
25239 gcc_cv_math_func_catan
=no
25241 rm -f core conftest.err conftest.
$ac_objext \
25242 conftest
$ac_exeext conftest.
$ac_ext
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25245 $as_echo "$gcc_cv_math_func_catan" >&6; }
25246 if test $gcc_cv_math_func_catan = yes; then
25248 cat >>confdefs.h
<<_ACEOF
25249 #define HAVE_CATAN 1
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25258 $as_echo_n "checking for catanf... " >&6; }
25259 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25262 if test x
$gcc_no_link = xyes
; then
25263 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25266 /* end confdefs.h. */
25268 #ifdef HAVE_COMPLEX_H
25269 #include <complex.h>
25275 int (*ptr)() = (int (*)())catanf;
25284 if ac_fn_c_try_link
"$LINENO"; then :
25285 gcc_cv_math_func_catanf
=yes
25287 gcc_cv_math_func_catanf
=no
25289 rm -f core conftest.err conftest.
$ac_objext \
25290 conftest
$ac_exeext conftest.
$ac_ext
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25293 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25294 if test $gcc_cv_math_func_catanf = yes; then
25296 cat >>confdefs.h
<<_ACEOF
25297 #define HAVE_CATANF 1
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25306 $as_echo_n "checking for catanh... " >&6; }
25307 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25308 $as_echo_n "(cached) " >&6
25310 if test x
$gcc_no_link = xyes
; then
25311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25316 #ifdef HAVE_COMPLEX_H
25317 #include <complex.h>
25323 int (*ptr)() = (int (*)())catanh;
25332 if ac_fn_c_try_link
"$LINENO"; then :
25333 gcc_cv_math_func_catanh
=yes
25335 gcc_cv_math_func_catanh
=no
25337 rm -f core conftest.err conftest.
$ac_objext \
25338 conftest
$ac_exeext conftest.
$ac_ext
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25341 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25342 if test $gcc_cv_math_func_catanh = yes; then
25344 cat >>confdefs.h
<<_ACEOF
25345 #define HAVE_CATANH 1
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25354 $as_echo_n "checking for catanhf... " >&6; }
25355 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25356 $as_echo_n "(cached) " >&6
25358 if test x
$gcc_no_link = xyes
; then
25359 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25362 /* end confdefs.h. */
25364 #ifdef HAVE_COMPLEX_H
25365 #include <complex.h>
25371 int (*ptr)() = (int (*)())catanhf;
25380 if ac_fn_c_try_link
"$LINENO"; then :
25381 gcc_cv_math_func_catanhf
=yes
25383 gcc_cv_math_func_catanhf
=no
25385 rm -f core conftest.err conftest.
$ac_objext \
25386 conftest
$ac_exeext conftest.
$ac_ext
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25389 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25390 if test $gcc_cv_math_func_catanhf = yes; then
25392 cat >>confdefs.h
<<_ACEOF
25393 #define HAVE_CATANHF 1
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25402 $as_echo_n "checking for catanhl... " >&6; }
25403 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25404 $as_echo_n "(cached) " >&6
25406 if test x
$gcc_no_link = xyes
; then
25407 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h. */
25412 #ifdef HAVE_COMPLEX_H
25413 #include <complex.h>
25419 int (*ptr)() = (int (*)())catanhl;
25428 if ac_fn_c_try_link
"$LINENO"; then :
25429 gcc_cv_math_func_catanhl
=yes
25431 gcc_cv_math_func_catanhl
=no
25433 rm -f core conftest.err conftest.
$ac_objext \
25434 conftest
$ac_exeext conftest.
$ac_ext
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25437 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25438 if test $gcc_cv_math_func_catanhl = yes; then
25440 cat >>confdefs.h
<<_ACEOF
25441 #define HAVE_CATANHL 1
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25450 $as_echo_n "checking for catanl... " >&6; }
25451 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25452 $as_echo_n "(cached) " >&6
25454 if test x
$gcc_no_link = xyes
; then
25455 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25458 /* end confdefs.h. */
25460 #ifdef HAVE_COMPLEX_H
25461 #include <complex.h>
25467 int (*ptr)() = (int (*)())catanl;
25476 if ac_fn_c_try_link
"$LINENO"; then :
25477 gcc_cv_math_func_catanl
=yes
25479 gcc_cv_math_func_catanl
=no
25481 rm -f core conftest.err conftest.
$ac_objext \
25482 conftest
$ac_exeext conftest.
$ac_ext
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25485 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25486 if test $gcc_cv_math_func_catanl = yes; then
25488 cat >>confdefs.h
<<_ACEOF
25489 #define HAVE_CATANL 1
25495 # On AIX, clog is present in libm as __clog
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25497 $as_echo_n "checking for __clog in -lm... " >&6; }
25498 if test "${ac_cv_lib_m___clog+set}" = set; then :
25499 $as_echo_n "(cached) " >&6
25501 ac_check_lib_save_LIBS
=$LIBS
25503 if test x
$gcc_no_link = xyes
; then
25504 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25507 /* end confdefs.h. */
25509 /* Override any GCC internal prototype to avoid an error.
25510 Use char because int might match the return type of a GCC
25511 builtin and then its argument prototype would still apply. */
25524 if ac_fn_c_try_link
"$LINENO"; then :
25525 ac_cv_lib_m___clog
=yes
25527 ac_cv_lib_m___clog
=no
25529 rm -f core conftest.err conftest.
$ac_objext \
25530 conftest
$ac_exeext conftest.
$ac_ext
25531 LIBS
=$ac_check_lib_save_LIBS
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25534 $as_echo "$ac_cv_lib_m___clog" >&6; }
25535 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25537 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25542 # Check whether the system has a working stat()
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25545 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25546 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25547 $as_echo_n "(cached) " >&6
25550 if test "$cross_compiling" = yes; then :
25552 case "${target}" in
25553 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25554 *) libgfor_cv_have_working_stat
=yes;;
25557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25558 /* end confdefs.h. */
25561 #include <sys/types.h>
25562 #include <sys/stat.h>
25563 #include <unistd.h>
25568 struct stat st1, st2;
25570 f = fopen ("foo", "w");
25571 g = fopen ("bar", "w");
25572 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25574 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25581 if ac_fn_c_try_run
"$LINENO"; then :
25582 libgfor_cv_have_working_stat
=yes
25584 libgfor_cv_have_working_stat
=no
25586 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25587 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25592 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25593 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25595 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25599 # Check whether __mingw_snprintf() is present
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25602 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25603 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25604 $as_echo_n "(cached) " >&6
25607 if test x
$gcc_no_link = xyes
; then
25608 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25611 /* end confdefs.h. */
25614 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25620 __mingw_snprintf (NULL, 0, "%d\n", 1);
25626 if ac_fn_c_try_link
"$LINENO"; then :
25627 eval "libgfor_cv_have_mingw_snprintf=yes"
25629 eval "libgfor_cv_have_mingw_snprintf=no"
25631 rm -f core conftest.err conftest.
$ac_objext \
25632 conftest
$ac_exeext conftest.
$ac_ext
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25636 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25637 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25639 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25644 # Check whether libquadmath should be used
25645 # Check whether --enable-libquadmath-support was given.
25646 if test "${enable_libquadmath_support+set}" = set; then :
25647 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25649 ENABLE_LIBQUADMATH_SUPPORT
=yes
25652 enable_libquadmath_support
=
25653 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25654 enable_libquadmath_support
=no
25657 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25661 if test "x$enable_libquadmath_support" != xno
; then
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25664 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25665 if test "${libgfor_cv_have_float128+set}" = set; then :
25666 $as_echo_n "(cached) " >&6
25669 if test x
$gcc_no_link = xyes
; then
25670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25671 /* end confdefs.h. */
25673 typedef _Complex float __attribute__((mode(TC))) __complex128;
25675 __float128 foo (__float128 x)
25678 __complex128 z1, z2;
25684 return (__float128) z2;
25687 __float128 bar (__float128 x)
25689 return x * __builtin_huge_valq ();
25703 if ac_fn_c_try_compile
"$LINENO"; then :
25705 libgfor_cv_have_float128
=yes
25709 libgfor_cv_have_float128
=no
25712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25714 if test x
$gcc_no_link = xyes
; then
25715 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25718 /* end confdefs.h. */
25720 typedef _Complex float __attribute__((mode(TC))) __complex128;
25722 __float128 foo (__float128 x)
25725 __complex128 z1, z2;
25731 return (__float128) z2;
25734 __float128 bar (__float128 x)
25736 return x * __builtin_huge_valq ();
25750 if ac_fn_c_try_link
"$LINENO"; then :
25752 libgfor_cv_have_float128
=yes
25756 libgfor_cv_have_float128
=no
25759 rm -f core conftest.err conftest.
$ac_objext \
25760 conftest
$ac_exeext conftest.
$ac_ext
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25764 $as_echo "$libgfor_cv_have_float128" >&6; }
25766 if test "x$libgfor_cv_have_float128" = xyes
; then
25768 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25771 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25773 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25774 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25775 $as_echo_n "(cached) " >&6
25778 # Test for native Solaris options first.
25779 # No whitespace after -z to pass it through -Wl.
25780 libgfor_cv_as_needed_option
="-zignore"
25781 libgfor_cv_no_as_needed_option
="-zrecord"
25782 save_LDFLAGS
="$LDFLAGS"
25783 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25784 libgfor_cv_have_as_needed
=no
25786 ac_c_werror_flag
=yes
25787 if test x
$gcc_no_link = xyes
; then
25788 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25791 /* end confdefs.h. */
25801 if ac_fn_c_try_link
"$LINENO"; then :
25802 libgfor_cv_have_as_needed
=yes
25804 libgfor_cv_have_as_needed
=no
25806 rm -f core conftest.err conftest.
$ac_objext \
25807 conftest
$ac_exeext conftest.
$ac_ext
25808 LDFLAGS
="$save_LDFLAGS"
25809 if test "x$libgfor_cv_have_as_needed" = xno
; then
25810 libgfor_cv_as_needed_option
="--as-needed"
25811 libgfor_cv_no_as_needed_option
="--no-as-needed"
25812 save_LDFLAGS
="$LDFLAGS"
25813 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25814 libgfor_cv_have_as_needed
=no
25816 ac_c_werror_flag
=yes
25817 if test x
$gcc_no_link = xyes
; then
25818 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25831 if ac_fn_c_try_link
"$LINENO"; then :
25832 libgfor_cv_have_as_needed
=yes
25834 libgfor_cv_have_as_needed
=no
25836 rm -f core conftest.err conftest.
$ac_objext \
25837 conftest
$ac_exeext conftest.
$ac_ext
25838 LDFLAGS
="$save_LDFLAGS"
25840 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25844 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25846 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25847 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25849 LIBQUADSPEC
="-lquadmath"
25851 if test -f ..
/libquadmath
/libquadmath.la
; then
25852 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25853 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25854 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25856 LIBQUADLIB
="-lquadmath"
25862 # for --disable-quadmath
25873 if test "x$libgfor_cv_have_float128" = xyes
; then
25874 LIBGFOR_BUILD_QUAD_TRUE
=
25875 LIBGFOR_BUILD_QUAD_FALSE
='#'
25877 LIBGFOR_BUILD_QUAD_TRUE
='#'
25878 LIBGFOR_BUILD_QUAD_FALSE
=
25883 # Check for GNU libc feenableexcept
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25885 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25886 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25887 $as_echo_n "(cached) " >&6
25889 ac_check_lib_save_LIBS
=$LIBS
25891 if test x
$gcc_no_link = xyes
; then
25892 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25895 /* end confdefs.h. */
25897 /* Override any GCC internal prototype to avoid an error.
25898 Use char because int might match the return type of a GCC
25899 builtin and then its argument prototype would still apply. */
25903 char feenableexcept ();
25907 return feenableexcept ();
25912 if ac_fn_c_try_link
"$LINENO"; then :
25913 ac_cv_lib_m_feenableexcept
=yes
25915 ac_cv_lib_m_feenableexcept
=no
25917 rm -f core conftest.err conftest.
$ac_objext \
25918 conftest
$ac_exeext conftest.
$ac_ext
25919 LIBS
=$ac_check_lib_save_LIBS
25921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25922 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25923 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25924 have_feenableexcept
=yes
25925 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25930 # At least for glibc, clock_gettime is in librt. But don't
25931 # pull that in if it still doesn't give us the function we want. This
25932 # test is copied from libgomp, and modified to not link in -lrt as
25933 # libgfortran calls clock_gettime via a weak reference if it's found
25935 if test $ac_cv_func_clock_gettime = no
; then
25936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25937 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25938 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25939 $as_echo_n "(cached) " >&6
25941 ac_check_lib_save_LIBS
=$LIBS
25943 if test x
$gcc_no_link = xyes
; then
25944 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25949 /* Override any GCC internal prototype to avoid an error.
25950 Use char because int might match the return type of a GCC
25951 builtin and then its argument prototype would still apply. */
25955 char clock_gettime ();
25959 return clock_gettime ();
25964 if ac_fn_c_try_link
"$LINENO"; then :
25965 ac_cv_lib_rt_clock_gettime
=yes
25967 ac_cv_lib_rt_clock_gettime
=no
25969 rm -f core conftest.err conftest.
$ac_objext \
25970 conftest
$ac_exeext conftest.
$ac_ext
25971 LIBS
=$ac_check_lib_save_LIBS
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25974 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25975 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25977 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25983 # Check for SysV fpsetmask
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25986 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25987 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25988 $as_echo_n "(cached) " >&6
25991 if test x
$gcc_no_link = xyes
; then
25992 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25995 /* end confdefs.h. */
25997 #if HAVE_FLOATINGPOINT_H
25998 # include <floatingpoint.h>
25999 #endif /* HAVE_FLOATINGPOINT_H */
26001 # include <ieeefp.h>
26002 #endif /* HAVE_IEEEFP_H */
26011 if ac_fn_c_try_link
"$LINENO"; then :
26012 eval "libgfor_cv_have_fpsetmask=yes"
26014 eval "libgfor_cv_have_fpsetmask=no"
26016 rm -f core conftest.err conftest.
$ac_objext \
26017 conftest
$ac_exeext conftest.
$ac_ext
26020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26021 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26022 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26025 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26029 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h>
26031 if test "x$ac_cv_type_fp_except" = x
""yes; then :
26033 cat >>confdefs.h
<<_ACEOF
26034 #define HAVE_FP_EXCEPT 1
26039 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h>
26041 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
26043 cat >>confdefs.h
<<_ACEOF
26044 #define HAVE_FP_EXCEPT_T 1
26050 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "#include <ieeefp.h>
26052 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
26054 cat >>confdefs.h
<<_ACEOF
26055 #define HAVE_FP_RND 1
26060 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "#include <ieeefp.h>
26062 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
26064 cat >>confdefs.h
<<_ACEOF
26065 #define HAVE_FP_RND_T 1
26072 # Check for AIX fp_trap and fp_enable
26073 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26074 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
26076 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26080 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26081 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
26083 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26088 # Runs configure.host to set up necessary host-dependent shell variables.
26089 # We then display a message about it, and propagate them through the
26091 .
${srcdir}/configure.
host
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26093 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26094 FPU_HOST_HEADER
=config
/${fpu_host}.h
26097 # Some targets require additional compiler options for IEEE compatibility.
26098 IEEE_FLAGS
="${ieee_flags}"
26102 # Check for POSIX getpwuid_r
26104 # There are two versions of getpwuid_r, the POSIX one with 5
26105 # arguments, and another one with 4 arguments used by at least HP-UX
26107 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26109 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26110 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26111 $as_echo_n "(cached) " >&6
26114 if test x
$gcc_no_link = xyes
; then
26115 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26118 /* end confdefs.h. */
26121 #include <sys/types.h>
26127 getpwuid_r(0, NULL, NULL, 0, NULL);
26133 if ac_fn_c_try_link
"$LINENO"; then :
26134 libgfor_cv_posix_getpwuid_r
="yes"
26136 libgfor_cv_posix_getpwuid_r
="no"
26138 rm -f core conftest.err conftest.
$ac_objext \
26139 conftest
$ac_exeext conftest.
$ac_ext
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26142 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26144 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26146 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26151 # Check out attribute support.
26153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26154 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26155 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26156 $as_echo_n "(cached) " >&6
26159 save_CFLAGS
="$CFLAGS"
26160 CFLAGS
="$CFLAGS -Werror"
26161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26162 /* end confdefs.h. */
26163 void __attribute__((visibility("hidden"))) foo(void) { }
26172 if ac_fn_c_try_compile
"$LINENO"; then :
26173 libgfor_cv_have_attribute_visibility
=yes
26175 libgfor_cv_have_attribute_visibility
=no
26177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26178 CFLAGS
="$save_CFLAGS"
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26181 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26182 if test $libgfor_cv_have_attribute_visibility = yes; then
26184 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26189 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26190 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26191 $as_echo_n "(cached) " >&6
26194 save_CFLAGS
="$CFLAGS"
26195 CFLAGS
="$CFLAGS -Werror"
26196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26197 /* end confdefs.h. */
26198 void __attribute__((dllexport)) foo(void) { }
26207 if ac_fn_c_try_compile
"$LINENO"; then :
26208 libgfor_cv_have_attribute_dllexport
=yes
26210 libgfor_cv_have_attribute_dllexport
=no
26212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26213 CFLAGS
="$save_CFLAGS"
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26216 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26217 if test $libgfor_cv_have_attribute_dllexport = yes; then
26219 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26224 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26225 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26226 $as_echo_n "(cached) " >&6
26229 if test x
$gcc_no_link = xyes
; then
26230 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26233 /* end confdefs.h. */
26236 extern void bar(void) __attribute__((alias("foo")));
26245 if ac_fn_c_try_link
"$LINENO"; then :
26246 libgfor_cv_have_attribute_alias
=yes
26248 libgfor_cv_have_attribute_alias
=no
26250 rm -f core conftest.err conftest.
$ac_objext \
26251 conftest
$ac_exeext conftest.
$ac_ext
26253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26254 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26255 if test $libgfor_cv_have_attribute_alias = yes; then
26257 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26261 # Check out sync builtins support.
26263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26264 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26265 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26266 $as_echo_n "(cached) " >&6
26269 if test x
$gcc_no_link = xyes
; then
26270 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26273 /* end confdefs.h. */
26279 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26280 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26285 if ac_fn_c_try_link
"$LINENO"; then :
26286 libgfor_cv_have_sync_fetch_and_add
=yes
26288 libgfor_cv_have_sync_fetch_and_add
=no
26290 rm -f core conftest.err conftest.
$ac_objext \
26291 conftest
$ac_exeext conftest.
$ac_ext
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26294 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26295 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26297 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26301 # Check out #pragma weak.
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26304 $as_echo_n "checking whether pragma weak works... " >&6; }
26305 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26306 $as_echo_n "(cached) " >&6
26309 gfor_save_CFLAGS
="$CFLAGS"
26310 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26312 /* end confdefs.h. */
26325 if ac_fn_c_try_compile
"$LINENO"; then :
26326 libgfor_cv_have_pragma_weak
=yes
26328 libgfor_cv_have_pragma_weak
=no
26330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26333 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26334 if test $libgfor_cv_have_pragma_weak = yes; then
26336 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26340 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26342 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26347 # Various other checks on target
26349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26350 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26351 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26352 $as_echo_n "(cached) " >&6
26355 if test "$cross_compiling" = yes; then :
26357 case "${target}" in
26358 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26359 *) libgfor_cv_have_unlink_open_file
=yes;;
26362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26363 /* end confdefs.h. */
26367 #include <unistd.h>
26368 #include <sys/stat.h>
26374 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26377 if (unlink ("testfile") == -1)
26379 write (fd, "This is a test\n", 15);
26382 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26388 if ac_fn_c_try_run
"$LINENO"; then :
26389 libgfor_cv_have_unlink_open_file
=yes
26391 libgfor_cv_have_unlink_open_file
=no
26393 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26394 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26399 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26400 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26402 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26406 # Check whether line terminator is LF or CRLF
26408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26409 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26410 if test "${libgfor_cv_have_crlf+set}" = set; then :
26411 $as_echo_n "(cached) " >&6
26414 if test "$cross_compiling" = yes; then :
26416 case "${target}" in
26417 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26418 *) libgfor_cv_have_crlf
=no
;;
26421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26422 /* end confdefs.h. */
26424 /* This test program should exit with status 0 if system uses a CRLF as
26425 line terminator, and status 1 otherwise.
26426 Since it is used to check for mingw systems, and should return 0 in any
26427 other case, in case of a failure we will not use CRLF. */
26428 #include <sys/stat.h>
26429 #include <stdlib.h>
26441 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26444 if (write (fd, "\n", 1) < 0)
26449 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26451 bytes = read (fd, buff, 5);
26452 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26459 if ac_fn_c_try_run
"$LINENO"; then :
26460 libgfor_cv_have_crlf
=yes
26462 libgfor_cv_have_crlf
=no
26464 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26465 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26470 $as_echo "$libgfor_cv_have_crlf" >&6; }
26471 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26473 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26477 # Check whether we have _Unwind_GetIPInfo for backtrace
26480 # Check whether --with-system-libunwind was given.
26481 if test "${with_system_libunwind+set}" = set; then :
26482 withval
=$with_system_libunwind;
26485 # If system-libunwind was not specifically set, pick a default setting.
26486 if test x
$with_system_libunwind = x
; then
26488 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26489 *) with_system_libunwind
=no
;;
26492 # Based on system-libunwind and target, do we have ipinfo?
26493 if test x
$with_system_libunwind = xyes
; then
26495 ia64-
*-*) have_unwind_getipinfo
=no
;;
26496 *) have_unwind_getipinfo
=yes ;;
26499 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26502 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26503 *) have_unwind_getipinfo
=yes ;;
26508 if test x
$have_unwind_getipinfo = xyes
; then
26510 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26515 cat >confcache
<<\_ACEOF
26516 # This file is a shell script that caches the results of configure
26517 # tests run on this system so they can be shared between configure
26518 # scripts and configure runs, see configure's option --config-cache.
26519 # It is not useful on other systems. If it contains results you don't
26520 # want to keep, you may remove or edit it.
26522 # config.status only pays attention to the cache file if you give it
26523 # the --recheck option to rerun configure.
26525 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26526 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26527 # following values.
26531 # The following way of writing the cache mishandles newlines in values,
26532 # but we know of no workaround that is simple, portable, and efficient.
26533 # So, we kill variables containing newlines.
26534 # Ultrix sh set writes to stderr and can't be redirected directly,
26535 # and sets the high bit in the cache file unless we assign to the vars.
26537 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26538 eval ac_val
=\$
$ac_var
26542 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26543 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26546 _ | IFS | as_nl
) ;; #(
26547 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26548 *) { eval $ac_var=; unset $ac_var;} ;;
26554 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26555 *${as_nl}ac_space
=\
*)
26556 # `set' does not quote correctly, so add quotes: double-quote
26557 # substitution turns \\\\ into \\, and sed turns \\ into \.
26560 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26563 # `set' quotes correctly as required by POSIX, so do not add quotes.
26564 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26573 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26575 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26577 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26578 if test -w "$cache_file"; then
26579 test "x$cache_file" != "x/dev/null" &&
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26581 $as_echo "$as_me: updating cache $cache_file" >&6;}
26582 cat confcache
>$cache_file
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26585 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26590 if test ${multilib} = yes; then
26591 multilib_arg
="--enable-multilib"
26596 # Write our Makefile and spec file.
26597 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26599 cat >confcache
<<\_ACEOF
26600 # This file is a shell script that caches the results of configure
26601 # tests run on this system so they can be shared between configure
26602 # scripts and configure runs, see configure's option --config-cache.
26603 # It is not useful on other systems. If it contains results you don't
26604 # want to keep, you may remove or edit it.
26606 # config.status only pays attention to the cache file if you give it
26607 # the --recheck option to rerun configure.
26609 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26610 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26611 # following values.
26615 # The following way of writing the cache mishandles newlines in values,
26616 # but we know of no workaround that is simple, portable, and efficient.
26617 # So, we kill variables containing newlines.
26618 # Ultrix sh set writes to stderr and can't be redirected directly,
26619 # and sets the high bit in the cache file unless we assign to the vars.
26621 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26622 eval ac_val
=\$
$ac_var
26626 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26627 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26630 _ | IFS | as_nl
) ;; #(
26631 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26632 *) { eval $ac_var=; unset $ac_var;} ;;
26638 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26639 *${as_nl}ac_space
=\
*)
26640 # `set' does not quote correctly, so add quotes: double-quote
26641 # substitution turns \\\\ into \\, and sed turns \\ into \.
26644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26647 # `set' quotes correctly as required by POSIX, so do not add quotes.
26648 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26657 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26659 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26661 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26662 if test -w "$cache_file"; then
26663 test "x$cache_file" != "x/dev/null" &&
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26665 $as_echo "$as_me: updating cache $cache_file" >&6;}
26666 cat confcache
>$cache_file
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26669 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26674 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26675 # Let make expand exec_prefix.
26676 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26678 DEFS
=-DHAVE_CONFIG_H
26682 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26683 # 1. Remove the extension, and $U if already installed.
26684 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26685 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26686 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26687 # will be set to the directory where LIBOBJS objects are built.
26688 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26689 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26691 LIBOBJS
=$ac_libobjs
26693 LTLIBOBJS
=$ac_ltlibobjs
26696 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26697 as_fn_error
"conditional \"onestep\" was never defined.
26698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26700 if test -n "$EXEEXT"; then
26702 am__EXEEXT_FALSE
='#'
26704 am__EXEEXT_TRUE
='#'
26708 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26709 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26712 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26713 as_fn_error
"conditional \"AMDEP\" was never defined.
26714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26716 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26717 as_fn_error
"conditional \"am__fastdepCC\" 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 "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26725 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26728 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26729 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26732 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26733 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26736 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26737 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26741 : ${CONFIG_STATUS=./config.status}
26743 ac_clean_files_save
=$ac_clean_files
26744 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26746 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26748 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26750 # Generated by $as_me.
26751 # Run this file to recreate the current configuration.
26752 # Compiler output produced by configure, useful for debugging
26753 # configure, is in config.log if it exists.
26756 ac_cs_recheck=false
26759 SHELL=\${CONFIG_SHELL-$SHELL}
26762 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26763 ## -------------------- ##
26764 ## M4sh Initialization. ##
26765 ## -------------------- ##
26767 # Be more Bourne compatible
26768 DUALCASE
=1; export DUALCASE
# for MKS sh
26769 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26772 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26773 # is contrary to our usage. Disable this feature.
26774 alias -g '${1+"$@"}'='"$@"'
26775 setopt NO_GLOB_SUBST
26777 case `(set -o) 2>/dev/null` in #(
26789 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26790 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26792 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26793 # Prefer a ksh shell builtin over an external printf program on Solaris,
26794 # but without wasting forks for bash or zsh.
26795 if test -z "$BASH_VERSION$ZSH_VERSION" \
26796 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26797 as_echo='print
-r --'
26798 as_echo_n='print
-rn --'
26799 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26800 as_echo='printf %s
\n'
26801 as_echo_n='printf %s
'
26803 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26804 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26805 as_echo_n='/usr
/ucb
/echo -n'
26807 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26808 as_echo_n_body='eval
26812 expr "X$arg" : "X\\(.*\\)$as_nl";
26813 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26815 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26817 export as_echo_n_body
26818 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26820 export as_echo_body
26821 as_echo='sh
-c $as_echo_body as_echo
'
26824 # The user is always right.
26825 if test "${PATH_SEPARATOR+set}" != set; then
26827 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26828 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26835 # We need space, tab and new line, in precisely that order. Quoting is
26836 # there to prevent editors from complaining about space-tab.
26837 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26838 # splitting by setting IFS to empty value.)
26841 # Find who we are. Look in the path if we contain no directory separator.
26843 *[\\/]* ) as_myself=$0 ;;
26844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26845 for as_dir in $PATH
26848 test -z "$as_dir" && as_dir=.
26849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26855 # We did not find ourselves, most probably we were run as `sh COMMAND'
26856 # in which case we are not to be found in the path.
26857 if test "x$as_myself" = x
; then
26860 if test ! -f "$as_myself"; then
26861 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26865 # Unset variables that we do not need and which cause bugs (e.g. in
26866 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26867 # suppresses any "Segmentation fault" message there. '((' could
26868 # trigger a bug in pdksh 5.2.14.
26869 for as_var
in BASH_ENV ENV MAIL MAILPATH
26870 do eval test x\
${$as_var+set} = xset \
26871 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26884 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26887 # as_fn_error ERROR [LINENO LOG_FD]
26888 # ---------------------------------
26889 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26890 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26891 # script with status $?, using 1 if that was 0.
26894 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26896 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26897 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26899 $as_echo "$as_me: error: $1" >&2
26900 as_fn_exit
$as_status
26904 # as_fn_set_status STATUS
26905 # -----------------------
26906 # Set $? to STATUS, without forking.
26907 as_fn_set_status
()
26910 } # as_fn_set_status
26912 # as_fn_exit STATUS
26913 # -----------------
26914 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26918 as_fn_set_status
$1
26924 # Portably unset VAR.
26927 { eval $1=; unset $1;}
26929 as_unset
=as_fn_unset
26930 # as_fn_append VAR VALUE
26931 # ----------------------
26932 # Append the text in VALUE to the end of the definition contained in VAR. Take
26933 # advantage of any shell optimizations that allow amortized linear growth over
26934 # repeated appends, instead of the typical quadratic growth present in naive
26936 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26937 eval 'as_fn_append ()
26948 # as_fn_arith ARG...
26949 # ------------------
26950 # Perform arithmetic evaluation on the ARGs, and store the result in the
26951 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26952 # must be portable across $(()) and expr.
26953 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26954 eval 'as_fn_arith ()
26961 as_val
=`expr "$@" || test $? -eq 1`
26966 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26967 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26973 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26974 as_basename
=basename
26979 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26985 as_me
=`$as_basename -- "$0" ||
26986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26987 X"$0" : 'X\(//\)$' \| \
26988 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26990 sed '/^.*\/\([^/][^/]*\)\/*$/{
27004 # Avoid depending upon Character Ranges.
27005 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27006 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27007 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27008 as_cr_digits
='0123456789'
27009 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27011 ECHO_C
= ECHO_N
= ECHO_T
=
27012 case `echo -n x` in #(((((
27014 case `echo 'xy\c'` in
27015 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27017 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27024 rm -f conf$$ conf$$.exe conf$$.
file
27025 if test -d conf$$.dir
; then
27026 rm -f conf$$.dir
/conf$$.
file
27029 mkdir conf$$.dir
2>/dev
/null
27031 if (echo >conf$$.
file) 2>/dev
/null
; then
27032 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27034 # ... but there are two gotchas:
27035 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27036 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27037 # In both cases, we have to default to `cp -p'.
27038 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27040 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27048 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27049 rmdir conf$$.dir
2>/dev
/null
27054 # Create "$as_dir" as a directory, including parents if necessary.
27059 -*) as_dir
=.
/$as_dir;;
27061 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27065 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27066 *) as_qdir
=$as_dir;;
27068 as_dirs
="'$as_qdir' $as_dirs"
27069 as_dir
=`$as_dirname -- "$as_dir" ||
27070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27071 X"$as_dir" : 'X\(//\)[^/]' \| \
27072 X"$as_dir" : 'X\(//\)$' \| \
27073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27074 $as_echo X"$as_dir" |
27075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27079 /^X\(\/\/\)[^/].*/{
27092 test -d "$as_dir" && break
27094 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27095 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27099 if mkdir
-p .
2>/dev
/null
; then
27100 as_mkdir_p
='mkdir -p "$as_dir"'
27102 test -d .
/-p && rmdir .
/-p
27106 if test -x / >/dev
/null
2>&1; then
27107 as_test_x
='test -x'
27109 if ls -dL / >/dev
/null
2>&1; then
27116 if test -d "$1"; then
27122 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27123 ???[sx]*):;;*)false;;esac;fi
27127 as_executable_p
=$as_test_x
27129 # Sed expression to map a string onto a valid CPP name.
27130 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27132 # Sed expression to map a string onto a valid variable name.
27133 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27137 ## ----------------------------------- ##
27138 ## Main body of $CONFIG_STATUS script. ##
27139 ## ----------------------------------- ##
27141 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27144 # Save the log message, to keep $0 and so on meaningful, and to
27145 # report actual input values of CONFIG_FILES etc. instead of their
27146 # values after options handling.
27148 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27149 generated by GNU Autoconf 2.64. Invocation command line was
27151 CONFIG_FILES = $CONFIG_FILES
27152 CONFIG_HEADERS = $CONFIG_HEADERS
27153 CONFIG_LINKS = $CONFIG_LINKS
27154 CONFIG_COMMANDS = $CONFIG_COMMANDS
27157 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27162 case $ac_config_files in *"
27163 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27166 case $ac_config_headers in *"
27167 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27172 # Files that config.status was made for.
27173 config_files="$ac_config_files"
27174 config_headers="$ac_config_headers"
27175 config_commands="$ac_config_commands"
27179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27181 \`$as_me' instantiates files and other configuration actions
27182 from templates according to the current configuration. Unless the files
27183 and actions are specified as TAGs, all are instantiated by default.
27185 Usage: $0 [OPTION]... [TAG]...
27187 -h, --help print this help, then exit
27188 -V, --version print version number and configuration settings, then exit
27189 -q, --quiet, --silent
27190 do not print progress messages
27191 -d, --debug don't remove temporary files
27192 --recheck update $as_me by reconfiguring in the same conditions
27193 --file=FILE[:TEMPLATE]
27194 instantiate the configuration file FILE
27195 --header=FILE[:TEMPLATE]
27196 instantiate the configuration header FILE
27198 Configuration files:
27201 Configuration headers:
27204 Configuration commands:
27207 Report bugs to the package provider.
27208 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27209 General help using GNU software: <http://www.gnu.org/gethelp/>."
27212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27214 GNU Fortran Runtime Library config.status 0.3
27215 configured by $0, generated by GNU Autoconf 2.64,
27216 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27218 Copyright (C) 2009 Free Software Foundation, Inc.
27219 This config.status script is free software; the Free Software Foundation
27220 gives unlimited permission to copy, distribute and modify it."
27227 test -n "\$AWK" || AWK=awk
27230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27231 # The default lists apply if the user does not specify any file.
27237 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27238 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27249 # Handling of the options.
27250 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27252 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27253 $as_echo "$ac_cs_version"; exit ;;
27254 --debug |
--debu |
--deb |
--de |
--d |
-d )
27256 --file |
--fil |
--fi |
--f )
27259 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27261 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27262 ac_need_defaults
=false
;;
27263 --header |
--heade |
--head |
--hea )
27266 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27268 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27269 ac_need_defaults
=false
;;
27271 # Conflict between --help and --header
27272 as_fn_error
"ambiguous option: \`$1'
27273 Try \`$0 --help' for more information.";;
27274 --help |
--hel |
-h )
27275 $as_echo "$ac_cs_usage"; exit ;;
27276 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27277 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27280 # This is an error.
27281 -*) as_fn_error
"unrecognized option: \`$1'
27282 Try \`$0 --help' for more information." ;;
27284 *) as_fn_append ac_config_targets
" $1"
27285 ac_need_defaults
=false
;;
27291 ac_configure_extra_args
=
27293 if $ac_cs_silent; then
27295 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27300 if \$ac_cs_recheck; then
27301 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27303 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27304 CONFIG_SHELL='$SHELL'
27305 export CONFIG_SHELL
27310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27315 ## Running $as_me. ##
27321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27329 with_multisubdir="$with_multisubdir"
27330 with_multisrctop="$with_multisrctop"
27331 with_target_subdir="$with_target_subdir"
27332 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27333 multi_basedir="$multi_basedir"
27334 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27337 GFORTRAN="$GFORTRAN"
27339 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27342 # The HP-UX ksh and POSIX shell print the target directory to stdout
27343 # if CDPATH is set.
27344 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27346 sed_quote_subst='$sed_quote_subst'
27347 double_quote_subst='$double_quote_subst'
27348 delay_variable_subst='$delay_variable_subst'
27349 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27350 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27351 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27352 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27353 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27354 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27355 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27356 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27357 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27358 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27359 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27360 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27361 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27362 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27363 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27364 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27365 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27366 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27367 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27368 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27369 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27370 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27371 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27372 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27373 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27374 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27375 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27376 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27377 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27378 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27379 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27380 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27381 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27382 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27383 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27384 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27385 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27386 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27387 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27388 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27389 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27390 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27391 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27392 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27393 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27394 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27395 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27396 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27397 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"`'
27398 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27399 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27400 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27401 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27402 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27403 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27404 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27405 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27406 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27407 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27408 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27409 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27410 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27411 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27412 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27413 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27414 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27415 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27416 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27417 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27418 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27419 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27420 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27421 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27422 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27423 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27424 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27425 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27426 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27427 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27428 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27429 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27430 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27431 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27432 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27433 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27434 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27435 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27436 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27437 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27438 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27439 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27440 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27441 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27442 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27443 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27444 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27445 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27446 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27447 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27448 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27449 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27450 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27451 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27452 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27453 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27454 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27455 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27456 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27457 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27458 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27459 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27460 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27461 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27462 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27463 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27464 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27465 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27466 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27467 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27468 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27469 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27470 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27471 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27472 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27473 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27474 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27475 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27476 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27477 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27478 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27479 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27480 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27481 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27482 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27483 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27484 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27485 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27486 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27487 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27488 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27489 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27490 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27491 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27492 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27493 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27494 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27495 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27496 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27497 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27498 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27499 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27500 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27501 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27502 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27503 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27504 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27505 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27506 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27507 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27508 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27509 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27510 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27511 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27512 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27513 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27514 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27515 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27516 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27517 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27518 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27519 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27520 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27521 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27522 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27523 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27526 LTCFLAGS='$LTCFLAGS'
27527 compiler='$compiler_DEFAULT'
27529 # A function that is used when there is no print builtin or printf.
27530 func_fallback_echo ()
27532 eval 'cat <<_LTECHO_EOF
27537 # Quote evaled strings.
27551 deplibs_check_method \
27560 lt_cv_sys_global_symbol_pipe \
27561 lt_cv_sys_global_symbol_to_cdecl \
27562 lt_cv_sys_global_symbol_to_c_name_address \
27563 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27564 lt_prog_compiler_no_builtin_flag \
27565 lt_prog_compiler_wl \
27566 lt_prog_compiler_pic \
27567 lt_prog_compiler_static \
27568 lt_cv_prog_compiler_c_o \
27576 export_dynamic_flag_spec \
27577 whole_archive_flag_spec \
27578 compiler_needs_object \
27580 allow_undefined_flag \
27581 no_undefined_flag \
27582 hardcode_libdir_flag_spec \
27583 hardcode_libdir_flag_spec_ld \
27584 hardcode_libdir_separator \
27589 variables_saved_for_relink \
27591 library_names_spec \
27593 install_override_mode \
27597 compiler_lib_search_dirs \
27602 compiler_lib_search_path \
27606 lt_prog_compiler_no_builtin_flag_FC \
27607 lt_prog_compiler_wl_FC \
27608 lt_prog_compiler_pic_FC \
27609 lt_prog_compiler_static_FC \
27610 lt_cv_prog_compiler_c_o_FC \
27611 export_dynamic_flag_spec_FC \
27612 whole_archive_flag_spec_FC \
27613 compiler_needs_object_FC \
27615 allow_undefined_flag_FC \
27616 no_undefined_flag_FC \
27617 hardcode_libdir_flag_spec_FC \
27618 hardcode_libdir_flag_spec_ld_FC \
27619 hardcode_libdir_separator_FC \
27620 fix_srcfile_path_FC \
27621 exclude_expsyms_FC \
27622 include_expsyms_FC \
27623 file_list_spec_FC \
27624 compiler_lib_search_dirs_FC \
27625 predep_objects_FC \
27626 postdep_objects_FC \
27629 compiler_lib_search_path_FC; do
27630 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27631 *[\\\\\\\`\\"\\\$]*)
27632 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27635 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27640 # Double-quote double-evaled strings.
27641 for var in reload_cmds \
27642 old_postinstall_cmds \
27643 old_postuninstall_cmds \
27645 extract_expsyms_cmds \
27646 old_archive_from_new_cmds \
27647 old_archive_from_expsyms_cmds \
27649 archive_expsym_cmds \
27651 module_expsym_cmds \
27652 export_symbols_cmds \
27655 postuninstall_cmds \
27657 sys_lib_search_path_spec \
27658 sys_lib_dlsearch_path_spec \
27660 old_archive_cmds_FC \
27661 old_archive_from_new_cmds_FC \
27662 old_archive_from_expsyms_cmds_FC \
27664 archive_expsym_cmds_FC \
27666 module_expsym_cmds_FC \
27667 export_symbols_cmds_FC \
27668 prelink_cmds_FC; do
27669 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27670 *[\\\\\\\`\\"\\\$]*)
27671 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27674 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27679 ac_aux_dir='$ac_aux_dir'
27680 xsi_shell='$xsi_shell'
27681 lt_shell_append='$lt_shell_append'
27683 # See if we are running on zsh, and set the options which allow our
27684 # commands through without removal of \ escapes INIT.
27685 if test -n "\${ZSH_VERSION+set}" ; then
27686 setopt NO_GLOB_SUBST
27692 TIMESTAMP='$TIMESTAMP'
27703 acx_cv_header_stdint="$acx_cv_header_stdint"
27704 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27705 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27706 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27707 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27708 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27709 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27710 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27711 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27712 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27713 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27714 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27715 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27716 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27723 # Handling of arguments.
27724 for ac_config_target
in $ac_config_targets
27726 case $ac_config_target in
27727 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27728 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27729 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27730 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27731 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27732 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27733 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27735 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27740 # If the user did not use the arguments to specify the items to instantiate,
27741 # then the envvar interface is used. Set only those that are not.
27742 # We use the long form for the default assignment because of an extremely
27743 # bizarre bug on SunOS 4.1.3.
27744 if $ac_need_defaults; then
27745 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27746 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27747 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27750 # Have a temporary directory for convenience. Make it in the build tree
27751 # simply because there is no reason against having it here, and in addition,
27752 # creating and moving files from /tmp can sometimes cause problems.
27753 # Hook for its removal unless debugging.
27754 # Note that there is a small window in which the directory will not be cleaned:
27755 # after its creation but before its name has been assigned to `$tmp'.
27759 trap 'exit_status=$?
27760 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27762 trap 'as_fn_exit 1' 1 2 13 15
27764 # Create a (secure) tmp directory for tmp files.
27767 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27768 test -n "$tmp" && test -d "$tmp"
27771 tmp
=.
/conf$$
-$RANDOM
27772 (umask 077 && mkdir
"$tmp")
27773 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27775 # Set up the scripts for CONFIG_FILES section.
27776 # No need to generate them if there are no CONFIG_FILES.
27777 # This happens for instance with `./config.status config.h'.
27778 if test -n "$CONFIG_FILES"; then
27781 ac_cr
=`echo X | tr X '\015'`
27782 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27783 # But we know of no other shell where ac_cr would be empty at this
27784 # point, so we can use a bashism as a fallback.
27785 if test "x$ac_cr" = x
; then
27786 eval ac_cr
=\$
\'\\r
\'
27788 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27789 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27792 ac_cs_awk_cr
=$ac_cr
27795 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27800 echo "cat >conf$$subs.awk <<_ACEOF" &&
27801 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27803 } >conf$$subs.sh ||
27804 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27805 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27807 for ac_last_try in false false false false false :; do
27808 . ./conf$$subs.sh ||
27809 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27811 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27812 if test $ac_delim_n = $ac_delim_num; then
27814 elif $ac_last_try; then
27815 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27817 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27820 rm -f conf$$subs.sh
27822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27823 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27827 s/^/S["/; s
/!.
*/"]=/
27837 s/\(.\{148\}\).*/\1/
27839 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27844 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27851 s/\(.\{148\}\).*/\1/
27853 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27857 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27862 ' <conf$$subs.awk | sed '
27867 ' >>$CONFIG_STATUS || ac_write_fail=1
27868 rm -f conf$$subs.awk
27869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27871 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27872 for (key in S) S_is_set[key] = 1
27878 nfields = split(line, field, "@
")
27880 len = length(field[1])
27881 for (i = 2; i < nfields; i++) {
27883 keylen = length(key)
27884 if (S_is_set[key]) {
27886 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27887 len += length(value) + length(field[++i])
27898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27899 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27900 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27903 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27904 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27907 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27908 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27909 # trailing colons and then remove the whole line if VPATH becomes empty
27910 # (actually we leave an empty line to preserve line numbers).
27911 if test "x
$srcdir" = x.; then
27912 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27913 s/:*\$(srcdir):*/:/
27914 s/:*\${srcdir}:*/:/
27916 s/^\([^=]*=[ ]*\):*/\1/
27922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27923 fi # test -n "$CONFIG_FILES"
27925 # Set up the scripts for CONFIG_HEADERS section.
27926 # No need to generate them if there are no CONFIG_HEADERS.
27927 # This happens for instance with `./config.status Makefile'.
27928 if test -n "$CONFIG_HEADERS"; then
27929 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27933 # Transform confdefs.h into an awk script `defines.awk', embedded as
27934 # here-document in config.status, that substitutes the proper values into
27935 # config.h.in to produce config.h.
27937 # Create a delimiter string that does not exist in confdefs.h, to ease
27938 # handling of long lines.
27940 for ac_last_try in false false :; do
27941 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27942 if test -z "$ac_t"; then
27944 elif $ac_last_try; then
27945 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27947 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27951 # For the awk script, D is an array of macro values keyed by name,
27952 # likewise P contains macro parameters if any. Preserve backslash
27953 # newline sequences.
27955 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27957 s/.\{148\}/&'"$ac_delim"'/g
27960 s/^[ ]*#[ ]*define[ ][ ]*/ /
27967 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27969 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27973 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27974 D["\
1"]=" \
3\\\\\\n
"\\/p
27976 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27981 s/.\{148\}/&'"$ac_delim"'/g
27986 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27989 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27991 ' <confdefs.h | sed '
27992 s/'"$ac_delim"'/"\\\
27993 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27996 for (key in D) D_is_set[key] = 1
27999 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28001 split(line, arg, " ")
28002 if (arg[1] == "#") {
28006 defundef
= substr
(arg
[1], 2)
28009 split(mac1
, mac2
, "(") #)
28011 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28012 if (D_is_set
[macro
]) {
28013 # Preserve the white space surrounding the "#".
28014 print prefix
"define", macro P
[macro
] D
[macro
]
28017 # Replace #undef with comments. This is necessary, for example,
28018 # in the case of _POSIX_SOURCE, which is predefined and required
28019 # on some systems where configure will not decide to define it.
28020 if (defundef
== "undef") {
28021 print
"/*", prefix defundef
, macro
, "*/"
28029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28030 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28031 fi # test -n "$CONFIG_HEADERS"
28034 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28039 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28041 case $ac_mode$ac_tag in
28043 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28044 :[FH
]-) ac_tag
=-:-;;
28045 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28062 -) ac_f
="$tmp/stdin";;
28063 *) # Look for the file first in the build tree, then in the source tree
28064 # (if the path is not absolute). The absolute path cannot be DOS-style,
28065 # because $ac_f cannot contain `:'.
28069 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28071 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28073 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28074 as_fn_append ac_file_inputs
" '$ac_f'"
28077 # Let's still pretend it is `configure' which instantiates (i.e., don't
28078 # use $as_me), people would be surprised to read:
28079 # /* config.h. Generated by config.status. */
28080 configure_input
='Generated from '`
28081 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28083 if test x
"$ac_file" != x-
; then
28084 configure_input
="$ac_file. $configure_input"
28085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28086 $as_echo "$as_me: creating $ac_file" >&6;}
28088 # Neutralize special characters interpreted by sed in replacement strings.
28089 case $configure_input in #(
28090 *\
&* |
*\|
* |
*\\* )
28091 ac_sed_conf_input
=`$as_echo "$configure_input" |
28092 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28093 *) ac_sed_conf_input
=$configure_input;;
28097 *:-:* |
*:-) cat >"$tmp/stdin" \
28098 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28103 ac_dir
=`$as_dirname -- "$ac_file" ||
28104 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28105 X"$ac_file" : 'X\(//\)[^/]' \| \
28106 X"$ac_file" : 'X\(//\)$' \| \
28107 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28108 $as_echo X"$ac_file" |
28109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28113 /^X\(\/\/\)[^/].*/{
28126 as_dir
="$ac_dir"; as_fn_mkdir_p
28130 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28132 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28133 # A ".." for each directory in $ac_dir_suffix.
28134 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28135 case $ac_top_builddir_sub in
28136 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28137 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28140 ac_abs_top_builddir
=$ac_pwd
28141 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28142 # for backward compatibility:
28143 ac_top_builddir
=$ac_top_build_prefix
28146 .
) # We are building in place.
28148 ac_top_srcdir
=$ac_top_builddir_sub
28149 ac_abs_top_srcdir
=$ac_pwd ;;
28150 [\\/]* | ?
:[\\/]* ) # Absolute name.
28151 ac_srcdir
=$srcdir$ac_dir_suffix;
28152 ac_top_srcdir
=$srcdir
28153 ac_abs_top_srcdir
=$srcdir ;;
28154 *) # Relative name.
28155 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28156 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28157 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28159 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28169 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28170 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28172 ac_MKDIR_P
=$MKDIR_P
28174 [\\/$
]* | ?
:[\\/]* ) ;;
28175 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28180 # If the template does not know about datarootdir, expand it.
28181 # FIXME: This hack should be removed a few years after 2.60.
28182 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28193 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28194 *datarootdir
*) ac_datarootdir_seen
=yes;;
28195 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28197 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28200 ac_datarootdir_hack='
28201 s&@datadir@&$datadir&g
28202 s&@docdir@&$docdir&g
28203 s&@infodir@&$infodir&g
28204 s&@localedir@&$localedir&g
28205 s&@mandir@&$mandir&g
28206 s&\\\${datarootdir}&$datarootdir&g' ;;
28210 # Neutralize VPATH when `$srcdir' = `.'.
28211 # Shell code in configure.ac might set extrasub.
28212 # FIXME: do we really want to maintain this feature?
28213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28214 ac_sed_extra="$ac_vpsub
28217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28219 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28220 s|@configure_input@|
$ac_sed_conf_input|
;t t
28221 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28222 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28223 s
&@srcdir@
&$ac_srcdir&;t t
28224 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28225 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28226 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28227 s
&@builddir@
&$ac_builddir&;t t
28228 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28229 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28230 s
&@INSTALL@
&$ac_INSTALL&;t t
28231 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28232 $ac_datarootdir_hack
28234 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28235 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28237 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28238 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28239 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28241 which seems to be undefined. Please make sure it is defined." >&5
28242 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28243 which seems to be undefined. Please make sure it is defined." >&2;}
28247 -) cat "$tmp/out" && rm -f "$tmp/out";;
28248 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28250 || as_fn_error "could not create $ac_file" "$LINENO" 5
28256 if test x"$ac_file" != x-; then
28258 $as_echo "/* $configure_input */" \
28259 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28260 } >"$tmp/config.h" \
28261 || as_fn_error "could not create $ac_file" "$LINENO" 5
28262 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28264 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28267 mv "$tmp/config.h" "$ac_file" \
28268 || as_fn_error "could not create $ac_file" "$LINENO" 5
28271 $as_echo "/* $configure_input */" \
28272 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28273 || as_fn_error "could not create -" "$LINENO" 5
28275 # Compute "$ac_file"'s index
in $config_headers.
28278 for _am_header
in $config_headers :; do
28279 case $_am_header in
28280 $_am_arg |
$_am_arg:* )
28283 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28286 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28287 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28288 X"$_am_arg" : 'X\(//\)[^/]' \| \
28289 X"$_am_arg" : 'X\(//\)$' \| \
28290 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28291 $as_echo X"$_am_arg" |
28292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28296 /^X\(\/\/\)[^/].*/{
28308 s/.*/./; q'`/stamp-h
$_am_stamp_count
28311 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28312 $as_echo "$as_me: executing $ac_file commands" >&6;}
28317 case $ac_file$ac_mode in
28319 # Only add multilib support code if we just rebuilt the top-level
28321 case " $CONFIG_FILES " in
28323 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28326 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28327 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28328 # are listed without --file. Let's play safe and only enable the eval
28329 # if we detect the quoting.
28330 case $CONFIG_FILES in
28331 *\'*) eval set x
"$CONFIG_FILES" ;;
28332 *) set x
$CONFIG_FILES ;;
28337 # Strip MF so we end up with the name of the file.
28338 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28339 # Check whether this is an Automake generated Makefile or not.
28340 # We used to match only the files named `Makefile.in', but
28341 # some people rename them; so instead we look at the file content.
28342 # Grep'ing the first line is not enough: some people post-process
28343 # each Makefile.in and add a new line on top of each file to say so.
28344 # Grep'ing the whole file is not good either: AIX grep has a line
28345 # limit of 2048, but all sed's we know have understand at least 4000.
28346 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28347 dirpart
=`$as_dirname -- "$mf" ||
28348 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28349 X"$mf" : 'X\(//\)[^/]' \| \
28350 X"$mf" : 'X\(//\)$' \| \
28351 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28357 /^X\(\/\/\)[^/].*/{
28373 # Extract the definition of DEPDIR, am__include, and am__quote
28374 # from the Makefile without running `make'.
28375 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28376 test -z "$DEPDIR" && continue
28377 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28378 test -z "am__include" && continue
28379 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28380 # When using ansi2knr, U may be empty or an underscore; expand it
28381 U
=`sed -n 's/^U = //p' < "$mf"`
28382 # Find all dependency output files, they are included files with
28383 # $(DEPDIR) in their names. We invoke sed twice because it is the
28384 # simplest approach to changing $(DEPDIR) to its actual value in the
28386 for file in `sed -n "
28387 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28388 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28389 # Make sure the directory exists.
28390 test -f "$dirpart/$file" && continue
28391 fdir
=`$as_dirname -- "$file" ||
28392 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28393 X"$file" : 'X\(//\)[^/]' \| \
28394 X"$file" : 'X\(//\)$' \| \
28395 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28396 $as_echo X"$file" |
28397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28401 /^X\(\/\/\)[^/].*/{
28414 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28415 # echo "creating $dirpart/$file"
28416 echo '# dummy' > "$dirpart/$file"
28423 # See if we are running on zsh, and set the options which allow our
28424 # commands through without removal of \ escapes.
28425 if test -n "${ZSH_VERSION+set}" ; then
28426 setopt NO_GLOB_SUBST
28429 cfgfile
="${ofile}T"
28430 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28433 cat <<_LT_EOF >> "$cfgfile"
28436 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28437 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28438 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28439 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28441 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28442 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28443 # Written by Gordon Matzigkeit, 1996
28445 # This file is part of GNU Libtool.
28447 # GNU Libtool is free software; you can redistribute it and/or
28448 # modify it under the terms of the GNU General Public License as
28449 # published by the Free Software Foundation; either version 2 of
28450 # the License, or (at your option) any later version.
28452 # As a special exception to the GNU General Public License,
28453 # if you distribute this file as part of a program or library that
28454 # is built using GNU Libtool, you may include this file under the
28455 # same distribution terms that you use for the rest of that program.
28457 # GNU Libtool is distributed in the hope that it will be useful,
28458 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28459 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28460 # GNU General Public License for more details.
28462 # You should have received a copy of the GNU General Public License
28463 # along with GNU Libtool; see the file COPYING. If not, a copy
28464 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28465 # obtained by writing to the Free Software Foundation, Inc.,
28466 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28469 # The names of the tagged configurations supported by this script.
28470 available_tags="FC "
28472 # ### BEGIN LIBTOOL CONFIG
28474 # Which release of libtool.m4 was used?
28475 macro_version=$macro_version
28476 macro_revision=$macro_revision
28478 # Whether or not to build shared libraries.
28479 build_libtool_libs=$enable_shared
28481 # Whether or not to build static libraries.
28482 build_old_libs=$enable_static
28484 # What type of objects to build.
28487 # Whether or not to optimize for fast installation.
28488 fast_install=$enable_fast_install
28490 # Shell to use when invoking shell scripts.
28493 # An echo program that protects backslashes.
28497 host_alias=$host_alias
28501 # The build system.
28502 build_alias=$build_alias
28506 # A sed program that does not truncate output.
28509 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28510 Xsed="\$SED -e 1s/^X//"
28512 # A grep program that handles long lines.
28518 # A literal string matcher.
28521 # A BSD- or MS-compatible name lister.
28524 # Whether we need soft or hard links.
28527 # What is the maximum length of a command?
28528 max_cmd_len=$max_cmd_len
28530 # Object file suffix (normally "o").
28533 # Executable file suffix (normally "").
28536 # whether the shell understands "unset".
28539 # turn spaces into newlines.
28542 # turn newlines into spaces.
28545 # An object symbol dumper.
28546 OBJDUMP=$lt_OBJDUMP
28548 # Method to check whether dependent libraries are shared objects.
28549 deplibs_check_method=$lt_deplibs_check_method
28551 # Command to use when deplibs_check_method == "file_magic".
28552 file_magic_cmd=$lt_file_magic_cmd
28556 AR_FLAGS=$lt_AR_FLAGS
28558 # A symbol stripping program.
28561 # Commands used to install an old-style archive.
28563 old_postinstall_cmds=$lt_old_postinstall_cmds
28564 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28566 # Whether to use a lock for old archive extraction.
28567 lock_old_archive_extraction=$lock_old_archive_extraction
28572 # LTCC compiler flags.
28573 LTCFLAGS=$lt_CFLAGS
28575 # Take the output of nm and produce a listing of raw symbols and C names.
28576 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28578 # Transform the output of nm in a proper C declaration.
28579 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28581 # Transform the output of nm in a C name address pair.
28582 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28584 # Transform the output of nm in a C name address pair when lib prefix is needed.
28585 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28587 # The name of the directory that contains temporary libtool files.
28590 # Used to examine libraries when file_magic_cmd begins with "file".
28591 MAGIC_CMD=$MAGIC_CMD
28593 # Must we lock files when doing compilation?
28594 need_locks=$lt_need_locks
28596 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28597 DSYMUTIL=$lt_DSYMUTIL
28599 # Tool to change global to local symbols on Mac OS X.
28602 # Tool to manipulate fat objects and archives on Mac OS X.
28605 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28608 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28609 OTOOL64=$lt_OTOOL64
28611 # Old archive suffix (normally "a").
28614 # Shared library suffix (normally ".so").
28615 shrext_cmds=$lt_shrext_cmds
28617 # The commands to extract the exported symbol list from a shared archive.
28618 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28620 # Variables whose values should be saved in libtool wrapper scripts and
28621 # restored at link time.
28622 variables_saved_for_relink=$lt_variables_saved_for_relink
28624 # Do we need the "lib" prefix for modules?
28625 need_lib_prefix=$need_lib_prefix
28627 # Do we need a version for libraries?
28628 need_version=$need_version
28630 # Library versioning type.
28631 version_type=$version_type
28633 # Shared library runtime path variable.
28634 runpath_var=$runpath_var
28636 # Shared library path variable.
28637 shlibpath_var=$shlibpath_var
28639 # Is shlibpath searched before the hard-coded library search path?
28640 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28642 # Format of library name prefix.
28643 libname_spec=$lt_libname_spec
28645 # List of archive names. First name is the real one, the rest are links.
28646 # The last name is the one that the linker finds with -lNAME
28647 library_names_spec=$lt_library_names_spec
28649 # The coded name of the library, if different from the real name.
28650 soname_spec=$lt_soname_spec
28652 # Permission mode override for installation of shared libraries.
28653 install_override_mode=$lt_install_override_mode
28655 # Command to use after installation of a shared archive.
28656 postinstall_cmds=$lt_postinstall_cmds
28658 # Command to use after uninstallation of a shared archive.
28659 postuninstall_cmds=$lt_postuninstall_cmds
28661 # Commands used to finish a libtool library installation in a directory.
28662 finish_cmds=$lt_finish_cmds
28664 # As "finish_cmds", except a single script fragment to be evaled but
28666 finish_eval=$lt_finish_eval
28668 # Whether we should hardcode library paths into libraries.
28669 hardcode_into_libs=$hardcode_into_libs
28671 # Compile-time system search path for libraries.
28672 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28674 # Run-time system search path for libraries.
28675 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28677 # Whether dlopen is supported.
28678 dlopen_support=$enable_dlopen
28680 # Whether dlopen of programs is supported.
28681 dlopen_self=$enable_dlopen_self
28683 # Whether dlopen of statically linked programs is supported.
28684 dlopen_self_static=$enable_dlopen_self_static
28686 # Commands to strip libraries.
28687 old_striplib=$lt_old_striplib
28688 striplib=$lt_striplib
28691 # The linker used to build libraries.
28694 # How to create reloadable object files.
28695 reload_flag=$lt_reload_flag
28696 reload_cmds=$lt_reload_cmds
28698 # Commands used to build an old-style archive.
28699 old_archive_cmds=$lt_old_archive_cmds
28701 # A language specific compiler.
28704 # Is the compiler the GNU compiler?
28707 # Compiler flag to turn off builtin functions.
28708 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28710 # How to pass a linker flag through the compiler.
28711 wl=$lt_lt_prog_compiler_wl
28713 # Additional compiler flags for building library objects.
28714 pic_flag=$lt_lt_prog_compiler_pic
28716 # Compiler flag to prevent dynamic linking.
28717 link_static_flag=$lt_lt_prog_compiler_static
28719 # Does compiler simultaneously support -c and -o options?
28720 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28722 # Whether or not to add -lc for building shared libraries.
28723 build_libtool_need_lc=$archive_cmds_need_lc
28725 # Whether or not to disallow shared libs when runtime libs are static.
28726 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28728 # Compiler flag to allow reflexive dlopens.
28729 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28731 # Compiler flag to generate shared objects directly from archives.
28732 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28734 # Whether the compiler copes with passing no objects directly.
28735 compiler_needs_object=$lt_compiler_needs_object
28737 # Create an old-style archive from a shared archive.
28738 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28740 # Create a temporary old-style archive to link instead of a shared archive.
28741 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28743 # Commands used to build a shared archive.
28744 archive_cmds=$lt_archive_cmds
28745 archive_expsym_cmds=$lt_archive_expsym_cmds
28747 # Commands used to build a loadable module if different from building
28748 # a shared archive.
28749 module_cmds=$lt_module_cmds
28750 module_expsym_cmds=$lt_module_expsym_cmds
28752 # Whether we are building with GNU ld or not.
28753 with_gnu_ld=$lt_with_gnu_ld
28755 # Flag that allows shared libraries with undefined symbols to be built.
28756 allow_undefined_flag=$lt_allow_undefined_flag
28758 # Flag that enforces no undefined symbols.
28759 no_undefined_flag=$lt_no_undefined_flag
28761 # Flag to hardcode \$libdir into a binary during linking.
28762 # This must work even if \$libdir does not exist
28763 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28765 # If ld is used when linking, flag to hardcode \$libdir into a binary
28766 # during linking. This must work even if \$libdir does not exist.
28767 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28769 # Whether we need a single "-rpath" flag with a separated argument.
28770 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28772 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28773 # DIR into the resulting binary.
28774 hardcode_direct=$hardcode_direct
28776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28777 # DIR into the resulting binary and the resulting library dependency is
28778 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28779 # library is relocated.
28780 hardcode_direct_absolute=$hardcode_direct_absolute
28782 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28783 # into the resulting binary.
28784 hardcode_minus_L=$hardcode_minus_L
28786 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28787 # into the resulting binary.
28788 hardcode_shlibpath_var=$hardcode_shlibpath_var
28790 # Set to "yes" if building a shared library automatically hardcodes DIR
28791 # into the library and all subsequent libraries and executables linked
28793 hardcode_automatic=$hardcode_automatic
28795 # Set to yes if linker adds runtime paths of dependent libraries
28796 # to runtime path list.
28797 inherit_rpath=$inherit_rpath
28799 # Whether libtool must link a program against all its dependency libraries.
28800 link_all_deplibs=$link_all_deplibs
28802 # Fix the shell variable \$srcfile for the compiler.
28803 fix_srcfile_path=$lt_fix_srcfile_path
28805 # Set to "yes" if exported symbols are required.
28806 always_export_symbols=$always_export_symbols
28808 # The commands to list exported symbols.
28809 export_symbols_cmds=$lt_export_symbols_cmds
28811 # Symbols that should not be listed in the preloaded symbols.
28812 exclude_expsyms=$lt_exclude_expsyms
28814 # Symbols that must always be exported.
28815 include_expsyms=$lt_include_expsyms
28817 # Commands necessary for linking programs (against libraries) with templates.
28818 prelink_cmds=$lt_prelink_cmds
28820 # Specify filename containing input files.
28821 file_list_spec=$lt_file_list_spec
28823 # How to hardcode a shared library path into an executable.
28824 hardcode_action=$hardcode_action
28826 # The directories searched by this compiler when creating a shared library.
28827 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28829 # Dependencies to place before and after the objects being linked to
28830 # create a shared library.
28831 predep_objects=$lt_predep_objects
28832 postdep_objects=$lt_postdep_objects
28833 predeps=$lt_predeps
28834 postdeps=$lt_postdeps
28836 # The library search path used internally by the compiler when linking
28837 # a shared library.
28838 compiler_lib_search_path=$lt_compiler_lib_search_path
28840 # ### END LIBTOOL CONFIG
28846 cat <<\_LT_EOF
>> "$cfgfile"
28847 # AIX sometimes has problems with the GCC collect2 program. For some
28848 # reason, if we set the COLLECT_NAMES environment variable, the problems
28849 # vanish in a puff of smoke.
28850 if test "X${COLLECT_NAMES+set}" != Xset
; then
28852 export COLLECT_NAMES
28859 ltmain
="$ac_aux_dir/ltmain.sh"
28862 # We use sed instead of cat because bash on DJGPP gets confused if
28863 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28864 # text mode, it properly converts lines to CR/LF. This bash problem
28865 # is reportedly fixed, but why not run on old versions too?
28866 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28867 ||
(rm -f "$cfgfile"; exit 1)
28871 cat << \_LT_EOF
>> "$cfgfile"
28873 # func_dirname file append nondir_replacement
28874 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28875 # otherwise set result to NONDIR_REPLACEMENT.
28879 */*) func_dirname_result
="${1%/*}${2}" ;;
28880 * ) func_dirname_result
="${3}" ;;
28884 # func_basename file
28887 func_basename_result
="${1##*/}"
28890 # func_dirname_and_basename file append nondir_replacement
28891 # perform func_basename and func_dirname in a single function
28893 # dirname: Compute the dirname of FILE. If nonempty,
28894 # add APPEND to the result, otherwise set result
28895 # to NONDIR_REPLACEMENT.
28896 # value returned in "$func_dirname_result"
28897 # basename: Compute filename of FILE.
28898 # value retuned in "$func_basename_result"
28899 # Implementation must be kept synchronized with func_dirname
28900 # and func_basename. For efficiency, we do not delegate to
28901 # those functions but instead duplicate the functionality here.
28902 func_dirname_and_basename
()
28905 */*) func_dirname_result
="${1%/*}${2}" ;;
28906 * ) func_dirname_result
="${3}" ;;
28908 func_basename_result
="${1##*/}"
28911 # func_stripname prefix suffix name
28912 # strip PREFIX and SUFFIX off of NAME.
28913 # PREFIX and SUFFIX must not contain globbing or regex special
28914 # characters, hashes, percent signs, but SUFFIX may contain a leading
28915 # dot (in which case that matches only a dot).
28918 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28919 # positional parameters, so assign one to ordinary parameter first.
28920 func_stripname_result
=${3}
28921 func_stripname_result
=${func_stripname_result#"${1}"}
28922 func_stripname_result
=${func_stripname_result%"${2}"}
28928 func_opt_split_opt
=${1%%=*}
28929 func_opt_split_arg
=${1#*=}
28936 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28937 *) func_lo2o_result
=${1} ;;
28941 # func_xform libobj-or-source
28944 func_xform_result
=${1%.*}.lo
28947 # func_arith arithmetic-term...
28950 func_arith_result
=$
(( $
* ))
28954 # STRING may not start with a hyphen.
28957 func_len_result
=${#1}
28962 *) # Bourne compatible functions.
28963 cat << \_LT_EOF
>> "$cfgfile"
28965 # func_dirname file append nondir_replacement
28966 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28967 # otherwise set result to NONDIR_REPLACEMENT.
28970 # Extract subdirectory from the argument.
28971 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28972 if test "X$func_dirname_result" = "X${1}"; then
28973 func_dirname_result
="${3}"
28975 func_dirname_result
="$func_dirname_result${2}"
28979 # func_basename file
28982 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28986 # func_stripname prefix suffix name
28987 # strip PREFIX and SUFFIX off of NAME.
28988 # PREFIX and SUFFIX must not contain globbing or regex special
28989 # characters, hashes, percent signs, but SUFFIX may contain a leading
28990 # dot (in which case that matches only a dot).
28991 # func_strip_suffix prefix name
28995 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28996 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29001 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29002 my_sed_long_arg
='1s/^-[^=]*=//'
29007 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29008 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29014 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29017 # func_xform libobj-or-source
29020 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29023 # func_arith arithmetic-term...
29026 func_arith_result
=`expr "$@"`
29030 # STRING may not start with a hyphen.
29033 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29039 case $lt_shell_append in
29041 cat << \_LT_EOF
>> "$cfgfile"
29043 # func_append var value
29044 # Append VALUE to the end of shell variable VAR.
29052 cat << \_LT_EOF
>> "$cfgfile"
29054 # func_append var value
29055 # Append VALUE to the end of shell variable VAR.
29066 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29067 ||
(rm -f "$cfgfile"; exit 1)
29069 mv -f "$cfgfile" "$ofile" ||
29070 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29074 cat <<_LT_EOF >> "$ofile"
29076 # ### BEGIN LIBTOOL TAG CONFIG: FC
29078 # The linker used to build libraries.
29081 # How to create reloadable object files.
29082 reload_flag=$lt_reload_flag_FC
29083 reload_cmds=$lt_reload_cmds_FC
29085 # Commands used to build an old-style archive.
29086 old_archive_cmds=$lt_old_archive_cmds_FC
29088 # A language specific compiler.
29091 # Is the compiler the GNU compiler?
29094 # Compiler flag to turn off builtin functions.
29095 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29097 # How to pass a linker flag through the compiler.
29098 wl=$lt_lt_prog_compiler_wl_FC
29100 # Additional compiler flags for building library objects.
29101 pic_flag=$lt_lt_prog_compiler_pic_FC
29103 # Compiler flag to prevent dynamic linking.
29104 link_static_flag=$lt_lt_prog_compiler_static_FC
29106 # Does compiler simultaneously support -c and -o options?
29107 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29109 # Whether or not to add -lc for building shared libraries.
29110 build_libtool_need_lc=$archive_cmds_need_lc_FC
29112 # Whether or not to disallow shared libs when runtime libs are static.
29113 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29115 # Compiler flag to allow reflexive dlopens.
29116 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29118 # Compiler flag to generate shared objects directly from archives.
29119 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29121 # Whether the compiler copes with passing no objects directly.
29122 compiler_needs_object=$lt_compiler_needs_object_FC
29124 # Create an old-style archive from a shared archive.
29125 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29127 # Create a temporary old-style archive to link instead of a shared archive.
29128 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29130 # Commands used to build a shared archive.
29131 archive_cmds=$lt_archive_cmds_FC
29132 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29134 # Commands used to build a loadable module if different from building
29135 # a shared archive.
29136 module_cmds=$lt_module_cmds_FC
29137 module_expsym_cmds=$lt_module_expsym_cmds_FC
29139 # Whether we are building with GNU ld or not.
29140 with_gnu_ld=$lt_with_gnu_ld_FC
29142 # Flag that allows shared libraries with undefined symbols to be built.
29143 allow_undefined_flag=$lt_allow_undefined_flag_FC
29145 # Flag that enforces no undefined symbols.
29146 no_undefined_flag=$lt_no_undefined_flag_FC
29148 # Flag to hardcode \$libdir into a binary during linking.
29149 # This must work even if \$libdir does not exist
29150 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29152 # If ld is used when linking, flag to hardcode \$libdir into a binary
29153 # during linking. This must work even if \$libdir does not exist.
29154 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29156 # Whether we need a single "-rpath" flag with a separated argument.
29157 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29159 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29160 # DIR into the resulting binary.
29161 hardcode_direct=$hardcode_direct_FC
29163 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29164 # DIR into the resulting binary and the resulting library dependency is
29165 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29166 # library is relocated.
29167 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29169 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29170 # into the resulting binary.
29171 hardcode_minus_L=$hardcode_minus_L_FC
29173 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29174 # into the resulting binary.
29175 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29177 # Set to "yes" if building a shared library automatically hardcodes DIR
29178 # into the library and all subsequent libraries and executables linked
29180 hardcode_automatic=$hardcode_automatic_FC
29182 # Set to yes if linker adds runtime paths of dependent libraries
29183 # to runtime path list.
29184 inherit_rpath=$inherit_rpath_FC
29186 # Whether libtool must link a program against all its dependency libraries.
29187 link_all_deplibs=$link_all_deplibs_FC
29189 # Fix the shell variable \$srcfile for the compiler.
29190 fix_srcfile_path=$lt_fix_srcfile_path_FC
29192 # Set to "yes" if exported symbols are required.
29193 always_export_symbols=$always_export_symbols_FC
29195 # The commands to list exported symbols.
29196 export_symbols_cmds=$lt_export_symbols_cmds_FC
29198 # Symbols that should not be listed in the preloaded symbols.
29199 exclude_expsyms=$lt_exclude_expsyms_FC
29201 # Symbols that must always be exported.
29202 include_expsyms=$lt_include_expsyms_FC
29204 # Commands necessary for linking programs (against libraries) with templates.
29205 prelink_cmds=$lt_prelink_cmds_FC
29207 # Specify filename containing input files.
29208 file_list_spec=$lt_file_list_spec_FC
29210 # How to hardcode a shared library path into an executable.
29211 hardcode_action=$hardcode_action_FC
29213 # The directories searched by this compiler when creating a shared library.
29214 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29216 # Dependencies to place before and after the objects being linked to
29217 # create a shared library.
29218 predep_objects=$lt_predep_objects_FC
29219 postdep_objects=$lt_postdep_objects_FC
29220 predeps=$lt_predeps_FC
29221 postdeps=$lt_postdeps_FC
29223 # The library search path used internally by the compiler when linking
29224 # a shared library.
29225 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29227 # ### END LIBTOOL TAG CONFIG: FC
29232 if test "$GCC" = yes; then
29233 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29235 echo "/* generated for $CC */" > tmp-stdint.h
29238 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29240 #ifndef GCC_GENERATED_STDINT_H
29241 #define GCC_GENERATED_STDINT_H 1
29243 #include <sys/types.h>
29246 if test "$acx_cv_header_stdint" != stdint.h
; then
29247 echo "#include <stddef.h>" >> tmp-stdint.h
29249 if test "$acx_cv_header_stdint" != stddef.h
; then
29250 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29253 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29254 /* glibc uses these symbols as guards to prevent redefinitions. */
29255 #ifdef __int8_t_defined
29260 #ifdef __uint32_t_defined
29266 # ----------------- done header, emit basic int types -------------
29267 if test "$acx_cv_header_stdint" = stddef.h
; then
29268 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29272 #ifndef __uint8_t_defined
29273 #define __uint8_t_defined
29275 typedef unsigned $acx_cv_type_int8_t uint8_t;
29282 #ifndef __uint16_t_defined
29283 #define __uint16_t_defined
29285 typedef unsigned $acx_cv_type_int16_t uint16_t;
29292 #ifndef __uint32_t_defined
29293 #define __uint32_t_defined
29295 typedef unsigned $acx_cv_type_int32_t uint32_t;
29302 #ifndef __int8_t_defined
29303 #define __int8_t_defined
29305 typedef $acx_cv_type_int8_t int8_t;
29312 #ifndef __int16_t_defined
29313 #define __int16_t_defined
29315 typedef $acx_cv_type_int16_t int16_t;
29322 #ifndef __int32_t_defined
29323 #define __int32_t_defined
29325 typedef $acx_cv_type_int32_t int32_t;
29330 elif test "$ac_cv_type_u_int32_t" = yes; then
29331 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29333 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29346 #ifndef __uint8_t_defined
29347 #define __uint8_t_defined
29349 typedef u_int8_t uint8_t;
29356 #ifndef __uint16_t_defined
29357 #define __uint16_t_defined
29359 typedef u_int16_t uint16_t;
29366 #ifndef __uint32_t_defined
29367 #define __uint32_t_defined
29369 typedef u_int32_t uint32_t;
29375 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29377 /* Some systems have guard macros to prevent redefinitions, define them. */
29399 # ------------- done basic int types, emit int64_t types ------------
29400 if test "$ac_cv_type_uint64_t" = yes; then
29401 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29403 /* system headers have good uint64_t and int64_t */
29411 elif test "$ac_cv_type_u_int64_t" = yes; then
29412 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29414 /* system headers have an u_int64_t (and int64_t) */
29420 #ifndef __uint64_t_defined
29421 #define __uint64_t_defined
29423 typedef u_int64_t uint64_t;
29428 elif test -n "$acx_cv_type_int64_t"; then
29429 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29431 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29435 typedef $acx_cv_type_int64_t int64_t;
29440 #ifndef __uint64_t_defined
29441 #define __uint64_t_defined
29443 typedef unsigned $acx_cv_type_int64_t uint64_t;
29449 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29451 /* some common heuristics for int64_t, using compiler-specific tests */
29452 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29455 #ifndef __int64_t_defined
29457 typedef long long int64_t;
29464 typedef unsigned long long uint64_t;
29468 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29469 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29470 does not implement __extension__. But that compiler doesn't define
29472 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29473 # define __extension__
29479 __extension__ typedef long long int64_t;
29485 __extension__ typedef unsigned long long uint64_t;
29489 #elif !defined __STRICT_ANSI__
29490 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29495 typedef __int64 int64_t;
29501 typedef unsigned __int64 uint64_t;
29504 # endif /* compiler */
29506 #endif /* ANSI version */
29510 # ------------- done int64_t types, emit intptr types ------------
29511 if test "$ac_cv_type_uintptr_t" != yes; then
29512 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29514 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29515 #ifndef __uintptr_t_defined
29517 typedef u$acx_cv_type_intptr_t uintptr_t;
29520 #ifndef __intptr_t_defined
29522 typedef $acx_cv_type_intptr_t intptr_t;
29528 # ------------- done intptr types, emit int_least types ------------
29529 if test "$ac_cv_type_int_least32_t" != yes; then
29530 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29532 /* Define int_least types */
29533 typedef int8_t int_least8_t;
29534 typedef int16_t int_least16_t;
29535 typedef int32_t int_least32_t;
29537 typedef int64_t int_least64_t;
29540 typedef uint8_t uint_least8_t;
29541 typedef uint16_t uint_least16_t;
29542 typedef uint32_t uint_least32_t;
29544 typedef uint64_t uint_least64_t;
29549 # ------------- done intptr types, emit int_fast types ------------
29550 if test "$ac_cv_type_int_fast32_t" != yes; then
29551 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29553 /* Define int_fast types. short is often slow */
29554 typedef int8_t int_fast8_t;
29555 typedef int int_fast16_t;
29556 typedef int32_t int_fast32_t;
29558 typedef int64_t int_fast64_t;
29561 typedef uint8_t uint_fast8_t;
29562 typedef unsigned int uint_fast16_t;
29563 typedef uint32_t uint_fast32_t;
29565 typedef uint64_t uint_fast64_t;
29570 if test "$ac_cv_type_uintmax_t" != yes; then
29571 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29573 /* Define intmax based on what we found */
29576 typedef int64_t intmax_t;
29578 typedef long intmax_t;
29583 typedef uint64_t uintmax_t;
29585 typedef unsigned long uintmax_t;
29591 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29593 #endif /* GCC_GENERATED_STDINT_H */
29596 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29599 mv -f tmp-stdint.h gstdint.h
29610 ac_clean_files
=$ac_clean_files_save
29612 test $ac_write_fail = 0 ||
29613 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29616 # configure is writing to config.log, and then calls config.status.
29617 # config.status does its own redirection, appending to config.log.
29618 # Unfortunately, on DOS this fails, as config.log is still kept open
29619 # by configure, so config.status won't be able to write to it; its
29620 # output is simply discarded. So we exec the FD to /dev/null,
29621 # effectively closing config.log, so it can be properly (re)opened and
29622 # appended to by config.status. When coming back to configure, we
29623 # need to make the FD available again.
29624 if test "$no_create" != yes; then
29626 ac_config_status_args
=
29627 test "$silent" = yes &&
29628 ac_config_status_args
="$ac_config_status_args --quiet"
29630 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29633 # would make configure fail if this is the last instruction.
29634 $ac_cs_success || as_fn_exit $?
29636 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29638 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}