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
616 LIBGFOR_BUILD_QUAD_FALSE
617 LIBGFOR_BUILD_QUAD_TRUE
622 extra_ldflags_libgfortran
650 LIBGFOR_MINIMAL_FALSE
652 LIBGFOR_USE_SYMVER_SUN_FALSE
653 LIBGFOR_USE_SYMVER_SUN_TRUE
654 LIBGFOR_USE_SYMVER_GNU_FALSE
655 LIBGFOR_USE_SYMVER_GNU_TRUE
656 LIBGFOR_USE_SYMVER_FALSE
657 LIBGFOR_USE_SYMVER_TRUE
684 MAINTAINER_MODE_FALSE
694 INSTALL_STRIP_PROGRAM
756 program_transform_name
769 enable_option_checking
771 enable_version_specific_runtime_libs
773 enable_maintainer_mode
775 enable_dependency_tracking
785 enable_libquadmath_support
786 with_gcc_major_version_only
788 ac_precious_vars
='build_alias
801 # Initialize some variables set by options.
803 ac_init_version
=false
804 ac_unrecognized_opts
=
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
815 program_transform_name
=s
,x
,x
,
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir
='${exec_prefix}/bin'
830 sbindir
='${exec_prefix}/sbin'
831 libexecdir
='${exec_prefix}/libexec'
832 datarootdir
='${prefix}/share'
833 datadir
='${datarootdir}'
834 sysconfdir
='${prefix}/etc'
835 sharedstatedir
='${prefix}/com'
836 localstatedir
='${prefix}/var'
837 includedir
='${prefix}/include'
838 oldincludedir
='/usr/include'
839 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir
='${datarootdir}/info'
845 libdir
='${exec_prefix}/lib'
846 localedir
='${datarootdir}/locale'
847 mandir
='${datarootdir}/man'
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\
$ac_option
861 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
871 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
873 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
876 -build |
--build |
--buil |
--bui |
--bu)
877 ac_prev
=build_alias
;;
878 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
879 build_alias
=$ac_optarg ;;
881 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
882 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
883 ac_prev
=cache_file
;;
884 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
885 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
886 cache_file
=$ac_optarg ;;
889 cache_file
=config.cache
;;
891 -datadir |
--datadir |
--datadi |
--datad)
893 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
894 datadir
=$ac_optarg ;;
896 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
897 |
--dataroo |
--dataro |
--datar)
898 ac_prev
=datarootdir
;;
899 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
900 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
901 datarootdir
=$ac_optarg ;;
903 -disable-* |
--disable-*)
904 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
907 as_fn_error
"invalid feature name: $ac_useropt"
908 ac_useropt_orig
=$ac_useropt
909 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
914 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
915 ac_unrecognized_sep
=', ';;
917 eval enable_
$ac_useropt=no
;;
919 -docdir |
--docdir |
--docdi |
--doc |
--do)
921 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
924 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
926 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
929 -enable-* |
--enable-*)
930 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
933 as_fn_error
"invalid feature name: $ac_useropt"
934 ac_useropt_orig
=$ac_useropt
935 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
940 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
941 ac_unrecognized_sep
=', ';;
943 eval enable_
$ac_useropt=\
$ac_optarg ;;
945 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
946 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
947 |
--exec |
--exe |
--ex)
948 ac_prev
=exec_prefix
;;
949 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
950 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
951 |
--exec=* |
--exe=* |
--ex=*)
952 exec_prefix
=$ac_optarg ;;
954 -gas |
--gas |
--ga |
--g)
955 # Obsolete; use --with-gas.
958 -help |
--help |
--hel |
--he |
-h)
960 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
961 ac_init_help
=recursive
;;
962 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
963 ac_init_help
=short
;;
965 -host |
--host |
--hos |
--ho)
966 ac_prev
=host_alias
;;
967 -host=* |
--host=* |
--hos=* |
--ho=*)
968 host_alias
=$ac_optarg ;;
970 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
972 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
974 htmldir
=$ac_optarg ;;
976 -includedir |
--includedir |
--includedi |
--included |
--include \
977 |
--includ |
--inclu |
--incl |
--inc)
978 ac_prev
=includedir
;;
979 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
980 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
981 includedir
=$ac_optarg ;;
983 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
985 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
986 infodir
=$ac_optarg ;;
988 -libdir |
--libdir |
--libdi |
--libd)
990 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
993 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
994 |
--libexe |
--libex |
--libe)
995 ac_prev
=libexecdir
;;
996 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
997 |
--libexe=* |
--libex=* |
--libe=*)
998 libexecdir
=$ac_optarg ;;
1000 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1001 ac_prev
=localedir
;;
1002 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1003 localedir
=$ac_optarg ;;
1005 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1006 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1007 ac_prev
=localstatedir
;;
1008 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1009 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1010 localstatedir
=$ac_optarg ;;
1012 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1014 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1015 mandir
=$ac_optarg ;;
1017 -nfp |
--nfp |
--nf)
1018 # Obsolete; use --without-fp.
1021 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1022 |
--no-cr |
--no-c |
-n)
1025 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1026 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1029 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1030 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1031 |
--oldin |
--oldi |
--old |
--ol |
--o)
1032 ac_prev
=oldincludedir
;;
1033 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1034 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1035 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1036 oldincludedir
=$ac_optarg ;;
1038 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1040 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1041 prefix
=$ac_optarg ;;
1043 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1044 |
--program-pre |
--program-pr |
--program-p)
1045 ac_prev
=program_prefix
;;
1046 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1047 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1048 program_prefix
=$ac_optarg ;;
1050 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1051 |
--program-suf |
--program-su |
--program-s)
1052 ac_prev
=program_suffix
;;
1053 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1054 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1055 program_suffix
=$ac_optarg ;;
1057 -program-transform-name |
--program-transform-name \
1058 |
--program-transform-nam |
--program-transform-na \
1059 |
--program-transform-n |
--program-transform- \
1060 |
--program-transform |
--program-transfor \
1061 |
--program-transfo |
--program-transf \
1062 |
--program-trans |
--program-tran \
1063 |
--progr-tra |
--program-tr |
--program-t)
1064 ac_prev
=program_transform_name
;;
1065 -program-transform-name=* |
--program-transform-name=* \
1066 |
--program-transform-nam=* |
--program-transform-na=* \
1067 |
--program-transform-n=* |
--program-transform-=* \
1068 |
--program-transform=* |
--program-transfor=* \
1069 |
--program-transfo=* |
--program-transf=* \
1070 |
--program-trans=* |
--program-tran=* \
1071 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1072 program_transform_name
=$ac_optarg ;;
1074 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1076 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1077 pdfdir
=$ac_optarg ;;
1079 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1081 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1084 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1085 |
-silent |
--silent |
--silen |
--sile |
--sil)
1088 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1090 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1092 sbindir
=$ac_optarg ;;
1094 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1095 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1096 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1098 ac_prev
=sharedstatedir
;;
1099 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1100 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1101 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1103 sharedstatedir
=$ac_optarg ;;
1105 -site |
--site |
--sit)
1107 -site=* |
--site=* |
--sit=*)
1110 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1112 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1113 srcdir
=$ac_optarg ;;
1115 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1116 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1117 ac_prev
=sysconfdir
;;
1118 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1119 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1120 sysconfdir
=$ac_optarg ;;
1122 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1123 ac_prev
=target_alias
;;
1124 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1125 target_alias
=$ac_optarg ;;
1127 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1130 -version |
--version |
--versio |
--versi |
--vers |
-V)
1131 ac_init_version
=: ;;
1134 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1137 as_fn_error
"invalid package name: $ac_useropt"
1138 ac_useropt_orig
=$ac_useropt
1139 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1145 ac_unrecognized_sep
=', ';;
1147 eval with_
$ac_useropt=\
$ac_optarg ;;
1149 -without-* |
--without-*)
1150 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error
"invalid package name: $ac_useropt"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval with_
$ac_useropt=no
;;
1166 # Obsolete; use --with-x.
1169 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1170 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1171 ac_prev
=x_includes
;;
1172 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1173 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1174 x_includes
=$ac_optarg ;;
1176 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1177 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1178 ac_prev
=x_libraries
;;
1179 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1180 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1181 x_libraries
=$ac_optarg ;;
1183 -*) as_fn_error
"unrecognized option: \`$ac_option'
1184 Try \`$0 --help' for more information."
1188 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1189 # Reject names that are not valid shell variable names.
1190 case $ac_envvar in #(
1191 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1192 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1194 eval $ac_envvar=\
$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1208 if test -n "$ac_prev"; then
1209 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1210 as_fn_error
"missing argument to $ac_option"
1213 if test -n "$ac_unrecognized_opts"; then
1214 case $enable_option_checking in
1216 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1221 # Check all directory arguments for consistency.
1222 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1223 datadir sysconfdir sharedstatedir localstatedir includedir \
1224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1225 libdir localedir mandir
1227 eval ac_val
=\$
$ac_var
1228 # Remove trailing slashes.
1231 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1232 eval $ac_var=\
$ac_val;;
1234 # Be sure to have absolute directory names.
1236 [\\/$
]* | ?
:[\\/]* ) continue;;
1237 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1239 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target
=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x
; then
1251 if test "x$build_alias" = x
; then
1252 cross_compiling
=maybe
1253 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1254 If a cross compiler is detected then cross compile mode will be used." >&2
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error
"working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error
"pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted
=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir
=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted
=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1310 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --program-prefix=PREFIX prepend PREFIX to installed program names
1399 --program-suffix=SUFFIX append SUFFIX to installed program names
1400 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1403 --build=BUILD configure
for building on BUILD
[guessed
]
1404 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1405 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1416 --disable-option-checking ignore unrecognized
--enable/--with options
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --enable-version-specific-runtime-libs
1420 specify that runtime libraries should be installed
1421 in a compiler-specific directory
1422 --enable-intermodule build the library
in one step
1423 --enable-maintainer-mode enable make rules and dependencies not useful
1424 (and sometimes confusing
) to the casual installer
1425 --enable-multilib build many library versions
(default
)
1426 --disable-dependency-tracking speeds up one-time build
1427 --enable-dependency-tracking do not reject slow dependency extractors
1428 --enable-cet enable Intel CET
in target libraries
1430 --disable-symvers disable symbol versioning
for libgfortran
1431 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1432 --enable-static[=PKGS
] build static libraries
[default
=yes]
1433 --enable-fast-install[=PKGS
]
1434 optimize
for fast installation
[default
=yes]
1435 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1436 --disable-largefile omit support
for large files
1437 --disable-libquadmath-support
1438 disable libquadmath support
for Fortran
1441 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1442 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1443 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1444 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1445 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1447 --with-gcc-major-version-only
1448 use only GCC major number
in filesystem paths
1450 Some influential environment variables
:
1451 CC C compiler
command
1452 CFLAGS C compiler flags
1453 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1454 nonstandard directory
<lib dir
>
1455 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1456 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1457 you have headers
in a nonstandard directory
<include dir
>
1459 FC Fortran compiler
command
1460 FCFLAGS Fortran compiler flags
1462 Use these variables to override the choices made by
`configure' or to help
1463 it to find libraries and programs with nonstandard names/locations.
1465 Report bugs to the package provider.
1466 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1467 General help using GNU software: <http://www.gnu.org/gethelp/>.
1472 if test "$ac_init_help" = "recursive"; then
1473 # If there are subdirs, report their specific --help.
1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475 test -d "$ac_dir" ||
1476 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1484 # A ".." for each directory in $ac_dir_suffix.
1485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1486 case $ac_top_builddir_sub in
1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1497 .) # We are building in place.
1499 ac_top_srcdir=$ac_top_builddir_sub
1500 ac_abs_top_srcdir=$ac_pwd ;;
1501 [\\/]* | ?:[\\/]* ) # Absolute name.
1502 ac_srcdir=$srcdir$ac_dir_suffix;
1503 ac_top_srcdir=$srcdir
1504 ac_abs_top_srcdir=$srcdir ;;
1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507 ac_top_srcdir=$ac_top_build_prefix$srcdir
1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512 cd "$ac_dir" || { ac_status=$?; continue; }
1513 # Check for guested configure.
1514 if test -f "$ac_srcdir/configure.gnu"; then
1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517 elif test -f "$ac_srcdir/configure"; then
1519 $SHELL "$ac_srcdir/configure" --help=recursive
1521 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523 cd "$ac_pwd" || { ac_status=$?; break; }
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1530 GNU Fortran Runtime Library configure 0.3
1531 generated by GNU Autoconf 2.64
1533 Copyright (C) 2009 Free Software Foundation, Inc.
1534 This configure script is free software; the Free Software Foundation
1535 gives unlimited permission to copy, distribute and modify it.
1540 ## ------------------------ ##
1541 ## Autoconf initialization. ##
1542 ## ------------------------ ##
1544 # ac_fn_c_try_compile LINENO
1545 # --------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_compile ()
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext
1551 if { { ac_try="$ac_compile"
1553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1554 *) ac_try_echo
=$ac_try;;
1556 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_compile") 2>conftest.err
1560 if test -s conftest.err
; then
1561 grep -v '^ *+' conftest.err
>conftest.er1
1562 cat conftest.er1
>&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest.
$ac_objext; then :
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.
$ac_ext >&5
1577 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1580 } # ac_fn_c_try_compile
1582 # ac_fn_c_try_cpp LINENO
1583 # ----------------------
1584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1587 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1588 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } >/dev/null && {
1604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1619 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1622 # the include files in INCLUDES and setting the cache variable VAR
1624 ac_fn_c_check_header_mongrel ()
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1631 $as_echo_n "(cached) " >&6
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1637 # Is the header compilable?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1639 $as_echo_n "checking $2 usability... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1645 if ac_fn_c_try_compile "$LINENO"; then :
1646 ac_header_compiler=yes
1648 ac_header_compiler=no
1650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1652 $as_echo "$ac_header_compiler" >&6; }
1654 # Is the header present?
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1656 $as_echo_n "checking $2 presence... " >&6; }
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1661 if ac_fn_c_try_cpp "$LINENO"; then :
1662 ac_header_preproc=yes
1664 ac_header_preproc=no
1666 rm -f conftest.err conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1668 $as_echo "$ac_header_preproc" >&6; }
1670 # So? What about this header?
1671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1674 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1680 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1682 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1684 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1686 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1694 $as_echo_n "(cached) " >&6
1696 eval "$3=\$ac_header_compiler"
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700 $as_echo "$ac_res" >&6; }
1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704 } # ac_fn_c_check_header_mongrel
1706 # ac_fn_c_try_run LINENO
1707 # ----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1709 # that executables *can* be run.
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 if { { ac_try="$ac_link"
1715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1716 *) ac_try_echo
=$ac_try;;
1718 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1724 { { case "(($ac_try" in
1725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_try") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; }; }; then :
1736 $as_echo "$as_me: program exited with status $ac_status" >&5
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1740 ac_retval=$ac_status
1742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 # -------------------------------------------------------
1750 # Tests whether HEADER exists and can be compiled using the include files in
1751 # INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1758 $as_echo_n "(cached) " >&6
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1765 if ac_fn_c_try_compile "$LINENO"; then :
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777 } # ac_fn_c_check_header_compile
1779 # ac_fn_c_try_link LINENO
1780 # -----------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 rm -f conftest.$ac_objext conftest$ac_exeext
1786 if { { ac_try="$ac_link"
1788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1789 *) ac_try_echo
=$ac_try;;
1791 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>conftest.err
1795 if test -s conftest.err
; then
1796 grep -v '^ *+' conftest.err
>conftest.er1
1797 cat conftest.er1
>&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest
$ac_exeext && {
1805 test "$cross_compiling" = yes ||
1806 $as_test_x conftest
$ac_exeext
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.
$ac_ext >&5
1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817 # interfere with the next link command; also delete a directory that is
1818 # left behind by Apple's compiler. We do this before executing the actions.
1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1823 } # ac_fn_c_try_link
1825 # ac_fn_c_check_func LINENO FUNC VAR
1826 # ----------------------------------
1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1828 ac_fn_c_check_func
()
1830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1834 $as_echo_n "(cached) " >&6
1836 if test x
$gcc_no_link = xyes
; then
1837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h. */
1841 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1843 #define $2 innocuous_$2
1845 /* System header to define __stub macros and hopefully few prototypes,
1846 which can conflict with char $2 (); below.
1847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1848 <limits.h> exists even on freestanding compilers. */
1851 # include <limits.h>
1853 # include <assert.h>
1858 /* Override any GCC internal prototype to avoid an error.
1859 Use char because int might match the return type of a GCC
1860 builtin and then its argument prototype would still apply. */
1865 /* The GNU C library defines this for functions which it implements
1866 to always fail with ENOSYS. Some functions are actually named
1867 something starting with __ and the normal name is an alias. */
1868 #if defined __stub_$2 || defined __stub___$2
1880 if ac_fn_c_try_link
"$LINENO"; then :
1885 rm -f core conftest.err conftest.
$ac_objext \
1886 conftest
$ac_exeext conftest.
$ac_ext
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1891 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1893 } # ac_fn_c_check_func
1895 # ac_fn_fc_try_compile LINENO
1896 # ---------------------------
1897 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1898 ac_fn_fc_try_compile
()
1900 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1901 rm -f conftest.
$ac_objext
1902 if { { ac_try
="$ac_compile"
1904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1905 *) ac_try_echo=$ac_try;;
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908 $as_echo "$ac_try_echo"; } >&5
1909 (eval "$ac_compile") 2>conftest.err
1911 if test -s conftest.err; then
1912 grep -v '^ *+' conftest.err >conftest.er1
1913 cat conftest.er1 >&5
1914 mv -f conftest.er1 conftest.err
1916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1917 test $ac_status = 0; } && {
1918 test -z "$ac_fc_werror_flag" ||
1919 test ! -s conftest.err
1920 } && test -s conftest.$ac_objext; then :
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.$ac_ext >&5
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1931 } # ac_fn_fc_try_compile
1933 # ac_fn_fc_try_link LINENO
1934 # ------------------------
1935 # Try to link conftest.$ac_ext, and return whether this succeeded.
1936 ac_fn_fc_try_link ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 rm -f conftest.$ac_objext conftest$ac_exeext
1940 if { { ac_try="$ac_link"
1942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1943 *) ac_try_echo
=$ac_try;;
1945 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947 (eval "$ac_link") 2>conftest.err
1949 if test -s conftest.err
; then
1950 grep -v '^ *+' conftest.err
>conftest.er1
1951 cat conftest.er1
>&5
1952 mv -f conftest.er1 conftest.err
1954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955 test $ac_status = 0; } && {
1956 test -z "$ac_fc_werror_flag" ||
1957 test ! -s conftest.err
1958 } && test -s conftest
$ac_exeext && {
1959 test "$cross_compiling" = yes ||
1960 $as_test_x conftest
$ac_exeext
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.
$ac_ext >&5
1969 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1970 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1971 # interfere with the next link command; also delete a directory that is
1972 # left behind by Apple's compiler. We do this before executing the actions.
1973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1974 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1977 } # ac_fn_fc_try_link
1979 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1980 # -------------------------------------------
1981 # Tests whether TYPE exists after having included INCLUDES, setting cache
1982 # variable VAR accordingly.
1983 ac_fn_c_check_type
()
1985 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1989 $as_echo_n "(cached) " >&6
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
2004 if ac_fn_c_try_compile
"$LINENO"; then :
2005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2017 if ac_fn_c_try_compile
"$LINENO"; then :
2022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2029 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2031 } # ac_fn_c_check_type
2033 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2034 # --------------------------------------------
2035 # Tries to find the compile-time value of EXPR in a program that includes
2036 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2038 ac_fn_c_compute_int
()
2040 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2041 if test "$cross_compiling" = yes; then
2042 # Depending upon the size, compute the lo and hi bounds.
2043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2049 static int test_array [1 - 2 * !(($2) >= 0)];
2056 if ac_fn_c_try_compile
"$LINENO"; then :
2059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2072 if ac_fn_c_try_compile
"$LINENO"; then :
2073 ac_hi
=$ac_mid; break
2075 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2076 if test $ac_lo -le $ac_mid; then
2080 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2091 static int test_array [1 - 2 * !(($2) < 0)];
2098 if ac_fn_c_try_compile
"$LINENO"; then :
2101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2107 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2114 if ac_fn_c_try_compile
"$LINENO"; then :
2115 ac_lo
=$ac_mid; break
2117 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2118 if test $ac_mid -le $ac_hi; then
2122 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2132 # Binary search between lo and hi bounds.
2133 while test "x$ac_lo" != "x$ac_hi"; do
2134 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2141 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2148 if ac_fn_c_try_compile
"$LINENO"; then :
2151 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2156 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2163 static long int longval () { return $2; }
2164 static unsigned long int ulongval () { return $2; }
2171 FILE *f = fopen ("conftest.val", "w");
2176 long int i = longval ();
2179 fprintf (f, "%ld", i);
2183 unsigned long int i = ulongval ();
2186 fprintf (f, "%lu", i);
2188 /* Do not output a trailing newline, as this causes \r\n confusion
2189 on some platforms. */
2190 return ferror (f) || fclose (f) != 0;
2196 if ac_fn_c_try_run
"$LINENO"; then :
2197 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2201 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2202 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2206 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2209 } # ac_fn_c_compute_int
2211 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2212 # ----------------------------------------------------
2213 # Tries to find if the field MEMBER exists in type AGGR, after including
2214 # INCLUDES, setting cache variable VAR accordingly.
2215 ac_fn_c_check_member
()
2217 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2219 $as_echo_n "checking for $2.$3... " >&6; }
2220 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2221 $as_echo_n "(cached) " >&6
2223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2236 if ac_fn_c_try_compile
"$LINENO"; then :
2239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2246 if (sizeof ac_aggr.$3)
2252 if ac_fn_c_try_compile
"$LINENO"; then :
2257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2263 $as_echo "$ac_res" >&6; }
2264 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2266 } # ac_fn_c_check_member
2267 cat >config.log
<<_ACEOF
2268 This file contains any messages produced by compilers while
2269 running configure, to aid debugging if configure makes a mistake.
2271 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2272 generated by GNU Autoconf 2.64. Invocation command line was
2284 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2285 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2286 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2287 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2288 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2290 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2291 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2293 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2294 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2295 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2296 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2297 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2298 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2299 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir
=.
2308 $as_echo "PATH: $as_dir"
2324 # Keep a trace of the command line.
2325 # Strip out --no-create and --no-recursion so they do not pile up.
2326 # Strip out --silent because we don't want to record it for future runs.
2327 # Also quote any args containing shell meta-characters.
2328 # Make two passes to allow for proper duplicate-argument suppression.
2332 ac_must_keep_next
=false
2338 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2339 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2340 |
-silent |
--silent |
--silen |
--sile |
--sil)
2343 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2346 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2348 as_fn_append ac_configure_args1
" '$ac_arg'"
2349 if test $ac_must_keep_next = true
; then
2350 ac_must_keep_next
=false
# Got value, back to normal.
2353 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2354 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2355 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2356 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2357 case "$ac_configure_args0 " in
2358 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2361 -* ) ac_must_keep_next
=true
;;
2364 as_fn_append ac_configure_args
" '$ac_arg'"
2369 { ac_configure_args0
=; unset ac_configure_args0
;}
2370 { ac_configure_args1
=; unset ac_configure_args1
;}
2372 # When interrupted or exit'd, cleanup temporary files, and complete
2373 # config.log. We remove comments because anyway the quotes in there
2374 # would cause problems or look ugly.
2375 # WARNING: Use '\'' to represent an apostrophe within the trap.
2376 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2377 trap 'exit_status=$?
2378 # Save into config.log some information that might help in debugging.
2383 ## ---------------- ##
2384 ## Cache variables. ##
2385 ## ---------------- ##
2388 # The following way of writing the cache mishandles newlines in values,
2390 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2391 eval ac_val=\$$ac_var
2395 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2399 _ | IFS | as_nl) ;; #(
2400 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2401 *) { eval $ac_var=; unset $ac_var;} ;;
2406 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2407 *${as_nl}ac_space=\ *)
2409 "s/'\''/'\''\\\\'\'''\''/g;
2410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2421 ## ----------------- ##
2422 ## Output variables. ##
2423 ## ----------------- ##
2426 for ac_var in $ac_subst_vars
2428 eval ac_val=\$$ac_var
2430 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432 $as_echo "$ac_var='\''$ac_val'\''"
2436 if test -n "$ac_subst_files"; then
2438 ## ------------------- ##
2439 ## File substitutions. ##
2440 ## ------------------- ##
2443 for ac_var
in $ac_subst_files
2445 eval ac_val
=\$
$ac_var
2447 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2449 $as_echo "$ac_var='\''$ac_val'\''"
2454 if test -s confdefs.h; then
2464 test "$ac_signal" != 0 &&
2465 $as_echo "$as_me: caught signal $ac_signal"
2466 $as_echo "$as_me: exit $exit_status"
2468 rm -f core *.core core.conftest.* &&
2469 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2472 for ac_signal
in 1 2 13 15; do
2473 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2477 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2478 rm -f -r conftest
* confdefs.h
2480 $as_echo "/* confdefs.h */" > confdefs.h
2482 # Predefined preprocessor variables.
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_NAME "$PACKAGE_NAME"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2496 cat >>confdefs.h
<<_ACEOF
2497 #define PACKAGE_STRING "$PACKAGE_STRING"
2500 cat >>confdefs.h
<<_ACEOF
2501 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2504 cat >>confdefs.h
<<_ACEOF
2505 #define PACKAGE_URL "$PACKAGE_URL"
2509 # Let the site file select an alternate cache file if it wants to.
2510 # Prefer an explicitly selected file to automatically selected ones.
2513 if test -n "$CONFIG_SITE"; then
2514 ac_site_file1
=$CONFIG_SITE
2515 elif test "x$prefix" != xNONE
; then
2516 ac_site_file1
=$prefix/share
/config.site
2517 ac_site_file2
=$prefix/etc
/config.site
2519 ac_site_file1
=$ac_default_prefix/share
/config.site
2520 ac_site_file2
=$ac_default_prefix/etc
/config.site
2522 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2524 test "x$ac_site_file" = xNONE
&& continue
2525 if test -r "$ac_site_file"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2527 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2528 sed 's/^/| /' "$ac_site_file" >&5
2533 if test -r "$cache_file"; then
2534 # Some versions of bash will fail to source /dev/null (special
2535 # files actually), so we avoid doing that.
2536 if test -f "$cache_file"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2538 $as_echo "$as_me: loading cache $cache_file" >&6;}
2540 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2541 *) .
"./$cache_file";;
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2546 $as_echo "$as_me: creating cache $cache_file" >&6;}
2550 as_fn_append ac_header_list
" unistd.h"
2551 as_fn_append ac_header_list
" sys/time.h"
2552 as_fn_append ac_header_list
" sys/times.h"
2553 as_fn_append ac_header_list
" sys/resource.h"
2554 as_fn_append ac_header_list
" sys/types.h"
2555 as_fn_append ac_header_list
" sys/stat.h"
2556 as_fn_append ac_header_list
" sys/wait.h"
2557 as_fn_append ac_header_list
" floatingpoint.h"
2558 as_fn_append ac_header_list
" ieeefp.h"
2559 as_fn_append ac_header_list
" fenv.h"
2560 as_fn_append ac_header_list
" fptrap.h"
2561 as_fn_append ac_header_list
" fpxcp.h"
2562 as_fn_append ac_header_list
" pwd.h"
2563 as_fn_append ac_header_list
" complex.h"
2564 as_fn_append ac_header_list
" xlocale.h"
2565 as_fn_append ac_func_list
" getrusage"
2566 as_fn_append ac_func_list
" times"
2567 as_fn_append ac_func_list
" mkstemp"
2568 as_fn_append ac_func_list
" strtof"
2569 as_fn_append ac_func_list
" strtold"
2570 as_fn_append ac_func_list
" snprintf"
2571 as_fn_append ac_func_list
" ftruncate"
2572 as_fn_append ac_func_list
" chsize"
2573 as_fn_append ac_func_list
" chdir"
2574 as_fn_append ac_func_list
" getlogin"
2575 as_fn_append ac_func_list
" gethostname"
2576 as_fn_append ac_func_list
" kill"
2577 as_fn_append ac_func_list
" link"
2578 as_fn_append ac_func_list
" symlink"
2579 as_fn_append ac_func_list
" sleep"
2580 as_fn_append ac_func_list
" ttyname"
2581 as_fn_append ac_func_list
" alarm"
2582 as_fn_append ac_func_list
" access"
2583 as_fn_append ac_func_list
" fork"
2584 as_fn_append ac_func_list
" setmode"
2585 as_fn_append ac_func_list
" fcntl"
2586 as_fn_append ac_func_list
" gettimeofday"
2587 as_fn_append ac_func_list
" stat"
2588 as_fn_append ac_func_list
" fstat"
2589 as_fn_append ac_func_list
" lstat"
2590 as_fn_append ac_func_list
" getpwuid"
2591 as_fn_append ac_func_list
" vsnprintf"
2592 as_fn_append ac_func_list
" dup"
2593 as_fn_append ac_func_list
" getcwd"
2594 as_fn_append ac_func_list
" localtime_r"
2595 as_fn_append ac_func_list
" gmtime_r"
2596 as_fn_append ac_func_list
" getpwuid_r"
2597 as_fn_append ac_func_list
" ttyname_r"
2598 as_fn_append ac_func_list
" clock_gettime"
2599 as_fn_append ac_func_list
" getgid"
2600 as_fn_append ac_func_list
" getpid"
2601 as_fn_append ac_func_list
" getuid"
2602 as_fn_append ac_func_list
" geteuid"
2603 as_fn_append ac_func_list
" umask"
2604 as_fn_append ac_func_list
" getegid"
2605 as_fn_append ac_func_list
" secure_getenv"
2606 as_fn_append ac_func_list
" __secure_getenv"
2607 as_fn_append ac_func_list
" mkostemp"
2608 as_fn_append ac_func_list
" strnlen"
2609 as_fn_append ac_func_list
" strndup"
2610 as_fn_append ac_func_list
" newlocale"
2611 as_fn_append ac_func_list
" freelocale"
2612 as_fn_append ac_func_list
" uselocale"
2613 as_fn_append ac_func_list
" strerror_l"
2614 as_fn_append ac_header_list
" math.h"
2615 # Check that the precious variables saved in the cache have kept the same
2617 ac_cache_corrupted
=false
2618 for ac_var
in $ac_precious_vars; do
2619 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2620 eval ac_new_set
=\
$ac_env_${ac_var}_set
2621 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2622 eval ac_new_val
=\
$ac_env_${ac_var}_value
2623 case $ac_old_set,$ac_new_set in
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2626 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2627 ac_cache_corrupted
=: ;;
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2630 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2631 ac_cache_corrupted
=: ;;
2634 if test "x$ac_old_val" != "x$ac_new_val"; then
2635 # differences in whitespace do not lead to failure.
2636 ac_old_val_w
=`echo x $ac_old_val`
2637 ac_new_val_w
=`echo x $ac_new_val`
2638 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2640 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2641 ac_cache_corrupted
=:
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2644 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2645 eval $ac_var=\
$ac_old_val
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2648 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2650 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2653 # Pass precious variables to config.status.
2654 if test "$ac_new_set" = set; then
2656 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2657 *) ac_arg
=$ac_var=$ac_new_val ;;
2659 case " $ac_configure_args " in
2660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2661 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2665 if $ac_cache_corrupted; then
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2669 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2670 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2672 ## -------------------- ##
2673 ## Main body of script. ##
2674 ## -------------------- ##
2677 ac_cpp
='$CPP $CPPFLAGS'
2678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2686 ac_config_headers
="$ac_config_headers config.h"
2689 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2690 for ac_t
in install-sh
install.sh shtool
; do
2691 if test -f "$ac_dir/$ac_t"; then
2693 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2698 if test -z "$ac_aux_dir"; then
2699 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2702 # These three variables are undocumented and unsupported,
2703 # and are intended to be withdrawn in a future Autoconf release.
2704 # They can cause serious problems if a builder's source tree is in a directory
2705 # whose full name contains unusual characters.
2706 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2707 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2708 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2711 # Make sure we can run config.sub.
2712 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2713 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2716 $as_echo_n "checking build system type... " >&6; }
2717 if test "${ac_cv_build+set}" = set; then :
2718 $as_echo_n "(cached) " >&6
2720 ac_build_alias
=$build_alias
2721 test "x$ac_build_alias" = x
&&
2722 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2723 test "x$ac_build_alias" = x
&&
2724 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2725 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2726 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2730 $as_echo "$ac_cv_build" >&6; }
2731 case $ac_cv_build in
2733 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2736 ac_save_IFS
=$IFS; IFS
='-'
2742 # Remember, the first character of IFS is used to create $*,
2743 # except with old shells:
2746 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2749 case ${build_alias} in
2750 "") build_noncanonical
=${build} ;;
2751 *) build_noncanonical
=${build_alias} ;;
2754 case ${host_alias} in
2755 "") host_noncanonical
=${build_noncanonical} ;;
2756 *) host_noncanonical
=${host_alias} ;;
2759 case ${target_alias} in
2760 "") target_noncanonical
=${host_noncanonical} ;;
2761 *) target_noncanonical
=${target_alias} ;;
2765 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2766 # have matching libraries, they should use host libraries: Makefile.tpl
2767 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2768 # However, they still use the build modules, because the corresponding
2769 # host modules (e.g. bison) are only built for the host when bootstrap
2771 # - build_subdir is where we find build modules, and never changes.
2772 # - build_libsubdir is where we find build libraries, and can be overridden.
2774 # Prefix 'build-' so this never conflicts with target_subdir.
2775 build_subdir
="build-${build_noncanonical}"
2777 # Check whether --with-build-libsubdir was given.
2778 if test "${with_build_libsubdir+set}" = set; then :
2779 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2781 build_libsubdir
="$build_subdir"
2784 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2785 if ( test $srcdir = .
&& test -d gcc
) \
2786 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2787 host_subdir
="host-${host_noncanonical}"
2792 target_subdir
=${target_noncanonical}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2800 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2801 # Check whether --enable-version-specific-runtime-libs was given.
2802 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2803 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2804 yes) version_specific_libs
=yes ;;
2805 no
) version_specific_libs
=no
;;
2806 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2809 version_specific_libs
=no
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2813 $as_echo "$version_specific_libs" >&6; }
2815 # Build with intermodule optimisations
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2817 $as_echo_n "checking for --enable-intermodule... " >&6; }
2818 # Check whether --enable-intermodule was given.
2819 if test "${enable_intermodule+set}" = set; then :
2820 enableval
=$enable_intermodule; case "$enable_intermodule" in
2821 yes) onestep
="-onestep";;
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2829 $as_echo "$enable_intermodule" >&6; }
2830 if test x
$onestep = x-onestep
; then
2840 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2842 # You will slowly go insane if you do not grok the following fact: when
2843 # building this library, the top-level /target/ becomes the library's /host/.
2845 # configure then causes --target to default to --host, exactly like any
2846 # other package using autoconf. Therefore, 'target' and 'host' will
2847 # always be the same. This makes sense both for native and cross compilers
2848 # just think about it for a little while. :-)
2850 # Also, if this library is being configured as part of a cross compiler, the
2851 # top-level configure script will pass the "real" host as $with_cross_host.
2853 # Do not delete or change the following two lines. For why, see
2854 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2856 $as_echo_n "checking host system type... " >&6; }
2857 if test "${ac_cv_host+set}" = set; then :
2858 $as_echo_n "(cached) " >&6
2860 if test "x$host_alias" = x
; then
2861 ac_cv_host
=$ac_cv_build
2863 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2864 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2869 $as_echo "$ac_cv_host" >&6; }
2872 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2875 ac_save_IFS
=$IFS; IFS
='-'
2881 # Remember, the first character of IFS is used to create $*,
2882 # except with old shells:
2885 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2889 $as_echo_n "checking target system type... " >&6; }
2890 if test "${ac_cv_target+set}" = set; then :
2891 $as_echo_n "(cached) " >&6
2893 if test "x$target_alias" = x
; then
2894 ac_cv_target
=$ac_cv_host
2896 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2897 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2902 $as_echo "$ac_cv_target" >&6; }
2903 case $ac_cv_target in
2905 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2907 target
=$ac_cv_target
2908 ac_save_IFS
=$IFS; IFS
='-'
2914 # Remember, the first character of IFS is used to create $*,
2915 # except with old shells:
2918 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2921 # The aliases save the names the user supplied, while $host etc.
2922 # will get canonicalized.
2923 test -n "$target_alias" &&
2924 test "$program_prefix$program_suffix$program_transform_name" = \
2926 program_prefix
=${target_alias}-
2931 target_alias
=${target_alias-$host_alias}
2934 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2935 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2936 # 1.9.6: minimum required version
2937 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2938 # of other PACKAGE_* variables will, however, and there's nothing
2939 # we can do about that; they come from AC_INIT).
2940 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2941 # file in the top srcdir, etc, etc), so stop complaining.
2942 # no-dist: we don't want 'dist' and related rules.
2943 # -Wall: turns on all automake warnings...
2944 # -Wno-portability: ...except this one, since GNU make is required.
2945 am__api_version
='1.11'
2947 # Find a good install program. We prefer a C program (faster),
2948 # so one script is as good as another. But avoid the broken or
2949 # incompatible versions:
2950 # SysV /etc/install, /usr/sbin/install
2951 # SunOS /usr/etc/install
2952 # IRIX /sbin/install
2954 # AmigaOS /C/install, which installs bootblocks on floppy discs
2955 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2956 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2957 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2958 # OS/2's system install, which has a completely different semantic
2959 # ./install, which can be erroneously created by make from ./install.sh.
2960 # Reject install programs that cannot install multiple files.
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2962 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2963 if test -z "$INSTALL"; then
2964 if test "${ac_cv_path_install+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir
=.
2972 # Account for people who put trailing slashes in PATH elements.
2973 case $as_dir/ in #((
2974 .
/ | .
// |
/[cC
]/* | \
2975 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2976 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2979 # OSF1 and SCO ODT 3.0 have their own names for install.
2980 # Don't use installbsd from OSF since it installs stuff as root
2982 for ac_prog
in ginstall scoinst
install; do
2983 for ac_exec_ext
in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2985 if test $ac_prog = install &&
2986 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2987 # AIX install. It has an incompatible calling convention.
2989 elif test $ac_prog = install &&
2990 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2991 # program-specific install script used by HP pwplus--don't use.
2994 rm -rf conftest.one conftest.two conftest.dir
2995 echo one
> conftest.one
2996 echo two
> conftest.two
2998 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2999 test -s conftest.one
&& test -s conftest.two
&&
3000 test -s conftest.dir
/conftest.one
&&
3001 test -s conftest.dir
/conftest.two
3003 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3016 rm -rf conftest.one conftest.two conftest.dir
3019 if test "${ac_cv_path_install+set}" = set; then
3020 INSTALL
=$ac_cv_path_install
3022 # As a last resort, use the slow shell script. Don't cache a
3023 # value for INSTALL within a source directory, because that will
3024 # break other packages using the cache if that directory is
3025 # removed, or if the value is a relative name.
3026 INSTALL
=$ac_install_sh
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3030 $as_echo "$INSTALL" >&6; }
3032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3033 # It thinks the first close brace ends the variable substitution.
3034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3038 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3041 $as_echo_n "checking whether build environment is sane... " >&6; }
3044 echo timestamp
> conftest.
file
3045 # Reject unsafe characters in $srcdir or the absolute working directory
3046 # name. Accept space and tab only in the latter.
3050 *[\\\"\
#\$\&\'\`$am_lf]*)
3051 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3054 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3055 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3058 # Do `set' in a subshell so we don't clobber the current shell's
3059 # arguments. Must try -L first in case configure is actually a
3060 # symlink; some systems play weird games with the mod time of symlinks
3061 # (eg FreeBSD returns the mod time of the symlink's containing
3064 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3065 if test "$*" = "X"; then
3067 set X
`ls -t "$srcdir/configure" conftest.file`
3070 if test "$*" != "X $srcdir/configure conftest.file" \
3071 && test "$*" != "X conftest.file $srcdir/configure"; then
3073 # If neither matched, then we have a broken ls. This can happen
3074 # if, for instance, CONFIG_SHELL is bash and it inherits a
3075 # broken ls alias from the environment. This has actually
3076 # happened. Such a system could not be considered "sane".
3077 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3078 alias in your environment" "$LINENO" 5
3081 test "$2" = conftest.
file
3087 as_fn_error
"newly created file is older than distributed files!
3088 Check your system clock" "$LINENO" 5
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3091 $as_echo "yes" >&6; }
3092 test "$program_prefix" != NONE
&&
3093 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3094 # Use a double $ so make ignores it.
3095 test "$program_suffix" != NONE
&&
3096 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3097 # Double any \ or $.
3098 # By default was `s,x,x', remove it if useless.
3099 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3100 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3102 # expand $ac_aux_dir to an absolute path
3103 am_aux_dir
=`cd $ac_aux_dir && pwd`
3105 if test x
"${MISSING+set}" != xset
; then
3108 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3110 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3113 # Use eval to expand $SHELL
3114 if eval "$MISSING --run true"; then
3115 am_missing_run
="$MISSING --run "
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3119 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3122 if test x
"${install_sh}" != xset
; then
3125 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3127 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3131 # Installed binaries are usually stripped using `strip' when the user
3132 # run `make install-strip'. However `strip' might not be the right
3133 # tool to use in cross-compilation environments, therefore Automake
3134 # will honor the `STRIP' environment variable to overrule this program.
3135 if test "$cross_compiling" != no
; then
3136 if test -n "$ac_tool_prefix"; then
3137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3138 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if test "${ac_cv_prog_STRIP+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$STRIP"; then
3145 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 STRIP
=$ac_cv_prog_STRIP
3165 if test -n "$STRIP"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3167 $as_echo "$STRIP" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3175 if test -z "$ac_cv_prog_STRIP"; then
3177 # Extract the first word of "strip", so it can be a program name with args.
3178 set dummy strip
; ac_word
=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$ac_ct_STRIP"; then
3185 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir
=.
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3194 ac_cv_prog_ac_ct_STRIP
="strip"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3205 if test -n "$ac_ct_STRIP"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3207 $as_echo "$ac_ct_STRIP" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3213 if test "x$ac_ct_STRIP" = x
; then
3216 case $cross_compiling:$ac_tool_warned in
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220 ac_tool_warned
=yes ;;
3225 STRIP
="$ac_cv_prog_STRIP"
3229 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3232 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3233 if test -z "$MKDIR_P"; then
3234 if test "${ac_cv_path_mkdir+set}" = set; then :
3235 $as_echo_n "(cached) " >&6
3237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3241 test -z "$as_dir" && as_dir
=.
3242 for ac_prog
in mkdir gmkdir
; do
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3245 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3246 'mkdir (GNU coreutils) '* | \
3247 'mkdir (coreutils) '* | \
3248 'mkdir (fileutils) '4.1*)
3249 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3259 if test "${ac_cv_path_mkdir+set}" = set; then
3260 MKDIR_P
="$ac_cv_path_mkdir -p"
3262 # As a last resort, use the slow shell script. Don't cache a
3263 # value for MKDIR_P within a source directory, because that will
3264 # break other packages using the cache if that directory is
3265 # removed, or if the value is a relative name.
3266 test -d .
/--version && rmdir .
/--version
3267 MKDIR_P
="$ac_install_sh -d"
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3271 $as_echo "$MKDIR_P" >&6; }
3275 [\\/$
]* | ?
:[\\/]*) ;;
3276 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3279 for ac_prog
in gawk mawk nawk
awk
3281 # Extract the first word of "$ac_prog", so it can be a program name with args.
3282 set dummy
$ac_prog; ac_word
=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if test "${ac_cv_prog_AWK+set}" = set; then :
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$AWK"; then
3289 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3298 ac_cv_prog_AWK
="$ac_prog"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 if test -n "$AWK"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3311 $as_echo "$AWK" >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3318 test -n "$AWK" && break
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3324 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3325 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3326 $as_echo_n "(cached) " >&6
3328 cat >conftest.
make <<\_ACEOF
3331 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3333 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3336 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3338 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3342 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3344 $as_echo "yes" >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3349 SET_MAKE
="MAKE=${MAKE-make}"
3352 rm -rf .tst
2>/dev
/null
3353 mkdir .tst
2>/dev
/null
3354 if test -d .tst
; then
3359 rmdir .tst
2>/dev
/null
3361 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3362 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3363 # is not polluted with repeated "-I."
3364 am__isrc
=' -I$(srcdir)'
3365 # test to see if srcdir already configured
3366 if test -f $srcdir/config.status
; then
3367 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3371 # test whether we have cygpath
3372 if test -z "$CYGPATH_W"; then
3373 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3374 CYGPATH_W
='cygpath -w'
3381 # Define the identity of the package.
3382 PACKAGE
='libgfortran'
3386 # Some tools Automake needs.
3388 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3391 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3394 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3397 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3400 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3402 # We need awk for the "check" target. The system "awk" is bad on
3404 # Always define AMTAR for backward compatibility. Yes, it's still used
3405 # in the wild :-( We should find a proper way to deprecate it ...
3408 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3417 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3418 # Check whether --enable-maintainer-mode was given.
3419 if test "${enable_maintainer_mode+set}" = set; then :
3420 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3422 USE_MAINTAINER_MODE
=no
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3426 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3427 if test $USE_MAINTAINER_MODE = yes; then
3428 MAINTAINER_MODE_TRUE
=
3429 MAINTAINER_MODE_FALSE
='#'
3431 MAINTAINER_MODE_TRUE
='#'
3432 MAINTAINER_MODE_FALSE
=
3435 MAINT
=$MAINTAINER_MODE_TRUE
3438 # Default to --enable-multilib
3439 # Check whether --enable-multilib was given.
3440 if test "${enable_multilib+set}" = set; then :
3441 enableval
=$enable_multilib; case "$enableval" in
3442 yes) multilib
=yes ;;
3444 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3451 # We may get other options which we leave undocumented:
3452 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3453 # See config-ml.in if you want the gory details.
3455 if test "$srcdir" = "."; then
3456 if test "$with_target_subdir" != "."; then
3457 multi_basedir
="$srcdir/$with_multisrctop../.."
3459 multi_basedir
="$srcdir/$with_multisrctop.."
3462 multi_basedir
="$srcdir/.."
3466 # Even if the default multilib is not a cross compilation,
3467 # it may be that some of the other multilibs are.
3468 if test $cross_compiling = no
&& test $multilib = yes \
3469 && test "x${with_multisubdir}" != x
; then
3470 cross_compiling
=maybe
3473 ac_config_commands
="$ac_config_commands default-1"
3476 # Handy for debugging:
3477 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3479 # Are we being configured with some form of cross compiler?
3480 # NB: We don't actually need to know this just now, but when, say, a test
3481 # suite is included, we'll have to know.
3482 if test "$build" != "$host"; then
3483 LIBGFOR_IS_NATIVE
=false
3486 LIBGFOR_IS_NATIVE
=true
3489 DEPDIR
="${am__leading_dot}deps"
3491 ac_config_commands
="$ac_config_commands depfiles"
3494 am_make
=${MAKE-make}
3495 cat > confinc
<< 'END'
3497 @
echo this is the am__doit target
3500 # If we don't find an include directive, just comment out the code.
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3502 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3506 # First try GNU make style include.
3507 echo "include confinc" > confmf
3508 # Ignore all kinds of additional output from `make'.
3509 case `$am_make -s -f confmf 2> /dev/null` in #(
3510 *the\ am__doit\ target
*)
3516 # Now try BSD make style include.
3517 if test "$am__include" = "#"; then
3518 echo '.include "confinc"' > confmf
3519 case `$am_make -s -f confmf 2> /dev/null` in #(
3520 *the\ am__doit\ target
*)
3521 am__include
=.include
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3530 $as_echo "$_am_result" >&6; }
3531 rm -f confinc confmf
3533 # Check whether --enable-dependency-tracking was given.
3534 if test "${enable_dependency_tracking+set}" = set; then :
3535 enableval
=$enable_dependency_tracking;
3538 if test "x$enable_dependency_tracking" != xno
; then
3539 am_depcomp
="$ac_aux_dir/depcomp"
3543 if test "x$enable_dependency_tracking" != xno; then
3553 ac_cpp
='$CPP $CPPFLAGS'
3554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3557 if test -n "$ac_tool_prefix"; then
3558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3559 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if test "${ac_cv_prog_CC+set}" = set; then :
3563 $as_echo_n "(cached) " >&6
3565 if test -n "$CC"; then
3566 ac_cv_prog_CC
="$CC" # Let the user override the test.
3568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3572 test -z "$as_dir" && as_dir
=.
3573 for ac_exec_ext
in '' $ac_executable_extensions; do
3574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3575 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 if test -n "$CC"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3588 $as_echo "$CC" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3596 if test -z "$ac_cv_prog_CC"; then
3598 # Extract the first word of "gcc", so it can be a program name with args.
3599 set dummy gcc
; ac_word
=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$ac_ct_CC"; then
3606 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3615 ac_cv_prog_ac_ct_CC
="gcc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3626 if test -n "$ac_ct_CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3628 $as_echo "$ac_ct_CC" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3634 if test "x$ac_ct_CC" = x
; then
3637 case $cross_compiling:$ac_tool_warned in
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3641 ac_tool_warned
=yes ;;
3649 if test -z "$CC"; then
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3652 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if test "${ac_cv_prog_CC+set}" = set; then :
3656 $as_echo_n "(cached) " >&6
3658 if test -n "$CC"; then
3659 ac_cv_prog_CC
="$CC" # Let the user override the test.
3661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir
=.
3666 for ac_exec_ext
in '' $ac_executable_extensions; do
3667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3668 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 if test -n "$CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3690 if test -z "$CC"; then
3691 # Extract the first word of "cc", so it can be a program name with args.
3692 set dummy cc
; ac_word
=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if test "${ac_cv_prog_CC+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC
="$CC" # Let the user override the test.
3702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3706 test -z "$as_dir" && as_dir
=.
3707 for ac_exec_ext
in '' $ac_executable_extensions; do
3708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3710 ac_prog_rejected
=yes
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 if test $ac_prog_rejected = yes; then
3722 # We found a bogon in the path, so make sure we never use it.
3723 set dummy
$ac_cv_prog_CC
3725 if test $# != 0; then
3726 # We chose a different compiler from the bogus one.
3727 # However, it has the same basename, so the bogon will be chosen
3728 # first if we set CC to just the basename; use the full file name.
3730 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3746 if test -z "$CC"; then
3747 if test -n "$ac_tool_prefix"; then
3748 for ac_prog
in cl.exe
3750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3751 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if test "${ac_cv_prog_CC+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC
="$CC" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3767 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3787 test -n "$CC" && break
3790 if test -z "$CC"; then
3792 for ac_prog
in cl.exe
3794 # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy
$ac_prog; ac_word
=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3801 if test -n "$ac_ct_CC"; then
3802 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir
=.
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3811 ac_cv_prog_ac_ct_CC
="$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3822 if test -n "$ac_ct_CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3824 $as_echo "$ac_ct_CC" >&6; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$ac_ct_CC" && break
3834 if test "x$ac_ct_CC" = x
; then
3837 case $cross_compiling:$ac_tool_warned in
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3841 ac_tool_warned
=yes ;;
3850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 as_fn_error
"no acceptable C compiler found in \$PATH
3853 See \`config.log' for more details." "$LINENO" 5; }
3855 # Provide some information about the compiler.
3856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3859 for ac_option
in --version -v -V -qversion; do
3860 { { ac_try
="$ac_compiler $ac_option >&5"
3862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3869 if test -s conftest.err; then
3871 ... rest of stderr output deleted ...
3872 10q' conftest.err >conftest.er1
3873 cat conftest.er1 >&5
3874 rm -f conftest.er1 conftest.err
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3893 (eval $ac_link) 2>&5
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }; then :
3901 if test x$gcc_no_link = xyes; then
3902 # Setting cross_compile will disable run tests; it will
3903 # also disable AC_CHECK_FILE but that's generally
3904 # correct if we can't link.
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 ac_clean_files_save=$ac_clean_files
3920 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3921 # Try to create an executable without -o first, disregard a.out.
3922 # It will help us diagnose broken compilers, and finding out an intuition
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3925 $as_echo_n "checking for C compiler default output file name... " >&6; }
3926 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3928 # The possible output files:
3929 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3932 for ac_file in $ac_files
3935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3936 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3941 if { { ac_try="$ac_link_default"
3943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3944 *) ac_try_echo
=$ac_try;;
3946 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_link_default") 2>&5
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }; then :
3952 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3953 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3954 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3955 # so that the user can short-circuit this test for compilers unknown to
3957 for ac_file
in $ac_files ''
3959 test -f "$ac_file" ||
continue
3961 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3964 # We found the default executable, but exeext='' is most
3968 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3970 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3972 # We set ac_cv_exeext here because the later test for it is not
3973 # safe: cross compilers may not add the suffix if given an `-o'
3974 # argument, so we may need to know it at that point already.
3975 # Even if this section looks crufty: it has the advantage of
3982 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3988 $as_echo "$ac_file" >&6; }
3989 if test -z "$ac_file"; then :
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.
$ac_ext >&5
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 { as_fn_set_status
77
3996 as_fn_error
"C compiler cannot create executables
3997 See \`config.log' for more details." "$LINENO" 5; }; }
3999 ac_exeext
=$ac_cv_exeext
4001 # Check that the compiler produces executables we can run. If not, either
4002 # the compiler is broken, or we cross compile.
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4004 $as_echo_n "checking whether the C compiler works... " >&6; }
4005 # If not cross compiling, check that we can run a simple program.
4006 if test "$cross_compiling" != yes; then
4007 if { ac_try
='./$ac_file'
4008 { { case "(($ac_try" in
4009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_try") 2>&5
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }; }; then
4020 if test "$cross_compiling" = maybe; then
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error "cannot run C compiled programs.
4026 If you meant to cross compile
, use \
`--host'.
4027 See \`config.log
' for more details." "$LINENO" 5; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4032 $as_echo "yes" >&6; }
4034 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4035 ac_clean_files=$ac_clean_files_save
4036 # Check that the compiler produces executables we can run. If not, either
4037 # the compiler is broken, or we cross compile.
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4039 $as_echo_n "checking whether we are cross compiling... " >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4041 $as_echo "$cross_compiling" >&6; }
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4044 $as_echo_n "checking for suffix of executables... " >&6; }
4045 if { { ac_try="$ac_link"
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link") 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; then :
4056 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4057 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4058 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4060 for ac_file
in conftest.exe conftest conftest.
*; do
4061 test -f "$ac_file" ||
continue
4063 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4064 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4073 See \`config.log' for more details." "$LINENO" 5; }
4075 rm -f conftest
$ac_cv_exeext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4077 $as_echo "$ac_cv_exeext" >&6; }
4079 rm -f conftest.
$ac_ext
4080 EXEEXT
=$ac_cv_exeext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4084 $as_echo_n "checking for suffix of object files... " >&6; }
4085 if test "${ac_cv_objext+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4099 rm -f conftest.o conftest.obj
4100 if { { ac_try
="$ac_compile"
4102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_compile") 2>&5
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 for ac_file in conftest.o conftest.obj conftest.*; do
4112 test -f "$ac_file" || continue;
4114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4115 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4120 $as_echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.$ac_ext >&5
4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error "cannot compute suffix of object files
: cannot compile
4126 See \
`config.log' for more details." "$LINENO" 5; }
4128 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4131 $as_echo "$ac_cv_objext" >&6; }
4132 OBJEXT=$ac_cv_objext
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4136 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4137 $as_echo_n "(cached) " >&6
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4153 if ac_fn_c_try_compile "$LINENO"; then :
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4164 if test $ac_compiler_gnu = yes; then
4169 ac_test_CFLAGS=${CFLAGS+set}
4170 ac_save_CFLAGS=$CFLAGS
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4173 if test "${ac_cv_prog_cc_g+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4176 ac_save_c_werror_flag=$ac_c_werror_flag
4177 ac_c_werror_flag=yes
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4191 if ac_fn_c_try_compile "$LINENO"; then :
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_c_werror_flag=$ac_save_c_werror_flag
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4222 if ac_fn_c_try_compile "$LINENO"; then :
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4233 $as_echo "$ac_cv_prog_cc_g" >&6; }
4234 if test "$ac_test_CFLAGS" = set; then
4235 CFLAGS=$ac_save_CFLAGS
4236 elif test $ac_cv_prog_cc_g = yes; then
4237 if test "$GCC" = yes; then
4243 if test "$GCC" = yes; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4251 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4252 $as_echo_n "(cached) " >&6
4254 ac_cv_prog_cc_c89=no
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 #include <sys/types.h>
4261 #include <sys/stat.h>
4262 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4263 struct buf { int x; };
4264 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4265 static char *e (p, i)
4271 static char *f (char * (*g) (char **, int), char **p, ...)
4276 s = g (p, va_arg (v,int));
4281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4282 function prototypes and stuff, but not '\xHH' hex character constants.
4283 These don't provoke an error unfortunately, instead are silently treated
4284 as 'x'. The following induces an error, until -std is added to get
4285 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4286 array size at least. It's necessary to write '\x00'==0 to get something
4287 that's true only with -std. */
4288 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4291 inside strings and character constants. */
4293 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4295 int test (int i, double x);
4296 struct s1 {int (*f) (int a);};
4297 struct s2 {int (*f) (double a);};
4298 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4304 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4309 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4310 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4312 CC="$ac_save_CC $ac_arg"
4313 if ac_fn_c_try_compile "$LINENO"; then :
4314 ac_cv_prog_cc_c89=$ac_arg
4316 rm -f core conftest.err conftest.$ac_objext
4317 test "x$ac_cv_prog_cc_c89" != "xno" && break
4319 rm -f conftest.$ac_ext
4324 case "x$ac_cv_prog_cc_c89" in
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4327 $as_echo "none needed" >&6; } ;;
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4330 $as_echo "unsupported" >&6; } ;;
4332 CC="$CC $ac_cv_prog_cc_c89"
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4334 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4336 if test "x$ac_cv_prog_cc_c89" != xno; then :
4341 ac_cpp='$CPP $CPPFLAGS'
4342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 depcc="$CC" am_compiler_list=
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4349 $as_echo_n "checking dependency style of $depcc... " >&6; }
4350 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4351 $as_echo_n "(cached) " >&6
4353 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4354 # We make a subdir and do the tests there. Otherwise we can end up
4355 # making bogus files that we don't know about and never remove. For
4356 # instance it was reported that on HP-UX the gcc test will end up
4357 # making a dummy file named `D
' -- because `-MD' means
`put the output
4361 # Copy depcomp to subdir because otherwise we won't find it if we're
4362 # using a relative directory.
4363 cp "$am_depcomp" conftest.dir
4365 # We will build objects and dependencies in a subdirectory because
4366 # it helps to detect inapplicable dependency modes. For instance
4367 # both Tru64's cc and ICC support -MD to output dependencies as a
4368 # side effect of compilation, but ICC will put the dependencies in
4369 # the current directory while Tru64 will put them in the object
4373 am_cv_CC_dependencies_compiler_type=none
4374 if test "$am_compiler_list" = ""; then
4375 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4378 case " $depcc " in #(
4379 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4382 for depmode in $am_compiler_list; do
4383 # Setup a source with many dependencies, because some compilers
4384 # like to wrap large dependency lists on column 80 (with \), and
4385 # we should not choose a depcomp mode which is confused by this.
4387 # We need to recreate these files for each test, as the compiler may
4388 # overwrite some of them when testing with obscure command lines.
4389 # This happens at least with the AIX C compiler.
4391 for i in 1 2 3 4 5 6; do
4392 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4393 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4394 # Solaris 8's
{/usr
,}/bin
/sh.
4395 touch sub
/conftst
$i.h
4397 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4399 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4400 # mode. It turns out that the SunPro C++ compiler does not properly
4401 # handle `-M -o', and we need to detect this. Also, some Intel
4402 # versions had trouble with output in subdirs
4403 am__obj
=sub
/conftest.
${OBJEXT-o}
4404 am__minus_obj
="-o $am__obj"
4407 # This depmode causes a compiler race in universal mode.
4408 test "$am__universal" = false ||
continue
4411 # after this tag, mechanisms are not by side-effect, so they'll
4412 # only be used when explicitly requested
4413 if test "x$enable_dependency_tracking" = xyes
; then
4419 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4420 # This compiler won't grok `-c -o', but also, the minuso test has
4421 # not run yet. These depmodes are late enough in the game, and
4422 # so weak that their functioning should not be impacted.
4423 am__obj
=conftest.
${OBJEXT-o}
4428 if depmode
=$depmode \
4429 source=sub
/conftest.c object
=$am__obj \
4430 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4431 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4432 >/dev
/null
2>conftest.err
&&
4433 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4434 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4435 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4436 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4437 # icc doesn't choke on unknown options, it will just issue warnings
4438 # or remarks (even with -Werror). So we grep stderr for any message
4439 # that says an option was ignored or not supported.
4440 # When given -MP, icc 7.0 and 7.1 complain thusly:
4441 # icc: Command line warning: ignoring option '-M'; no argument required
4442 # The diagnosis changed in icc 8.0:
4443 # icc: Command line remark: option '-MP' not supported
4444 if (grep 'ignoring option' conftest.err ||
4445 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4446 am_cv_CC_dependencies_compiler_type
=$depmode
4455 am_cv_CC_dependencies_compiler_type
=none
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4460 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4461 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4464 test "x$enable_dependency_tracking" != xno \
4465 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4467 am__fastdepCC_FALSE
='#'
4469 am__fastdepCC_TRUE
='#'
4470 am__fastdepCC_FALSE
=
4476 ac_cpp
='$CPP $CPPFLAGS'
4477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4481 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4482 # On Suns, sometimes $CPP names a directory.
4483 if test -n "$CPP" && test -d "$CPP"; then
4486 if test -z "$CPP"; then
4487 if test "${ac_cv_prog_CPP+set}" = set; then :
4488 $as_echo_n "(cached) " >&6
4490 # Double quotes because CPP needs to be expanded
4491 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4494 for ac_c_preproc_warn_flag
in '' yes
4496 # Use a header file that comes with gcc, so configuring glibc
4497 # with a fresh cross-compiler works.
4498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4499 # <limits.h> exists even on freestanding compilers.
4500 # On the NeXT, cc -E runs the code through the compiler's parser,
4501 # not just through cpp. "Syntax error" is here to catch this case.
4502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4505 # include <limits.h>
4507 # include <assert.h>
4511 if ac_fn_c_try_cpp
"$LINENO"; then :
4514 # Broken: fails on valid input.
4517 rm -f conftest.err conftest.
$ac_ext
4519 # OK, works on sane cases. Now check whether nonexistent headers
4520 # can be detected and how.
4521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4523 #include <ac_nonexistent.h>
4525 if ac_fn_c_try_cpp
"$LINENO"; then :
4526 # Broken: success on invalid input.
4529 # Passes both tests.
4533 rm -f conftest.err conftest.
$ac_ext
4536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4537 rm -f conftest.err conftest.
$ac_ext
4538 if $ac_preproc_ok; then :
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4551 $as_echo "$CPP" >&6; }
4553 for ac_c_preproc_warn_flag
in '' yes
4555 # Use a header file that comes with gcc, so configuring glibc
4556 # with a fresh cross-compiler works.
4557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4558 # <limits.h> exists even on freestanding compilers.
4559 # On the NeXT, cc -E runs the code through the compiler's parser,
4560 # not just through cpp. "Syntax error" is here to catch this case.
4561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4564 # include <limits.h>
4566 # include <assert.h>
4570 if ac_fn_c_try_cpp
"$LINENO"; then :
4573 # Broken: fails on valid input.
4576 rm -f conftest.err conftest.
$ac_ext
4578 # OK, works on sane cases. Now check whether nonexistent headers
4579 # can be detected and how.
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4582 #include <ac_nonexistent.h>
4584 if ac_fn_c_try_cpp
"$LINENO"; then :
4585 # Broken: success on invalid input.
4588 # Passes both tests.
4592 rm -f conftest.err conftest.
$ac_ext
4595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4596 rm -f conftest.err conftest.
$ac_ext
4597 if $ac_preproc_ok; then :
4600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4602 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4603 See \`config.log' for more details." "$LINENO" 5; }
4607 ac_cpp
='$CPP $CPPFLAGS'
4608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4614 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4615 if test "${ac_cv_path_GREP+set}" = set; then :
4616 $as_echo_n "(cached) " >&6
4618 if test -z "$GREP"; then
4619 ac_path_GREP_found
=false
4620 # Loop through the user's path and test for each of PROGNAME-LIST
4621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4625 test -z "$as_dir" && as_dir
=.
4626 for ac_prog
in grep ggrep
; do
4627 for ac_exec_ext
in '' $ac_executable_extensions; do
4628 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4629 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4630 # Check for GNU ac_path_GREP and select it if it is found.
4631 # Check for GNU $ac_path_GREP
4632 case `"$ac_path_GREP" --version 2>&1` in
4634 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4637 $as_echo_n 0123456789 >"conftest.in"
4640 cat "conftest.in" "conftest.in" >"conftest.tmp"
4641 mv "conftest.tmp" "conftest.in"
4642 cp "conftest.in" "conftest.nl"
4643 $as_echo 'GREP' >> "conftest.nl"
4644 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4645 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4646 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4647 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4648 # Best one so far, save it but keep looking for a better one
4649 ac_cv_path_GREP
="$ac_path_GREP"
4650 ac_path_GREP_max
=$ac_count
4652 # 10*(2^10) chars as input seems more than enough
4653 test $ac_count -gt 10 && break
4655 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4658 $ac_path_GREP_found && break 3
4663 if test -z "$ac_cv_path_GREP"; then
4664 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4667 ac_cv_path_GREP
=$GREP
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4672 $as_echo "$ac_cv_path_GREP" >&6; }
4673 GREP
="$ac_cv_path_GREP"
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4677 $as_echo_n "checking for egrep... " >&6; }
4678 if test "${ac_cv_path_EGREP+set}" = set; then :
4679 $as_echo_n "(cached) " >&6
4681 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4682 then ac_cv_path_EGREP
="$GREP -E"
4684 if test -z "$EGREP"; then
4685 ac_path_EGREP_found
=false
4686 # Loop through the user's path and test for each of PROGNAME-LIST
4687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4688 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4691 test -z "$as_dir" && as_dir
=.
4692 for ac_prog
in egrep; do
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4695 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4696 # Check for GNU ac_path_EGREP and select it if it is found.
4697 # Check for GNU $ac_path_EGREP
4698 case `"$ac_path_EGREP" --version 2>&1` in
4700 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4703 $as_echo_n 0123456789 >"conftest.in"
4706 cat "conftest.in" "conftest.in" >"conftest.tmp"
4707 mv "conftest.tmp" "conftest.in"
4708 cp "conftest.in" "conftest.nl"
4709 $as_echo 'EGREP' >> "conftest.nl"
4710 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4711 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4712 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4713 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4714 # Best one so far, save it but keep looking for a better one
4715 ac_cv_path_EGREP
="$ac_path_EGREP"
4716 ac_path_EGREP_max
=$ac_count
4718 # 10*(2^10) chars as input seems more than enough
4719 test $ac_count -gt 10 && break
4721 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4724 $ac_path_EGREP_found && break 3
4729 if test -z "$ac_cv_path_EGREP"; then
4730 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4733 ac_cv_path_EGREP
=$EGREP
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4739 $as_echo "$ac_cv_path_EGREP" >&6; }
4740 EGREP
="$ac_cv_path_EGREP"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4744 $as_echo_n "checking for ANSI C header files... " >&6; }
4745 if test "${ac_cv_header_stdc+set}" = set; then :
4746 $as_echo_n "(cached) " >&6
4748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4763 if ac_fn_c_try_compile
"$LINENO"; then :
4764 ac_cv_header_stdc
=yes
4766 ac_cv_header_stdc
=no
4768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4770 if test $ac_cv_header_stdc = yes; then
4771 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4778 $EGREP "memchr" >/dev
/null
2>&1; then :
4781 ac_cv_header_stdc
=no
4787 if test $ac_cv_header_stdc = yes; then
4788 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4795 $EGREP "free" >/dev
/null
2>&1; then :
4798 ac_cv_header_stdc
=no
4804 if test $ac_cv_header_stdc = yes; then
4805 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4806 if test "$cross_compiling" = yes; then :
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4813 #if ((' ' & 0x0FF) == 0x020)
4814 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4815 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4817 # define ISLOWER(c) \
4818 (('a' <= (c) && (c) <= 'i') \
4819 || ('j' <= (c) && (c) <= 'r') \
4820 || ('s' <= (c) && (c) <= 'z'))
4821 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4824 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4829 for (i = 0; i < 256; i++)
4830 if (XOR (islower (i), ISLOWER (i))
4831 || toupper (i) != TOUPPER (i))
4836 if ac_fn_c_try_run
"$LINENO"; then :
4839 ac_cv_header_stdc
=no
4841 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4842 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4848 $as_echo "$ac_cv_header_stdc" >&6; }
4849 if test $ac_cv_header_stdc = yes; then
4851 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4855 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4856 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4857 inttypes.h stdint.h unistd.h
4859 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4860 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4862 eval as_val
=\$
$as_ac_Header
4863 if test "x$as_val" = x
""yes; then :
4864 cat >>confdefs.h
<<_ACEOF
4865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4874 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4875 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4882 if test "$MINIX" = yes; then
4884 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4887 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4890 $as_echo "#define _MINIX 1" >>confdefs.h
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4896 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4897 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4903 # define __EXTENSIONS__ 1
4904 $ac_includes_default
4913 if ac_fn_c_try_compile
"$LINENO"; then :
4914 ac_cv_safe_to_define___extensions__
=yes
4916 ac_cv_safe_to_define___extensions__
=no
4918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4921 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4922 test $ac_cv_safe_to_define___extensions__ = yes &&
4923 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4925 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4927 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4929 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4931 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4935 # Calculate toolexeclibdir
4936 # Also toolexecdir, though it's only used in toolexeclibdir
4937 case ${version_specific_libs} in
4939 # Need the gcc compiler version to know where to install libraries
4940 # and header files if --enable-version-specific-runtime-libs option
4942 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4943 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4946 if test -n "$with_cross_host" &&
4947 test x
"$with_cross_host" != x
"no"; then
4948 # Install a library built with a cross compiler in tooldir, not libdir.
4949 toolexecdir
='$(exec_prefix)/$(target_alias)'
4950 toolexeclibdir
='$(toolexecdir)/lib'
4952 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4953 toolexeclibdir
='$(libdir)'
4955 multi_os_directory
=`$CC -print-multi-os-directory`
4956 case $multi_os_directory in
4957 .
) ;; # Avoid trailing /.
4958 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4965 # Create a spec file, so that compile/link tests don't fail
4966 test -f libgfortran.spec ||
touch libgfortran.spec
4969 ac_cpp
='$CPP $CPPFLAGS'
4970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4974 # Check the compiler.
4975 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4976 # We must force CC to /not/ be precious variables; otherwise
4977 # the wrong, non-multilib-adjusted value will be used in multilibs.
4978 # As a side effect, we have to subst CFLAGS ourselves.
4983 ac_cpp
='$CPP $CPPFLAGS'
4984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4987 if test -n "$ac_tool_prefix"; then
4988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4989 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_CC+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4995 if test -n "$CC"; then
4996 ac_cv_prog_CC
="$CC" # Let the user override the test.
4998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5002 test -z "$as_dir" && as_dir
=.
5003 for ac_exec_ext
in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 if test -n "$CC"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5018 $as_echo "$CC" >&6; }
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5026 if test -z "$ac_cv_prog_CC"; then
5028 # Extract the first word of "gcc", so it can be a program name with args.
5029 set dummy gcc
; ac_word
=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5035 if test -n "$ac_ct_CC"; then
5036 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir
=.
5043 for ac_exec_ext
in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_ac_ct_CC
="gcc"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5056 if test -n "$ac_ct_CC"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5058 $as_echo "$ac_ct_CC" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5064 if test "x$ac_ct_CC" = x
; then
5067 case $cross_compiling:$ac_tool_warned in
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5071 ac_tool_warned
=yes ;;
5079 if test -z "$CC"; then
5080 if test -n "$ac_tool_prefix"; then
5081 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5082 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if test "${ac_cv_prog_CC+set}" = set; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$CC"; then
5089 ac_cv_prog_CC
="$CC" # Let the user override the test.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 if test -n "$CC"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5111 $as_echo "$CC" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5120 if test -z "$CC"; then
5121 # Extract the first word of "cc", so it can be a program name with args.
5122 set dummy cc
; ac_word
=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if test "${ac_cv_prog_CC+set}" = set; then :
5126 $as_echo_n "(cached) " >&6
5128 if test -n "$CC"; then
5129 ac_cv_prog_CC
="$CC" # Let the user override the test.
5132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5136 test -z "$as_dir" && as_dir
=.
5137 for ac_exec_ext
in '' $ac_executable_extensions; do
5138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5139 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5140 ac_prog_rejected
=yes
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 if test $ac_prog_rejected = yes; then
5152 # We found a bogon in the path, so make sure we never use it.
5153 set dummy
$ac_cv_prog_CC
5155 if test $# != 0; then
5156 # We chose a different compiler from the bogus one.
5157 # However, it has the same basename, so the bogon will be chosen
5158 # first if we set CC to just the basename; use the full file name.
5160 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5166 if test -n "$CC"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5168 $as_echo "$CC" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5176 if test -z "$CC"; then
5177 if test -n "$ac_tool_prefix"; then
5178 for ac_prog
in cl.exe
5180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5181 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if test "${ac_cv_prog_CC+set}" = set; then :
5185 $as_echo_n "(cached) " >&6
5187 if test -n "$CC"; then
5188 ac_cv_prog_CC
="$CC" # Let the user override the test.
5190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir
=.
5195 for ac_exec_ext
in '' $ac_executable_extensions; do
5196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 if test -n "$CC"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5210 $as_echo "$CC" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$CC" && break
5220 if test -z "$CC"; then
5222 for ac_prog
in cl.exe
5224 # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy
$ac_prog; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$ac_ct_CC"; then
5232 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5241 ac_cv_prog_ac_ct_CC
="$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5252 if test -n "$ac_ct_CC"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5254 $as_echo "$ac_ct_CC" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$ac_ct_CC" && break
5264 if test "x$ac_ct_CC" = x
; then
5267 case $cross_compiling:$ac_tool_warned in
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned
=yes ;;
5280 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5282 as_fn_error
"no acceptable C compiler found in \$PATH
5283 See \`config.log' for more details." "$LINENO" 5; }
5285 # Provide some information about the compiler.
5286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5289 for ac_option
in --version -v -V -qversion; do
5290 { { ac_try
="$ac_compiler $ac_option >&5"
5292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5293 *) ac_try_echo=$ac_try;;
5295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5296 $as_echo "$ac_try_echo"; } >&5
5297 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5299 if test -s conftest.err; then
5301 ... rest of stderr output deleted ...
5302 10q' conftest.err >conftest.er1
5303 cat conftest.er1 >&5
5304 rm -f conftest.er1 conftest.err
5306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5307 test $ac_status = 0; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5311 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5312 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5329 if ac_fn_c_try_compile "$LINENO"; then :
5334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5335 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5339 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5340 if test $ac_compiler_gnu = yes; then
5345 ac_test_CFLAGS=${CFLAGS+set}
5346 ac_save_CFLAGS=$CFLAGS
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5348 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5349 if test "${ac_cv_prog_cc_g+set}" = set; then :
5350 $as_echo_n "(cached) " >&6
5352 ac_save_c_werror_flag=$ac_c_werror_flag
5353 ac_c_werror_flag=yes
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5367 if ac_fn_c_try_compile "$LINENO"; then :
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5382 if ac_fn_c_try_compile "$LINENO"; then :
5385 ac_c_werror_flag=$ac_save_c_werror_flag
5387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5398 if ac_fn_c_try_compile "$LINENO"; then :
5401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5406 ac_c_werror_flag=$ac_save_c_werror_flag
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5409 $as_echo "$ac_cv_prog_cc_g" >&6; }
5410 if test "$ac_test_CFLAGS" = set; then
5411 CFLAGS=$ac_save_CFLAGS
5412 elif test $ac_cv_prog_cc_g = yes; then
5413 if test "$GCC" = yes; then
5419 if test "$GCC" = yes; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5426 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5427 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5428 $as_echo_n "(cached) " >&6
5430 ac_cv_prog_cc_c89=no
5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5436 #include <sys/types.h>
5437 #include <sys/stat.h>
5438 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5439 struct buf { int x; };
5440 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5441 static char *e (p, i)
5447 static char *f (char * (*g) (char **, int), char **p, ...)
5452 s = g (p, va_arg (v,int));
5457 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5458 function prototypes and stuff, but not '\xHH' hex character constants.
5459 These don't provoke an error unfortunately, instead are silently treated
5460 as 'x'. The following induces an error, until -std is added to get
5461 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5462 array size at least. It's necessary to write '\x00'==0 to get something
5463 that's true only with -std. */
5464 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5466 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5467 inside strings and character constants. */
5469 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5471 int test (int i, double x);
5472 struct s1 {int (*f) (int a);};
5473 struct s2 {int (*f) (double a);};
5474 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5480 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5485 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5486 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5488 CC="$ac_save_CC $ac_arg"
5489 if ac_fn_c_try_compile "$LINENO"; then :
5490 ac_cv_prog_cc_c89=$ac_arg
5492 rm -f core conftest.err conftest.$ac_objext
5493 test "x$ac_cv_prog_cc_c89" != "xno" && break
5495 rm -f conftest.$ac_ext
5500 case "x$ac_cv_prog_cc_c89" in
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5503 $as_echo "none needed" >&6; } ;;
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5506 $as_echo "unsupported" >&6; } ;;
5508 CC="$CC $ac_cv_prog_cc_c89"
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5510 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5512 if test "x$ac_cv_prog_cc_c89" != xno; then :
5517 ac_cpp='$CPP $CPPFLAGS'
5518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5522 depcc="$CC" am_compiler_list=
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5525 $as_echo_n "checking dependency style of $depcc... " >&6; }
5526 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5527 $as_echo_n "(cached) " >&6
5529 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5530 # We make a subdir and do the tests there. Otherwise we can end up
5531 # making bogus files that we don't know about and never remove. For
5532 # instance it was reported that on HP-UX the gcc test will end up
5533 # making a dummy file named `D
' -- because `-MD' means
`put the output
5537 # Copy depcomp to subdir because otherwise we won't find it if we're
5538 # using a relative directory.
5539 cp "$am_depcomp" conftest.dir
5541 # We will build objects and dependencies in a subdirectory because
5542 # it helps to detect inapplicable dependency modes. For instance
5543 # both Tru64's cc and ICC support -MD to output dependencies as a
5544 # side effect of compilation, but ICC will put the dependencies in
5545 # the current directory while Tru64 will put them in the object
5549 am_cv_CC_dependencies_compiler_type=none
5550 if test "$am_compiler_list" = ""; then
5551 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5554 case " $depcc " in #(
5555 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5558 for depmode in $am_compiler_list; do
5559 # Setup a source with many dependencies, because some compilers
5560 # like to wrap large dependency lists on column 80 (with \), and
5561 # we should not choose a depcomp mode which is confused by this.
5563 # We need to recreate these files for each test, as the compiler may
5564 # overwrite some of them when testing with obscure command lines.
5565 # This happens at least with the AIX C compiler.
5567 for i in 1 2 3 4 5 6; do
5568 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5569 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5570 # Solaris 8's
{/usr
,}/bin
/sh.
5571 touch sub
/conftst
$i.h
5573 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5575 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5576 # mode. It turns out that the SunPro C++ compiler does not properly
5577 # handle `-M -o', and we need to detect this. Also, some Intel
5578 # versions had trouble with output in subdirs
5579 am__obj
=sub
/conftest.
${OBJEXT-o}
5580 am__minus_obj
="-o $am__obj"
5583 # This depmode causes a compiler race in universal mode.
5584 test "$am__universal" = false ||
continue
5587 # after this tag, mechanisms are not by side-effect, so they'll
5588 # only be used when explicitly requested
5589 if test "x$enable_dependency_tracking" = xyes
; then
5595 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5596 # This compiler won't grok `-c -o', but also, the minuso test has
5597 # not run yet. These depmodes are late enough in the game, and
5598 # so weak that their functioning should not be impacted.
5599 am__obj
=conftest.
${OBJEXT-o}
5604 if depmode
=$depmode \
5605 source=sub
/conftest.c object
=$am__obj \
5606 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5607 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5608 >/dev
/null
2>conftest.err
&&
5609 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5610 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5611 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5612 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5613 # icc doesn't choke on unknown options, it will just issue warnings
5614 # or remarks (even with -Werror). So we grep stderr for any message
5615 # that says an option was ignored or not supported.
5616 # When given -MP, icc 7.0 and 7.1 complain thusly:
5617 # icc: Command line warning: ignoring option '-M'; no argument required
5618 # The diagnosis changed in icc 8.0:
5619 # icc: Command line remark: option '-MP' not supported
5620 if (grep 'ignoring option' conftest.err ||
5621 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5622 am_cv_CC_dependencies_compiler_type
=$depmode
5631 am_cv_CC_dependencies_compiler_type
=none
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5636 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5637 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5640 test "x$enable_dependency_tracking" != xno \
5641 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5643 am__fastdepCC_FALSE
='#'
5645 am__fastdepCC_TRUE
='#'
5646 am__fastdepCC_FALSE
=
5654 if test "x$CC" != xcc
; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5656 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5659 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5661 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5662 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5663 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5664 $as_echo_n "(cached) " >&6
5666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5677 # Make sure it works both with $CC and with simple cc.
5678 # We do the test twice because some compilers refuse to overwrite an
5679 # existing .o file with -o, though they will create one.
5680 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5682 if { { case "(($ac_try" in
5683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5684 *) ac_try_echo=$ac_try;;
5686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5687 $as_echo "$ac_try_echo"; } >&5
5688 (eval "$ac_try") 2>&5
5690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5691 test $ac_status = 0; } &&
5692 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5694 *) ac_try_echo
=$ac_try;;
5696 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5697 $as_echo "$ac_try_echo"; } >&5
5698 (eval "$ac_try") 2>&5
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5701 test $ac_status = 0; };
5703 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5704 if test "x$CC" != xcc
; then
5705 # Test first that cc exists at all.
5706 if { ac_try
='cc -c conftest.$ac_ext >&5'
5707 { { case "(($ac_try" in
5708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5709 *) ac_try_echo=$ac_try;;
5711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5712 $as_echo "$ac_try_echo"; } >&5
5713 (eval "$ac_try") 2>&5
5715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5716 test $ac_status = 0; }; }; then
5717 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5719 if { { case "(($ac_try" in
5720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5721 *) ac_try_echo
=$ac_try;;
5723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5724 $as_echo "$ac_try_echo"; } >&5
5725 (eval "$ac_try") 2>&5
5727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5728 test $ac_status = 0; } &&
5729 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5731 *) ac_try_echo=$ac_try;;
5733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5734 $as_echo "$ac_try_echo"; } >&5
5735 (eval "$ac_try") 2>&5
5737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5738 test $ac_status = 0; };
5743 # cc exists but doesn't like -o.
5744 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5749 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5751 rm -f core conftest*
5754 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5756 $as_echo "yes" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5761 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5765 # FIXME: we rely on the cache variable name because
5766 # there is no other way.
5768 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5769 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5770 if test "$am_t" != yes; then
5771 # Losing compiler, so override with the script.
5772 # FIXME: It is wrong to rewrite CC.
5773 # But if we don't then we get into trouble of one sort or another.
5774 # A longer-term fix would be to have automake use am__CC in this case,
5775 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5776 CC="$am_aux_dir/compile $CC"
5781 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5782 if test "x$GCC" = "xyes"; then
5783 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5784 ## We like to use C11 and C99 routines when available. This makes
5786 ## __STDC_VERSION__ is set such that libc includes make them available.
5787 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5788 ## Compile the following tests with the same system header contents
5789 ## that we'll encounter when compiling our own source files.
5790 CFLAGS="-std=gnu11 $CFLAGS"
5793 # Add CET specific flags if CET is enabled
5794 # Check whether --enable-cet was given.
5795 if test "${enable_cet+set}" = set; then :
5796 enableval=$enable_cet;
5797 case "$enableval" in
5799 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5808 i[34567]86-*-linux* | x86_64-*-linux*)
5809 case "$enable_cet" in
5811 # Check if assembler supports CET.
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5823 if ac_fn_c_try_compile "$LINENO"; then :
5828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5831 # Check if assembler supports CET.
5832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5843 if ac_fn_c_try_compile "$LINENO"; then :
5846 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
5848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5856 if test x$enable_cet = xyes; then
5857 CET_FLAGS="-fcf-protection -mcet"
5860 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
5861 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
5862 CFLAGS="$CFLAGS $CET_FLAGS"
5868 # Check for symbol versioning (copied from libssp).
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5870 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5871 # Check whether --enable-symvers was given.
5872 if test "${enable_symvers+set}" = set; then :
5873 enableval=$enable_symvers; gfortran_use_symver=$enableval
5875 gfortran_use_symver=yes
5878 if test "x$gfortran_use_symver" != xno; then
5879 save_LDFLAGS="$LDFLAGS"
5880 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5881 cat > conftest.map <<EOF
5883 global: *foo*; bar; local: *;
5886 if test x$gcc_no_link = xyes; then
5887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5900 if ac_fn_c_try_link "$LINENO"; then :
5901 gfortran_use_symver=gnu
5903 gfortran_use_symver=no
5905 rm -f core conftest.err conftest.$ac_objext \
5906 conftest$ac_exeext conftest.$ac_ext
5907 if test x$gfortran_use_symver = xno; then
5908 case "$target_os" in
5910 LDFLAGS="$save_LDFLAGS"
5911 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5912 # Sun ld cannot handle wildcards and treats all entries as undefined.
5913 cat > conftest.map <<EOF
5915 global: foo; local: *;
5918 if test x$gcc_no_link = xyes; then
5919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5922 /* end confdefs.h. */
5932 if ac_fn_c_try_link "$LINENO"; then :
5933 gfortran_use_symver=sun
5935 gfortran_use_symver=no
5937 rm -f core conftest.err conftest.$ac_objext \
5938 conftest$ac_exeext conftest.$ac_ext
5942 LDFLAGS="$save_LDFLAGS"
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5945 $as_echo "$gfortran_use_symver" >&6; }
5946 if test "x$gfortran_use_symver" != xno; then
5947 LIBGFOR_USE_SYMVER_TRUE=
5948 LIBGFOR_USE_SYMVER_FALSE='#'
5950 LIBGFOR_USE_SYMVER_TRUE='#'
5951 LIBGFOR_USE_SYMVER_FALSE=
5954 if test "x$gfortran_use_symver" = xgnu; then
5955 LIBGFOR_USE_SYMVER_GNU_TRUE=
5956 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5958 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5959 LIBGFOR_USE_SYMVER_GNU_FALSE=
5962 if test "x$gfortran_use_symver" = xsun; then
5963 LIBGFOR_USE_SYMVER_SUN_TRUE=
5964 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5966 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5967 LIBGFOR_USE_SYMVER_SUN_FALSE=
5971 # For GPU offloading, not everything in libfortran can be supported.
5972 # Currently, the only target that has this problem is nvptx. The
5973 # following is a (partial) list of features that are unsupportable on
5974 # this particular target:
5977 # * C library support for I/O, with printf as the one notable exception
5978 # * C library support for other features such as signal, environment
5979 # variables, time functions
5981 if test "x${target_cpu}" = xnvptx; then
5982 LIBGFOR_MINIMAL_TRUE=
5983 LIBGFOR_MINIMAL_FALSE='#'
5985 LIBGFOR_MINIMAL_TRUE='#'
5986 LIBGFOR_MINIMAL_FALSE=
5990 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5991 # similarly to how libstdc++ does it
5992 ac_test_CFLAGS="${CFLAGS+set}"
5993 ac_save_CFLAGS="$CFLAGS"
5995 # Check for -ffunction-sections -fdata-sections
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5997 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5998 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6010 if ac_fn_c_try_compile "$LINENO"; then :
6015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6016 if test "$ac_test_CFLAGS" = set; then
6017 CFLAGS="$ac_save_CFLAGS"
6019 # this is the suspicious part
6022 if test x"$ac_fdsections" = x"yes"; then
6023 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6026 $as_echo "$ac_fdsections" >&6; }
6029 # Check linker hardware capability support.
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6031 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6032 if test "${ac_cv_path_SED+set}" = set; then :
6033 $as_echo_n "(cached) " >&6
6035 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6036 for ac_i in 1 2 3 4 5 6 7; do
6037 ac_script="$ac_script$as_nl$ac_script"
6039 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6040 { ac_script=; unset ac_script;}
6041 if test -z "$SED"; then
6042 ac_path_SED_found=false
6043 # Loop through the user's path and test for each of PROGNAME-LIST
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 test -z "$as_dir" && as_dir=.
6049 for ac_prog in sed gsed; do
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6052 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6053 # Check for GNU ac_path_SED and select it if it is found.
6054 # Check for GNU $ac_path_SED
6055 case `"$ac_path_SED" --version 2>&1` in
6057 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6060 $as_echo_n 0123456789 >"conftest.in"
6063 cat "conftest.in" "conftest.in" >"conftest.tmp"
6064 mv "conftest.tmp" "conftest.in"
6065 cp "conftest.in" "conftest.nl"
6066 $as_echo '' >> "conftest.nl"
6067 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6068 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6069 as_fn_arith $ac_count + 1 && ac_count=$as_val
6070 if test $ac_count -gt ${ac_path_SED_max-0}; then
6071 # Best one so far, save it but keep looking for a better one
6072 ac_cv_path_SED="$ac_path_SED"
6073 ac_path_SED_max=$ac_count
6075 # 10*(2^10) chars as input seems more than enough
6076 test $ac_count -gt 10 && break
6078 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6081 $ac_path_SED_found && break 3
6086 if test -z "$ac_cv_path_SED"; then
6087 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6095 $as_echo "$ac_cv_path_SED" >&6; }
6096 SED="$ac_cv_path_SED"
6099 test -z "$SED" && SED=sed
6100 Xsed="$SED -e 1s/^X//"
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6113 $as_echo_n "checking for fgrep... " >&6; }
6114 if test "${ac_cv_path_FGREP+set}" = set; then :
6115 $as_echo_n "(cached) " >&6
6117 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6118 then ac_cv_path_FGREP="$GREP -F"
6120 if test -z "$FGREP"; then
6121 ac_path_FGREP_found=false
6122 # Loop through the user's path and test for each of PROGNAME-LIST
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6127 test -z "$as_dir" && as_dir=.
6128 for ac_prog in fgrep; do
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6131 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6132 # Check for GNU ac_path_FGREP and select it if it is found.
6133 # Check for GNU $ac_path_FGREP
6134 case `"$ac_path_FGREP" --version 2>&1` in
6136 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6139 $as_echo_n 0123456789 >"conftest.in"
6142 cat "conftest.in" "conftest.in" >"conftest.tmp"
6143 mv "conftest.tmp" "conftest.in"
6144 cp "conftest.in" "conftest.nl"
6145 $as_echo 'FGREP' >> "conftest.nl"
6146 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6147 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6148 as_fn_arith $ac_count + 1 && ac_count=$as_val
6149 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6150 # Best one so far, save it but keep looking for a better one
6151 ac_cv_path_FGREP="$ac_path_FGREP"
6152 ac_path_FGREP_max=$ac_count
6154 # 10*(2^10) chars as input seems more than enough
6155 test $ac_count -gt 10 && break
6157 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6160 $ac_path_FGREP_found && break 3
6165 if test -z "$ac_cv_path_FGREP"; then
6166 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6169 ac_cv_path_FGREP=$FGREP
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6175 $as_echo "$ac_cv_path_FGREP" >&6; }
6176 FGREP="$ac_cv_path_FGREP"
6179 test -z "$GREP" && GREP=grep
6197 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6198 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6199 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6202 $as_echo_n "checking how to print strings... " >&6; }
6203 # Test print first, because it will be a builtin if present.
6204 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6205 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6207 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6210 # Use this function as a fallback that always works.
6211 func_fallback_echo ()
6213 eval 'cat <<_LTECHO_EOF
6217 ECHO='func_fallback_echo'
6220 # func_echo_all arg...
6221 # Invoke $ECHO with all args, space-separated.
6228 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6229 $as_echo "printf" >&6; } ;;
6230 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6231 $as_echo "print -r" >&6; } ;;
6232 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6233 $as_echo "cat" >&6; } ;;
6251 # Check whether --with-gnu-ld was given.
6252 if test "${with_gnu_ld+set}" = set; then :
6253 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6259 if test "$GCC" = yes; then
6260 # Check if gcc -print-prog-name=ld gives a path.
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6262 $as_echo_n "checking for ld used by $CC... " >&6; }
6265 # gcc leaves a trailing carriage return which upsets mingw
6266 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6268 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6271 # Accept absolute paths.
6273 re_direlt='/[^/][^/]*/\.\./'
6274 # Canonicalize the pathname of ld
6275 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6276 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6277 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6279 test -z "$LD" && LD="$ac_prog"
6282 # If it fails, then pretend we aren't using GCC.
6286 # If it is relative, then search for the first ld in PATH.
6290 elif test "$with_gnu_ld" = yes; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6292 $as_echo_n "checking for GNU ld... " >&6; }
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6295 $as_echo_n "checking for non-GNU ld... " >&6; }
6297 if test "${lt_cv_path_LD+set}" = set; then :
6298 $as_echo_n "(cached) " >&6
6300 if test -z "$LD"; then
6301 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6302 for ac_dir in $PATH; do
6304 test -z "$ac_dir" && ac_dir=.
6305 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6306 lt_cv_path_LD="$ac_dir/$ac_prog"
6307 # Check to see if the program is GNU ld. I'd rather use --version,
6308 # but apparently some variants of GNU ld only accept -v.
6309 # Break only if it was the GNU/non-GNU ld that we prefer.
6310 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6311 *GNU* | *'with BFD'*)
6312 test "$with_gnu_ld" != no && break
6315 test "$with_gnu_ld" != yes && break
6322 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6327 if test -n "$LD"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6329 $as_echo "$LD" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6334 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6336 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6337 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6338 $as_echo_n "(cached) " >&6
6340 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6341 case `$LD -v 2>&1 </dev
/null
` in
6342 *GNU* | *'with BFD'*)
6343 lt_cv_prog_gnu_ld=yes
6346 lt_cv_prog_gnu_ld=no
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6351 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6352 with_gnu_ld=$lt_cv_prog_gnu_ld
6363 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6366 ac_save_LDFLAGS="$LDFLAGS"
6367 LDFLAGS="$LFLAGS -mclear-hwcap"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6370 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6371 if test x$gcc_no_link = xyes; then
6372 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6385 if ac_fn_c_try_link "$LINENO"; then :
6386 ac_hwcap_ldflags=yes
6390 rm -f core conftest.err conftest.$ac_objext \
6391 conftest$ac_exeext conftest.$ac_ext
6392 if test "$ac_hwcap_ldflags" = "yes"; then
6393 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6396 $as_echo "$ac_hwcap_ldflags" >&6; }
6398 LDFLAGS="$ac_save_LDFLAGS"
6402 if test $ac_hwcap_ldflags != no; then
6404 HAVE_HWCAP_FALSE='#'
6412 # Find other programs we need.
6413 if test -n "$ac_tool_prefix"; then
6414 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6415 set dummy ${ac_tool_prefix}as; ac_word=$2
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417 $as_echo_n "checking for $ac_word... " >&6; }
6418 if test "${ac_cv_prog_AS+set}" = set; then :
6419 $as_echo_n "(cached) " >&6
6421 if test -n "$AS"; then
6422 ac_cv_prog_AS="$AS" # Let the user override the test.
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 test -z "$as_dir" && as_dir=.
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6431 ac_cv_prog_AS="${ac_tool_prefix}as"
6432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 if test -n "$AS"; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6444 $as_echo "$AS" >&6; }
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 $as_echo "no" >&6; }
6452 if test -z "$ac_cv_prog_AS"; then
6454 # Extract the first word of "as", so it can be a program name with args.
6455 set dummy as; ac_word=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6459 $as_echo_n "(cached) " >&6
6461 if test -n "$ac_ct_AS"; then
6462 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_ac_ct_AS="as"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6482 if test -n "$ac_ct_AS"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6484 $as_echo "$ac_ct_AS" >&6; }
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6490 if test "x$ac_ct_AS" = x; then
6493 case $cross_compiling:$ac_tool_warned in
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6497 ac_tool_warned=yes ;;
6505 if test -n "$ac_tool_prefix"; then
6506 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6507 set dummy ${ac_tool_prefix}ar; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if test "${ac_cv_prog_AR+set}" = set; then :
6511 $as_echo_n "(cached) " >&6
6513 if test -n "$AR"; then
6514 ac_cv_prog_AR="$AR" # Let the user override the test.
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6523 ac_cv_prog_AR="${ac_tool_prefix}ar"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 if test -n "$AR"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6536 $as_echo "$AR" >&6; }
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6544 if test -z "$ac_cv_prog_AR"; then
6546 # Extract the first word of "ar", so it can be a program name with args.
6547 set dummy ar; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6551 $as_echo_n "(cached) " >&6
6553 if test -n "$ac_ct_AR"; then
6554 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_prog_ac_ct_AR="ar"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6574 if test -n "$ac_ct_AR"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6576 $as_echo "$ac_ct_AR" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6582 if test "x$ac_ct_AR" = x; then
6585 case $cross_compiling:$ac_tool_warned in
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6589 ac_tool_warned=yes ;;
6597 if test -n "$ac_tool_prefix"; then
6598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6599 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 $as_echo_n "checking for $ac_word... " >&6; }
6602 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6603 $as_echo_n "(cached) " >&6
6605 if test -n "$RANLIB"; then
6606 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 test -z "$as_dir" && as_dir=.
6613 for ac_exec_ext in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 RANLIB=$ac_cv_prog_RANLIB
6626 if test -n "$RANLIB"; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6628 $as_echo "$RANLIB" >&6; }
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6636 if test -z "$ac_cv_prog_RANLIB"; then
6637 ac_ct_RANLIB=$RANLIB
6638 # Extract the first word of "ranlib", so it can be a program name with args.
6639 set dummy ranlib; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6643 $as_echo_n "(cached) " >&6
6645 if test -n "$ac_ct_RANLIB"; then
6646 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_prog_ac_ct_RANLIB="ranlib"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6666 if test -n "$ac_ct_RANLIB"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6668 $as_echo "$ac_ct_RANLIB" >&6; }
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6674 if test "x$ac_ct_RANLIB" = x; then
6675 RANLIB="ranlib-not-found-in-path-error"
6677 case $cross_compiling:$ac_tool_warned in
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6681 ac_tool_warned=yes ;;
6683 RANLIB=$ac_ct_RANLIB
6686 RANLIB="$ac_cv_prog_RANLIB"
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6690 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6692 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6693 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6694 $as_echo_n "(cached) " >&6
6696 cat >conftest.make <<\_ACEOF
6699 @echo '@@@%%%=$(MAKE)=@@@%%%'
6701 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6702 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6704 eval ac_cv_prog_make_${ac_make}_set=yes;;
6706 eval ac_cv_prog_make_${ac_make}_set=no;;
6710 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6712 $as_echo "yes" >&6; }
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6717 SET_MAKE="MAKE=${MAKE-make}"
6723 #AC_MSG_NOTICE([====== Starting libtool configuration])
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6731 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6736 macro_version='2.2.7a'
6737 macro_revision='1.3134'
6751 ltmain="$ac_aux_dir/ltmain.sh"
6753 # Backslashify metacharacters that are still active within
6754 # double-quoted strings.
6755 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6757 # Same as above, but do not quote variable references.
6758 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6760 # Sed substitution to delay expansion of an escaped shell variable in a
6761 # double_quote_subst'ed string.
6762 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6764 # Sed substitution to delay expansion of an escaped single quote.
6765 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6767 # Sed substitution to avoid accidental globbing in evaled expressions
6768 no_glob_subst='s/\*/\\\*/g'
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6771 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6772 if test "${lt_cv_path_NM+set}" = set; then :
6773 $as_echo_n "(cached
) " >&6
6775 if test -n "$NM"; then
6776 # Let the user override the test.
6779 lt_nm_to_check="${ac_tool_prefix}nm
"
6780 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6781 lt_nm_to_check="$lt_nm_to_check nm
"
6783 for lt_tmp_nm in $lt_nm_to_check; do
6784 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6785 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6787 test -z "$ac_dir" && ac_dir=.
6788 tmp_nm="$ac_dir/$lt_tmp_nm"
6789 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6790 # Check to see if the nm accepts a BSD-compat flag.
6791 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6792 # nm: unknown option "B
" ignored
6793 # Tru64's nm complains that /dev/null is an invalid object file
6794 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6795 */dev/null* | *'Invalid file or object type'*)
6796 lt_cv_path_NM="$tmp_nm -B"
6800 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6802 lt_cv_path_NM="$tmp_nm -p"
6806 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6807 continue # so that we can try to find one that supports BSD flags
6816 : ${lt_cv_path_NM=no}
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6820 $as_echo "$lt_cv_path_NM" >&6; }
6821 if test "$lt_cv_path_NM" != "no
"; then
6824 # Didn't find any BSD compatible name lister, look for dumpbin.
6825 if test -n "$DUMPBIN"; then :
6826 # Let the user override the test.
6828 if test -n "$ac_tool_prefix"; then
6829 for ac_prog in dumpbin "link
-dump"
6831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6834 $as_echo_n "checking
for $ac_word...
" >&6; }
6835 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6836 $as_echo_n "(cached
) " >&6
6838 if test -n "$DUMPBIN"; then
6839 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6858 DUMPBIN=$ac_cv_prog_DUMPBIN
6859 if test -n "$DUMPBIN"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6861 $as_echo "$DUMPBIN" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6864 $as_echo "no
" >&6; }
6868 test -n "$DUMPBIN" && break
6871 if test -z "$DUMPBIN"; then
6872 ac_ct_DUMPBIN=$DUMPBIN
6873 for ac_prog in dumpbin "link
-dump"
6875 # Extract the first word of "$ac_prog", so it can be a program name with args.
6876 set dummy $ac_prog; ac_word=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6878 $as_echo_n "checking
for $ac_word...
" >&6; }
6879 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6880 $as_echo_n "(cached
) " >&6
6882 if test -n "$ac_ct_DUMPBIN"; then
6883 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir=.
6890 for ac_exec_ext in '' $ac_executable_extensions; do
6891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6892 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6902 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6903 if test -n "$ac_ct_DUMPBIN"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6905 $as_echo "$ac_ct_DUMPBIN" >&6; }
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6908 $as_echo "no
" >&6; }
6912 test -n "$ac_ct_DUMPBIN" && break
6915 if test "x
$ac_ct_DUMPBIN" = x; then
6918 case $cross_compiling:$ac_tool_warned in
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6921 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6922 ac_tool_warned=yes ;;
6924 DUMPBIN=$ac_ct_DUMPBIN
6928 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6930 DUMPBIN="$DUMPBIN -symbols"
6938 if test "$DUMPBIN" != ":"; then
6942 test -z "$NM" && NM=nm
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6950 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6951 if test "${lt_cv_nm_interface+set}" = set; then :
6952 $as_echo_n "(cached
) " >&6
6954 lt_cv_nm_interface="BSD nm
"
6955 echo "int some_variable
= 0;" > conftest.$ac_ext
6956 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6957 (eval "$ac_compile" 2>conftest.err)
6958 cat conftest.err >&5
6959 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6960 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6961 cat conftest.err >&5
6962 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6963 cat conftest.out >&5
6964 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6965 lt_cv_nm_interface="MS dumpbin
"
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6970 $as_echo "$lt_cv_nm_interface" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6973 $as_echo_n "checking whether
ln -s works...
" >&6; }
6975 if test "$LN_S" = "ln -s"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6977 $as_echo "yes" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6980 $as_echo "no
, using
$LN_S" >&6; }
6983 # find the maximum length of command line arguments
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6985 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6986 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6987 $as_echo_n "(cached
) " >&6
6994 # On DJGPP, this test can blow up pretty badly due to problems in libc
6995 # (any single argument exceeding 2000 bytes causes a buffer overrun
6996 # during glob expansion). Even if it were fixed, the result of this
6997 # check would be larger than it should be.
6998 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7002 # Under GNU Hurd, this test is not required because there is
7003 # no limit to the length of command line arguments.
7004 # Libtool will interpret -1 as no limit whatsoever
7005 lt_cv_sys_max_cmd_len=-1;
7008 cygwin* | mingw* | cegcc*)
7009 # On Win9x/ME, this test blows up -- it succeeds, but takes
7010 # about 5 minutes as the teststring grows exponentially.
7011 # Worse, since 9x/ME are not pre-emptively multitasking,
7012 # you end up with a "frozen
" computer, even though with patience
7013 # the test eventually succeeds (with a max line length of 256k).
7014 # Instead, let's just punt: use the minimum linelength reported by
7015 # all of the supported platforms: 8192 (on NT/2K/XP).
7016 lt_cv_sys_max_cmd_len=8192;
7020 # On MiNT this can take a long time and run out of memory.
7021 lt_cv_sys_max_cmd_len=8192;
7025 # On AmigaOS with pdksh, this test takes hours, literally.
7026 # So we just punt and use a minimum line length of 8192.
7027 lt_cv_sys_max_cmd_len=8192;
7030 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7031 # This has been around since 386BSD, at least. Likely further.
7032 if test -x /sbin/sysctl; then
7033 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7034 elif test -x /usr/sbin/sysctl; then
7035 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7037 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7039 # And add a safety zone
7040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7045 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7046 lt_cv_sys_max_cmd_len=196608
7050 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7051 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7052 # nice to cause kernel panics so lets avoid the loop below.
7053 # First set a reasonable default.
7054 lt_cv_sys_max_cmd_len=16384
7056 if test -x /sbin/sysconfig; then
7057 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7058 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7063 lt_cv_sys_max_cmd_len=102400
7065 sysv5* | sco5v6* | sysv4.2uw2*)
7066 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7067 if test -n "$kargmax"; then
7068 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7070 lt_cv_sys_max_cmd_len=32768
7074 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7075 if test -n "$lt_cv_sys_max_cmd_len"; then
7076 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7077 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7079 # Make teststring a little bigger before we do anything with it.
7080 # a 1K string should be a reasonable start.
7081 for i in 1 2 3 4 5 6 7 8 ; do
7082 teststring=$teststring$teststring
7084 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7085 # If test is not a shell built-in, we'll probably end up computing a
7086 # maximum length that is only half of the actual maximum length, but
7088 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7089 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7090 test $i != 17 # 1/2 MB should be enough
7093 teststring=$teststring$teststring
7095 # Only check the string length outside the loop.
7096 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7098 # Add a significant safety factor because C++ compilers can tack on
7099 # massive amounts of additional arguments before passing them to the
7100 # linker. It appears as though 1/2 is a usable value.
7101 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7108 if test -n $lt_cv_sys_max_cmd_len ; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7110 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7113 $as_echo "none
" >&6; }
7115 max_cmd_len=$lt_cv_sys_max_cmd_len
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7127 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7128 # Try some XSI features
7131 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7133 && eval 'test $(( 1 + 1 )) -eq 2 \
7134 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7137 $as_echo "$xsi_shell" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7141 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7143 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7145 && lt_shell_append
=yes
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7147 $as_echo "$lt_shell_append" >&6; }
7150 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7160 # test EBCDIC or ASCII
7161 case `echo X|tr X '\101'` in
7162 A
) # ASCII based system
7163 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7164 lt_SP2NL
='tr \040 \012'
7165 lt_NL2SP
='tr \015\012 \040\040'
7167 *) # EBCDIC based system
7168 lt_SP2NL
='tr \100 \n'
7169 lt_NL2SP
='tr \r\n \100\100'
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7182 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7183 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7184 $as_echo_n "(cached) " >&6
7186 lt_cv_ld_reload_flag
='-r'
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7189 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7190 reload_flag
=$lt_cv_ld_reload_flag
7191 case $reload_flag in
7193 *) reload_flag
=" $reload_flag" ;;
7195 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7198 if test "$GCC" = yes; then
7199 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7201 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7214 if test -n "$ac_tool_prefix"; then
7215 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7216 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 $as_echo_n "checking for $ac_word... " >&6; }
7219 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7220 $as_echo_n "(cached) " >&6
7222 if test -n "$OBJDUMP"; then
7223 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7229 test -z "$as_dir" && as_dir
=.
7230 for ac_exec_ext
in '' $ac_executable_extensions; do
7231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7232 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 OBJDUMP
=$ac_cv_prog_OBJDUMP
7243 if test -n "$OBJDUMP"; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7245 $as_echo "$OBJDUMP" >&6; }
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 $as_echo "no" >&6; }
7253 if test -z "$ac_cv_prog_OBJDUMP"; then
7254 ac_ct_OBJDUMP
=$OBJDUMP
7255 # Extract the first word of "objdump", so it can be a program name with args.
7256 set dummy objdump
; ac_word
=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7262 if test -n "$ac_ct_OBJDUMP"; then
7263 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7269 test -z "$as_dir" && as_dir
=.
7270 for ac_exec_ext
in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7283 if test -n "$ac_ct_OBJDUMP"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7285 $as_echo "$ac_ct_OBJDUMP" >&6; }
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7291 if test "x$ac_ct_OBJDUMP" = x
; then
7294 case $cross_compiling:$ac_tool_warned in
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7298 ac_tool_warned
=yes ;;
7300 OBJDUMP
=$ac_ct_OBJDUMP
7303 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7306 test -z "$OBJDUMP" && OBJDUMP
=objdump
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7317 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7318 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7319 $as_echo_n "(cached) " >&6
7321 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7322 lt_cv_file_magic_test_file
=
7323 lt_cv_deplibs_check_method
='unknown'
7324 # Need to set the preceding variable on all platforms that support
7325 # interlibrary dependencies.
7326 # 'none' -- dependencies not supported.
7327 # `unknown' -- same as none, but documents that we really don't know.
7328 # 'pass_all' -- all dependencies passed with no checks.
7329 # 'test_compile' -- check by making test program.
7330 # 'file_magic [[regex]]' -- check by looking for files in library path
7331 # which responds to the $file_magic_cmd with a given extended regex.
7332 # If you have `file' or equivalent on your system and you're not sure
7333 # whether `pass_all' will *always* work, you probably want this one.
7337 lt_cv_deplibs_check_method
=pass_all
7341 lt_cv_deplibs_check_method
=pass_all
7345 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7346 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7347 lt_cv_file_magic_test_file
=/shlib
/libc.so
7351 # func_win32_libid is a shell function defined in ltmain.sh
7352 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7353 lt_cv_file_magic_cmd
='func_win32_libid'
7357 # Base MSYS/MinGW do not provide the 'file' command needed by
7358 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7359 # unless we find 'file', for example because we are cross-compiling.
7360 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7361 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7362 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7363 lt_cv_file_magic_cmd
='func_win32_libid'
7365 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7366 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7371 # use the weaker test based on 'objdump'. See mingw*.
7372 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7373 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7376 darwin
* | rhapsody
*)
7377 lt_cv_deplibs_check_method
=pass_all
7380 freebsd
* | dragonfly
*)
7381 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7384 # Not sure whether the presence of OpenBSD here was a mistake.
7385 # Let's accept both of them until this is cleared up.
7386 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7387 lt_cv_file_magic_cmd
=/usr
/bin
/file
7388 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7392 lt_cv_deplibs_check_method
=pass_all
7397 lt_cv_deplibs_check_method
=pass_all
7401 lt_cv_deplibs_check_method
=pass_all
7404 hpux10.20
* | hpux11
*)
7405 lt_cv_file_magic_cmd
=/usr
/bin
/file
7408 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7409 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7412 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]'
7413 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7416 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7417 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7423 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7424 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7427 irix5
* | irix6
* | nonstopux
*)
7429 *-32|
*"-32 ") libmagic
=32-bit;;
7430 *-n32|
*"-n32 ") libmagic
=N32
;;
7431 *-64|
*"-64 ") libmagic
=64-bit;;
7432 *) libmagic
=never-match
;;
7434 lt_cv_deplibs_check_method
=pass_all
7437 # This must be Linux ELF.
7438 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7439 lt_cv_deplibs_check_method
=pass_all
7443 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7444 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7446 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7451 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7452 lt_cv_file_magic_cmd
=/usr
/bin
/file
7453 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7457 lt_cv_deplibs_check_method
=pass_all
7461 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7462 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7464 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7468 osf3
* | osf4
* | osf5
*)
7469 lt_cv_deplibs_check_method
=pass_all
7473 lt_cv_deplibs_check_method
=pass_all
7477 lt_cv_deplibs_check_method
=pass_all
7480 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7481 lt_cv_deplibs_check_method
=pass_all
7485 case $host_vendor in
7487 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]'
7488 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7491 lt_cv_deplibs_check_method
=pass_all
7494 lt_cv_file_magic_cmd
='/bin/file'
7495 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7498 lt_cv_file_magic_cmd
='/bin/file'
7499 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7500 lt_cv_file_magic_test_file
=/lib
/libc.so
7503 lt_cv_deplibs_check_method
=pass_all
7506 lt_cv_deplibs_check_method
=pass_all
7512 lt_cv_deplibs_check_method
=pass_all
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7518 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7519 file_magic_cmd
=$lt_cv_file_magic_cmd
7520 deplibs_check_method
=$lt_cv_deplibs_check_method
7521 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7534 if test -n "$ac_tool_prefix"; then
7535 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7536 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7538 $as_echo_n "checking for $ac_word... " >&6; }
7539 if test "${ac_cv_prog_AR+set}" = set; then :
7540 $as_echo_n "(cached) " >&6
7542 if test -n "$AR"; then
7543 ac_cv_prog_AR
="$AR" # Let the user override the test.
7545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7549 test -z "$as_dir" && as_dir
=.
7550 for ac_exec_ext
in '' $ac_executable_extensions; do
7551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7552 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 if test -n "$AR"; then
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7565 $as_echo "$AR" >&6; }
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7568 $as_echo "no" >&6; }
7573 if test -z "$ac_cv_prog_AR"; then
7575 # Extract the first word of "ar", so it can be a program name with args.
7576 set dummy
ar; ac_word
=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7580 $as_echo_n "(cached) " >&6
7582 if test -n "$ac_ct_AR"; then
7583 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir
=.
7590 for ac_exec_ext
in '' $ac_executable_extensions; do
7591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592 ac_cv_prog_ac_ct_AR
="ar"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7603 if test -n "$ac_ct_AR"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7605 $as_echo "$ac_ct_AR" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7611 if test "x$ac_ct_AR" = x
; then
7614 case $cross_compiling:$ac_tool_warned in
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7618 ac_tool_warned
=yes ;;
7626 test -z "$AR" && AR
=ar
7627 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7639 if test -n "$ac_tool_prefix"; then
7640 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7641 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if test "${ac_cv_prog_STRIP+set}" = set; then :
7645 $as_echo_n "(cached) " >&6
7647 if test -n "$STRIP"; then
7648 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7654 test -z "$as_dir" && as_dir
=.
7655 for ac_exec_ext
in '' $ac_executable_extensions; do
7656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7657 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 STRIP
=$ac_cv_prog_STRIP
7668 if test -n "$STRIP"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7670 $as_echo "$STRIP" >&6; }
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7678 if test -z "$ac_cv_prog_STRIP"; then
7680 # Extract the first word of "strip", so it can be a program name with args.
7681 set dummy strip
; ac_word
=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7685 $as_echo_n "(cached) " >&6
7687 if test -n "$ac_ct_STRIP"; then
7688 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7694 test -z "$as_dir" && as_dir
=.
7695 for ac_exec_ext
in '' $ac_executable_extensions; do
7696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7697 ac_cv_prog_ac_ct_STRIP
="strip"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7707 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7708 if test -n "$ac_ct_STRIP"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7710 $as_echo "$ac_ct_STRIP" >&6; }
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7716 if test "x$ac_ct_STRIP" = x
; then
7719 case $cross_compiling:$ac_tool_warned in
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7723 ac_tool_warned
=yes ;;
7728 STRIP
="$ac_cv_prog_STRIP"
7731 test -z "$STRIP" && STRIP
=:
7738 if test -n "$ac_tool_prefix"; then
7739 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7740 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 $as_echo_n "checking for $ac_word... " >&6; }
7743 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7744 $as_echo_n "(cached) " >&6
7746 if test -n "$RANLIB"; then
7747 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir
=.
7754 for ac_exec_ext
in '' $ac_executable_extensions; do
7755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7756 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 RANLIB
=$ac_cv_prog_RANLIB
7767 if test -n "$RANLIB"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7769 $as_echo "$RANLIB" >&6; }
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7777 if test -z "$ac_cv_prog_RANLIB"; then
7778 ac_ct_RANLIB
=$RANLIB
7779 # Extract the first word of "ranlib", so it can be a program name with args.
7780 set dummy ranlib
; ac_word
=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782 $as_echo_n "checking for $ac_word... " >&6; }
7783 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7784 $as_echo_n "(cached) " >&6
7786 if test -n "$ac_ct_RANLIB"; then
7787 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7793 test -z "$as_dir" && as_dir
=.
7794 for ac_exec_ext
in '' $ac_executable_extensions; do
7795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7796 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7806 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7807 if test -n "$ac_ct_RANLIB"; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7809 $as_echo "$ac_ct_RANLIB" >&6; }
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812 $as_echo "no" >&6; }
7815 if test "x$ac_ct_RANLIB" = x
; then
7818 case $cross_compiling:$ac_tool_warned in
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7822 ac_tool_warned
=yes ;;
7824 RANLIB
=$ac_ct_RANLIB
7827 RANLIB
="$ac_cv_prog_RANLIB"
7830 test -z "$RANLIB" && RANLIB
=:
7837 # Determine commands to create old-style static archives.
7838 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7839 old_postinstall_cmds
='chmod 644 $oldlib'
7840 old_postuninstall_cmds
=
7842 if test -n "$RANLIB"; then
7845 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7848 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7851 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7856 lock_old_archive_extraction
=yes ;;
7858 lock_old_archive_extraction
=no
;;
7899 # If no C compiler was specified, use CC.
7902 # If no C compiler flags were specified, use CFLAGS.
7903 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7905 # Allow CC to be a program name with arguments.
7909 # Check for command to grab the raw symbol name followed by C symbol from nm.
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7911 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7912 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7913 $as_echo_n "(cached) " >&6
7916 # These are sane defaults that work on at least a few old systems.
7917 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7919 # Character class describing NM global symbol codes.
7920 symcode
='[BCDEGRST]'
7922 # Regexp to match symbols that can be accessed directly from C.
7923 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7925 # Define system-specific variables.
7930 cygwin
* | mingw
* | pw32
* | cegcc
*)
7931 symcode
='[ABCDGISTW]'
7934 if test "$host_cpu" = ia64
; then
7935 symcode
='[ABCDEGRST]'
7939 symcode
='[BCDEGRST]'
7942 symcode
='[BCDEGQRST]'
7953 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7961 # If we're using GNU nm, then use its standard symbol codes.
7962 case `$NM -V 2>&1` in
7963 *GNU
* |
*'with BFD'*)
7964 symcode
='[ABCDGIRSTW]' ;;
7967 # Transform an extracted symbol line into a proper C declaration.
7968 # Some systems (esp. on ia64) link data and code symbols differently,
7969 # so use this general approach.
7970 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7972 # Transform an extracted symbol line into symbol name and symbol address
7973 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7974 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'"
7976 # Handle CRLF in mingw tool chain
7980 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7984 # Try without a prefix underscore, then with it.
7985 for ac_symprfx
in "" "_"; do
7987 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7988 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7990 # Write the raw and C identifiers.
7991 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7992 # Fake it for dumpbin and say T for any non-static function
7993 # and D for any global variable.
7994 # Also find C++ and __fastcall symbols from MSVC++,
7995 # which start with @ or ?.
7996 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7997 " {last_section=section; section=\$ 3};"\
7998 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7999 " \$ 0!~/External *\|/{next};"\
8000 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8001 " {if(hide[section]) next};"\
8002 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8003 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8004 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8005 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8006 " ' prfx=^$ac_symprfx"
8008 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8011 # Check to see that the pipe works correctly.
8015 cat > conftest.
$ac_ext <<_LT_EOF
8020 void nm_test_func(void);
8021 void nm_test_func(void){}
8025 int main(){nm_test_var='a';nm_test_func();return(0);}
8028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8029 (eval $ac_compile) 2>&5
8031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8032 test $ac_status = 0; }; then
8033 # Now try to grab the symbols.
8035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8036 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8039 test $ac_status = 0; } && test -s "$nlist"; then
8040 # Try sorting and uniquifying the output.
8041 if sort "$nlist" |
uniq > "$nlist"T
; then
8042 mv -f "$nlist"T
"$nlist"
8047 # Make sure that we snagged all the symbols we need.
8048 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8049 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8050 cat <<_LT_EOF > conftest.$ac_ext
8056 # Now generate the symbol file.
8057 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8059 cat <<_LT_EOF >> conftest.$ac_ext
8061 /* The mapping between symbol names and symbols. */
8066 lt__PROGRAM__LTX_preloaded_symbols[] =
8068 { "@PROGRAM@", (void *) 0 },
8070 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8071 cat <<\_LT_EOF
>> conftest.
$ac_ext
8075 /* This works around a problem
in FreeBSD linker
*/
8076 #ifdef FREEBSD_WORKAROUND
8077 static const void
*lt_preloaded_setup
() {
8078 return lt__PROGRAM__LTX_preloaded_symbols
;
8086 # Now try linking the two files.
8087 mv conftest.
$ac_objext conftstm.
$ac_objext
8088 lt_save_LIBS
="$LIBS"
8089 lt_save_CFLAGS
="$CFLAGS"
8090 LIBS
="conftstm.$ac_objext"
8091 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8093 (eval $ac_link) 2>&5
8095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8096 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8099 LIBS
="$lt_save_LIBS"
8100 CFLAGS
="$lt_save_CFLAGS"
8102 echo "cannot find nm_test_func in $nlist" >&5
8105 echo "cannot find nm_test_var in $nlist" >&5
8108 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8111 echo "$progname: failed program was:" >&5
8112 cat conftest.
$ac_ext >&5
8114 rm -rf conftest
* conftst
*
8116 # Do not use the global_symbol_pipe unless it works.
8117 if test "$pipe_works" = yes; then
8120 lt_cv_sys_global_symbol_pipe
=
8126 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8127 lt_cv_sys_global_symbol_to_cdecl
=
8129 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8131 $as_echo "failed" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8134 $as_echo "ok" >&6; }
8158 # Check whether --enable-libtool-lock was given.
8159 if test "${enable_libtool_lock+set}" = set; then :
8160 enableval
=$enable_libtool_lock;
8163 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8165 # Some flags need to be propagated to the compiler or linker for good
8169 # Find out which ABI we are using.
8170 echo 'int i;' > conftest.
$ac_ext
8171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8172 (eval $ac_compile) 2>&5
8174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8175 test $ac_status = 0; }; then
8176 case `/usr/bin/file conftest.$ac_objext` in
8188 # Find out which ABI we are using.
8189 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8191 (eval $ac_compile) 2>&5
8193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8194 test $ac_status = 0; }; then
8195 if test "$lt_cv_prog_gnu_ld" = yes; then
8196 case `/usr/bin/file conftest.$ac_objext` in
8198 LD
="${LD-ld} -melf32bsmip"
8201 LD
="${LD-ld} -melf32bmipn32"
8204 LD
="${LD-ld} -melf64bmip"
8208 case `/usr/bin/file conftest.$ac_objext` in
8224 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8225 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8226 # Find out which ABI we are using.
8227 echo 'int i;' > conftest.
$ac_ext
8228 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8229 (eval $ac_compile) 2>&5
8231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8232 test $ac_status = 0; }; then
8233 case `/usr/bin/file conftest.o` in
8236 x86_64-
*kfreebsd
*-gnu)
8237 LD
="${LD-ld} -m elf_i386_fbsd"
8240 case `/usr/bin/file conftest.o` in
8242 LD
="${LD-ld} -m elf32_x86_64"
8245 LD
="${LD-ld} -m elf_i386"
8249 powerpc64le-
*linux
*)
8250 LD
="${LD-ld} -m elf32lppclinux"
8253 LD
="${LD-ld} -m elf32ppclinux"
8256 LD
="${LD-ld} -m elf_s390"
8259 LD
="${LD-ld} -m elf32_sparc"
8265 x86_64-
*kfreebsd
*-gnu)
8266 LD
="${LD-ld} -m elf_x86_64_fbsd"
8269 LD
="${LD-ld} -m elf_x86_64"
8272 LD
="${LD-ld} -m elf64lppc"
8275 LD
="${LD-ld} -m elf64ppc"
8277 s390
*-*linux
*|s390
*-*tpf
*)
8278 LD
="${LD-ld} -m elf64_s390"
8281 LD
="${LD-ld} -m elf64_sparc"
8291 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8292 SAVE_CFLAGS
="$CFLAGS"
8293 CFLAGS
="$CFLAGS -belf"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8295 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8296 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8297 $as_echo_n "(cached) " >&6
8300 ac_cpp
='$CPP $CPPFLAGS'
8301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8305 if test x
$gcc_no_link = xyes
; then
8306 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8319 if ac_fn_c_try_link
"$LINENO"; then :
8320 lt_cv_cc_needs_belf
=yes
8322 lt_cv_cc_needs_belf
=no
8324 rm -f core conftest.err conftest.
$ac_objext \
8325 conftest
$ac_exeext conftest.
$ac_ext
8327 ac_cpp
='$CPP $CPPFLAGS'
8328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8334 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8335 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8336 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8337 CFLAGS
="$SAVE_CFLAGS"
8341 # Find out which ABI we are using.
8342 echo 'int i;' > conftest.
$ac_ext
8343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8344 (eval $ac_compile) 2>&5
8346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8347 test $ac_status = 0; }; then
8348 case `/usr/bin/file conftest.o` in
8350 case $lt_cv_prog_gnu_ld in
8351 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8353 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8365 need_locks
="$enable_libtool_lock"
8369 rhapsody
* | darwin
*)
8370 if test -n "$ac_tool_prefix"; then
8371 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8372 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8376 $as_echo_n "(cached) " >&6
8378 if test -n "$DSYMUTIL"; then
8379 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8385 test -z "$as_dir" && as_dir
=.
8386 for ac_exec_ext
in '' $ac_executable_extensions; do
8387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8388 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8398 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8399 if test -n "$DSYMUTIL"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8401 $as_echo "$DSYMUTIL" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8409 if test -z "$ac_cv_prog_DSYMUTIL"; then
8410 ac_ct_DSYMUTIL
=$DSYMUTIL
8411 # Extract the first word of "dsymutil", so it can be a program name with args.
8412 set dummy dsymutil
; ac_word
=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8414 $as_echo_n "checking for $ac_word... " >&6; }
8415 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8416 $as_echo_n "(cached) " >&6
8418 if test -n "$ac_ct_DSYMUTIL"; then
8419 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8425 test -z "$as_dir" && as_dir
=.
8426 for ac_exec_ext
in '' $ac_executable_extensions; do
8427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8428 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8438 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8439 if test -n "$ac_ct_DSYMUTIL"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8441 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8447 if test "x$ac_ct_DSYMUTIL" = x
; then
8450 case $cross_compiling:$ac_tool_warned in
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8454 ac_tool_warned
=yes ;;
8456 DSYMUTIL
=$ac_ct_DSYMUTIL
8459 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8462 if test -n "$ac_tool_prefix"; then
8463 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8464 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8466 $as_echo_n "checking for $ac_word... " >&6; }
8467 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8468 $as_echo_n "(cached) " >&6
8470 if test -n "$NMEDIT"; then
8471 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8477 test -z "$as_dir" && as_dir
=.
8478 for ac_exec_ext
in '' $ac_executable_extensions; do
8479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8480 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8490 NMEDIT
=$ac_cv_prog_NMEDIT
8491 if test -n "$NMEDIT"; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8493 $as_echo "$NMEDIT" >&6; }
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496 $as_echo "no" >&6; }
8501 if test -z "$ac_cv_prog_NMEDIT"; then
8502 ac_ct_NMEDIT
=$NMEDIT
8503 # Extract the first word of "nmedit", so it can be a program name with args.
8504 set dummy nmedit
; ac_word
=$2
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8506 $as_echo_n "checking for $ac_word... " >&6; }
8507 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8508 $as_echo_n "(cached) " >&6
8510 if test -n "$ac_ct_NMEDIT"; then
8511 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8517 test -z "$as_dir" && as_dir
=.
8518 for ac_exec_ext
in '' $ac_executable_extensions; do
8519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8520 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8530 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8531 if test -n "$ac_ct_NMEDIT"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8533 $as_echo "$ac_ct_NMEDIT" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8539 if test "x$ac_ct_NMEDIT" = x
; then
8542 case $cross_compiling:$ac_tool_warned in
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8546 ac_tool_warned
=yes ;;
8548 NMEDIT
=$ac_ct_NMEDIT
8551 NMEDIT
="$ac_cv_prog_NMEDIT"
8554 if test -n "$ac_tool_prefix"; then
8555 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8556 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8558 $as_echo_n "checking for $ac_word... " >&6; }
8559 if test "${ac_cv_prog_LIPO+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8562 if test -n "$LIPO"; then
8563 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8569 test -z "$as_dir" && as_dir
=.
8570 for ac_exec_ext
in '' $ac_executable_extensions; do
8571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8572 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8582 LIPO
=$ac_cv_prog_LIPO
8583 if test -n "$LIPO"; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8585 $as_echo "$LIPO" >&6; }
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8588 $as_echo "no" >&6; }
8593 if test -z "$ac_cv_prog_LIPO"; then
8595 # Extract the first word of "lipo", so it can be a program name with args.
8596 set dummy lipo
; ac_word
=$2
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8598 $as_echo_n "checking for $ac_word... " >&6; }
8599 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8600 $as_echo_n "(cached) " >&6
8602 if test -n "$ac_ct_LIPO"; then
8603 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8609 test -z "$as_dir" && as_dir
=.
8610 for ac_exec_ext
in '' $ac_executable_extensions; do
8611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8612 ac_cv_prog_ac_ct_LIPO
="lipo"
8613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8622 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8623 if test -n "$ac_ct_LIPO"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8625 $as_echo "$ac_ct_LIPO" >&6; }
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8628 $as_echo "no" >&6; }
8631 if test "x$ac_ct_LIPO" = x
; then
8634 case $cross_compiling:$ac_tool_warned in
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8638 ac_tool_warned
=yes ;;
8643 LIPO
="$ac_cv_prog_LIPO"
8646 if test -n "$ac_tool_prefix"; then
8647 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8648 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650 $as_echo_n "checking for $ac_word... " >&6; }
8651 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8652 $as_echo_n "(cached) " >&6
8654 if test -n "$OTOOL"; then
8655 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir
=.
8662 for ac_exec_ext
in '' $ac_executable_extensions; do
8663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8674 OTOOL
=$ac_cv_prog_OTOOL
8675 if test -n "$OTOOL"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8677 $as_echo "$OTOOL" >&6; }
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680 $as_echo "no" >&6; }
8685 if test -z "$ac_cv_prog_OTOOL"; then
8687 # Extract the first word of "otool", so it can be a program name with args.
8688 set dummy otool
; ac_word
=$2
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8690 $as_echo_n "checking for $ac_word... " >&6; }
8691 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8692 $as_echo_n "(cached) " >&6
8694 if test -n "$ac_ct_OTOOL"; then
8695 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir
=.
8702 for ac_exec_ext
in '' $ac_executable_extensions; do
8703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8704 ac_cv_prog_ac_ct_OTOOL
="otool"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8714 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8715 if test -n "$ac_ct_OTOOL"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8717 $as_echo "$ac_ct_OTOOL" >&6; }
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 $as_echo "no" >&6; }
8723 if test "x$ac_ct_OTOOL" = x
; then
8726 case $cross_compiling:$ac_tool_warned in
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8730 ac_tool_warned
=yes ;;
8735 OTOOL
="$ac_cv_prog_OTOOL"
8738 if test -n "$ac_tool_prefix"; then
8739 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8740 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8742 $as_echo_n "checking for $ac_word... " >&6; }
8743 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8744 $as_echo_n "(cached) " >&6
8746 if test -n "$OTOOL64"; then
8747 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8753 test -z "$as_dir" && as_dir
=.
8754 for ac_exec_ext
in '' $ac_executable_extensions; do
8755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8756 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8766 OTOOL64
=$ac_cv_prog_OTOOL64
8767 if test -n "$OTOOL64"; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8769 $as_echo "$OTOOL64" >&6; }
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8772 $as_echo "no" >&6; }
8777 if test -z "$ac_cv_prog_OTOOL64"; then
8778 ac_ct_OTOOL64
=$OTOOL64
8779 # Extract the first word of "otool64", so it can be a program name with args.
8780 set dummy otool64
; ac_word
=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8782 $as_echo_n "checking for $ac_word... " >&6; }
8783 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8784 $as_echo_n "(cached) " >&6
8786 if test -n "$ac_ct_OTOOL64"; then
8787 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir
=.
8794 for ac_exec_ext
in '' $ac_executable_extensions; do
8795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8796 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8806 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8807 if test -n "$ac_ct_OTOOL64"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8809 $as_echo "$ac_ct_OTOOL64" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8815 if test "x$ac_ct_OTOOL64" = x
; then
8818 case $cross_compiling:$ac_tool_warned in
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8822 ac_tool_warned
=yes ;;
8824 OTOOL64
=$ac_ct_OTOOL64
8827 OTOOL64
="$ac_cv_prog_OTOOL64"
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8857 $as_echo_n "checking for -single_module linker flag... " >&6; }
8858 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8859 $as_echo_n "(cached) " >&6
8861 lt_cv_apple_cc_single_mod
=no
8862 if test -z "${LT_MULTI_MODULE}"; then
8863 # By default we will add the -single_module flag. You can override
8864 # by either setting the environment variable LT_MULTI_MODULE
8865 # non-empty at configure time, or by adding -multi_module to the
8867 rm -rf libconftest.dylib
*
8868 echo "int foo(void){return 1;}" > conftest.c
8869 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8870 -dynamiclib -Wl,-single_module conftest.c" >&5
8871 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8872 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8874 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8875 lt_cv_apple_cc_single_mod
=yes
8877 cat conftest.err
>&5
8879 rm -rf libconftest.dylib
*
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8884 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8886 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8887 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8890 lt_cv_ld_exported_symbols_list
=no
8891 save_LDFLAGS
=$LDFLAGS
8892 echo "_main" > conftest.sym
8893 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8894 if test x
$gcc_no_link = xyes
; then
8895 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8908 if ac_fn_c_try_link
"$LINENO"; then :
8909 lt_cv_ld_exported_symbols_list
=yes
8911 lt_cv_ld_exported_symbols_list
=no
8913 rm -f core conftest.err conftest.
$ac_objext \
8914 conftest
$ac_exeext conftest.
$ac_ext
8915 LDFLAGS
="$save_LDFLAGS"
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8919 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8921 $as_echo_n "checking for -force_load linker flag... " >&6; }
8922 if test "${lt_cv_ld_force_load+set}" = set; then :
8923 $as_echo_n "(cached) " >&6
8925 lt_cv_ld_force_load
=no
8926 cat > conftest.c
<< _LT_EOF
8927 int forced_loaded() { return 2;}
8929 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8930 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8931 echo "$AR cru libconftest.a conftest.o" >&5
8932 $AR cru libconftest.a conftest.o
2>&5
8933 cat > conftest.c
<< _LT_EOF
8934 int main() { return 0;}
8936 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8937 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8939 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8940 lt_cv_ld_force_load
=yes
8942 cat conftest.err
>&5
8944 rm -f conftest.err libconftest.a conftest conftest.c
8945 rm -rf conftest.dSYM
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8949 $as_echo "$lt_cv_ld_force_load" >&6; }
8951 rhapsody
* | darwin1.
[012])
8952 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8954 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8955 darwin
*) # darwin 5.x on
8956 # if running on 10.5 or later, the deployment target defaults
8957 # to the OS version, if on x86, and 10.4, the deployment
8958 # target defaults to 10.4. Don't you love it?
8959 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8960 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8961 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8963 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8965 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8969 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8970 _lt_dar_single_mod
='$single_module'
8972 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8973 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8975 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8977 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8978 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8985 for ac_header
in dlfcn.h
8987 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8989 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8990 cat >>confdefs.h
<<_ACEOF
8991 #define HAVE_DLFCN_H 1
9010 # Check whether --enable-shared was given.
9011 if test "${enable_shared+set}" = set; then :
9012 enableval
=$enable_shared; p
=${PACKAGE-default}
9014 yes) enable_shared
=yes ;;
9015 no
) enable_shared
=no
;;
9018 # Look at the argument we got. We use all the common list separators.
9019 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9020 for pkg
in $enableval; do
9022 if test "X$pkg" = "X$p"; then
9041 # Check whether --enable-static was given.
9042 if test "${enable_static+set}" = set; then :
9043 enableval
=$enable_static; p
=${PACKAGE-default}
9045 yes) enable_static
=yes ;;
9046 no
) enable_static
=no
;;
9049 # Look at the argument we got. We use all the common list separators.
9050 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9051 for pkg
in $enableval; do
9053 if test "X$pkg" = "X$p"; then
9073 # Check whether --with-pic was given.
9074 if test "${with_pic+set}" = set; then :
9075 withval
=$with_pic; pic_mode
="$withval"
9081 test -z "$pic_mode" && pic_mode
=default
9089 # Check whether --enable-fast-install was given.
9090 if test "${enable_fast_install+set}" = set; then :
9091 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9093 yes) enable_fast_install
=yes ;;
9094 no
) enable_fast_install
=no
;;
9096 enable_fast_install
=no
9097 # Look at the argument we got. We use all the common list separators.
9098 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9099 for pkg
in $enableval; do
9101 if test "X$pkg" = "X$p"; then
9102 enable_fast_install
=yes
9109 enable_fast_install
=yes
9122 # This can be used to rebuild libtool when needed
9123 LIBTOOL_DEPS
="$ltmain"
9125 # Always use our own libtool.
9126 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9153 test -z "$LN_S" && LN_S
="ln -s"
9168 if test -n "${ZSH_VERSION+set}" ; then
9169 setopt NO_GLOB_SUBST
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9173 $as_echo_n "checking for objdir... " >&6; }
9174 if test "${lt_cv_objdir+set}" = set; then :
9175 $as_echo_n "(cached) " >&6
9177 rm -f .libs
2>/dev
/null
9178 mkdir .libs
2>/dev
/null
9179 if test -d .libs
; then
9182 # MS-DOS does not allow filenames that begin with a dot.
9185 rmdir .libs
2>/dev
/null
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9188 $as_echo "$lt_cv_objdir" >&6; }
9189 objdir
=$lt_cv_objdir
9195 cat >>confdefs.h
<<_ACEOF
9196 #define LT_OBJDIR "$lt_cv_objdir/"
9204 # AIX sometimes has problems with the GCC collect2 program. For some
9205 # reason, if we set the COLLECT_NAMES environment variable, the problems
9206 # vanish in a puff of smoke.
9207 if test "X${COLLECT_NAMES+set}" != Xset
; then
9209 export COLLECT_NAMES
9216 can_build_shared
=yes
9218 # All known linkers require a `.a' archive for static linking (except MSVC,
9219 # which needs '.lib').
9222 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9225 old_CFLAGS
="$CFLAGS"
9227 # Set sane defaults for various variables
9228 test -z "$CC" && CC
=cc
9229 test -z "$LTCC" && LTCC
=$CC
9230 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9231 test -z "$LD" && LD
=ld
9232 test -z "$ac_objext" && ac_objext
=o
9234 for cc_temp
in $compiler""; do
9236 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9237 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9242 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9245 # Only perform the check for file, if the check method requires it
9246 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9247 case $deplibs_check_method in
9249 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9251 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9252 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9253 $as_echo_n "(cached) " >&6
9257 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9260 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9261 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9262 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9263 for ac_dir
in $ac_dummy; do
9265 test -z "$ac_dir" && ac_dir
=.
9266 if test -f $ac_dir/${ac_tool_prefix}file; then
9267 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9268 if test -n "$file_magic_test_file"; then
9269 case $deplibs_check_method in
9271 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9272 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9273 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9274 $EGREP "$file_magic_regex" > /dev
/null
; then
9279 *** Warning: the command libtool uses to detect shared libraries,
9280 *** $file_magic_cmd, produces output that libtool cannot recognize.
9281 *** The result is that libtool may fail to recognize shared libraries
9282 *** as such. This will affect the creation of libtool libraries that
9283 *** depend on shared libraries, but programs linked with such libtool
9284 *** libraries will work regardless of this problem. Nevertheless, you
9285 *** may want to report the problem to your system manager and/or to
9286 *** bug-libtool@gnu.org
9296 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9301 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9302 if test -n "$MAGIC_CMD"; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9304 $as_echo "$MAGIC_CMD" >&6; }
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9307 $as_echo "no" >&6; }
9314 if test -z "$lt_cv_path_MAGIC_CMD"; then
9315 if test -n "$ac_tool_prefix"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9317 $as_echo_n "checking for file... " >&6; }
9318 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9319 $as_echo_n "(cached) " >&6
9323 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9326 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9327 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9328 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9329 for ac_dir
in $ac_dummy; do
9331 test -z "$ac_dir" && ac_dir
=.
9332 if test -f $ac_dir/file; then
9333 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9334 if test -n "$file_magic_test_file"; then
9335 case $deplibs_check_method in
9337 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9338 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9339 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9340 $EGREP "$file_magic_regex" > /dev
/null
; then
9345 *** Warning: the command libtool uses to detect shared libraries,
9346 *** $file_magic_cmd, produces output that libtool cannot recognize.
9347 *** The result is that libtool may fail to recognize shared libraries
9348 *** as such. This will affect the creation of libtool libraries that
9349 *** depend on shared libraries, but programs linked with such libtool
9350 *** libraries will work regardless of this problem. Nevertheless, you
9351 *** may want to report the problem to your system manager and/or to
9352 *** bug-libtool@gnu.org
9362 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9367 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9368 if test -n "$MAGIC_CMD"; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9370 $as_echo "$MAGIC_CMD" >&6; }
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 $as_echo "no" >&6; }
9386 # Use C for the default configuration in the libtool script
9390 ac_cpp
='$CPP $CPPFLAGS'
9391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9396 # Source file extension for C test sources.
9399 # Object file extension for compiled C test sources.
9403 # Code to be used in simple compile tests
9404 lt_simple_compile_test_code
="int some_variable = 0;"
9406 # Code to be used in simple link tests
9407 lt_simple_link_test_code
='int main(){return(0);}'
9415 # If no C compiler was specified, use CC.
9418 # If no C compiler flags were specified, use CFLAGS.
9419 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9421 # Allow CC to be a program name with arguments.
9424 # Save the default compiler, since it gets overwritten when the other
9425 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9426 compiler_DEFAULT
=$CC
9428 # save warnings/boilerplate of simple test code
9429 ac_outfile
=conftest.
$ac_objext
9430 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9431 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9432 _lt_compiler_boilerplate
=`cat conftest.err`
9435 ac_outfile
=conftest.
$ac_objext
9436 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9437 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9438 _lt_linker_boilerplate
=`cat conftest.err`
9443 ## There is no encapsulation within the following macros, do not change
9444 ## the running order or otherwise move them around unless you know exactly
9445 ## what you are doing...
9446 if test -n "$compiler"; then
9448 lt_prog_compiler_no_builtin_flag
=
9450 if test "$GCC" = yes; then
9451 case $cc_basename in
9453 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9455 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9459 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9460 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9461 $as_echo_n "(cached) " >&6
9463 lt_cv_prog_compiler_rtti_exceptions
=no
9464 ac_outfile
=conftest.
$ac_objext
9465 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9466 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9467 # Insert the option either (1) after the last *FLAGS variable, or
9468 # (2) before a word containing "conftest.", or (3) at the end.
9469 # Note that $ac_compile itself does not contain backslashes and begins
9470 # with a dollar sign (not a hyphen), so the echo should work correctly.
9471 # The option is referenced via a variable to avoid confusing sed.
9472 lt_compile
=`echo "$ac_compile" | $SED \
9473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9475 -e 's:$: $lt_compiler_flag:'`
9476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9477 (eval "$lt_compile" 2>conftest.err
)
9479 cat conftest.err
>&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 if (exit $ac_status) && test -s "$ac_outfile"; then
9482 # The compiler can only warn and ignore the option if not recognized
9483 # So say no if there are warnings other than the usual output.
9484 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9485 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9486 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9487 lt_cv_prog_compiler_rtti_exceptions
=yes
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9494 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9496 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9497 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9509 lt_prog_compiler_wl
=
9510 lt_prog_compiler_pic
=
9511 lt_prog_compiler_static
=
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9514 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9516 if test "$GCC" = yes; then
9517 lt_prog_compiler_wl
='-Wl,'
9518 lt_prog_compiler_static
='-static'
9522 # All AIX code is PIC.
9523 if test "$host_cpu" = ia64
; then
9524 # AIX 5 now supports IA64 processor
9525 lt_prog_compiler_static
='-Bstatic'
9527 lt_prog_compiler_pic
='-fPIC'
9533 # see comment about AmigaOS4 .so support
9534 lt_prog_compiler_pic
='-fPIC'
9537 # FIXME: we need at least 68020 code to build shared libraries, but
9538 # adding the `-m68020' flag to GCC prevents building anything better,
9540 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9545 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9546 # PIC is the default for these OSes.
9549 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9550 # This hack is so that the source file can tell whether it is being
9551 # built for inclusion in a dll (and should export symbols for example).
9552 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9553 # (--disable-auto-import) libraries
9554 lt_prog_compiler_pic
='-DDLL_EXPORT'
9557 darwin
* | rhapsody
*)
9558 # PIC is the default on this platform
9559 # Common symbols not allowed in MH_DYLIB files
9560 lt_prog_compiler_pic
='-fno-common'
9564 # PIC is the default for Haiku.
9565 # The "-static" flag exists, but is broken.
9566 lt_prog_compiler_static
=
9570 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9571 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9572 # sets the default TLS model and affects inlining.
9578 lt_prog_compiler_pic
='-fPIC'
9584 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9585 # Instead, we relocate shared libraries at runtime.
9589 # Just because we use GCC doesn't mean we suddenly get shared libraries
9590 # on systems that don't support them.
9591 lt_prog_compiler_can_build_shared
=no
9596 # QNX uses GNU C++, but need to define -shared option too, otherwise
9598 lt_prog_compiler_pic
='-fPIC -shared'
9602 if test -d /usr
/nec
; then
9603 lt_prog_compiler_pic
=-Kconform_pic
9608 lt_prog_compiler_pic
='-fPIC'
9612 case $cc_basename in
9613 nvcc
*) # Cuda Compiler Driver 2.2
9614 lt_prog_compiler_wl
='-Xlinker '
9615 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9619 # PORTME Check for flag to pass linker flags through the system compiler.
9622 lt_prog_compiler_wl
='-Wl,'
9623 if test "$host_cpu" = ia64
; then
9624 # AIX 5 now supports IA64 processor
9625 lt_prog_compiler_static
='-Bstatic'
9627 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9631 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9632 # This hack is so that the source file can tell whether it is being
9633 # built for inclusion in a dll (and should export symbols for example).
9634 lt_prog_compiler_pic
='-DDLL_EXPORT'
9637 hpux9
* | hpux10
* | hpux11
*)
9638 lt_prog_compiler_wl
='-Wl,'
9639 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9646 lt_prog_compiler_pic
='+Z'
9649 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9650 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9653 irix5
* | irix6
* | nonstopux
*)
9654 lt_prog_compiler_wl
='-Wl,'
9655 # PIC (with -KPIC) is the default.
9656 lt_prog_compiler_static
='-non_shared'
9659 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9660 case $cc_basename in
9661 # old Intel for x86_64 which still supported -KPIC.
9663 lt_prog_compiler_wl
='-Wl,'
9664 lt_prog_compiler_pic
='-KPIC'
9665 lt_prog_compiler_static
='-static'
9667 # icc used to be incompatible with GCC.
9668 # ICC 10 doesn't accept -KPIC any more.
9670 lt_prog_compiler_wl
='-Wl,'
9671 lt_prog_compiler_pic
='-fPIC'
9672 lt_prog_compiler_static
='-static'
9674 # Lahey Fortran 8.1.
9676 lt_prog_compiler_wl
='-Wl,'
9677 lt_prog_compiler_pic
='--shared'
9678 lt_prog_compiler_static
='--static'
9680 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9681 # Portland Group compilers (*not* the Pentium gcc compiler,
9682 # which looks to be a dead project)
9683 lt_prog_compiler_wl
='-Wl,'
9684 lt_prog_compiler_pic
='-fpic'
9685 lt_prog_compiler_static
='-Bstatic'
9688 lt_prog_compiler_wl
='-Wl,'
9689 # All Alpha code is PIC.
9690 lt_prog_compiler_static
='-non_shared'
9692 xl
* | bgxl
* | bgf
* | mpixl
*)
9693 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9694 lt_prog_compiler_wl
='-Wl,'
9695 lt_prog_compiler_pic
='-qpic'
9696 lt_prog_compiler_static
='-qstaticlink'
9699 case `$CC -V 2>&1 | sed 5q` in
9700 *Sun\ F
* |
*Sun
*Fortran
*)
9701 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9702 lt_prog_compiler_pic
='-KPIC'
9703 lt_prog_compiler_static
='-Bstatic'
9704 lt_prog_compiler_wl
=''
9708 lt_prog_compiler_pic
='-KPIC'
9709 lt_prog_compiler_static
='-Bstatic'
9710 lt_prog_compiler_wl
='-Wl,'
9718 lt_prog_compiler_pic
='-KPIC'
9719 lt_prog_compiler_static
='-Bstatic'
9723 # QNX uses GNU C++, but need to define -shared option too, otherwise
9725 lt_prog_compiler_pic
='-fPIC -shared'
9728 osf3
* | osf4
* | osf5
*)
9729 lt_prog_compiler_wl
='-Wl,'
9730 # All OSF/1 code is PIC.
9731 lt_prog_compiler_static
='-non_shared'
9735 lt_prog_compiler_static
='-non_shared'
9739 lt_prog_compiler_pic
='-KPIC'
9740 lt_prog_compiler_static
='-Bstatic'
9741 case $cc_basename in
9743 lt_prog_compiler_wl
='-Qoption ld ';;
9745 lt_prog_compiler_wl
='-Wl,';;
9750 lt_prog_compiler_wl
='-Qoption ld '
9751 lt_prog_compiler_pic
='-PIC'
9752 lt_prog_compiler_static
='-Bstatic'
9755 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9756 lt_prog_compiler_wl
='-Wl,'
9757 lt_prog_compiler_pic
='-KPIC'
9758 lt_prog_compiler_static
='-Bstatic'
9762 if test -d /usr
/nec
;then
9763 lt_prog_compiler_pic
='-Kconform_pic'
9764 lt_prog_compiler_static
='-Bstatic'
9768 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9769 lt_prog_compiler_wl
='-Wl,'
9770 lt_prog_compiler_pic
='-KPIC'
9771 lt_prog_compiler_static
='-Bstatic'
9775 lt_prog_compiler_wl
='-Wl,'
9776 lt_prog_compiler_can_build_shared
=no
9780 lt_prog_compiler_pic
='-pic'
9781 lt_prog_compiler_static
='-Bstatic'
9785 lt_prog_compiler_can_build_shared
=no
9791 # For platforms which do not support PIC, -DPIC is meaningless:
9793 lt_prog_compiler_pic
=
9796 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9800 $as_echo "$lt_prog_compiler_pic" >&6; }
9808 # Check to make sure the PIC flag actually works.
9810 if test -n "$lt_prog_compiler_pic"; then
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9812 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9813 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9814 $as_echo_n "(cached) " >&6
9816 lt_cv_prog_compiler_pic_works
=no
9817 ac_outfile
=conftest.
$ac_objext
9818 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9819 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9820 # Insert the option either (1) after the last *FLAGS variable, or
9821 # (2) before a word containing "conftest.", or (3) at the end.
9822 # Note that $ac_compile itself does not contain backslashes and begins
9823 # with a dollar sign (not a hyphen), so the echo should work correctly.
9824 # The option is referenced via a variable to avoid confusing sed.
9825 lt_compile
=`echo "$ac_compile" | $SED \
9826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9828 -e 's:$: $lt_compiler_flag:'`
9829 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9830 (eval "$lt_compile" 2>conftest.err
)
9832 cat conftest.err
>&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 if (exit $ac_status) && test -s "$ac_outfile"; then
9835 # The compiler can only warn and ignore the option if not recognized
9836 # So say no if there are warnings other than the usual output.
9837 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9838 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9839 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9840 lt_cv_prog_compiler_pic_works
=yes
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9847 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9849 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9850 case $lt_prog_compiler_pic in
9852 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9855 lt_prog_compiler_pic
=
9856 lt_prog_compiler_can_build_shared
=no
9867 # Check to make sure the static flag actually works.
9869 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9871 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9872 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9873 $as_echo_n "(cached) " >&6
9875 lt_cv_prog_compiler_static_works
=no
9876 save_LDFLAGS
="$LDFLAGS"
9877 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9878 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9879 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9880 # The linker can only warn and ignore the option if not recognized
9881 # So say no if there are warnings
9882 if test -s conftest.err
; then
9883 # Append any errors to the config.log.
9884 cat conftest.err
1>&5
9885 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9886 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9887 if diff conftest.exp conftest.er2
>/dev
/null
; then
9888 lt_cv_prog_compiler_static_works
=yes
9891 lt_cv_prog_compiler_static_works
=yes
9895 LDFLAGS
="$save_LDFLAGS"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9899 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9901 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9904 lt_prog_compiler_static
=
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9914 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9915 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9916 $as_echo_n "(cached) " >&6
9918 lt_cv_prog_compiler_c_o
=no
9919 $RM -r conftest
2>/dev
/null
9923 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9925 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9926 # Insert the option either (1) after the last *FLAGS variable, or
9927 # (2) before a word containing "conftest.", or (3) at the end.
9928 # Note that $ac_compile itself does not contain backslashes and begins
9929 # with a dollar sign (not a hyphen), so the echo should work correctly.
9930 lt_compile
=`echo "$ac_compile" | $SED \
9931 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9932 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9933 -e 's:$: $lt_compiler_flag:'`
9934 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9935 (eval "$lt_compile" 2>out
/conftest.err
)
9937 cat out
/conftest.err
>&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9941 # The compiler can only warn and ignore the option if not recognized
9942 # So say no if there are warnings
9943 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9944 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9945 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9946 lt_cv_prog_compiler_c_o
=yes
9951 # SGI C++ compiler will create directory out/ii_files/ for
9952 # template instantiation
9953 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9954 $RM out
/* && rmdir out
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9961 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9970 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9971 $as_echo_n "(cached) " >&6
9973 lt_cv_prog_compiler_c_o
=no
9974 $RM -r conftest
2>/dev
/null
9978 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9980 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9981 # Insert the option either (1) after the last *FLAGS variable, or
9982 # (2) before a word containing "conftest.", or (3) at the end.
9983 # Note that $ac_compile itself does not contain backslashes and begins
9984 # with a dollar sign (not a hyphen), so the echo should work correctly.
9985 lt_compile
=`echo "$ac_compile" | $SED \
9986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9988 -e 's:$: $lt_compiler_flag:'`
9989 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9990 (eval "$lt_compile" 2>out
/conftest.err
)
9992 cat out
/conftest.err
>&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9996 # The compiler can only warn and ignore the option if not recognized
9997 # So say no if there are warnings
9998 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9999 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10000 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10001 lt_cv_prog_compiler_c_o
=yes
10006 # SGI C++ compiler will create directory out/ii_files/ for
10007 # template instantiation
10008 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10009 $RM out
/* && rmdir out
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10016 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10021 hard_links
="nottested"
10022 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10023 # do not overwrite the value of need_locks provided by the user
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10025 $as_echo_n "checking if we can lock with hard links... " >&6; }
10028 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10030 ln conftest.a conftest.b
2>&5 || hard_links
=no
10031 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10033 $as_echo "$hard_links" >&6; }
10034 if test "$hard_links" = no
; then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10036 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10052 allow_undefined_flag
=
10053 always_export_symbols
=no
10055 archive_expsym_cmds
=
10056 compiler_needs_object
=no
10057 enable_shared_with_static_runtimes
=no
10058 export_dynamic_flag_spec
=
10059 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10060 hardcode_automatic
=no
10062 hardcode_direct_absolute
=no
10063 hardcode_libdir_flag_spec
=
10064 hardcode_libdir_flag_spec_ld
=
10065 hardcode_libdir_separator
=
10066 hardcode_minus_L
=no
10067 hardcode_shlibpath_var
=unsupported
10069 link_all_deplibs
=unknown
10071 module_expsym_cmds
=
10072 old_archive_from_new_cmds
=
10073 old_archive_from_expsyms_cmds
=
10074 thread_safe_flag_spec
=
10075 whole_archive_flag_spec
=
10076 # include_expsyms should be a list of space-separated symbols to be *always*
10077 # included in the symbol list
10079 # exclude_expsyms can be an extended regexp of symbols to exclude
10080 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10081 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10082 # as well as any symbol that contains `d'.
10083 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10084 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10085 # platforms (ab)use it in PIC code, but their linkers get confused if
10086 # the symbol is explicitly referenced. Since portable code cannot
10087 # rely on this symbol name, it's probably fine to never include it in
10088 # preloaded symbol tables.
10089 # Exclude shared library initialization/finalization symbols.
10090 extract_expsyms_cmds
=
10093 cygwin
* | mingw
* | pw32
* | cegcc
*)
10094 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10095 # When not using gcc, we currently assume that we are using
10096 # Microsoft Visual C++.
10097 if test "$GCC" != yes; then
10102 # we just hope/assume this is gcc and not c89 (= MSVC++)
10112 # On some targets, GNU ld is compatible enough with the native linker
10113 # that we're better off using the native interface for both.
10114 lt_use_gnu_ld_interface
=no
10115 if test "$with_gnu_ld" = yes; then
10118 # The AIX port of GNU ld has always aspired to compatibility
10119 # with the native linker. However, as the warning in the GNU ld
10120 # block says, versions before 2.19.5* couldn't really create working
10121 # shared libraries, regardless of the interface used.
10122 case `$LD -v 2>&1` in
10123 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10124 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10125 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10127 lt_use_gnu_ld_interface
=yes
10132 lt_use_gnu_ld_interface
=yes
10137 if test "$lt_use_gnu_ld_interface" = yes; then
10138 # If archive_cmds runs LD, not CC, wlarc should be empty
10141 # Set some defaults for GNU ld with shared library support. These
10142 # are reset later if shared libraries are not supported. Putting them
10143 # here allows them to be overridden if necessary.
10144 runpath_var
=LD_RUN_PATH
10145 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10146 export_dynamic_flag_spec
='${wl}--export-dynamic'
10147 # ancient GNU ld didn't support --whole-archive et. al.
10148 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10149 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10151 whole_archive_flag_spec
=
10153 supports_anon_versioning
=no
10154 case `$LD -v 2>&1` in
10155 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10156 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10157 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10158 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10159 *\
2.11.
*) ;; # other 2.11 versions
10160 *) supports_anon_versioning
=yes ;;
10163 # See if GNU ld supports shared libraries.
10166 # On AIX/PPC, the GNU linker is very broken
10167 if test "$host_cpu" != ia64
; then
10171 *** Warning: the GNU linker, at least up to release 2.19, is reported
10172 *** to be unable to reliably create shared libraries on AIX.
10173 *** Therefore, libtool is disabling shared libraries support. If you
10174 *** really care for shared libraries, you may want to install binutils
10175 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10176 *** You will then need to restart the configuration process.
10185 # see comment about AmigaOS4 .so support
10186 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187 archive_expsym_cmds
=''
10190 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)'
10191 hardcode_libdir_flag_spec
='-L$libdir'
10192 hardcode_minus_L
=yes
10198 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10199 allow_undefined_flag
=unsupported
10200 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10201 # support --undefined. This deserves some investigation. FIXME
10202 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10208 cygwin
* | mingw
* | pw32
* | cegcc
*)
10209 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10210 # as there is no search path for DLLs.
10211 hardcode_libdir_flag_spec
='-L$libdir'
10212 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10213 allow_undefined_flag
=unsupported
10214 always_export_symbols
=no
10215 enable_shared_with_static_runtimes
=yes
10216 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10218 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10219 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10220 # If the export-symbols file already is a .def file (1st line
10221 # is EXPORTS), use it as is; otherwise, prepend...
10222 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10223 cp $export_symbols $output_objdir/$soname.def;
10225 echo EXPORTS > $output_objdir/$soname.def;
10226 cat $export_symbols >> $output_objdir/$soname.def;
10228 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10235 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10236 link_all_deplibs
=yes
10241 hardcode_shlibpath_var
=no
10242 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10243 export_dynamic_flag_spec
='${wl}-E'
10244 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10245 # Instead, shared libraries are loaded at an image base (0x10000000 by
10246 # default) and relocated if they conflict, which is a slow very memory
10247 # consuming and fragmenting process. To avoid this, we pick a random,
10248 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10249 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10250 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10251 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'
10254 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10256 if test "$host_os" = linux-dietlibc
; then
10257 case $cc_basename in
10258 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10261 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10262 && test "$tmp_diet" = no
10264 tmp_addflag
=' $pic_flag'
10265 tmp_sharedflag
='-shared'
10266 case $cc_basename,$host_cpu in
10267 pgcc
*) # Portland Group C compiler
10268 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'
10269 tmp_addflag
=' $pic_flag'
10271 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10272 # Portland Group f77 and f90 compilers
10273 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'
10274 tmp_addflag
=' $pic_flag -Mnomain' ;;
10275 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10276 tmp_addflag
=' -i_dynamic' ;;
10277 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10278 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10279 ifc
* | ifort
*) # Intel Fortran compiler
10280 tmp_addflag
=' -nofor_main' ;;
10281 lf95
*) # Lahey Fortran 8.1
10282 whole_archive_flag_spec
=
10283 tmp_sharedflag
='--shared' ;;
10284 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10285 tmp_sharedflag
='-qmkshrobj'
10287 nvcc
*) # Cuda Compiler Driver 2.2
10288 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'
10289 compiler_needs_object
=yes
10292 case `$CC -V 2>&1 | sed 5q` in
10293 *Sun\ C
*) # Sun C 5.9
10294 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'
10295 compiler_needs_object
=yes
10296 tmp_sharedflag
='-G' ;;
10297 *Sun\ F
*) # Sun Fortran 8.3
10298 tmp_sharedflag
='-G' ;;
10300 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10302 if test "x$supports_anon_versioning" = xyes
; then
10303 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10304 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10305 echo "local: *; };" >> $output_objdir/$libname.ver~
10306 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10309 case $cc_basename in
10310 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10311 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10312 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10313 hardcode_libdir_flag_spec
=
10314 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10315 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10316 if test "x$supports_anon_versioning" = xyes
; then
10317 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10318 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10319 echo "local: *; };" >> $output_objdir/$libname.ver~
10320 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10330 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10331 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10334 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10335 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10340 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10344 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10345 *** create shared libraries on Solaris systems. Therefore, libtool
10346 *** is disabling shared libraries support. We urge you to upgrade GNU
10347 *** binutils to release 2.9.1 or newer. Another option is to modify
10348 *** your PATH or compiler configuration so that the native linker is
10349 *** used, and then restart.
10352 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10353 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10354 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10360 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10361 case `$LD -v 2>&1` in
10362 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10366 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10367 *** reliably create shared libraries on SCO systems. Therefore, libtool
10368 *** is disabling shared libraries support. We urge you to upgrade GNU
10369 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10370 *** your PATH or compiler configuration so that the native linker is
10371 *** used, and then restart.
10376 # For security reasons, it is highly recommended that you always
10377 # use absolute paths for naming shared libraries, and exclude the
10378 # DT_RUNPATH tag from executables and libraries. But doing so
10379 # requires that you compile everything twice, which is a pain.
10380 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10381 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10383 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10392 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10394 hardcode_direct
=yes
10395 hardcode_shlibpath_var
=no
10399 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10400 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10401 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10408 if test "$ld_shlibs" = no
; then
10410 hardcode_libdir_flag_spec
=
10411 export_dynamic_flag_spec
=
10412 whole_archive_flag_spec
=
10415 # PORTME fill in a description of your system's linker (not GNU ld)
10418 allow_undefined_flag
=unsupported
10419 always_export_symbols
=yes
10420 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'
10421 # Note: this linker hardcodes the directories in LIBPATH if there
10422 # are no directories specified by -L.
10423 hardcode_minus_L
=yes
10424 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10425 # Neither direct hardcoding nor static linking is supported with a
10427 hardcode_direct
=unsupported
10432 if test "$host_cpu" = ia64
; then
10433 # On IA64, the linker does run time linking by default, so we don't
10434 # have to do anything special.
10435 aix_use_runtimelinking
=no
10436 exp_sym_flag
='-Bexport'
10439 # If we're using GNU nm, then we don't want the "-C" option.
10440 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10441 # Also, AIX nm treats weak defined symbols like other global
10442 # defined symbols, whereas GNU nm marks them as "W".
10443 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10444 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'
10446 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10448 aix_use_runtimelinking
=no
10450 # Test if we are trying to use run time linking or normal
10451 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10452 # need to do runtime linking.
10453 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10454 for ld_flag
in $LDFLAGS; do
10455 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10456 aix_use_runtimelinking
=yes
10463 exp_sym_flag
='-bexport'
10464 no_entry_flag
='-bnoentry'
10467 # When large executables or shared objects are built, AIX ld can
10468 # have problems creating the table of contents. If linking a library
10469 # or program results in "error TOC overflow" add -mminimal-toc to
10470 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10471 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10474 hardcode_direct
=yes
10475 hardcode_direct_absolute
=yes
10476 hardcode_libdir_separator
=':'
10477 link_all_deplibs
=yes
10478 file_list_spec
='${wl}-f,'
10480 if test "$GCC" = yes; then
10481 case $host_os in aix4.
[012]|aix4.
[012].
*)
10482 # We only want to do this on AIX 4.2 and lower, the check
10483 # below for broken collect2 doesn't work under 4.3+
10484 collect2name
=`${CC} -print-prog-name=collect2`
10485 if test -f "$collect2name" &&
10486 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10488 # We have reworked collect2
10491 # We have old collect2
10492 hardcode_direct
=unsupported
10493 # It fails to find uninstalled libraries when the uninstalled
10494 # path is not listed in the libpath. Setting hardcode_minus_L
10495 # to unsupported forces relinking
10496 hardcode_minus_L
=yes
10497 hardcode_libdir_flag_spec
='-L$libdir'
10498 hardcode_libdir_separator
=
10502 shared_flag
='-shared'
10503 if test "$aix_use_runtimelinking" = yes; then
10504 shared_flag
="$shared_flag "'${wl}-G'
10508 if test "$host_cpu" = ia64
; then
10509 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10510 # chokes on -Wl,-G. The following line is correct:
10513 if test "$aix_use_runtimelinking" = yes; then
10514 shared_flag
='${wl}-G'
10516 shared_flag
='${wl}-bM:SRE'
10521 export_dynamic_flag_spec
='${wl}-bexpall'
10522 # It seems that -bexpall does not export symbols beginning with
10523 # underscore (_), so it is better to generate a list of symbols to export.
10524 always_export_symbols
=yes
10525 if test "$aix_use_runtimelinking" = yes; then
10526 # Warning - without using the other runtime loading flags (-brtl),
10527 # -berok will link without error, but may produce a broken library.
10528 allow_undefined_flag
='-berok'
10529 # Determine the default libpath from the value encoded in an
10530 # empty executable.
10531 if test x
$gcc_no_link = xyes
; then
10532 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10545 if ac_fn_c_try_link
"$LINENO"; then :
10547 lt_aix_libpath_sed
='
10548 /Import File Strings/,/^$/ {
10554 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10555 # Check for a 64-bit object if we didn't find anything.
10556 if test -z "$aix_libpath"; then
10557 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10560 rm -f core conftest.err conftest.
$ac_objext \
10561 conftest
$ac_exeext conftest.
$ac_ext
10562 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10564 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10565 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"
10567 if test "$host_cpu" = ia64
; then
10568 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10569 allow_undefined_flag
="-z nodefs"
10570 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"
10572 # Determine the default libpath from the value encoded in an
10573 # empty executable.
10574 if test x
$gcc_no_link = xyes
; then
10575 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10588 if ac_fn_c_try_link
"$LINENO"; then :
10590 lt_aix_libpath_sed
='
10591 /Import File Strings/,/^$/ {
10597 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10598 # Check for a 64-bit object if we didn't find anything.
10599 if test -z "$aix_libpath"; then
10600 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10603 rm -f core conftest.err conftest.
$ac_objext \
10604 conftest
$ac_exeext conftest.
$ac_ext
10605 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10607 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10608 # Warning - without using the other run time loading flags,
10609 # -berok will link without error, but may produce a broken library.
10610 no_undefined_flag
=' ${wl}-bernotok'
10611 allow_undefined_flag
=' ${wl}-berok'
10612 if test "$with_gnu_ld" = yes; then
10613 # We only use this code for GNU lds that support --whole-archive.
10614 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10616 # Exported symbols can be pulled into shared objects from archives
10617 whole_archive_flag_spec
='$convenience'
10619 archive_cmds_need_lc
=yes
10620 # This is similar to how AIX traditionally builds its shared libraries.
10621 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'
10629 # see comment about AmigaOS4 .so support
10630 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10631 archive_expsym_cmds
=''
10634 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)'
10635 hardcode_libdir_flag_spec
='-L$libdir'
10636 hardcode_minus_L
=yes
10642 export_dynamic_flag_spec
=-rdynamic
10645 cygwin
* | mingw
* | pw32
* | cegcc
*)
10646 # When not using gcc, we currently assume that we are using
10647 # Microsoft Visual C++.
10648 # hardcode_libdir_flag_spec is actually meaningless, as there is
10649 # no search path for DLLs.
10650 hardcode_libdir_flag_spec
=' '
10651 allow_undefined_flag
=unsupported
10652 # Tell ltmain to make .lib files, not .a files.
10654 # Tell ltmain to make .dll files, not .so files.
10656 # FIXME: Setting linknames here is a bad hack.
10657 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10658 # The linker will automatically build a .lib file if we build a DLL.
10659 old_archive_from_new_cmds
='true'
10660 # FIXME: Should let the user specify the lib program.
10661 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10662 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10663 enable_shared_with_static_runtimes
=yes
10666 darwin
* | rhapsody
*)
10669 archive_cmds_need_lc
=no
10671 hardcode_automatic
=yes
10672 hardcode_shlibpath_var
=unsupported
10673 if test "$lt_cv_ld_force_load" = "yes"; then
10674 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\"`'
10676 whole_archive_flag_spec
=''
10678 link_all_deplibs
=yes
10679 allow_undefined_flag
="$_lt_dar_allow_undefined"
10680 case $cc_basename in
10681 ifort
*) _lt_dar_can_shared
=yes ;;
10682 *) _lt_dar_can_shared
=$GCC ;;
10684 if test "$_lt_dar_can_shared" = "yes"; then
10685 output_verbose_link_cmd
=func_echo_all
10686 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10687 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10688 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}"
10689 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}"
10698 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10699 hardcode_libdir_flag_spec
='-L$libdir'
10700 hardcode_shlibpath_var
=no
10703 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10704 # support. Future versions do this automatically, but an explicit c++rt0.o
10705 # does not break anything, and helps significantly (at the cost of a little
10708 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10709 hardcode_libdir_flag_spec
='-R$libdir'
10710 hardcode_direct
=yes
10711 hardcode_shlibpath_var
=no
10714 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10716 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10717 hardcode_direct
=yes
10718 hardcode_minus_L
=yes
10719 hardcode_shlibpath_var
=no
10722 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10723 freebsd
* | dragonfly
*)
10724 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10725 hardcode_libdir_flag_spec
='-R$libdir'
10726 hardcode_direct
=yes
10727 hardcode_shlibpath_var
=no
10731 if test "$GCC" = yes; then
10732 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'
10734 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'
10736 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10737 hardcode_libdir_separator
=:
10738 hardcode_direct
=yes
10740 # hardcode_minus_L: Not really in the search PATH,
10741 # but as the default location of the library.
10742 hardcode_minus_L
=yes
10743 export_dynamic_flag_spec
='${wl}-E'
10747 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10748 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10752 if test "$with_gnu_ld" = no
; then
10753 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10754 hardcode_libdir_flag_spec_ld
='+b $libdir'
10755 hardcode_libdir_separator
=:
10756 hardcode_direct
=yes
10757 hardcode_direct_absolute
=yes
10758 export_dynamic_flag_spec
='${wl}-E'
10759 # hardcode_minus_L: Not really in the search PATH,
10760 # but as the default location of the library.
10761 hardcode_minus_L
=yes
10766 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10769 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10772 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10775 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10781 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10784 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10788 # Older versions of the 11.00 compiler do not understand -b yet
10789 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10791 $as_echo_n "checking if $CC understands -b... " >&6; }
10792 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10793 $as_echo_n "(cached) " >&6
10795 lt_cv_prog_compiler__b
=no
10796 save_LDFLAGS
="$LDFLAGS"
10797 LDFLAGS
="$LDFLAGS -b"
10798 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10799 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10800 # The linker can only warn and ignore the option if not recognized
10801 # So say no if there are warnings
10802 if test -s conftest.err
; then
10803 # Append any errors to the config.log.
10804 cat conftest.err
1>&5
10805 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10806 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10807 if diff conftest.exp conftest.er2
>/dev
/null
; then
10808 lt_cv_prog_compiler__b
=yes
10811 lt_cv_prog_compiler__b
=yes
10815 LDFLAGS
="$save_LDFLAGS"
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10819 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10821 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10822 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10824 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10830 if test "$with_gnu_ld" = no
; then
10831 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10832 hardcode_libdir_separator
=:
10837 hardcode_shlibpath_var
=no
10840 hardcode_direct
=yes
10841 hardcode_direct_absolute
=yes
10842 export_dynamic_flag_spec
='${wl}-E'
10844 # hardcode_minus_L: Not really in the search PATH,
10845 # but as the default location of the library.
10846 hardcode_minus_L
=yes
10852 irix5
* | irix6
* | nonstopux
*)
10853 if test "$GCC" = yes; then
10854 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'
10855 # Try to use the -exported_symbol ld option, if it does not
10856 # work, assume that -exports_file does not work either and
10857 # implicitly export all symbols.
10858 save_LDFLAGS
="$LDFLAGS"
10859 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10860 if test x
$gcc_no_link = xyes
; then
10861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10867 if ac_fn_c_try_link
"$LINENO"; then :
10868 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'
10871 rm -f core conftest.err conftest.
$ac_objext \
10872 conftest
$ac_exeext conftest.
$ac_ext
10873 LDFLAGS
="$save_LDFLAGS"
10875 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'
10876 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'
10878 archive_cmds_need_lc
='no'
10879 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10880 hardcode_libdir_separator
=:
10882 link_all_deplibs
=yes
10886 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10887 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10889 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10891 hardcode_libdir_flag_spec
='-R$libdir'
10892 hardcode_direct
=yes
10893 hardcode_shlibpath_var
=no
10897 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10898 hardcode_direct
=yes
10899 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10900 hardcode_libdir_separator
=:
10901 hardcode_shlibpath_var
=no
10908 if test -f /usr
/libexec
/ld.so
; then
10909 hardcode_direct
=yes
10910 hardcode_shlibpath_var
=no
10911 hardcode_direct_absolute
=yes
10912 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10913 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10915 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10916 export_dynamic_flag_spec
='${wl}-E'
10919 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10920 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10921 hardcode_libdir_flag_spec
='-R$libdir'
10924 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10925 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10935 hardcode_libdir_flag_spec
='-L$libdir'
10936 hardcode_minus_L
=yes
10937 allow_undefined_flag
=unsupported
10938 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'
10939 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10943 if test "$GCC" = yes; then
10944 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10945 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'
10947 allow_undefined_flag
=' -expect_unresolved \*'
10948 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'
10950 archive_cmds_need_lc
='no'
10951 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10952 hardcode_libdir_separator
=:
10955 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10956 if test "$GCC" = yes; then
10957 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10958 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'
10959 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10961 allow_undefined_flag
=' -expect_unresolved \*'
10962 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'
10963 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~
10964 $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'
10966 # Both c and cxx compiler support -rpath directly
10967 hardcode_libdir_flag_spec
='-rpath $libdir'
10969 archive_cmds_need_lc
='no'
10970 hardcode_libdir_separator
=:
10974 no_undefined_flag
=' -z defs'
10975 if test "$GCC" = yes; then
10977 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10978 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10979 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10981 case `$CC -V 2>&1` in
10984 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10985 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10986 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10990 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10991 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10992 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10996 hardcode_libdir_flag_spec
='-R$libdir'
10997 hardcode_shlibpath_var
=no
10999 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11001 # The compiler driver will combine and reorder linker options,
11002 # but understands `-z linker_flag'. GCC discards it without `$wl',
11003 # but is careful enough not to reorder.
11004 # Supported since Solaris 2.6 (maybe 2.5.1?)
11005 if test "$GCC" = yes; then
11006 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11008 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11012 link_all_deplibs
=yes
11016 if test "x$host_vendor" = xsequent
; then
11017 # Use $CC to link under sequent, because it throws in some extra .o
11018 # files that make .init and .fini sections work.
11019 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11021 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11023 hardcode_libdir_flag_spec
='-L$libdir'
11024 hardcode_direct
=yes
11025 hardcode_minus_L
=yes
11026 hardcode_shlibpath_var
=no
11030 case $host_vendor in
11032 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11033 hardcode_direct
=yes # is this really true???
11036 ## LD is ld it makes a PLAMLIB
11037 ## CC just makes a GrossModule.
11038 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11039 reload_cmds
='$CC -r -o $output$reload_objs'
11043 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11044 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11047 runpath_var
='LD_RUN_PATH'
11048 hardcode_shlibpath_var
=no
11052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11053 hardcode_shlibpath_var
=no
11054 export_dynamic_flag_spec
='-Bexport'
11058 if test -d /usr
/nec
; then
11059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11060 hardcode_shlibpath_var
=no
11061 runpath_var
=LD_RUN_PATH
11062 hardcode_runpath_var
=yes
11067 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11068 no_undefined_flag
='${wl}-z,text'
11069 archive_cmds_need_lc
=no
11070 hardcode_shlibpath_var
=no
11071 runpath_var
='LD_RUN_PATH'
11073 if test "$GCC" = yes; then
11074 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11075 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11077 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11078 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11082 sysv5
* | sco3.2v5
* | sco5v6
*)
11083 # Note: We can NOT use -z defs as we might desire, because we do not
11084 # link with -lc, and that would cause any symbols used from libc to
11085 # always be unresolved, which means just about no library would
11086 # ever link correctly. If we're not using GNU ld we use -z text
11087 # though, which does catch some bad symbols but isn't as heavy-handed
11089 no_undefined_flag
='${wl}-z,text'
11090 allow_undefined_flag
='${wl}-z,nodefs'
11091 archive_cmds_need_lc
=no
11092 hardcode_shlibpath_var
=no
11093 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11094 hardcode_libdir_separator
=':'
11095 link_all_deplibs
=yes
11096 export_dynamic_flag_spec
='${wl}-Bexport'
11097 runpath_var
='LD_RUN_PATH'
11099 if test "$GCC" = yes; then
11100 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11101 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11103 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11104 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11110 hardcode_libdir_flag_spec
='-L$libdir'
11111 hardcode_shlibpath_var
=no
11119 if test x
$host_vendor = xsni
; then
11121 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11122 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11129 $as_echo "$ld_shlibs" >&6; }
11130 test "$ld_shlibs" = no
&& can_build_shared
=no
11132 with_gnu_ld
=$with_gnu_ld
11149 # Do we need to explicitly link libc?
11151 case "x$archive_cmds_need_lc" in
11153 # Assume -lc should be added
11154 archive_cmds_need_lc
=yes
11156 if test "$enable_shared" = yes && test "$GCC" = yes; then
11157 case $archive_cmds in
11159 # FIXME: we may have to deal with multi-command sequences.
11162 # Test whether the compiler implicitly links with -lc since on some
11163 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11164 # to ld, don't add -lc before -lgcc.
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11166 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11167 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11168 $as_echo_n "(cached) " >&6
11171 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11174 (eval $ac_compile) 2>&5
11176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11177 test $ac_status = 0; } 2>conftest.err
; then
11180 libobjs
=conftest.
$ac_objext
11182 wl
=$lt_prog_compiler_wl
11183 pic_flag
=$lt_prog_compiler_pic
11189 lt_save_allow_undefined_flag
=$allow_undefined_flag
11190 allow_undefined_flag
=
11191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11192 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11195 test $ac_status = 0; }
11197 lt_cv_archive_cmds_need_lc
=no
11199 lt_cv_archive_cmds_need_lc
=yes
11201 allow_undefined_flag
=$lt_save_allow_undefined_flag
11203 cat conftest.err
1>&5
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11209 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11210 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11374 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11376 if test "$GCC" = yes; then
11378 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11379 *) lt_awk_arg
="/^libraries:/" ;;
11382 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11383 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11385 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11386 case $lt_search_path_spec in
11388 # if the path contains ";" then we assume it to be the separator
11389 # otherwise default to the standard path separator (i.e. ":") - it is
11390 # assumed that no part of a normal pathname contains ";" but that should
11391 # okay in the real world where ";" in dirpaths is itself problematic.
11392 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11395 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11398 # Ok, now we have the path, separated by spaces, we can step through it
11399 # and add multilib dir if necessary.
11400 lt_tmp_lt_search_path_spec
=
11401 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11402 for lt_sys_path
in $lt_search_path_spec; do
11403 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11404 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11406 test -d "$lt_sys_path" && \
11407 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11410 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11411 BEGIN {RS=" "; FS="/|\n";} {
11414 for (lt_i = NF; lt_i > 0; lt_i--) {
11415 if ($lt_i != "" && $lt_i != ".") {
11416 if ($lt_i == "..") {
11419 if (lt_count == 0) {
11420 lt_foo="/" $lt_i lt_foo;
11427 if (lt_foo != "") { lt_freq[lt_foo]++; }
11428 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11430 # AWK program above erroneously prepends '/' to C:/dos/paths
11433 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11434 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11436 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11438 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11440 library_names_spec
=
11441 libname_spec
='lib$name'
11445 postuninstall_cmds
=
11449 shlibpath_overrides_runpath
=unknown
11451 dynamic_linker
="$host_os ld.so"
11452 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11453 need_lib_prefix
=unknown
11454 hardcode_into_libs
=no
11456 # when you set need_version to no, make sure it does not cause -set_version
11457 # flags to be left without arguments
11458 need_version
=unknown
11463 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11464 shlibpath_var
=LIBPATH
11466 # AIX 3 has no versioning support, so we append a major version to the name.
11467 soname_spec
='${libname}${release}${shared_ext}$major'
11474 hardcode_into_libs
=yes
11475 if test "$host_cpu" = ia64
; then
11476 # AIX 5 supports IA64
11477 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11478 shlibpath_var
=LD_LIBRARY_PATH
11480 # With GCC up to 2.95.x, collect2 would create an import file
11481 # for dependence libraries. The import file would start with
11482 # the line `#! .'. This would cause the generated library to
11483 # depend on `.', always an invalid library. This was fixed in
11484 # development snapshots of GCC prior to 3.0.
11486 aix4 | aix4.
[01] | aix4.
[01].
*)
11487 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11489 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11492 can_build_shared
=no
11496 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11497 # soname into executable. Probably we can add versioning support to
11498 # collect2, so additional links can be useful in future.
11499 if test "$aix_use_runtimelinking" = yes; then
11500 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11501 # instead of lib<name>.a to let people know that these are not
11502 # typical AIX shared libraries.
11503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 # We preserve .a as extension for shared libraries through AIX4.2
11506 # and later when we are not doing run time linking.
11507 library_names_spec
='${libname}${release}.a $libname.a'
11508 soname_spec
='${libname}${release}${shared_ext}$major'
11510 shlibpath_var
=LIBPATH
11517 # Since July 2007 AmigaOS4 officially supports .so libraries.
11518 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11522 library_names_spec
='$libname.ixlibrary $libname.a'
11523 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11524 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'
11530 library_names_spec
='${libname}${shared_ext}'
11531 dynamic_linker
="$host_os ld.so"
11532 shlibpath_var
=LIBRARY_PATH
11538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11539 soname_spec
='${libname}${release}${shared_ext}$major'
11540 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11541 shlibpath_var
=LD_LIBRARY_PATH
11542 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11543 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11544 # the default ld.so.conf also contains /usr/contrib/lib and
11545 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11546 # libtool to hard-code these into programs
11549 cygwin
* | mingw
* | pw32
* | cegcc
*)
11550 version_type
=windows
11555 case $GCC,$host_os in
11556 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11557 library_names_spec
='$libname.dll.a'
11558 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11559 postinstall_cmds
='base_file=`basename \${file}`~
11560 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11561 dldir=$destdir/`dirname \$dlpath`~
11562 test -d \$dldir || mkdir -p \$dldir~
11563 $install_prog $dir/$dlname \$dldir/$dlname~
11564 chmod a+x \$dldir/$dlname~
11565 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11566 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11568 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11569 dlpath=$dir/\$dldll~
11571 shlibpath_overrides_runpath
=yes
11575 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11576 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11578 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11581 # MinGW DLLs use traditional 'lib' prefix
11582 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11585 # pw32 DLLs use 'pw' prefix rather than 'lib'
11586 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11592 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11595 dynamic_linker
='Win32 ld.exe'
11596 # FIXME: first we should search . and the directory the executable is in
11600 darwin
* | rhapsody
*)
11601 dynamic_linker
="$host_os dyld"
11602 version_type
=darwin
11605 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11606 soname_spec
='${libname}${release}${major}$shared_ext'
11607 shlibpath_overrides_runpath
=yes
11608 shlibpath_var
=DYLD_LIBRARY_PATH
11609 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11611 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11612 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11620 soname_spec
='${libname}${release}${shared_ext}$major'
11621 shlibpath_var
=LD_LIBRARY_PATH
11624 freebsd
* | dragonfly
*)
11625 # DragonFly does not have aout. When/if they implement a new
11626 # versioning mechanism, adjust this.
11627 if test -x /usr
/bin
/objformat
; then
11628 objformat
=`/usr/bin/objformat`
11631 freebsd
[23].
*) objformat
=aout
;;
11632 *) objformat
=elf
;;
11635 version_type
=freebsd-
$objformat
11636 case $version_type in
11638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11643 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11647 shlibpath_var
=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath
=yes
11652 freebsd3.
[01]* | freebsdelf3.
[01]*)
11653 shlibpath_overrides_runpath
=yes
11654 hardcode_into_libs
=yes
11656 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11657 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11658 shlibpath_overrides_runpath
=no
11659 hardcode_into_libs
=yes
11661 *) # from 4.6 on, and DragonFly
11662 shlibpath_overrides_runpath
=yes
11663 hardcode_into_libs
=yes
11672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11673 soname_spec
='${libname}${release}${shared_ext}$major'
11674 shlibpath_var
=LD_LIBRARY_PATH
11675 hardcode_into_libs
=yes
11682 dynamic_linker
="$host_os runtime_loader"
11683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11684 soname_spec
='${libname}${release}${shared_ext}$major'
11685 shlibpath_var
=LIBRARY_PATH
11686 shlibpath_overrides_runpath
=yes
11687 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11688 hardcode_into_libs
=yes
11691 hpux9
* | hpux10
* | hpux11
*)
11692 # Give a soname corresponding to the major version so that dld.sl refuses to
11693 # link against other versions.
11700 hardcode_into_libs
=yes
11701 dynamic_linker
="$host_os dld.so"
11702 shlibpath_var
=LD_LIBRARY_PATH
11703 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11705 soname_spec
='${libname}${release}${shared_ext}$major'
11706 if test "X$HPUX_IA64_MODE" = X32
; then
11707 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11709 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11711 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11715 hardcode_into_libs
=yes
11716 dynamic_linker
="$host_os dld.sl"
11717 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11718 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11720 soname_spec
='${libname}${release}${shared_ext}$major'
11721 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11722 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11726 dynamic_linker
="$host_os dld.sl"
11727 shlibpath_var
=SHLIB_PATH
11728 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 soname_spec
='${libname}${release}${shared_ext}$major'
11733 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11734 postinstall_cmds
='chmod 555 $lib'
11735 # or fails outright, so override atomically:
11736 install_override_mode
=555
11743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11744 soname_spec
='${libname}${release}${shared_ext}$major'
11745 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11746 shlibpath_var
=LD_LIBRARY_PATH
11747 shlibpath_overrides_runpath
=no
11748 hardcode_into_libs
=yes
11751 irix5
* | irix6
* | nonstopux
*)
11753 nonstopux
*) version_type
=nonstopux
;;
11755 if test "$lt_cv_prog_gnu_ld" = yes; then
11763 soname_spec
='${libname}${release}${shared_ext}$major'
11764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11766 irix5
* | nonstopux
*)
11767 libsuff
= shlibsuff
=
11770 case $LD in # libtool.m4 will add one of these switches to LD
11771 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11772 libsuff
= shlibsuff
= libmagic
=32-bit;;
11773 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11774 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11775 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11776 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11777 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11781 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11782 shlibpath_overrides_runpath
=no
11783 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11784 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11785 hardcode_into_libs
=yes
11788 # No shared lib support for Linux oldld, aout, or coff.
11789 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11793 # This must be Linux ELF.
11794 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11799 soname_spec
='${libname}${release}${shared_ext}$major'
11800 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11801 shlibpath_var
=LD_LIBRARY_PATH
11802 shlibpath_overrides_runpath
=no
11804 # Some binutils ld are patched to set DT_RUNPATH
11805 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11806 $as_echo_n "(cached) " >&6
11808 lt_cv_shlibpath_overrides_runpath
=no
11809 save_LDFLAGS
=$LDFLAGS
11810 save_libdir
=$libdir
11811 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11812 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11813 if test x
$gcc_no_link = xyes
; then
11814 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11827 if ac_fn_c_try_link
"$LINENO"; then :
11828 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11829 lt_cv_shlibpath_overrides_runpath
=yes
11832 rm -f core conftest.err conftest.
$ac_objext \
11833 conftest
$ac_exeext conftest.
$ac_ext
11834 LDFLAGS
=$save_LDFLAGS
11835 libdir
=$save_libdir
11839 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11841 # This implies no fast_install, which is unacceptable.
11842 # Some rework will be needed to allow for fast_install
11843 # before this can be enabled.
11844 hardcode_into_libs
=yes
11846 # Append ld.so.conf contents to the search path
11847 if test -f /etc
/ld.so.conf
; then
11848 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' ' '`
11849 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11852 # We used to test for /lib/ld.so.1 and disable shared libraries on
11853 # powerpc, because MkLinux only supported shared libraries with the
11854 # GNU dynamic linker. Since this was broken with cross compilers,
11855 # most powerpc-linux boxes support dynamic linking these days and
11856 # people can always --disable-shared, the test was removed, and we
11857 # assume the GNU/Linux dynamic linker is in use.
11858 dynamic_linker
='GNU/Linux ld.so'
11865 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11867 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11868 dynamic_linker
='NetBSD (a.out) ld.so'
11870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11871 soname_spec
='${libname}${release}${shared_ext}$major'
11872 dynamic_linker
='NetBSD ld.elf_so'
11874 shlibpath_var
=LD_LIBRARY_PATH
11875 shlibpath_overrides_runpath
=yes
11876 hardcode_into_libs
=yes
11881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11882 shlibpath_var
=LD_LIBRARY_PATH
11883 shlibpath_overrides_runpath
=yes
11890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11891 soname_spec
='${libname}${release}${shared_ext}$major'
11892 shlibpath_var
=LD_LIBRARY_PATH
11893 shlibpath_overrides_runpath
=no
11894 hardcode_into_libs
=yes
11895 dynamic_linker
='ldqnx.so'
11900 sys_lib_dlsearch_path_spec
="/usr/lib"
11902 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11904 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11905 *) need_version
=no
;;
11907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11908 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11909 shlibpath_var
=LD_LIBRARY_PATH
11910 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11912 openbsd2.
[89] | openbsd2.
[89].
*)
11913 shlibpath_overrides_runpath
=no
11916 shlibpath_overrides_runpath
=yes
11920 shlibpath_overrides_runpath
=yes
11925 libname_spec
='$name'
11928 library_names_spec
='$libname${shared_ext} $libname.a'
11929 dynamic_linker
='OS/2 ld.exe'
11930 shlibpath_var
=LIBPATH
11933 osf3
* | osf4
* | osf5
*)
11937 soname_spec
='${libname}${release}${shared_ext}$major'
11938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11939 shlibpath_var
=LD_LIBRARY_PATH
11940 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11941 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11953 soname_spec
='${libname}${release}${shared_ext}$major'
11954 shlibpath_var
=LD_LIBRARY_PATH
11955 shlibpath_overrides_runpath
=yes
11956 hardcode_into_libs
=yes
11957 # ldd complains unless libraries are executable
11958 postinstall_cmds
='chmod +x $lib'
11963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11964 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11965 shlibpath_var
=LD_LIBRARY_PATH
11966 shlibpath_overrides_runpath
=yes
11967 if test "$with_gnu_ld" = yes; then
11975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11976 soname_spec
='${libname}${release}${shared_ext}$major'
11977 shlibpath_var
=LD_LIBRARY_PATH
11978 case $host_vendor in
11980 shlibpath_overrides_runpath
=no
11982 runpath_var
=LD_RUN_PATH
11990 shlibpath_overrides_runpath
=no
11991 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11997 if test -d /usr
/nec
;then
11999 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12000 soname_spec
='$libname${shared_ext}.$major'
12001 shlibpath_var
=LD_LIBRARY_PATH
12005 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12006 version_type
=freebsd-elf
12009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12010 soname_spec
='${libname}${release}${shared_ext}$major'
12011 shlibpath_var
=LD_LIBRARY_PATH
12012 shlibpath_overrides_runpath
=yes
12013 hardcode_into_libs
=yes
12014 if test "$with_gnu_ld" = yes; then
12015 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12017 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12020 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12024 sys_lib_dlsearch_path_spec
='/usr/lib'
12028 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12033 shlibpath_var
=LD_LIBRARY_PATH
12034 shlibpath_overrides_runpath
=no
12035 hardcode_into_libs
=yes
12040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12041 soname_spec
='${libname}${release}${shared_ext}$major'
12042 shlibpath_var
=LD_LIBRARY_PATH
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12050 $as_echo "$dynamic_linker" >&6; }
12051 test "$dynamic_linker" = no
&& can_build_shared
=no
12053 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12054 if test "$GCC" = yes; then
12055 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12058 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12059 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12061 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12062 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12157 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12159 if test -n "$hardcode_libdir_flag_spec" ||
12160 test -n "$runpath_var" ||
12161 test "X$hardcode_automatic" = "Xyes" ; then
12163 # We can hardcode non-existent directories.
12164 if test "$hardcode_direct" != no
&&
12165 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12166 # have to relink, otherwise we might link with an installed library
12167 # when we should be linking with a yet-to-be-installed one
12168 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12169 test "$hardcode_minus_L" != no
; then
12170 # Linking always hardcodes the temporary library directory.
12171 hardcode_action
=relink
12173 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12174 hardcode_action
=immediate
12177 # We cannot hardcode anything, or else we can only hardcode existing
12179 hardcode_action
=unsupported
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12182 $as_echo "$hardcode_action" >&6; }
12184 if test "$hardcode_action" = relink ||
12185 test "$inherit_rpath" = yes; then
12186 # Fast installation is not supported
12187 enable_fast_install
=no
12188 elif test "$shlibpath_overrides_runpath" = yes ||
12189 test "$enable_shared" = no
; then
12190 # Fast installation is not necessary
12191 enable_fast_install
=needless
12199 if test "x$enable_dlopen" != xyes
; then
12200 enable_dlopen
=unknown
12201 enable_dlopen_self
=unknown
12202 enable_dlopen_self_static
=unknown
12209 lt_cv_dlopen
="load_add_on"
12211 lt_cv_dlopen_self
=yes
12214 mingw
* | pw32
* | cegcc
*)
12215 lt_cv_dlopen
="LoadLibrary"
12220 lt_cv_dlopen
="dlopen"
12225 # if libdl is installed we need to link against it
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12227 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12228 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12229 $as_echo_n "(cached) " >&6
12231 ac_check_lib_save_LIBS
=$LIBS
12233 if test x
$gcc_no_link = xyes
; then
12234 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12254 if ac_fn_c_try_link
"$LINENO"; then :
12255 ac_cv_lib_dl_dlopen
=yes
12257 ac_cv_lib_dl_dlopen
=no
12259 rm -f core conftest.err conftest.
$ac_objext \
12260 conftest
$ac_exeext conftest.
$ac_ext
12261 LIBS
=$ac_check_lib_save_LIBS
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12264 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12265 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12266 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12269 lt_cv_dlopen
="dyld"
12271 lt_cv_dlopen_self
=yes
12278 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12279 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12280 lt_cv_dlopen
="shl_load"
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12283 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12284 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12285 $as_echo_n "(cached) " >&6
12287 ac_check_lib_save_LIBS
=$LIBS
12289 if test x
$gcc_no_link = xyes
; then
12290 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12305 return shl_load ();
12310 if ac_fn_c_try_link
"$LINENO"; then :
12311 ac_cv_lib_dld_shl_load
=yes
12313 ac_cv_lib_dld_shl_load
=no
12315 rm -f core conftest.err conftest.
$ac_objext \
12316 conftest
$ac_exeext conftest.
$ac_ext
12317 LIBS
=$ac_check_lib_save_LIBS
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12320 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12321 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12322 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12324 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12325 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12326 lt_cv_dlopen
="dlopen"
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12329 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12330 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12331 $as_echo_n "(cached) " >&6
12333 ac_check_lib_save_LIBS
=$LIBS
12335 if test x
$gcc_no_link = xyes
; then
12336 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12356 if ac_fn_c_try_link
"$LINENO"; then :
12357 ac_cv_lib_dl_dlopen
=yes
12359 ac_cv_lib_dl_dlopen
=no
12361 rm -f core conftest.err conftest.
$ac_objext \
12362 conftest
$ac_exeext conftest.
$ac_ext
12363 LIBS
=$ac_check_lib_save_LIBS
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12366 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12367 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12368 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12371 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12372 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12373 $as_echo_n "(cached) " >&6
12375 ac_check_lib_save_LIBS
=$LIBS
12376 LIBS
="-lsvld $LIBS"
12377 if test x
$gcc_no_link = xyes
; then
12378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12383 /* Override any GCC internal prototype to avoid an error.
12384 Use char because int might match the return type of a GCC
12385 builtin and then its argument prototype would still apply. */
12398 if ac_fn_c_try_link
"$LINENO"; then :
12399 ac_cv_lib_svld_dlopen
=yes
12401 ac_cv_lib_svld_dlopen
=no
12403 rm -f core conftest.err conftest.
$ac_objext \
12404 conftest
$ac_exeext conftest.
$ac_ext
12405 LIBS
=$ac_check_lib_save_LIBS
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12408 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12409 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12410 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12413 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12414 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12415 $as_echo_n "(cached) " >&6
12417 ac_check_lib_save_LIBS
=$LIBS
12419 if test x
$gcc_no_link = xyes
; then
12420 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12435 return dld_link ();
12440 if ac_fn_c_try_link
"$LINENO"; then :
12441 ac_cv_lib_dld_dld_link
=yes
12443 ac_cv_lib_dld_dld_link
=no
12445 rm -f core conftest.err conftest.
$ac_objext \
12446 conftest
$ac_exeext conftest.
$ac_ext
12447 LIBS
=$ac_check_lib_save_LIBS
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12450 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12451 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12452 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12473 if test "x$lt_cv_dlopen" != xno
; then
12479 case $lt_cv_dlopen in
12481 save_CPPFLAGS
="$CPPFLAGS"
12482 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12484 save_LDFLAGS
="$LDFLAGS"
12485 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12488 LIBS
="$lt_cv_dlopen_libs $LIBS"
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12491 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12492 if test "${lt_cv_dlopen_self+set}" = set; then :
12493 $as_echo_n "(cached) " >&6
12495 if test "$cross_compiling" = yes; then :
12496 lt_cv_dlopen_self
=cross
12498 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12499 lt_status
=$lt_dlunknown
12500 cat > conftest.
$ac_ext <<_LT_EOF
12501 #line 12501 "configure"
12502 #include "confdefs.h"
12511 # define LT_DLGLOBAL RTLD_GLOBAL
12514 # define LT_DLGLOBAL DL_GLOBAL
12516 # define LT_DLGLOBAL 0
12520 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12521 find out it does not work in some platform. */
12522 #ifndef LT_DLLAZY_OR_NOW
12524 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12527 # define LT_DLLAZY_OR_NOW DL_LAZY
12530 # define LT_DLLAZY_OR_NOW RTLD_NOW
12533 # define LT_DLLAZY_OR_NOW DL_NOW
12535 # define LT_DLLAZY_OR_NOW 0
12542 /* When -fvisbility=hidden is used, assume the code has been annotated
12543 correspondingly for the symbols needed. */
12544 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12545 void fnord () __attribute__((visibility("default")));
12548 void fnord () { int i=42; }
12551 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12552 int status = $lt_dlunknown;
12556 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12559 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12560 else puts (dlerror ());
12562 /* dlclose (self); */
12570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12571 (eval $ac_link) 2>&5
12573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12574 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12575 (.
/conftest
; exit; ) >&5 2>/dev
/null
12577 case x
$lt_status in
12578 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12579 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12580 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12583 # compilation failed
12584 lt_cv_dlopen_self
=no
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12592 $as_echo "$lt_cv_dlopen_self" >&6; }
12594 if test "x$lt_cv_dlopen_self" = xyes
; then
12595 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12597 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12598 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12599 $as_echo_n "(cached) " >&6
12601 if test "$cross_compiling" = yes; then :
12602 lt_cv_dlopen_self_static
=cross
12604 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12605 lt_status
=$lt_dlunknown
12606 cat > conftest.
$ac_ext <<_LT_EOF
12607 #line 12607 "configure"
12608 #include "confdefs.h"
12617 # define LT_DLGLOBAL RTLD_GLOBAL
12620 # define LT_DLGLOBAL DL_GLOBAL
12622 # define LT_DLGLOBAL 0
12626 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12627 find out it does not work in some platform. */
12628 #ifndef LT_DLLAZY_OR_NOW
12630 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12633 # define LT_DLLAZY_OR_NOW DL_LAZY
12636 # define LT_DLLAZY_OR_NOW RTLD_NOW
12639 # define LT_DLLAZY_OR_NOW DL_NOW
12641 # define LT_DLLAZY_OR_NOW 0
12648 /* When -fvisbility=hidden is used, assume the code has been annotated
12649 correspondingly for the symbols needed. */
12650 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12651 void fnord () __attribute__((visibility("default")));
12654 void fnord () { int i=42; }
12657 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12658 int status = $lt_dlunknown;
12662 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12665 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12666 else puts (dlerror ());
12668 /* dlclose (self); */
12676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12677 (eval $ac_link) 2>&5
12679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12680 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12681 (.
/conftest
; exit; ) >&5 2>/dev
/null
12683 case x
$lt_status in
12684 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12685 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12686 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12689 # compilation failed
12690 lt_cv_dlopen_self_static
=no
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12698 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12701 CPPFLAGS
="$save_CPPFLAGS"
12702 LDFLAGS
="$save_LDFLAGS"
12707 case $lt_cv_dlopen_self in
12708 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12709 *) enable_dlopen_self
=unknown
;;
12712 case $lt_cv_dlopen_self_static in
12713 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12714 *) enable_dlopen_self_static
=unknown
;;
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12737 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12738 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12739 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12740 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12742 $as_echo "yes" >&6; }
12744 # FIXME - insert some real tests, host_os isn't really good enough
12747 if test -n "$STRIP" ; then
12748 striplib
="$STRIP -x"
12749 old_striplib
="$STRIP -S"
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12751 $as_echo "yes" >&6; }
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 $as_echo "no" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12775 # Report which library types will actually be built
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12777 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12779 $as_echo "$can_build_shared" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12782 $as_echo_n "checking whether to build shared libraries... " >&6; }
12783 test "$can_build_shared" = "no" && enable_shared
=no
12785 # On AIX, shared libraries and static libraries use the same namespace, and
12786 # are all built from PIC.
12789 test "$enable_shared" = yes && enable_static
=no
12790 if test -n "$RANLIB"; then
12791 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12792 postinstall_cmds
='$RANLIB $lib'
12797 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12798 test "$enable_shared" = yes && enable_static
=no
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12803 $as_echo "$enable_shared" >&6; }
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12806 $as_echo_n "checking whether to build static libraries... " >&6; }
12807 # Make sure either enable_shared or enable_static is yes.
12808 test "$enable_shared" = yes || enable_static
=yes
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12810 $as_echo "$enable_static" >&6; }
12817 ac_cpp
='$CPP $CPPFLAGS'
12818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12836 ac_config_commands
="$ac_config_commands libtool"
12841 # Only expand once:
12848 *-cygwin* |
*-mingw*)
12849 # 'host' will be top-level target in the case of a target lib,
12850 # we must compare to with_cross_host to decide if this is a native
12851 # or cross-compiler and select where to install dlls appropriately.
12852 if test -n "$with_cross_host" &&
12853 test x
"$with_cross_host" != x
"no"; then
12854 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12856 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12868 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12870 # We need gfortran to compile parts of the library
12871 #AC_PROG_FC(gfortran)
12873 ac_ext
=${ac_fc_srcext-f}
12874 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12875 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12876 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12877 if test -n "$ac_tool_prefix"; then
12878 for ac_prog
in gfortran
12880 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12881 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12883 $as_echo_n "checking for $ac_word... " >&6; }
12884 if test "${ac_cv_prog_FC+set}" = set; then :
12885 $as_echo_n "(cached) " >&6
12887 if test -n "$FC"; then
12888 ac_cv_prog_FC
="$FC" # Let the user override the test.
12890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12891 for as_dir
in $PATH
12894 test -z "$as_dir" && as_dir
=.
12895 for ac_exec_ext
in '' $ac_executable_extensions; do
12896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12897 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12908 if test -n "$FC"; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12910 $as_echo "$FC" >&6; }
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913 $as_echo "no" >&6; }
12917 test -n "$FC" && break
12920 if test -z "$FC"; then
12922 for ac_prog
in gfortran
12924 # Extract the first word of "$ac_prog", so it can be a program name with args.
12925 set dummy
$ac_prog; ac_word
=$2
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12927 $as_echo_n "checking for $ac_word... " >&6; }
12928 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12929 $as_echo_n "(cached) " >&6
12931 if test -n "$ac_ct_FC"; then
12932 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12935 for as_dir
in $PATH
12938 test -z "$as_dir" && as_dir
=.
12939 for ac_exec_ext
in '' $ac_executable_extensions; do
12940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12941 ac_cv_prog_ac_ct_FC
="$ac_prog"
12942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12951 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12952 if test -n "$ac_ct_FC"; then
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12954 $as_echo "$ac_ct_FC" >&6; }
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957 $as_echo "no" >&6; }
12961 test -n "$ac_ct_FC" && break
12964 if test "x$ac_ct_FC" = x
; then
12967 case $cross_compiling:$ac_tool_warned in
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12971 ac_tool_warned
=yes ;;
12978 # Provide some information about the compiler.
12979 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12982 for ac_option
in --version -v -V -qversion; do
12983 { { ac_try
="$ac_compiler $ac_option >&5"
12984 case "(($ac_try" in
12985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12986 *) ac_try_echo=$ac_try;;
12988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12989 $as_echo "$ac_try_echo"; } >&5
12990 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12992 if test -s conftest.err; then
12994 ... rest of stderr output deleted ...
12995 10q' conftest.err >conftest.er1
12996 cat conftest.er1 >&5
12997 rm -f conftest.er1 conftest.err
12999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000 test $ac_status = 0; }
13004 # If we don't use `.F
' as extension, the preprocessor is not run on the
13005 # input file. (Note that this only needs to work for GNU compilers.)
13006 ac_save_ext=$ac_ext
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13009 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13010 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
13011 $as_echo_n "(cached) " >&6
13013 cat > conftest.$ac_ext <<_ACEOF
13021 if ac_fn_fc_try_compile "$LINENO"; then :
13022 ac_compiler_gnu=yes
13026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13027 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13031 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13032 ac_ext=$ac_save_ext
13033 ac_test_FCFLAGS=${FCFLAGS+set}
13034 ac_save_FCFLAGS=$FCFLAGS
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13037 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13038 if test "${ac_cv_prog_fc_g+set}" = set; then :
13039 $as_echo_n "(cached) " >&6
13042 cat > conftest.$ac_ext <<_ACEOF
13047 if ac_fn_fc_try_compile "$LINENO"; then :
13048 ac_cv_prog_fc_g=yes
13052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13056 $as_echo "$ac_cv_prog_fc_g" >&6; }
13057 if test "$ac_test_FCFLAGS" = set; then
13058 FCFLAGS=$ac_save_FCFLAGS
13059 elif test $ac_cv_prog_fc_g = yes; then
13060 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13066 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13074 ac_cpp='$CPP $CPPFLAGS'
13075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13076 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13079 ac_ext=${ac_fc_srcext-f}
13080 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13081 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13082 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13085 if test -z "$FC" || test "X$FC" = "Xno"; then
13089 archive_cmds_need_lc_FC=no
13090 allow_undefined_flag_FC=
13091 always_export_symbols_FC=no
13092 archive_expsym_cmds_FC=
13093 export_dynamic_flag_spec_FC=
13094 hardcode_direct_FC=no
13095 hardcode_direct_absolute_FC=no
13096 hardcode_libdir_flag_spec_FC=
13097 hardcode_libdir_flag_spec_ld_FC=
13098 hardcode_libdir_separator_FC=
13099 hardcode_minus_L_FC=no
13100 hardcode_automatic_FC=no
13101 inherit_rpath_FC=no
13103 module_expsym_cmds_FC=
13104 link_all_deplibs_FC=unknown
13105 old_archive_cmds_FC=$old_archive_cmds
13106 reload_flag_FC=$reload_flag
13107 reload_cmds_FC=$reload_cmds
13108 no_undefined_flag_FC=
13109 whole_archive_flag_spec_FC=
13110 enable_shared_with_static_runtimes_FC=no
13112 # Source file extension for fc test sources.
13113 ac_ext=${ac_fc_srcext-f}
13115 # Object file extension for compiled fc test sources.
13119 # No sense in running all these tests if we already determined that
13120 # the FC compiler isn't working. Some variables
(like enable_shared
)
13121 # are currently assumed to apply to all compilers on this platform,
13122 # and will be corrupted by setting them based on a non-working compiler.
13123 if test "$_lt_disable_FC" != yes; then
13124 # Code to be used in simple compile tests
13125 lt_simple_compile_test_code
="\
13131 # Code to be used in simple link tests
13132 lt_simple_link_test_code
="\
13137 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13144 # If no C compiler was specified, use CC.
13147 # If no C compiler flags were specified, use CFLAGS.
13148 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13150 # Allow CC to be a program name with arguments.
13154 # save warnings/boilerplate of simple test code
13155 ac_outfile
=conftest.
$ac_objext
13156 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13157 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13158 _lt_compiler_boilerplate
=`cat conftest.err`
13161 ac_outfile
=conftest.
$ac_objext
13162 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13163 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13164 _lt_linker_boilerplate
=`cat conftest.err`
13168 # Allow CC to be a program name with arguments.
13173 GCC
=$ac_cv_fc_compiler_gnu
13176 for cc_temp
in $compiler""; do
13178 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13179 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13184 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13187 if test -n "$compiler"; then
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13189 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13191 $as_echo "$can_build_shared" >&6; }
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13194 $as_echo_n "checking whether to build shared libraries... " >&6; }
13195 test "$can_build_shared" = "no" && enable_shared
=no
13197 # On AIX, shared libraries and static libraries use the same namespace, and
13198 # are all built from PIC.
13201 test "$enable_shared" = yes && enable_static
=no
13202 if test -n "$RANLIB"; then
13203 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13204 postinstall_cmds
='$RANLIB $lib'
13208 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13209 test "$enable_shared" = yes && enable_static
=no
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13214 $as_echo "$enable_shared" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13217 $as_echo_n "checking whether to build static libraries... " >&6; }
13218 # Make sure either enable_shared or enable_static is yes.
13219 test "$enable_shared" = yes || enable_static
=yes
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13221 $as_echo "$enable_static" >&6; }
13223 GCC_FC
="$ac_cv_fc_compiler_gnu"
13227 ## There is no encapsulation within the following macros, do not change
13228 ## the running order or otherwise move them around unless you know exactly
13229 ## what you are doing...
13230 # Dependencies to place before and after the object being linked:
13232 postdep_objects_FC
=
13235 compiler_lib_search_path_FC
=
13237 cat > conftest.
$ac_ext <<_LT_EOF
13246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13247 (eval $ac_compile) 2>&5
13249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13250 test $ac_status = 0; }; then
13251 # Parse the compiler output and extract the necessary
13252 # objects, libraries and library flags.
13254 # Sentinel used to keep track of whether or not we are before
13255 # the conftest object file.
13256 pre_test_object_deps_done
=no
13258 for p
in `eval "$output_verbose_link_cmd"`; do
13262 # Some compilers place space between "-{L,R}" and the path.
13263 # Remove the space.
13264 if test $p = "-L" ||
13265 test $p = "-R"; then
13272 if test "$pre_test_object_deps_done" = no
; then
13275 # Internal compiler library paths should come after those
13276 # provided the user. The postdeps already come after the
13277 # user supplied libs so there is no need to process them.
13278 if test -z "$compiler_lib_search_path_FC"; then
13279 compiler_lib_search_path_FC
="${prev}${p}"
13281 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13284 # The "-l" case would never come before the object being
13285 # linked, so don't bother handling this case.
13288 if test -z "$postdeps_FC"; then
13289 postdeps_FC
="${prev}${p}"
13291 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13297 # This assumes that the test object file only shows up
13298 # once in the compiler output.
13299 if test "$p" = "conftest.$objext"; then
13300 pre_test_object_deps_done
=yes
13304 if test "$pre_test_object_deps_done" = no
; then
13305 if test -z "$predep_objects_FC"; then
13306 predep_objects_FC
="$p"
13308 predep_objects_FC
="$predep_objects_FC $p"
13311 if test -z "$postdep_objects_FC"; then
13312 postdep_objects_FC
="$p"
13314 postdep_objects_FC
="$postdep_objects_FC $p"
13319 *) ;; # Ignore the rest.
13327 echo "libtool.m4: error: problem compiling FC test program"
13330 $RM -f confest.
$objext
13332 # PORTME: override above test on systems where it is broken
13335 case " $postdeps_FC " in
13336 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13338 compiler_lib_search_dirs_FC
=
13339 if test -n "${compiler_lib_search_path_FC}"; then
13340 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13373 lt_prog_compiler_wl_FC
=
13374 lt_prog_compiler_pic_FC
=
13375 lt_prog_compiler_static_FC
=
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13378 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13380 if test "$GCC" = yes; then
13381 lt_prog_compiler_wl_FC
='-Wl,'
13382 lt_prog_compiler_static_FC
='-static'
13386 # All AIX code is PIC.
13387 if test "$host_cpu" = ia64
; then
13388 # AIX 5 now supports IA64 processor
13389 lt_prog_compiler_static_FC
='-Bstatic'
13391 lt_prog_compiler_pic_FC
='-fPIC'
13397 # see comment about AmigaOS4 .so support
13398 lt_prog_compiler_pic_FC
='-fPIC'
13401 # FIXME: we need at least 68020 code to build shared libraries, but
13402 # adding the `-m68020' flag to GCC prevents building anything better,
13404 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13409 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13410 # PIC is the default for these OSes.
13413 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13414 # This hack is so that the source file can tell whether it is being
13415 # built for inclusion in a dll (and should export symbols for example).
13416 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13417 # (--disable-auto-import) libraries
13418 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13421 darwin
* | rhapsody
*)
13422 # PIC is the default on this platform
13423 # Common symbols not allowed in MH_DYLIB files
13424 lt_prog_compiler_pic_FC
='-fno-common'
13428 # PIC is the default for Haiku.
13429 # The "-static" flag exists, but is broken.
13430 lt_prog_compiler_static_FC
=
13434 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13435 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13436 # sets the default TLS model and affects inlining.
13442 lt_prog_compiler_pic_FC
='-fPIC'
13448 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13449 # Instead, we relocate shared libraries at runtime.
13453 # Just because we use GCC doesn't mean we suddenly get shared libraries
13454 # on systems that don't support them.
13455 lt_prog_compiler_can_build_shared_FC
=no
13460 # QNX uses GNU C++, but need to define -shared option too, otherwise
13461 # it will coredump.
13462 lt_prog_compiler_pic_FC
='-fPIC -shared'
13466 if test -d /usr
/nec
; then
13467 lt_prog_compiler_pic_FC
=-Kconform_pic
13472 lt_prog_compiler_pic_FC
='-fPIC'
13476 case $cc_basename in
13477 nvcc
*) # Cuda Compiler Driver 2.2
13478 lt_prog_compiler_wl_FC
='-Xlinker '
13479 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13483 # PORTME Check for flag to pass linker flags through the system compiler.
13486 lt_prog_compiler_wl_FC
='-Wl,'
13487 if test "$host_cpu" = ia64
; then
13488 # AIX 5 now supports IA64 processor
13489 lt_prog_compiler_static_FC
='-Bstatic'
13491 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13495 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13496 # This hack is so that the source file can tell whether it is being
13497 # built for inclusion in a dll (and should export symbols for example).
13498 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13501 hpux9
* | hpux10
* | hpux11
*)
13502 lt_prog_compiler_wl_FC
='-Wl,'
13503 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13504 # not for PA HP-UX.
13510 lt_prog_compiler_pic_FC
='+Z'
13513 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13514 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13517 irix5
* | irix6
* | nonstopux
*)
13518 lt_prog_compiler_wl_FC
='-Wl,'
13519 # PIC (with -KPIC) is the default.
13520 lt_prog_compiler_static_FC
='-non_shared'
13523 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13524 case $cc_basename in
13525 # old Intel for x86_64 which still supported -KPIC.
13527 lt_prog_compiler_wl_FC
='-Wl,'
13528 lt_prog_compiler_pic_FC
='-KPIC'
13529 lt_prog_compiler_static_FC
='-static'
13531 # icc used to be incompatible with GCC.
13532 # ICC 10 doesn't accept -KPIC any more.
13534 lt_prog_compiler_wl_FC
='-Wl,'
13535 lt_prog_compiler_pic_FC
='-fPIC'
13536 lt_prog_compiler_static_FC
='-static'
13538 # Lahey Fortran 8.1.
13540 lt_prog_compiler_wl_FC
='-Wl,'
13541 lt_prog_compiler_pic_FC
='--shared'
13542 lt_prog_compiler_static_FC
='--static'
13544 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13545 # Portland Group compilers (*not* the Pentium gcc compiler,
13546 # which looks to be a dead project)
13547 lt_prog_compiler_wl_FC
='-Wl,'
13548 lt_prog_compiler_pic_FC
='-fpic'
13549 lt_prog_compiler_static_FC
='-Bstatic'
13552 lt_prog_compiler_wl_FC
='-Wl,'
13553 # All Alpha code is PIC.
13554 lt_prog_compiler_static_FC
='-non_shared'
13556 xl
* | bgxl
* | bgf
* | mpixl
*)
13557 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13558 lt_prog_compiler_wl_FC
='-Wl,'
13559 lt_prog_compiler_pic_FC
='-qpic'
13560 lt_prog_compiler_static_FC
='-qstaticlink'
13563 case `$CC -V 2>&1 | sed 5q` in
13564 *Sun\ F
* |
*Sun
*Fortran
*)
13565 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13566 lt_prog_compiler_pic_FC
='-KPIC'
13567 lt_prog_compiler_static_FC
='-Bstatic'
13568 lt_prog_compiler_wl_FC
=''
13572 lt_prog_compiler_pic_FC
='-KPIC'
13573 lt_prog_compiler_static_FC
='-Bstatic'
13574 lt_prog_compiler_wl_FC
='-Wl,'
13582 lt_prog_compiler_pic_FC
='-KPIC'
13583 lt_prog_compiler_static_FC
='-Bstatic'
13587 # QNX uses GNU C++, but need to define -shared option too, otherwise
13588 # it will coredump.
13589 lt_prog_compiler_pic_FC
='-fPIC -shared'
13592 osf3
* | osf4
* | osf5
*)
13593 lt_prog_compiler_wl_FC
='-Wl,'
13594 # All OSF/1 code is PIC.
13595 lt_prog_compiler_static_FC
='-non_shared'
13599 lt_prog_compiler_static_FC
='-non_shared'
13603 lt_prog_compiler_pic_FC
='-KPIC'
13604 lt_prog_compiler_static_FC
='-Bstatic'
13605 case $cc_basename in
13606 f77
* | f90
* | f95
*)
13607 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13609 lt_prog_compiler_wl_FC
='-Wl,';;
13614 lt_prog_compiler_wl_FC
='-Qoption ld '
13615 lt_prog_compiler_pic_FC
='-PIC'
13616 lt_prog_compiler_static_FC
='-Bstatic'
13619 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13620 lt_prog_compiler_wl_FC
='-Wl,'
13621 lt_prog_compiler_pic_FC
='-KPIC'
13622 lt_prog_compiler_static_FC
='-Bstatic'
13626 if test -d /usr
/nec
;then
13627 lt_prog_compiler_pic_FC
='-Kconform_pic'
13628 lt_prog_compiler_static_FC
='-Bstatic'
13632 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13633 lt_prog_compiler_wl_FC
='-Wl,'
13634 lt_prog_compiler_pic_FC
='-KPIC'
13635 lt_prog_compiler_static_FC
='-Bstatic'
13639 lt_prog_compiler_wl_FC
='-Wl,'
13640 lt_prog_compiler_can_build_shared_FC
=no
13644 lt_prog_compiler_pic_FC
='-pic'
13645 lt_prog_compiler_static_FC
='-Bstatic'
13649 lt_prog_compiler_can_build_shared_FC
=no
13655 # For platforms which do not support PIC, -DPIC is meaningless:
13657 lt_prog_compiler_pic_FC
=
13660 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13664 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13669 # Check to make sure the PIC flag actually works.
13671 if test -n "$lt_prog_compiler_pic_FC"; then
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13673 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13674 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13675 $as_echo_n "(cached) " >&6
13677 lt_cv_prog_compiler_pic_works_FC
=no
13678 ac_outfile
=conftest.
$ac_objext
13679 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13680 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13681 # Insert the option either (1) after the last *FLAGS variable, or
13682 # (2) before a word containing "conftest.", or (3) at the end.
13683 # Note that $ac_compile itself does not contain backslashes and begins
13684 # with a dollar sign (not a hyphen), so the echo should work correctly.
13685 # The option is referenced via a variable to avoid confusing sed.
13686 lt_compile
=`echo "$ac_compile" | $SED \
13687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13689 -e 's:$: $lt_compiler_flag:'`
13690 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13691 (eval "$lt_compile" 2>conftest.err
)
13693 cat conftest.err
>&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 if (exit $ac_status) && test -s "$ac_outfile"; then
13696 # The compiler can only warn and ignore the option if not recognized
13697 # So say no if there are warnings other than the usual output.
13698 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13699 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13700 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13701 lt_cv_prog_compiler_pic_works_FC
=yes
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13708 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13710 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13711 case $lt_prog_compiler_pic_FC in
13713 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13716 lt_prog_compiler_pic_FC
=
13717 lt_prog_compiler_can_build_shared_FC
=no
13725 # Check to make sure the static flag actually works.
13727 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13729 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13730 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13731 $as_echo_n "(cached) " >&6
13733 lt_cv_prog_compiler_static_works_FC
=no
13734 save_LDFLAGS
="$LDFLAGS"
13735 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13736 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13737 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13738 # The linker can only warn and ignore the option if not recognized
13739 # So say no if there are warnings
13740 if test -s conftest.err
; then
13741 # Append any errors to the config.log.
13742 cat conftest.err
1>&5
13743 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13744 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13745 if diff conftest.exp conftest.er2
>/dev
/null
; then
13746 lt_cv_prog_compiler_static_works_FC
=yes
13749 lt_cv_prog_compiler_static_works_FC
=yes
13753 LDFLAGS
="$save_LDFLAGS"
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13757 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13759 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13762 lt_prog_compiler_static_FC
=
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13769 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13770 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13771 $as_echo_n "(cached) " >&6
13773 lt_cv_prog_compiler_c_o_FC
=no
13774 $RM -r conftest
2>/dev
/null
13778 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13780 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13781 # Insert the option either (1) after the last *FLAGS variable, or
13782 # (2) before a word containing "conftest.", or (3) at the end.
13783 # Note that $ac_compile itself does not contain backslashes and begins
13784 # with a dollar sign (not a hyphen), so the echo should work correctly.
13785 lt_compile
=`echo "$ac_compile" | $SED \
13786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13788 -e 's:$: $lt_compiler_flag:'`
13789 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13790 (eval "$lt_compile" 2>out
/conftest.err
)
13792 cat out
/conftest.err
>&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13796 # The compiler can only warn and ignore the option if not recognized
13797 # So say no if there are warnings
13798 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13799 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13800 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13801 lt_cv_prog_compiler_c_o_FC
=yes
13806 # SGI C++ compiler will create directory out/ii_files/ for
13807 # template instantiation
13808 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13809 $RM out
/* && rmdir out
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13816 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13821 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13822 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13823 $as_echo_n "(cached) " >&6
13825 lt_cv_prog_compiler_c_o_FC
=no
13826 $RM -r conftest
2>/dev
/null
13830 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13832 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13833 # Insert the option either (1) after the last *FLAGS variable, or
13834 # (2) before a word containing "conftest.", or (3) at the end.
13835 # Note that $ac_compile itself does not contain backslashes and begins
13836 # with a dollar sign (not a hyphen), so the echo should work correctly.
13837 lt_compile
=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>out
/conftest.err
)
13844 cat out
/conftest.err
>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13848 # The compiler can only warn and ignore the option if not recognized
13849 # So say no if there are warnings
13850 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13851 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13852 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13853 lt_cv_prog_compiler_c_o_FC
=yes
13858 # SGI C++ compiler will create directory out/ii_files/ for
13859 # template instantiation
13860 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13861 $RM out
/* && rmdir out
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13868 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13873 hard_links
="nottested"
13874 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13875 # do not overwrite the value of need_locks provided by the user
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13877 $as_echo_n "checking if we can lock with hard links... " >&6; }
13880 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13882 ln conftest.a conftest.b
2>&5 || hard_links
=no
13883 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13885 $as_echo "$hard_links" >&6; }
13886 if test "$hard_links" = no
; then
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13888 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13898 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13901 allow_undefined_flag_FC
=
13902 always_export_symbols_FC
=no
13904 archive_expsym_cmds_FC
=
13905 compiler_needs_object_FC
=no
13906 enable_shared_with_static_runtimes_FC
=no
13907 export_dynamic_flag_spec_FC
=
13908 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13909 hardcode_automatic_FC
=no
13910 hardcode_direct_FC
=no
13911 hardcode_direct_absolute_FC
=no
13912 hardcode_libdir_flag_spec_FC
=
13913 hardcode_libdir_flag_spec_ld_FC
=
13914 hardcode_libdir_separator_FC
=
13915 hardcode_minus_L_FC
=no
13916 hardcode_shlibpath_var_FC
=unsupported
13917 inherit_rpath_FC
=no
13918 link_all_deplibs_FC
=unknown
13920 module_expsym_cmds_FC
=
13921 old_archive_from_new_cmds_FC
=
13922 old_archive_from_expsyms_cmds_FC
=
13923 thread_safe_flag_spec_FC
=
13924 whole_archive_flag_spec_FC
=
13925 # include_expsyms should be a list of space-separated symbols to be *always*
13926 # included in the symbol list
13927 include_expsyms_FC
=
13928 # exclude_expsyms can be an extended regexp of symbols to exclude
13929 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13930 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13931 # as well as any symbol that contains `d'.
13932 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13933 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13934 # platforms (ab)use it in PIC code, but their linkers get confused if
13935 # the symbol is explicitly referenced. Since portable code cannot
13936 # rely on this symbol name, it's probably fine to never include it in
13937 # preloaded symbol tables.
13938 # Exclude shared library initialization/finalization symbols.
13939 extract_expsyms_cmds
=
13942 cygwin
* | mingw
* | pw32
* | cegcc
*)
13943 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13944 # When not using gcc, we currently assume that we are using
13945 # Microsoft Visual C++.
13946 if test "$GCC" != yes; then
13951 # we just hope/assume this is gcc and not c89 (= MSVC++)
13961 # On some targets, GNU ld is compatible enough with the native linker
13962 # that we're better off using the native interface for both.
13963 lt_use_gnu_ld_interface
=no
13964 if test "$with_gnu_ld" = yes; then
13967 # The AIX port of GNU ld has always aspired to compatibility
13968 # with the native linker. However, as the warning in the GNU ld
13969 # block says, versions before 2.19.5* couldn't really create working
13970 # shared libraries, regardless of the interface used.
13971 case `$LD -v 2>&1` in
13972 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13973 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13974 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13976 lt_use_gnu_ld_interface
=yes
13981 lt_use_gnu_ld_interface
=yes
13986 if test "$lt_use_gnu_ld_interface" = yes; then
13987 # If archive_cmds runs LD, not CC, wlarc should be empty
13990 # Set some defaults for GNU ld with shared library support. These
13991 # are reset later if shared libraries are not supported. Putting them
13992 # here allows them to be overridden if necessary.
13993 runpath_var
=LD_RUN_PATH
13994 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13995 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13996 # ancient GNU ld didn't support --whole-archive et. al.
13997 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13998 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14000 whole_archive_flag_spec_FC
=
14002 supports_anon_versioning
=no
14003 case `$LD -v 2>&1` in
14004 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14005 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14006 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14007 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14008 *\
2.11.
*) ;; # other 2.11 versions
14009 *) supports_anon_versioning
=yes ;;
14012 # See if GNU ld supports shared libraries.
14015 # On AIX/PPC, the GNU linker is very broken
14016 if test "$host_cpu" != ia64
; then
14020 *** Warning: the GNU linker, at least up to release 2.19, is reported
14021 *** to be unable to reliably create shared libraries on AIX.
14022 *** Therefore, libtool is disabling shared libraries support. If you
14023 *** really care for shared libraries, you may want to install binutils
14024 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14025 *** You will then need to restart the configuration process.
14034 # see comment about AmigaOS4 .so support
14035 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14036 archive_expsym_cmds_FC
=''
14039 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)'
14040 hardcode_libdir_flag_spec_FC
='-L$libdir'
14041 hardcode_minus_L_FC
=yes
14047 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14048 allow_undefined_flag_FC
=unsupported
14049 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14050 # support --undefined. This deserves some investigation. FIXME
14051 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14057 cygwin
* | mingw
* | pw32
* | cegcc
*)
14058 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14059 # as there is no search path for DLLs.
14060 hardcode_libdir_flag_spec_FC
='-L$libdir'
14061 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14062 allow_undefined_flag_FC
=unsupported
14063 always_export_symbols_FC
=no
14064 enable_shared_with_static_runtimes_FC
=yes
14065 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14067 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14068 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14069 # If the export-symbols file already is a .def file (1st line
14070 # is EXPORTS), use it as is; otherwise, prepend...
14071 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14072 cp $export_symbols $output_objdir/$soname.def;
14074 echo EXPORTS > $output_objdir/$soname.def;
14075 cat $export_symbols >> $output_objdir/$soname.def;
14077 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14084 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14085 link_all_deplibs_FC
=yes
14089 hardcode_direct_FC
=no
14090 hardcode_shlibpath_var_FC
=no
14091 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14092 export_dynamic_flag_spec_FC
='${wl}-E'
14093 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14094 # Instead, shared libraries are loaded at an image base (0x10000000 by
14095 # default) and relocated if they conflict, which is a slow very memory
14096 # consuming and fragmenting process. To avoid this, we pick a random,
14097 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14098 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14099 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'
14100 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'
14103 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14105 if test "$host_os" = linux-dietlibc
; then
14106 case $cc_basename in
14107 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14110 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14111 && test "$tmp_diet" = no
14113 tmp_addflag
=' $pic_flag'
14114 tmp_sharedflag
='-shared'
14115 case $cc_basename,$host_cpu in
14116 pgcc
*) # Portland Group C compiler
14117 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'
14118 tmp_addflag
=' $pic_flag'
14120 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14121 # Portland Group f77 and f90 compilers
14122 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'
14123 tmp_addflag
=' $pic_flag -Mnomain' ;;
14124 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14125 tmp_addflag
=' -i_dynamic' ;;
14126 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14127 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14128 ifc
* | ifort
*) # Intel Fortran compiler
14129 tmp_addflag
=' -nofor_main' ;;
14130 lf95
*) # Lahey Fortran 8.1
14131 whole_archive_flag_spec_FC
=
14132 tmp_sharedflag
='--shared' ;;
14133 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14134 tmp_sharedflag
='-qmkshrobj'
14136 nvcc
*) # Cuda Compiler Driver 2.2
14137 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'
14138 compiler_needs_object_FC
=yes
14141 case `$CC -V 2>&1 | sed 5q` in
14142 *Sun\ C
*) # Sun C 5.9
14143 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'
14144 compiler_needs_object_FC
=yes
14145 tmp_sharedflag
='-G' ;;
14146 *Sun\ F
*) # Sun Fortran 8.3
14147 tmp_sharedflag
='-G' ;;
14149 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14151 if test "x$supports_anon_versioning" = xyes
; then
14152 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14153 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14154 echo "local: *; };" >> $output_objdir/$libname.ver~
14155 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14158 case $cc_basename in
14159 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14160 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14161 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14162 hardcode_libdir_flag_spec_FC
=
14163 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14164 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14165 if test "x$supports_anon_versioning" = xyes
; then
14166 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14167 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14168 echo "local: *; };" >> $output_objdir/$libname.ver~
14169 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14179 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14180 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14183 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14184 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14189 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14193 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14194 *** create shared libraries on Solaris systems. Therefore, libtool
14195 *** is disabling shared libraries support. We urge you to upgrade GNU
14196 *** binutils to release 2.9.1 or newer. Another option is to modify
14197 *** your PATH or compiler configuration so that the native linker is
14198 *** used, and then restart.
14201 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14202 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14203 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14209 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14210 case `$LD -v 2>&1` in
14211 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14215 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14216 *** reliably create shared libraries on SCO systems. Therefore, libtool
14217 *** is disabling shared libraries support. We urge you to upgrade GNU
14218 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14219 *** your PATH or compiler configuration so that the native linker is
14220 *** used, and then restart.
14225 # For security reasons, it is highly recommended that you always
14226 # use absolute paths for naming shared libraries, and exclude the
14227 # DT_RUNPATH tag from executables and libraries. But doing so
14228 # requires that you compile everything twice, which is a pain.
14229 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14230 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14231 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14232 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14241 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14243 hardcode_direct_FC
=yes
14244 hardcode_shlibpath_var_FC
=no
14248 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14249 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14250 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14257 if test "$ld_shlibs_FC" = no
; then
14259 hardcode_libdir_flag_spec_FC
=
14260 export_dynamic_flag_spec_FC
=
14261 whole_archive_flag_spec_FC
=
14264 # PORTME fill in a description of your system's linker (not GNU ld)
14267 allow_undefined_flag_FC
=unsupported
14268 always_export_symbols_FC
=yes
14269 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'
14270 # Note: this linker hardcodes the directories in LIBPATH if there
14271 # are no directories specified by -L.
14272 hardcode_minus_L_FC
=yes
14273 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14274 # Neither direct hardcoding nor static linking is supported with a
14276 hardcode_direct_FC
=unsupported
14281 if test "$host_cpu" = ia64
; then
14282 # On IA64, the linker does run time linking by default, so we don't
14283 # have to do anything special.
14284 aix_use_runtimelinking
=no
14285 exp_sym_flag
='-Bexport'
14288 # If we're using GNU nm, then we don't want the "-C" option.
14289 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14290 # Also, AIX nm treats weak defined symbols like other global
14291 # defined symbols, whereas GNU nm marks them as "W".
14292 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14293 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'
14295 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14297 aix_use_runtimelinking
=no
14299 # Test if we are trying to use run time linking or normal
14300 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14301 # need to do runtime linking.
14302 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14303 for ld_flag
in $LDFLAGS; do
14304 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14305 aix_use_runtimelinking
=yes
14312 exp_sym_flag
='-bexport'
14313 no_entry_flag
='-bnoentry'
14316 # When large executables or shared objects are built, AIX ld can
14317 # have problems creating the table of contents. If linking a library
14318 # or program results in "error TOC overflow" add -mminimal-toc to
14319 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14320 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14323 hardcode_direct_FC
=yes
14324 hardcode_direct_absolute_FC
=yes
14325 hardcode_libdir_separator_FC
=':'
14326 link_all_deplibs_FC
=yes
14327 file_list_spec_FC
='${wl}-f,'
14329 if test "$GCC" = yes; then
14330 case $host_os in aix4.
[012]|aix4.
[012].
*)
14331 # We only want to do this on AIX 4.2 and lower, the check
14332 # below for broken collect2 doesn't work under 4.3+
14333 collect2name
=`${CC} -print-prog-name=collect2`
14334 if test -f "$collect2name" &&
14335 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14337 # We have reworked collect2
14340 # We have old collect2
14341 hardcode_direct_FC
=unsupported
14342 # It fails to find uninstalled libraries when the uninstalled
14343 # path is not listed in the libpath. Setting hardcode_minus_L
14344 # to unsupported forces relinking
14345 hardcode_minus_L_FC
=yes
14346 hardcode_libdir_flag_spec_FC
='-L$libdir'
14347 hardcode_libdir_separator_FC
=
14351 shared_flag
='-shared'
14352 if test "$aix_use_runtimelinking" = yes; then
14353 shared_flag
="$shared_flag "'${wl}-G'
14357 if test "$host_cpu" = ia64
; then
14358 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14359 # chokes on -Wl,-G. The following line is correct:
14362 if test "$aix_use_runtimelinking" = yes; then
14363 shared_flag
='${wl}-G'
14365 shared_flag
='${wl}-bM:SRE'
14370 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14371 # It seems that -bexpall does not export symbols beginning with
14372 # underscore (_), so it is better to generate a list of symbols to export.
14373 always_export_symbols_FC
=yes
14374 if test "$aix_use_runtimelinking" = yes; then
14375 # Warning - without using the other runtime loading flags (-brtl),
14376 # -berok will link without error, but may produce a broken library.
14377 allow_undefined_flag_FC
='-berok'
14378 # Determine the default libpath from the value encoded in an
14379 # empty executable.
14380 if test x
$gcc_no_link = xyes
; then
14381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14383 cat > conftest.
$ac_ext <<_ACEOF
14388 if ac_fn_fc_try_link
"$LINENO"; then :
14390 lt_aix_libpath_sed
='
14391 /Import File Strings/,/^$/ {
14397 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14398 # Check for a 64-bit object if we didn't find anything.
14399 if test -z "$aix_libpath"; then
14400 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14403 rm -f core conftest.err conftest.
$ac_objext \
14404 conftest
$ac_exeext conftest.
$ac_ext
14405 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14407 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14408 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"
14410 if test "$host_cpu" = ia64
; then
14411 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14412 allow_undefined_flag_FC
="-z nodefs"
14413 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"
14415 # Determine the default libpath from the value encoded in an
14416 # empty executable.
14417 if test x
$gcc_no_link = xyes
; then
14418 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14420 cat > conftest.
$ac_ext <<_ACEOF
14425 if ac_fn_fc_try_link
"$LINENO"; then :
14427 lt_aix_libpath_sed
='
14428 /Import File Strings/,/^$/ {
14434 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14435 # Check for a 64-bit object if we didn't find anything.
14436 if test -z "$aix_libpath"; then
14437 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14440 rm -f core conftest.err conftest.
$ac_objext \
14441 conftest
$ac_exeext conftest.
$ac_ext
14442 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14444 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14445 # Warning - without using the other run time loading flags,
14446 # -berok will link without error, but may produce a broken library.
14447 no_undefined_flag_FC
=' ${wl}-bernotok'
14448 allow_undefined_flag_FC
=' ${wl}-berok'
14449 if test "$with_gnu_ld" = yes; then
14450 # We only use this code for GNU lds that support --whole-archive.
14451 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14453 # Exported symbols can be pulled into shared objects from archives
14454 whole_archive_flag_spec_FC
='$convenience'
14456 archive_cmds_need_lc_FC
=yes
14457 # This is similar to how AIX traditionally builds its shared libraries.
14458 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'
14466 # see comment about AmigaOS4 .so support
14467 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14468 archive_expsym_cmds_FC
=''
14471 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)'
14472 hardcode_libdir_flag_spec_FC
='-L$libdir'
14473 hardcode_minus_L_FC
=yes
14479 export_dynamic_flag_spec_FC
=-rdynamic
14482 cygwin
* | mingw
* | pw32
* | cegcc
*)
14483 # When not using gcc, we currently assume that we are using
14484 # Microsoft Visual C++.
14485 # hardcode_libdir_flag_spec is actually meaningless, as there is
14486 # no search path for DLLs.
14487 hardcode_libdir_flag_spec_FC
=' '
14488 allow_undefined_flag_FC
=unsupported
14489 # Tell ltmain to make .lib files, not .a files.
14491 # Tell ltmain to make .dll files, not .so files.
14493 # FIXME: Setting linknames here is a bad hack.
14494 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14495 # The linker will automatically build a .lib file if we build a DLL.
14496 old_archive_from_new_cmds_FC
='true'
14497 # FIXME: Should let the user specify the lib program.
14498 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14499 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14500 enable_shared_with_static_runtimes_FC
=yes
14503 darwin
* | rhapsody
*)
14506 archive_cmds_need_lc_FC
=no
14507 hardcode_direct_FC
=no
14508 hardcode_automatic_FC
=yes
14509 hardcode_shlibpath_var_FC
=unsupported
14510 if test "$lt_cv_ld_force_load" = "yes"; then
14511 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\"`'
14513 whole_archive_flag_spec_FC
=''
14515 link_all_deplibs_FC
=yes
14516 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14517 case $cc_basename in
14518 ifort
*) _lt_dar_can_shared
=yes ;;
14519 *) _lt_dar_can_shared
=$GCC ;;
14521 if test "$_lt_dar_can_shared" = "yes"; then
14522 output_verbose_link_cmd
=func_echo_all
14523 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}"
14524 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14525 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}"
14526 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}"
14535 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14536 hardcode_libdir_flag_spec_FC
='-L$libdir'
14537 hardcode_shlibpath_var_FC
=no
14540 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14541 # support. Future versions do this automatically, but an explicit c++rt0.o
14542 # does not break anything, and helps significantly (at the cost of a little
14545 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14546 hardcode_libdir_flag_spec_FC
='-R$libdir'
14547 hardcode_direct_FC
=yes
14548 hardcode_shlibpath_var_FC
=no
14551 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14553 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14554 hardcode_direct_FC
=yes
14555 hardcode_minus_L_FC
=yes
14556 hardcode_shlibpath_var_FC
=no
14559 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14560 freebsd
* | dragonfly
*)
14561 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14562 hardcode_libdir_flag_spec_FC
='-R$libdir'
14563 hardcode_direct_FC
=yes
14564 hardcode_shlibpath_var_FC
=no
14568 if test "$GCC" = yes; then
14569 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'
14571 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'
14573 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14574 hardcode_libdir_separator_FC
=:
14575 hardcode_direct_FC
=yes
14577 # hardcode_minus_L: Not really in the search PATH,
14578 # but as the default location of the library.
14579 hardcode_minus_L_FC
=yes
14580 export_dynamic_flag_spec_FC
='${wl}-E'
14584 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14585 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14587 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14589 if test "$with_gnu_ld" = no
; then
14590 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14591 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14592 hardcode_libdir_separator_FC
=:
14593 hardcode_direct_FC
=yes
14594 hardcode_direct_absolute_FC
=yes
14595 export_dynamic_flag_spec_FC
='${wl}-E'
14596 # hardcode_minus_L: Not really in the search PATH,
14597 # but as the default location of the library.
14598 hardcode_minus_L_FC
=yes
14603 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14606 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14609 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14612 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14618 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14621 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14624 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14628 if test "$with_gnu_ld" = no
; then
14629 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14630 hardcode_libdir_separator_FC
=:
14634 hardcode_direct_FC
=no
14635 hardcode_shlibpath_var_FC
=no
14638 hardcode_direct_FC
=yes
14639 hardcode_direct_absolute_FC
=yes
14640 export_dynamic_flag_spec_FC
='${wl}-E'
14642 # hardcode_minus_L: Not really in the search PATH,
14643 # but as the default location of the library.
14644 hardcode_minus_L_FC
=yes
14650 irix5
* | irix6
* | nonstopux
*)
14651 if test "$GCC" = yes; then
14652 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'
14653 # Try to use the -exported_symbol ld option, if it does not
14654 # work, assume that -exports_file does not work either and
14655 # implicitly export all symbols.
14656 save_LDFLAGS
="$LDFLAGS"
14657 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14658 if test x
$gcc_no_link = xyes
; then
14659 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14661 cat > conftest.
$ac_ext <<_ACEOF
14664 if ac_fn_fc_try_link
"$LINENO"; then :
14665 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'
14668 rm -f core conftest.err conftest.
$ac_objext \
14669 conftest
$ac_exeext conftest.
$ac_ext
14670 LDFLAGS
="$save_LDFLAGS"
14672 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'
14673 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'
14675 archive_cmds_need_lc_FC
='no'
14676 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14677 hardcode_libdir_separator_FC
=:
14678 inherit_rpath_FC
=yes
14679 link_all_deplibs_FC
=yes
14683 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14684 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14686 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14688 hardcode_libdir_flag_spec_FC
='-R$libdir'
14689 hardcode_direct_FC
=yes
14690 hardcode_shlibpath_var_FC
=no
14694 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14695 hardcode_direct_FC
=yes
14696 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14697 hardcode_libdir_separator_FC
=:
14698 hardcode_shlibpath_var_FC
=no
14705 if test -f /usr
/libexec
/ld.so
; then
14706 hardcode_direct_FC
=yes
14707 hardcode_shlibpath_var_FC
=no
14708 hardcode_direct_absolute_FC
=yes
14709 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14710 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14711 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14712 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14713 export_dynamic_flag_spec_FC
='${wl}-E'
14716 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14717 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14718 hardcode_libdir_flag_spec_FC
='-R$libdir'
14721 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14722 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14732 hardcode_libdir_flag_spec_FC
='-L$libdir'
14733 hardcode_minus_L_FC
=yes
14734 allow_undefined_flag_FC
=unsupported
14735 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'
14736 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14740 if test "$GCC" = yes; then
14741 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14742 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'
14744 allow_undefined_flag_FC
=' -expect_unresolved \*'
14745 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'
14747 archive_cmds_need_lc_FC
='no'
14748 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14749 hardcode_libdir_separator_FC
=:
14752 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14753 if test "$GCC" = yes; then
14754 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14755 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'
14756 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14758 allow_undefined_flag_FC
=' -expect_unresolved \*'
14759 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'
14760 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~
14761 $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'
14763 # Both c and cxx compiler support -rpath directly
14764 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14766 archive_cmds_need_lc_FC
='no'
14767 hardcode_libdir_separator_FC
=:
14771 no_undefined_flag_FC
=' -z defs'
14772 if test "$GCC" = yes; then
14774 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14775 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14776 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14778 case `$CC -V 2>&1` in
14781 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14782 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14783 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14787 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14788 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14789 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14793 hardcode_libdir_flag_spec_FC
='-R$libdir'
14794 hardcode_shlibpath_var_FC
=no
14796 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14798 # The compiler driver will combine and reorder linker options,
14799 # but understands `-z linker_flag'. GCC discards it without `$wl',
14800 # but is careful enough not to reorder.
14801 # Supported since Solaris 2.6 (maybe 2.5.1?)
14802 if test "$GCC" = yes; then
14803 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14805 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14809 link_all_deplibs_FC
=yes
14813 if test "x$host_vendor" = xsequent
; then
14814 # Use $CC to link under sequent, because it throws in some extra .o
14815 # files that make .init and .fini sections work.
14816 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14818 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14820 hardcode_libdir_flag_spec_FC
='-L$libdir'
14821 hardcode_direct_FC
=yes
14822 hardcode_minus_L_FC
=yes
14823 hardcode_shlibpath_var_FC
=no
14827 case $host_vendor in
14829 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14830 hardcode_direct_FC
=yes # is this really true???
14833 ## LD is ld it makes a PLAMLIB
14834 ## CC just makes a GrossModule.
14835 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14836 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14837 hardcode_direct_FC
=no
14840 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14841 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14844 runpath_var
='LD_RUN_PATH'
14845 hardcode_shlibpath_var_FC
=no
14849 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14850 hardcode_shlibpath_var_FC
=no
14851 export_dynamic_flag_spec_FC
='-Bexport'
14855 if test -d /usr
/nec
; then
14856 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14857 hardcode_shlibpath_var_FC
=no
14858 runpath_var
=LD_RUN_PATH
14859 hardcode_runpath_var
=yes
14864 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14865 no_undefined_flag_FC
='${wl}-z,text'
14866 archive_cmds_need_lc_FC
=no
14867 hardcode_shlibpath_var_FC
=no
14868 runpath_var
='LD_RUN_PATH'
14870 if test "$GCC" = yes; then
14871 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14872 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14874 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14875 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14879 sysv5
* | sco3.2v5
* | sco5v6
*)
14880 # Note: We can NOT use -z defs as we might desire, because we do not
14881 # link with -lc, and that would cause any symbols used from libc to
14882 # always be unresolved, which means just about no library would
14883 # ever link correctly. If we're not using GNU ld we use -z text
14884 # though, which does catch some bad symbols but isn't as heavy-handed
14886 no_undefined_flag_FC
='${wl}-z,text'
14887 allow_undefined_flag_FC
='${wl}-z,nodefs'
14888 archive_cmds_need_lc_FC
=no
14889 hardcode_shlibpath_var_FC
=no
14890 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14891 hardcode_libdir_separator_FC
=':'
14892 link_all_deplibs_FC
=yes
14893 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14894 runpath_var
='LD_RUN_PATH'
14896 if test "$GCC" = yes; then
14897 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14898 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14900 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14901 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14906 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14907 hardcode_libdir_flag_spec_FC
='-L$libdir'
14908 hardcode_shlibpath_var_FC
=no
14916 if test x
$host_vendor = xsni
; then
14918 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14919 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14926 $as_echo "$ld_shlibs_FC" >&6; }
14927 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14929 with_gnu_ld_FC
=$with_gnu_ld
14937 # Do we need to explicitly link libc?
14939 case "x$archive_cmds_need_lc_FC" in
14941 # Assume -lc should be added
14942 archive_cmds_need_lc_FC
=yes
14944 if test "$enable_shared" = yes && test "$GCC" = yes; then
14945 case $archive_cmds_FC in
14947 # FIXME: we may have to deal with multi-command sequences.
14950 # Test whether the compiler implicitly links with -lc since on some
14951 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14952 # to ld, don't add -lc before -lgcc.
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14954 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14955 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14956 $as_echo_n "(cached) " >&6
14959 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14962 (eval $ac_compile) 2>&5
14964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14965 test $ac_status = 0; } 2>conftest.err
; then
14968 libobjs
=conftest.
$ac_objext
14970 wl
=$lt_prog_compiler_wl_FC
14971 pic_flag
=$lt_prog_compiler_pic_FC
14977 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14978 allow_undefined_flag_FC
=
14979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14980 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14983 test $ac_status = 0; }
14985 lt_cv_archive_cmds_need_lc_FC
=no
14987 lt_cv_archive_cmds_need_lc_FC
=yes
14989 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14991 cat conftest.err
1>&5
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14997 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14998 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15069 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15071 library_names_spec
=
15072 libname_spec
='lib$name'
15076 postuninstall_cmds
=
15080 shlibpath_overrides_runpath
=unknown
15082 dynamic_linker
="$host_os ld.so"
15083 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15084 need_lib_prefix
=unknown
15085 hardcode_into_libs
=no
15087 # when you set need_version to no, make sure it does not cause -set_version
15088 # flags to be left without arguments
15089 need_version
=unknown
15094 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15095 shlibpath_var
=LIBPATH
15097 # AIX 3 has no versioning support, so we append a major version to the name.
15098 soname_spec
='${libname}${release}${shared_ext}$major'
15105 hardcode_into_libs
=yes
15106 if test "$host_cpu" = ia64
; then
15107 # AIX 5 supports IA64
15108 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15109 shlibpath_var
=LD_LIBRARY_PATH
15111 # With GCC up to 2.95.x, collect2 would create an import file
15112 # for dependence libraries. The import file would start with
15113 # the line `#! .'. This would cause the generated library to
15114 # depend on `.', always an invalid library. This was fixed in
15115 # development snapshots of GCC prior to 3.0.
15117 aix4 | aix4.
[01] | aix4.
[01].
*)
15118 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15120 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15123 can_build_shared
=no
15127 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15128 # soname into executable. Probably we can add versioning support to
15129 # collect2, so additional links can be useful in future.
15130 if test "$aix_use_runtimelinking" = yes; then
15131 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15132 # instead of lib<name>.a to let people know that these are not
15133 # typical AIX shared libraries.
15134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15136 # We preserve .a as extension for shared libraries through AIX4.2
15137 # and later when we are not doing run time linking.
15138 library_names_spec
='${libname}${release}.a $libname.a'
15139 soname_spec
='${libname}${release}${shared_ext}$major'
15141 shlibpath_var
=LIBPATH
15148 # Since July 2007 AmigaOS4 officially supports .so libraries.
15149 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15153 library_names_spec
='$libname.ixlibrary $libname.a'
15154 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15155 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'
15161 library_names_spec
='${libname}${shared_ext}'
15162 dynamic_linker
="$host_os ld.so"
15163 shlibpath_var
=LIBRARY_PATH
15169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15170 soname_spec
='${libname}${release}${shared_ext}$major'
15171 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15172 shlibpath_var
=LD_LIBRARY_PATH
15173 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15174 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15175 # the default ld.so.conf also contains /usr/contrib/lib and
15176 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15177 # libtool to hard-code these into programs
15180 cygwin
* | mingw
* | pw32
* | cegcc
*)
15181 version_type
=windows
15186 case $GCC,$host_os in
15187 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15188 library_names_spec
='$libname.dll.a'
15189 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15190 postinstall_cmds
='base_file=`basename \${file}`~
15191 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15192 dldir=$destdir/`dirname \$dlpath`~
15193 test -d \$dldir || mkdir -p \$dldir~
15194 $install_prog $dir/$dlname \$dldir/$dlname~
15195 chmod a+x \$dldir/$dlname~
15196 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15197 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15199 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15200 dlpath=$dir/\$dldll~
15202 shlibpath_overrides_runpath
=yes
15206 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15207 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15211 # MinGW DLLs use traditional 'lib' prefix
15212 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15215 # pw32 DLLs use 'pw' prefix rather than 'lib'
15216 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15222 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15225 dynamic_linker
='Win32 ld.exe'
15226 # FIXME: first we should search . and the directory the executable is in
15230 darwin
* | rhapsody
*)
15231 dynamic_linker
="$host_os dyld"
15232 version_type
=darwin
15235 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15236 soname_spec
='${libname}${release}${major}$shared_ext'
15237 shlibpath_overrides_runpath
=yes
15238 shlibpath_var
=DYLD_LIBRARY_PATH
15239 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15241 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15249 soname_spec
='${libname}${release}${shared_ext}$major'
15250 shlibpath_var
=LD_LIBRARY_PATH
15253 freebsd
* | dragonfly
*)
15254 # DragonFly does not have aout. When/if they implement a new
15255 # versioning mechanism, adjust this.
15256 if test -x /usr
/bin
/objformat
; then
15257 objformat
=`/usr/bin/objformat`
15260 freebsd
[23].
*) objformat
=aout
;;
15261 *) objformat
=elf
;;
15264 version_type
=freebsd-
$objformat
15265 case $version_type in
15267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15272 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15276 shlibpath_var
=LD_LIBRARY_PATH
15279 shlibpath_overrides_runpath
=yes
15281 freebsd3.
[01]* | freebsdelf3.
[01]*)
15282 shlibpath_overrides_runpath
=yes
15283 hardcode_into_libs
=yes
15285 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15286 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15287 shlibpath_overrides_runpath
=no
15288 hardcode_into_libs
=yes
15290 *) # from 4.6 on, and DragonFly
15291 shlibpath_overrides_runpath
=yes
15292 hardcode_into_libs
=yes
15301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15302 soname_spec
='${libname}${release}${shared_ext}$major'
15303 shlibpath_var
=LD_LIBRARY_PATH
15304 hardcode_into_libs
=yes
15311 dynamic_linker
="$host_os runtime_loader"
15312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15313 soname_spec
='${libname}${release}${shared_ext}$major'
15314 shlibpath_var
=LIBRARY_PATH
15315 shlibpath_overrides_runpath
=yes
15316 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15317 hardcode_into_libs
=yes
15320 hpux9
* | hpux10
* | hpux11
*)
15321 # Give a soname corresponding to the major version so that dld.sl refuses to
15322 # link against other versions.
15329 hardcode_into_libs
=yes
15330 dynamic_linker
="$host_os dld.so"
15331 shlibpath_var
=LD_LIBRARY_PATH
15332 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15334 soname_spec
='${libname}${release}${shared_ext}$major'
15335 if test "X$HPUX_IA64_MODE" = X32
; then
15336 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15338 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15340 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15344 hardcode_into_libs
=yes
15345 dynamic_linker
="$host_os dld.sl"
15346 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15347 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15349 soname_spec
='${libname}${release}${shared_ext}$major'
15350 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15351 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15355 dynamic_linker
="$host_os dld.sl"
15356 shlibpath_var
=SHLIB_PATH
15357 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15359 soname_spec
='${libname}${release}${shared_ext}$major'
15362 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15363 postinstall_cmds
='chmod 555 $lib'
15364 # or fails outright, so override atomically:
15365 install_override_mode
=555
15372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15373 soname_spec
='${libname}${release}${shared_ext}$major'
15374 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15375 shlibpath_var
=LD_LIBRARY_PATH
15376 shlibpath_overrides_runpath
=no
15377 hardcode_into_libs
=yes
15380 irix5
* | irix6
* | nonstopux
*)
15382 nonstopux
*) version_type
=nonstopux
;;
15384 if test "$lt_cv_prog_gnu_ld" = yes; then
15392 soname_spec
='${libname}${release}${shared_ext}$major'
15393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15395 irix5
* | nonstopux
*)
15396 libsuff
= shlibsuff
=
15399 case $LD in # libtool.m4 will add one of these switches to LD
15400 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15401 libsuff
= shlibsuff
= libmagic
=32-bit;;
15402 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15403 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15404 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15405 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15406 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15410 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15411 shlibpath_overrides_runpath
=no
15412 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15413 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15414 hardcode_into_libs
=yes
15417 # No shared lib support for Linux oldld, aout, or coff.
15418 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15422 # This must be Linux ELF.
15423 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec
='${libname}${release}${shared_ext}$major'
15429 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15430 shlibpath_var
=LD_LIBRARY_PATH
15431 shlibpath_overrides_runpath
=no
15433 # Some binutils ld are patched to set DT_RUNPATH
15434 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15435 $as_echo_n "(cached) " >&6
15437 lt_cv_shlibpath_overrides_runpath
=no
15438 save_LDFLAGS
=$LDFLAGS
15439 save_libdir
=$libdir
15440 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15441 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15442 if test x
$gcc_no_link = xyes
; then
15443 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15445 cat > conftest.
$ac_ext <<_ACEOF
15450 if ac_fn_fc_try_link
"$LINENO"; then :
15451 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15452 lt_cv_shlibpath_overrides_runpath
=yes
15455 rm -f core conftest.err conftest.
$ac_objext \
15456 conftest
$ac_exeext conftest.
$ac_ext
15457 LDFLAGS
=$save_LDFLAGS
15458 libdir
=$save_libdir
15462 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15464 # This implies no fast_install, which is unacceptable.
15465 # Some rework will be needed to allow for fast_install
15466 # before this can be enabled.
15467 hardcode_into_libs
=yes
15469 # Append ld.so.conf contents to the search path
15470 if test -f /etc
/ld.so.conf
; then
15471 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' ' '`
15472 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15475 # We used to test for /lib/ld.so.1 and disable shared libraries on
15476 # powerpc, because MkLinux only supported shared libraries with the
15477 # GNU dynamic linker. Since this was broken with cross compilers,
15478 # most powerpc-linux boxes support dynamic linking these days and
15479 # people can always --disable-shared, the test was removed, and we
15480 # assume the GNU/Linux dynamic linker is in use.
15481 dynamic_linker
='GNU/Linux ld.so'
15488 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15490 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15491 dynamic_linker
='NetBSD (a.out) ld.so'
15493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15494 soname_spec
='${libname}${release}${shared_ext}$major'
15495 dynamic_linker
='NetBSD ld.elf_so'
15497 shlibpath_var
=LD_LIBRARY_PATH
15498 shlibpath_overrides_runpath
=yes
15499 hardcode_into_libs
=yes
15504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15505 shlibpath_var
=LD_LIBRARY_PATH
15506 shlibpath_overrides_runpath
=yes
15513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15514 soname_spec
='${libname}${release}${shared_ext}$major'
15515 shlibpath_var
=LD_LIBRARY_PATH
15516 shlibpath_overrides_runpath
=no
15517 hardcode_into_libs
=yes
15518 dynamic_linker
='ldqnx.so'
15523 sys_lib_dlsearch_path_spec
="/usr/lib"
15525 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15527 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15528 *) need_version
=no
;;
15530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15531 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15532 shlibpath_var
=LD_LIBRARY_PATH
15533 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15535 openbsd2.
[89] | openbsd2.
[89].
*)
15536 shlibpath_overrides_runpath
=no
15539 shlibpath_overrides_runpath
=yes
15543 shlibpath_overrides_runpath
=yes
15548 libname_spec
='$name'
15551 library_names_spec
='$libname${shared_ext} $libname.a'
15552 dynamic_linker
='OS/2 ld.exe'
15553 shlibpath_var
=LIBPATH
15556 osf3
* | osf4
* | osf5
*)
15560 soname_spec
='${libname}${release}${shared_ext}$major'
15561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562 shlibpath_var
=LD_LIBRARY_PATH
15563 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15564 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15576 soname_spec
='${libname}${release}${shared_ext}$major'
15577 shlibpath_var
=LD_LIBRARY_PATH
15578 shlibpath_overrides_runpath
=yes
15579 hardcode_into_libs
=yes
15580 # ldd complains unless libraries are executable
15581 postinstall_cmds
='chmod +x $lib'
15586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15587 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15588 shlibpath_var
=LD_LIBRARY_PATH
15589 shlibpath_overrides_runpath
=yes
15590 if test "$with_gnu_ld" = yes; then
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15599 soname_spec
='${libname}${release}${shared_ext}$major'
15600 shlibpath_var
=LD_LIBRARY_PATH
15601 case $host_vendor in
15603 shlibpath_overrides_runpath
=no
15605 runpath_var
=LD_RUN_PATH
15613 shlibpath_overrides_runpath
=no
15614 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15620 if test -d /usr
/nec
;then
15622 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15623 soname_spec
='$libname${shared_ext}.$major'
15624 shlibpath_var
=LD_LIBRARY_PATH
15628 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15629 version_type
=freebsd-elf
15632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15633 soname_spec
='${libname}${release}${shared_ext}$major'
15634 shlibpath_var
=LD_LIBRARY_PATH
15635 shlibpath_overrides_runpath
=yes
15636 hardcode_into_libs
=yes
15637 if test "$with_gnu_ld" = yes; then
15638 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15640 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15643 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15647 sys_lib_dlsearch_path_spec
='/usr/lib'
15651 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15656 shlibpath_var
=LD_LIBRARY_PATH
15657 shlibpath_overrides_runpath
=no
15658 hardcode_into_libs
=yes
15663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15664 soname_spec
='${libname}${release}${shared_ext}$major'
15665 shlibpath_var
=LD_LIBRARY_PATH
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15673 $as_echo "$dynamic_linker" >&6; }
15674 test "$dynamic_linker" = no
&& can_build_shared
=no
15676 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15677 if test "$GCC" = yes; then
15678 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15681 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15682 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15684 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15685 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15726 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15727 hardcode_action_FC
=
15728 if test -n "$hardcode_libdir_flag_spec_FC" ||
15729 test -n "$runpath_var_FC" ||
15730 test "X$hardcode_automatic_FC" = "Xyes" ; then
15732 # We can hardcode non-existent directories.
15733 if test "$hardcode_direct_FC" != no
&&
15734 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15735 # have to relink, otherwise we might link with an installed library
15736 # when we should be linking with a yet-to-be-installed one
15737 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15738 test "$hardcode_minus_L_FC" != no
; then
15739 # Linking always hardcodes the temporary library directory.
15740 hardcode_action_FC
=relink
15742 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15743 hardcode_action_FC
=immediate
15746 # We cannot hardcode anything, or else we can only hardcode existing
15748 hardcode_action_FC
=unsupported
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15751 $as_echo "$hardcode_action_FC" >&6; }
15753 if test "$hardcode_action_FC" = relink ||
15754 test "$inherit_rpath_FC" = yes; then
15755 # Fast installation is not supported
15756 enable_fast_install
=no
15757 elif test "$shlibpath_overrides_runpath" = yes ||
15758 test "$enable_shared" = no
; then
15759 # Fast installation is not necessary
15760 enable_fast_install
=needless
15769 fi # test -n "$compiler"
15773 fi # test "$_lt_disable_FC" != yes
15776 ac_cpp
='$CPP $CPPFLAGS'
15777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15783 # extra LD Flags which are required for targets
15786 # Darwin needs -single_module when linking libgfortran
15787 extra_ldflags_libgfortran
=-Wl,-single_module
15792 # We need a working compiler at that point, otherwise give a clear
15793 # error message and bail out.
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15796 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15797 ac_ext
=${ac_fc_srcext-f}
15798 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15799 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15800 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15802 cat > conftest.
$ac_ext <<_ACEOF
15805 real, parameter :: bar = sin (12.34 / 2.5)
15808 if ac_fn_fc_try_compile
"$LINENO"; then :
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15810 $as_echo "yes" >&6; }
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15813 $as_echo "no" >&6; }
15814 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15819 ac_cpp
='$CPP $CPPFLAGS'
15820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15826 # Check whether --enable-largefile was given.
15827 if test "${enable_largefile+set}" = set; then :
15828 enableval
=$enable_largefile;
15831 if test "$enable_largefile" != no
; then
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15834 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15835 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15836 $as_echo_n "(cached) " >&6
15838 ac_cv_sys_largefile_CC
=no
15839 if test "$GCC" != yes; then
15842 # IRIX 6.2 and later do not support large files by default,
15843 # so use the C compiler's -n32 option if that helps.
15844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15846 #include <sys/types.h>
15847 /* Check that off_t can represent 2**63 - 1 correctly.
15848 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15849 since some C++ compilers masquerading as C compilers
15850 incorrectly reject 9223372036854775807. */
15851 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15852 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15853 && LARGE_OFF_T % 2147483647 == 1)
15863 if ac_fn_c_try_compile
"$LINENO"; then :
15866 rm -f core conftest.err conftest.
$ac_objext
15868 if ac_fn_c_try_compile
"$LINENO"; then :
15869 ac_cv_sys_largefile_CC
=' -n32'; break
15871 rm -f core conftest.err conftest.
$ac_objext
15875 rm -f conftest.
$ac_ext
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15879 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15880 if test "$ac_cv_sys_largefile_CC" != no
; then
15881 CC
=$CC$ac_cv_sys_largefile_CC
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15885 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15886 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15887 $as_echo_n "(cached) " >&6
15890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #include <sys/types.h>
15893 /* Check that off_t can represent 2**63 - 1 correctly.
15894 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15895 since some C++ compilers masquerading as C compilers
15896 incorrectly reject 9223372036854775807. */
15897 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15898 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15899 && LARGE_OFF_T % 2147483647 == 1)
15909 if ac_fn_c_try_compile
"$LINENO"; then :
15910 ac_cv_sys_file_offset_bits
=no
; break
15912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15915 #define _FILE_OFFSET_BITS 64
15916 #include <sys/types.h>
15917 /* Check that off_t can represent 2**63 - 1 correctly.
15918 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15919 since some C++ compilers masquerading as C compilers
15920 incorrectly reject 9223372036854775807. */
15921 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15922 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15923 && LARGE_OFF_T % 2147483647 == 1)
15933 if ac_fn_c_try_compile
"$LINENO"; then :
15934 ac_cv_sys_file_offset_bits
=64; break
15936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15937 ac_cv_sys_file_offset_bits
=unknown
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15942 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15943 case $ac_cv_sys_file_offset_bits in #(
15946 cat >>confdefs.h
<<_ACEOF
15947 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15952 if test $ac_cv_sys_file_offset_bits = unknown
; then
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15954 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15955 if test "${ac_cv_sys_large_files+set}" = set; then :
15956 $as_echo_n "(cached) " >&6
15959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15961 #include <sys/types.h>
15962 /* Check that off_t can represent 2**63 - 1 correctly.
15963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15964 since some C++ compilers masquerading as C compilers
15965 incorrectly reject 9223372036854775807. */
15966 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15968 && LARGE_OFF_T % 2147483647 == 1)
15978 if ac_fn_c_try_compile
"$LINENO"; then :
15979 ac_cv_sys_large_files
=no
; break
15981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15983 /* end confdefs.h. */
15984 #define _LARGE_FILES 1
15985 #include <sys/types.h>
15986 /* Check that off_t can represent 2**63 - 1 correctly.
15987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15988 since some C++ compilers masquerading as C compilers
15989 incorrectly reject 9223372036854775807. */
15990 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15992 && LARGE_OFF_T % 2147483647 == 1)
16002 if ac_fn_c_try_compile
"$LINENO"; then :
16003 ac_cv_sys_large_files
=1; break
16005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16006 ac_cv_sys_large_files
=unknown
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16011 $as_echo "$ac_cv_sys_large_files" >&6; }
16012 case $ac_cv_sys_large_files in #(
16015 cat >>confdefs.h
<<_ACEOF
16016 #define _LARGE_FILES $ac_cv_sys_large_files
16026 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16027 if test "x$ac_cv_type_off_t" = x
""yes; then :
16031 cat >>confdefs.h
<<_ACEOF
16032 #define off_t long int
16038 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16039 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
16041 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16044 for ac_type
in 'int' 'long int' 'long long int'; do
16045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16046 /* end confdefs.h. */
16047 $ac_includes_default
16051 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16058 if ac_fn_c_try_compile
"$LINENO"; then :
16060 cat >>confdefs.h
<<_ACEOF
16061 #define intptr_t $ac_type
16066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16067 test -z "$ac_type" && break
16073 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16074 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16076 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16079 for ac_type
in 'unsigned int' 'unsigned long int' \
16080 'unsigned long long int'; do
16081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 $ac_includes_default
16087 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16094 if ac_fn_c_try_compile
"$LINENO"; then :
16096 cat >>confdefs.h
<<_ACEOF
16097 #define uintptr_t $ac_type
16102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16103 test -z "$ac_type" && break
16108 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16109 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
16111 cat >>confdefs.h
<<_ACEOF
16112 #define HAVE_PTRDIFF_T 1
16119 # check header files (we assume C89 is available, so don't check for that)
16123 for ac_header
in $ac_header_list
16125 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16126 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16128 eval as_val
=\$
$as_ac_Header
16129 if test "x$as_val" = x
""yes; then :
16130 cat >>confdefs.h
<<_ACEOF
16131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16172 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16174 acx_cv_header_stdint
=stddef.h
16175 acx_cv_header_stdint_kind
="(already complete)"
16176 for i
in stdint.h
$inttype_headers; do
16177 unset ac_cv_type_uintptr_t
16178 unset ac_cv_type_uintmax_t
16179 unset ac_cv_type_int_least32_t
16180 unset ac_cv_type_int_fast32_t
16181 unset ac_cv_type_uint64_t
16182 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16183 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16186 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16187 acx_cv_header_stdint
=$i
16192 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16195 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16198 acx_cv_header_stdint_kind
="(mostly complete)"
16201 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16204 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16207 acx_cv_header_stdint_kind
="(mostly complete)"
16210 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16213 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16216 acx_cv_header_stdint_kind
="(mostly complete)"
16219 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16222 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16225 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16230 if test "$acx_cv_header_stdint" = stddef.h
; then
16231 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16232 for i
in stdint.h
$inttype_headers; do
16233 unset ac_cv_type_uintptr_t
16234 unset ac_cv_type_uint32_t
16235 unset ac_cv_type_uint64_t
16236 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16237 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16240 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16241 acx_cv_header_stdint
=$i
16246 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16249 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16253 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16256 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16263 if test "$acx_cv_header_stdint" = stddef.h
; then
16264 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16265 for i
in sys
/types.h
$inttype_headers; do
16266 unset ac_cv_type_u_int32_t
16267 unset ac_cv_type_u_int64_t
16268 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16269 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16272 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16273 acx_cv_header_stdint
=$i
16278 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16281 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16288 if test "$acx_cv_header_stdint" = stddef.h
; then
16289 acx_cv_header_stdint_kind
="(using manual detection)"
16292 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16293 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16294 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16295 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16296 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16298 # ----------------- Summarize what we found so far
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16301 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16303 case `$as_basename -- gstdint.h ||
16304 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16305 Xgstdint.h : 'X\(//\)$' \| \
16306 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16307 $as_echo X/gstdint.h |
16308 sed '/^.*\/\([^/][^/]*\)\/*$/{
16321 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16322 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16323 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16324 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16329 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16331 # ----------------- done included file, check C basic types --------
16333 # Lacking an uintptr_t? Test size of void *
16334 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16335 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16336 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16337 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16338 # This bug is HP SR number 8606223364.
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16340 $as_echo_n "checking size of void *... " >&6; }
16341 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16342 $as_echo_n "(cached) " >&6
16344 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16347 if test "$ac_cv_type_void_p" = yes; then
16348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16350 { as_fn_set_status
77
16351 as_fn_error
"cannot compute sizeof (void *)
16352 See \`config.log' for more details." "$LINENO" 5; }; }
16354 ac_cv_sizeof_void_p
=0
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16360 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16364 cat >>confdefs.h
<<_ACEOF
16365 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16371 # Lacking an uint64_t? Test size of long
16372 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16373 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16376 # This bug is HP SR number 8606223364.
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16378 $as_echo_n "checking size of long... " >&6; }
16379 if test "${ac_cv_sizeof_long+set}" = set; then :
16380 $as_echo_n "(cached) " >&6
16382 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16385 if test "$ac_cv_type_long" = yes; then
16386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16388 { as_fn_set_status
77
16389 as_fn_error
"cannot compute sizeof (long)
16390 See \`config.log' for more details." "$LINENO" 5; }; }
16392 ac_cv_sizeof_long
=0
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16398 $as_echo "$ac_cv_sizeof_long" >&6; }
16402 cat >>confdefs.h
<<_ACEOF
16403 #define SIZEOF_LONG $ac_cv_sizeof_long
16409 if test $acx_cv_header_stdint = stddef.h
; then
16410 # Lacking a good header? Test size of everything and deduce all types.
16411 # The cast to long int works around a bug in the HP C Compiler
16412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16414 # This bug is HP SR number 8606223364.
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16416 $as_echo_n "checking size of int... " >&6; }
16417 if test "${ac_cv_sizeof_int+set}" = set; then :
16418 $as_echo_n "(cached) " >&6
16420 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16423 if test "$ac_cv_type_int" = yes; then
16424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16426 { as_fn_set_status
77
16427 as_fn_error
"cannot compute sizeof (int)
16428 See \`config.log' for more details." "$LINENO" 5; }; }
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16436 $as_echo "$ac_cv_sizeof_int" >&6; }
16440 cat >>confdefs.h
<<_ACEOF
16441 #define SIZEOF_INT $ac_cv_sizeof_int
16445 # The cast to long int works around a bug in the HP C Compiler
16446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16448 # This bug is HP SR number 8606223364.
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16450 $as_echo_n "checking size of short... " >&6; }
16451 if test "${ac_cv_sizeof_short+set}" = set; then :
16452 $as_echo_n "(cached) " >&6
16454 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16457 if test "$ac_cv_type_short" = yes; then
16458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16460 { as_fn_set_status
77
16461 as_fn_error
"cannot compute sizeof (short)
16462 See \`config.log' for more details." "$LINENO" 5; }; }
16464 ac_cv_sizeof_short
=0
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16470 $as_echo "$ac_cv_sizeof_short" >&6; }
16474 cat >>confdefs.h
<<_ACEOF
16475 #define SIZEOF_SHORT $ac_cv_sizeof_short
16479 # The cast to long int works around a bug in the HP C Compiler
16480 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16481 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16482 # This bug is HP SR number 8606223364.
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16484 $as_echo_n "checking size of char... " >&6; }
16485 if test "${ac_cv_sizeof_char+set}" = set; then :
16486 $as_echo_n "(cached) " >&6
16488 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16491 if test "$ac_cv_type_char" = yes; then
16492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16494 { as_fn_set_status
77
16495 as_fn_error
"cannot compute sizeof (char)
16496 See \`config.log' for more details." "$LINENO" 5; }; }
16498 ac_cv_sizeof_char
=0
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16504 $as_echo "$ac_cv_sizeof_char" >&6; }
16508 cat >>confdefs.h
<<_ACEOF
16509 #define SIZEOF_CHAR $ac_cv_sizeof_char
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16515 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16516 case "$ac_cv_sizeof_char" in
16517 1) acx_cv_type_int8_t
=char
;;
16518 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16521 $as_echo "$acx_cv_type_int8_t" >&6; }
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16524 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16525 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16526 2:*) acx_cv_type_int16_t
=int
;;
16527 *:2) acx_cv_type_int16_t
=short
;;
16528 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16531 $as_echo "$acx_cv_type_int16_t" >&6; }
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16534 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16535 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16536 4:*) acx_cv_type_int32_t
=int
;;
16537 *:4) acx_cv_type_int32_t
=long
;;
16538 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16541 $as_echo "$acx_cv_type_int32_t" >&6; }
16544 # These tests are here to make the output prettier
16546 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16547 case "$ac_cv_sizeof_long" in
16548 8) acx_cv_type_int64_t
=long
;;
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16551 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16553 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16556 # Now we can use the above types
16558 if test "$ac_cv_type_uintptr_t" != yes; then
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16560 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16561 case $ac_cv_sizeof_void_p in
16562 2) acx_cv_type_intptr_t
=int16_t
;;
16563 4) acx_cv_type_intptr_t
=int32_t
;;
16564 8) acx_cv_type_intptr_t
=int64_t
;;
16565 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16568 $as_echo "$acx_cv_type_intptr_t" >&6; }
16571 # ----------------- done all checks, emit header -------------
16572 ac_config_commands
="$ac_config_commands gstdint.h"
16577 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16578 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16580 cat >>confdefs.h
<<_ACEOF
16581 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16586 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16587 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16589 cat >>confdefs.h
<<_ACEOF
16590 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16595 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16596 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16598 cat >>confdefs.h
<<_ACEOF
16599 #define HAVE_STRUCT_STAT_ST_RDEV 1
16606 case "${host}--x${with_newlib}" in
16608 hardwire_newlib
=1;;
16610 hardwire_newlib
=1;;
16613 # Check for library functions.
16614 if test "${hardwire_newlib:-0}" -eq 1; then
16615 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16616 # may not work correctly, because the compiler may not be able to
16617 # link executables.
16619 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16622 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16625 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16628 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16631 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16634 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16637 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16640 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16643 # At some point, we should differentiate between architectures
16644 # like x86, which have long double versions, and alpha/powerpc/etc.,
16645 # which don't. For the time being, punt.
16646 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16648 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16655 for ac_func
in $ac_func_list
16657 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16658 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16659 eval as_val
=\$
$as_ac_var
16660 if test "x$as_val" = x
""yes; then :
16661 cat >>confdefs.h
<<_ACEOF
16662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16769 # Check strerror_r, cannot be above as versions with two and three arguments exist
16771 ac_save_CFLAGS
="$CFLAGS"
16772 CFLAGS
="-Wimplicit-function-declaration -Werror"
16773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16775 #define _GNU_SOURCE 1
16776 #include <string.h>
16777 #include <locale.h>
16781 char s[128]; strerror_r(5, s, 128);
16786 if ac_fn_c_try_compile
"$LINENO"; then :
16788 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16792 CFLAGS
="$ac_save_CFLAGS"
16794 ac_save_CFLAGS
="$CFLAGS"
16795 CFLAGS
="-Wimplicit-function-declaration -Werror"
16796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h. */
16798 #define _GNU_SOURCE 1
16799 #include <string.h>
16800 #include <locale.h>
16804 char s[128]; strerror_r(5, s);
16809 if ac_fn_c_try_compile
"$LINENO"; then :
16811 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16815 CFLAGS
="$ac_save_CFLAGS"
16818 # Check for C99 (and other IEEE) math functions
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16820 $as_echo_n "checking for sin in -lm... " >&6; }
16821 if test "${ac_cv_lib_m_sin+set}" = set; then :
16822 $as_echo_n "(cached) " >&6
16824 ac_check_lib_save_LIBS
=$LIBS
16826 if test x
$gcc_no_link = xyes
; then
16827 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16847 if ac_fn_c_try_link
"$LINENO"; then :
16848 ac_cv_lib_m_sin
=yes
16852 rm -f core conftest.err conftest.
$ac_objext \
16853 conftest
$ac_exeext conftest.
$ac_ext
16854 LIBS
=$ac_check_lib_save_LIBS
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16857 $as_echo "$ac_cv_lib_m_sin" >&6; }
16858 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16859 cat >>confdefs.h
<<_ACEOF
16860 #define HAVE_LIBM 1
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16874 $as_echo_n "checking for acosf... " >&6; }
16875 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16876 $as_echo_n "(cached) " >&6
16878 if test x
$gcc_no_link = xyes
; then
16879 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16884 #ifdef HAVE_COMPLEX_H
16885 #include <complex.h>
16891 int (*ptr)() = (int (*)())acosf;
16900 if ac_fn_c_try_link
"$LINENO"; then :
16901 gcc_cv_math_func_acosf
=yes
16903 gcc_cv_math_func_acosf
=no
16905 rm -f core conftest.err conftest.
$ac_objext \
16906 conftest
$ac_exeext conftest.
$ac_ext
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16909 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16910 if test $gcc_cv_math_func_acosf = yes; then
16912 cat >>confdefs.h
<<_ACEOF
16913 #define HAVE_ACOSF 1
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16922 $as_echo_n "checking for acos... " >&6; }
16923 if test "${gcc_cv_math_func_acos+set}" = set; then :
16924 $as_echo_n "(cached) " >&6
16926 if test x
$gcc_no_link = xyes
; then
16927 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16932 #ifdef HAVE_COMPLEX_H
16933 #include <complex.h>
16939 int (*ptr)() = (int (*)())acos;
16948 if ac_fn_c_try_link
"$LINENO"; then :
16949 gcc_cv_math_func_acos
=yes
16951 gcc_cv_math_func_acos
=no
16953 rm -f core conftest.err conftest.
$ac_objext \
16954 conftest
$ac_exeext conftest.
$ac_ext
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16957 $as_echo "$gcc_cv_math_func_acos" >&6; }
16958 if test $gcc_cv_math_func_acos = yes; then
16960 cat >>confdefs.h
<<_ACEOF
16961 #define HAVE_ACOS 1
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16970 $as_echo_n "checking for acosl... " >&6; }
16971 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16972 $as_echo_n "(cached) " >&6
16974 if test x
$gcc_no_link = xyes
; then
16975 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16980 #ifdef HAVE_COMPLEX_H
16981 #include <complex.h>
16987 int (*ptr)() = (int (*)())acosl;
16996 if ac_fn_c_try_link
"$LINENO"; then :
16997 gcc_cv_math_func_acosl
=yes
16999 gcc_cv_math_func_acosl
=no
17001 rm -f core conftest.err conftest.
$ac_objext \
17002 conftest
$ac_exeext conftest.
$ac_ext
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17005 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17006 if test $gcc_cv_math_func_acosl = yes; then
17008 cat >>confdefs.h
<<_ACEOF
17009 #define HAVE_ACOSL 1
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17018 $as_echo_n "checking for acoshf... " >&6; }
17019 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
17020 $as_echo_n "(cached) " >&6
17022 if test x
$gcc_no_link = xyes
; then
17023 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 #ifdef HAVE_COMPLEX_H
17029 #include <complex.h>
17035 int (*ptr)() = (int (*)())acoshf;
17044 if ac_fn_c_try_link
"$LINENO"; then :
17045 gcc_cv_math_func_acoshf
=yes
17047 gcc_cv_math_func_acoshf
=no
17049 rm -f core conftest.err conftest.
$ac_objext \
17050 conftest
$ac_exeext conftest.
$ac_ext
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17053 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17054 if test $gcc_cv_math_func_acoshf = yes; then
17056 cat >>confdefs.h
<<_ACEOF
17057 #define HAVE_ACOSHF 1
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17066 $as_echo_n "checking for acosh... " >&6; }
17067 if test "${gcc_cv_math_func_acosh+set}" = set; then :
17068 $as_echo_n "(cached) " >&6
17070 if test x
$gcc_no_link = xyes
; then
17071 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17076 #ifdef HAVE_COMPLEX_H
17077 #include <complex.h>
17083 int (*ptr)() = (int (*)())acosh;
17092 if ac_fn_c_try_link
"$LINENO"; then :
17093 gcc_cv_math_func_acosh
=yes
17095 gcc_cv_math_func_acosh
=no
17097 rm -f core conftest.err conftest.
$ac_objext \
17098 conftest
$ac_exeext conftest.
$ac_ext
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17101 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17102 if test $gcc_cv_math_func_acosh = yes; then
17104 cat >>confdefs.h
<<_ACEOF
17105 #define HAVE_ACOSH 1
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17114 $as_echo_n "checking for acoshl... " >&6; }
17115 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
17116 $as_echo_n "(cached) " >&6
17118 if test x
$gcc_no_link = xyes
; then
17119 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17124 #ifdef HAVE_COMPLEX_H
17125 #include <complex.h>
17131 int (*ptr)() = (int (*)())acoshl;
17140 if ac_fn_c_try_link
"$LINENO"; then :
17141 gcc_cv_math_func_acoshl
=yes
17143 gcc_cv_math_func_acoshl
=no
17145 rm -f core conftest.err conftest.
$ac_objext \
17146 conftest
$ac_exeext conftest.
$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17149 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17150 if test $gcc_cv_math_func_acoshl = yes; then
17152 cat >>confdefs.h
<<_ACEOF
17153 #define HAVE_ACOSHL 1
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17162 $as_echo_n "checking for asinf... " >&6; }
17163 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17164 $as_echo_n "(cached) " >&6
17166 if test x
$gcc_no_link = xyes
; then
17167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 #ifdef HAVE_COMPLEX_H
17173 #include <complex.h>
17179 int (*ptr)() = (int (*)())asinf;
17188 if ac_fn_c_try_link
"$LINENO"; then :
17189 gcc_cv_math_func_asinf
=yes
17191 gcc_cv_math_func_asinf
=no
17193 rm -f core conftest.err conftest.
$ac_objext \
17194 conftest
$ac_exeext conftest.
$ac_ext
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17197 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17198 if test $gcc_cv_math_func_asinf = yes; then
17200 cat >>confdefs.h
<<_ACEOF
17201 #define HAVE_ASINF 1
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17210 $as_echo_n "checking for asin... " >&6; }
17211 if test "${gcc_cv_math_func_asin+set}" = set; then :
17212 $as_echo_n "(cached) " >&6
17214 if test x
$gcc_no_link = xyes
; then
17215 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17220 #ifdef HAVE_COMPLEX_H
17221 #include <complex.h>
17227 int (*ptr)() = (int (*)())asin;
17236 if ac_fn_c_try_link
"$LINENO"; then :
17237 gcc_cv_math_func_asin
=yes
17239 gcc_cv_math_func_asin
=no
17241 rm -f core conftest.err conftest.
$ac_objext \
17242 conftest
$ac_exeext conftest.
$ac_ext
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17245 $as_echo "$gcc_cv_math_func_asin" >&6; }
17246 if test $gcc_cv_math_func_asin = yes; then
17248 cat >>confdefs.h
<<_ACEOF
17249 #define HAVE_ASIN 1
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17258 $as_echo_n "checking for asinl... " >&6; }
17259 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17260 $as_echo_n "(cached) " >&6
17262 if test x
$gcc_no_link = xyes
; then
17263 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17268 #ifdef HAVE_COMPLEX_H
17269 #include <complex.h>
17275 int (*ptr)() = (int (*)())asinl;
17284 if ac_fn_c_try_link
"$LINENO"; then :
17285 gcc_cv_math_func_asinl
=yes
17287 gcc_cv_math_func_asinl
=no
17289 rm -f core conftest.err conftest.
$ac_objext \
17290 conftest
$ac_exeext conftest.
$ac_ext
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17293 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17294 if test $gcc_cv_math_func_asinl = yes; then
17296 cat >>confdefs.h
<<_ACEOF
17297 #define HAVE_ASINL 1
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17306 $as_echo_n "checking for asinhf... " >&6; }
17307 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17308 $as_echo_n "(cached) " >&6
17310 if test x
$gcc_no_link = xyes
; then
17311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17316 #ifdef HAVE_COMPLEX_H
17317 #include <complex.h>
17323 int (*ptr)() = (int (*)())asinhf;
17332 if ac_fn_c_try_link
"$LINENO"; then :
17333 gcc_cv_math_func_asinhf
=yes
17335 gcc_cv_math_func_asinhf
=no
17337 rm -f core conftest.err conftest.
$ac_objext \
17338 conftest
$ac_exeext conftest.
$ac_ext
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17341 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17342 if test $gcc_cv_math_func_asinhf = yes; then
17344 cat >>confdefs.h
<<_ACEOF
17345 #define HAVE_ASINHF 1
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17354 $as_echo_n "checking for asinh... " >&6; }
17355 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17356 $as_echo_n "(cached) " >&6
17358 if test x
$gcc_no_link = xyes
; then
17359 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17364 #ifdef HAVE_COMPLEX_H
17365 #include <complex.h>
17371 int (*ptr)() = (int (*)())asinh;
17380 if ac_fn_c_try_link
"$LINENO"; then :
17381 gcc_cv_math_func_asinh
=yes
17383 gcc_cv_math_func_asinh
=no
17385 rm -f core conftest.err conftest.
$ac_objext \
17386 conftest
$ac_exeext conftest.
$ac_ext
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17389 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17390 if test $gcc_cv_math_func_asinh = yes; then
17392 cat >>confdefs.h
<<_ACEOF
17393 #define HAVE_ASINH 1
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17402 $as_echo_n "checking for asinhl... " >&6; }
17403 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17404 $as_echo_n "(cached) " >&6
17406 if test x
$gcc_no_link = xyes
; then
17407 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17412 #ifdef HAVE_COMPLEX_H
17413 #include <complex.h>
17419 int (*ptr)() = (int (*)())asinhl;
17428 if ac_fn_c_try_link
"$LINENO"; then :
17429 gcc_cv_math_func_asinhl
=yes
17431 gcc_cv_math_func_asinhl
=no
17433 rm -f core conftest.err conftest.
$ac_objext \
17434 conftest
$ac_exeext conftest.
$ac_ext
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17437 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17438 if test $gcc_cv_math_func_asinhl = yes; then
17440 cat >>confdefs.h
<<_ACEOF
17441 #define HAVE_ASINHL 1
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17450 $as_echo_n "checking for atan2f... " >&6; }
17451 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17452 $as_echo_n "(cached) " >&6
17454 if test x
$gcc_no_link = xyes
; then
17455 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17460 #ifdef HAVE_COMPLEX_H
17461 #include <complex.h>
17467 int (*ptr)() = (int (*)())atan2f;
17476 if ac_fn_c_try_link
"$LINENO"; then :
17477 gcc_cv_math_func_atan2f
=yes
17479 gcc_cv_math_func_atan2f
=no
17481 rm -f core conftest.err conftest.
$ac_objext \
17482 conftest
$ac_exeext conftest.
$ac_ext
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17485 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17486 if test $gcc_cv_math_func_atan2f = yes; then
17488 cat >>confdefs.h
<<_ACEOF
17489 #define HAVE_ATAN2F 1
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17498 $as_echo_n "checking for atan2... " >&6; }
17499 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17500 $as_echo_n "(cached) " >&6
17502 if test x
$gcc_no_link = xyes
; then
17503 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17508 #ifdef HAVE_COMPLEX_H
17509 #include <complex.h>
17515 int (*ptr)() = (int (*)())atan2;
17524 if ac_fn_c_try_link
"$LINENO"; then :
17525 gcc_cv_math_func_atan2
=yes
17527 gcc_cv_math_func_atan2
=no
17529 rm -f core conftest.err conftest.
$ac_objext \
17530 conftest
$ac_exeext conftest.
$ac_ext
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17533 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17534 if test $gcc_cv_math_func_atan2 = yes; then
17536 cat >>confdefs.h
<<_ACEOF
17537 #define HAVE_ATAN2 1
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17546 $as_echo_n "checking for atan2l... " >&6; }
17547 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17548 $as_echo_n "(cached) " >&6
17550 if test x
$gcc_no_link = xyes
; then
17551 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17556 #ifdef HAVE_COMPLEX_H
17557 #include <complex.h>
17563 int (*ptr)() = (int (*)())atan2l;
17572 if ac_fn_c_try_link
"$LINENO"; then :
17573 gcc_cv_math_func_atan2l
=yes
17575 gcc_cv_math_func_atan2l
=no
17577 rm -f core conftest.err conftest.
$ac_objext \
17578 conftest
$ac_exeext conftest.
$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17581 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17582 if test $gcc_cv_math_func_atan2l = yes; then
17584 cat >>confdefs.h
<<_ACEOF
17585 #define HAVE_ATAN2L 1
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17594 $as_echo_n "checking for atanf... " >&6; }
17595 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17596 $as_echo_n "(cached) " >&6
17598 if test x
$gcc_no_link = xyes
; then
17599 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17604 #ifdef HAVE_COMPLEX_H
17605 #include <complex.h>
17611 int (*ptr)() = (int (*)())atanf;
17620 if ac_fn_c_try_link
"$LINENO"; then :
17621 gcc_cv_math_func_atanf
=yes
17623 gcc_cv_math_func_atanf
=no
17625 rm -f core conftest.err conftest.
$ac_objext \
17626 conftest
$ac_exeext conftest.
$ac_ext
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17629 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17630 if test $gcc_cv_math_func_atanf = yes; then
17632 cat >>confdefs.h
<<_ACEOF
17633 #define HAVE_ATANF 1
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17642 $as_echo_n "checking for atan... " >&6; }
17643 if test "${gcc_cv_math_func_atan+set}" = set; then :
17644 $as_echo_n "(cached) " >&6
17646 if test x
$gcc_no_link = xyes
; then
17647 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17652 #ifdef HAVE_COMPLEX_H
17653 #include <complex.h>
17659 int (*ptr)() = (int (*)())atan;
17668 if ac_fn_c_try_link
"$LINENO"; then :
17669 gcc_cv_math_func_atan
=yes
17671 gcc_cv_math_func_atan
=no
17673 rm -f core conftest.err conftest.
$ac_objext \
17674 conftest
$ac_exeext conftest.
$ac_ext
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17677 $as_echo "$gcc_cv_math_func_atan" >&6; }
17678 if test $gcc_cv_math_func_atan = yes; then
17680 cat >>confdefs.h
<<_ACEOF
17681 #define HAVE_ATAN 1
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17690 $as_echo_n "checking for atanl... " >&6; }
17691 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17692 $as_echo_n "(cached) " >&6
17694 if test x
$gcc_no_link = xyes
; then
17695 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17700 #ifdef HAVE_COMPLEX_H
17701 #include <complex.h>
17707 int (*ptr)() = (int (*)())atanl;
17716 if ac_fn_c_try_link
"$LINENO"; then :
17717 gcc_cv_math_func_atanl
=yes
17719 gcc_cv_math_func_atanl
=no
17721 rm -f core conftest.err conftest.
$ac_objext \
17722 conftest
$ac_exeext conftest.
$ac_ext
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17725 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17726 if test $gcc_cv_math_func_atanl = yes; then
17728 cat >>confdefs.h
<<_ACEOF
17729 #define HAVE_ATANL 1
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17738 $as_echo_n "checking for atanhf... " >&6; }
17739 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17740 $as_echo_n "(cached) " >&6
17742 if test x
$gcc_no_link = xyes
; then
17743 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17748 #ifdef HAVE_COMPLEX_H
17749 #include <complex.h>
17755 int (*ptr)() = (int (*)())atanhf;
17764 if ac_fn_c_try_link
"$LINENO"; then :
17765 gcc_cv_math_func_atanhf
=yes
17767 gcc_cv_math_func_atanhf
=no
17769 rm -f core conftest.err conftest.
$ac_objext \
17770 conftest
$ac_exeext conftest.
$ac_ext
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17773 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17774 if test $gcc_cv_math_func_atanhf = yes; then
17776 cat >>confdefs.h
<<_ACEOF
17777 #define HAVE_ATANHF 1
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17786 $as_echo_n "checking for atanh... " >&6; }
17787 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17788 $as_echo_n "(cached) " >&6
17790 if test x
$gcc_no_link = xyes
; then
17791 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17796 #ifdef HAVE_COMPLEX_H
17797 #include <complex.h>
17803 int (*ptr)() = (int (*)())atanh;
17812 if ac_fn_c_try_link
"$LINENO"; then :
17813 gcc_cv_math_func_atanh
=yes
17815 gcc_cv_math_func_atanh
=no
17817 rm -f core conftest.err conftest.
$ac_objext \
17818 conftest
$ac_exeext conftest.
$ac_ext
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17821 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17822 if test $gcc_cv_math_func_atanh = yes; then
17824 cat >>confdefs.h
<<_ACEOF
17825 #define HAVE_ATANH 1
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17834 $as_echo_n "checking for atanhl... " >&6; }
17835 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17836 $as_echo_n "(cached) " >&6
17838 if test x
$gcc_no_link = xyes
; then
17839 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17844 #ifdef HAVE_COMPLEX_H
17845 #include <complex.h>
17851 int (*ptr)() = (int (*)())atanhl;
17860 if ac_fn_c_try_link
"$LINENO"; then :
17861 gcc_cv_math_func_atanhl
=yes
17863 gcc_cv_math_func_atanhl
=no
17865 rm -f core conftest.err conftest.
$ac_objext \
17866 conftest
$ac_exeext conftest.
$ac_ext
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17869 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17870 if test $gcc_cv_math_func_atanhl = yes; then
17872 cat >>confdefs.h
<<_ACEOF
17873 #define HAVE_ATANHL 1
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17882 $as_echo_n "checking for cargf... " >&6; }
17883 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17884 $as_echo_n "(cached) " >&6
17886 if test x
$gcc_no_link = xyes
; then
17887 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17892 #ifdef HAVE_COMPLEX_H
17893 #include <complex.h>
17899 int (*ptr)() = (int (*)())cargf;
17908 if ac_fn_c_try_link
"$LINENO"; then :
17909 gcc_cv_math_func_cargf
=yes
17911 gcc_cv_math_func_cargf
=no
17913 rm -f core conftest.err conftest.
$ac_objext \
17914 conftest
$ac_exeext conftest.
$ac_ext
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17917 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17918 if test $gcc_cv_math_func_cargf = yes; then
17920 cat >>confdefs.h
<<_ACEOF
17921 #define HAVE_CARGF 1
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17930 $as_echo_n "checking for carg... " >&6; }
17931 if test "${gcc_cv_math_func_carg+set}" = set; then :
17932 $as_echo_n "(cached) " >&6
17934 if test x
$gcc_no_link = xyes
; then
17935 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17940 #ifdef HAVE_COMPLEX_H
17941 #include <complex.h>
17947 int (*ptr)() = (int (*)())carg;
17956 if ac_fn_c_try_link
"$LINENO"; then :
17957 gcc_cv_math_func_carg
=yes
17959 gcc_cv_math_func_carg
=no
17961 rm -f core conftest.err conftest.
$ac_objext \
17962 conftest
$ac_exeext conftest.
$ac_ext
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17965 $as_echo "$gcc_cv_math_func_carg" >&6; }
17966 if test $gcc_cv_math_func_carg = yes; then
17968 cat >>confdefs.h
<<_ACEOF
17969 #define HAVE_CARG 1
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17978 $as_echo_n "checking for cargl... " >&6; }
17979 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17982 if test x
$gcc_no_link = xyes
; then
17983 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 #ifdef HAVE_COMPLEX_H
17989 #include <complex.h>
17995 int (*ptr)() = (int (*)())cargl;
18004 if ac_fn_c_try_link
"$LINENO"; then :
18005 gcc_cv_math_func_cargl
=yes
18007 gcc_cv_math_func_cargl
=no
18009 rm -f core conftest.err conftest.
$ac_objext \
18010 conftest
$ac_exeext conftest.
$ac_ext
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18013 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18014 if test $gcc_cv_math_func_cargl = yes; then
18016 cat >>confdefs.h
<<_ACEOF
18017 #define HAVE_CARGL 1
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18026 $as_echo_n "checking for ceilf... " >&6; }
18027 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
18028 $as_echo_n "(cached) " >&6
18030 if test x
$gcc_no_link = xyes
; then
18031 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 #ifdef HAVE_COMPLEX_H
18037 #include <complex.h>
18043 int (*ptr)() = (int (*)())ceilf;
18052 if ac_fn_c_try_link
"$LINENO"; then :
18053 gcc_cv_math_func_ceilf
=yes
18055 gcc_cv_math_func_ceilf
=no
18057 rm -f core conftest.err conftest.
$ac_objext \
18058 conftest
$ac_exeext conftest.
$ac_ext
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18061 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18062 if test $gcc_cv_math_func_ceilf = yes; then
18064 cat >>confdefs.h
<<_ACEOF
18065 #define HAVE_CEILF 1
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18074 $as_echo_n "checking for ceil... " >&6; }
18075 if test "${gcc_cv_math_func_ceil+set}" = set; then :
18076 $as_echo_n "(cached) " >&6
18078 if test x
$gcc_no_link = xyes
; then
18079 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18084 #ifdef HAVE_COMPLEX_H
18085 #include <complex.h>
18091 int (*ptr)() = (int (*)())ceil;
18100 if ac_fn_c_try_link
"$LINENO"; then :
18101 gcc_cv_math_func_ceil
=yes
18103 gcc_cv_math_func_ceil
=no
18105 rm -f core conftest.err conftest.
$ac_objext \
18106 conftest
$ac_exeext conftest.
$ac_ext
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18109 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18110 if test $gcc_cv_math_func_ceil = yes; then
18112 cat >>confdefs.h
<<_ACEOF
18113 #define HAVE_CEIL 1
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18122 $as_echo_n "checking for ceill... " >&6; }
18123 if test "${gcc_cv_math_func_ceill+set}" = set; then :
18124 $as_echo_n "(cached) " >&6
18126 if test x
$gcc_no_link = xyes
; then
18127 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h. */
18132 #ifdef HAVE_COMPLEX_H
18133 #include <complex.h>
18139 int (*ptr)() = (int (*)())ceill;
18148 if ac_fn_c_try_link
"$LINENO"; then :
18149 gcc_cv_math_func_ceill
=yes
18151 gcc_cv_math_func_ceill
=no
18153 rm -f core conftest.err conftest.
$ac_objext \
18154 conftest
$ac_exeext conftest.
$ac_ext
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18157 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18158 if test $gcc_cv_math_func_ceill = yes; then
18160 cat >>confdefs.h
<<_ACEOF
18161 #define HAVE_CEILL 1
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18170 $as_echo_n "checking for copysignf... " >&6; }
18171 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18172 $as_echo_n "(cached) " >&6
18174 if test x
$gcc_no_link = xyes
; then
18175 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18180 #ifdef HAVE_COMPLEX_H
18181 #include <complex.h>
18187 int (*ptr)() = (int (*)())copysignf;
18196 if ac_fn_c_try_link
"$LINENO"; then :
18197 gcc_cv_math_func_copysignf
=yes
18199 gcc_cv_math_func_copysignf
=no
18201 rm -f core conftest.err conftest.
$ac_objext \
18202 conftest
$ac_exeext conftest.
$ac_ext
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18205 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18206 if test $gcc_cv_math_func_copysignf = yes; then
18208 cat >>confdefs.h
<<_ACEOF
18209 #define HAVE_COPYSIGNF 1
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18218 $as_echo_n "checking for copysign... " >&6; }
18219 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18220 $as_echo_n "(cached) " >&6
18222 if test x
$gcc_no_link = xyes
; then
18223 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18226 /* end confdefs.h. */
18228 #ifdef HAVE_COMPLEX_H
18229 #include <complex.h>
18235 int (*ptr)() = (int (*)())copysign;
18244 if ac_fn_c_try_link
"$LINENO"; then :
18245 gcc_cv_math_func_copysign
=yes
18247 gcc_cv_math_func_copysign
=no
18249 rm -f core conftest.err conftest.
$ac_objext \
18250 conftest
$ac_exeext conftest.
$ac_ext
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18253 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18254 if test $gcc_cv_math_func_copysign = yes; then
18256 cat >>confdefs.h
<<_ACEOF
18257 #define HAVE_COPYSIGN 1
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18266 $as_echo_n "checking for copysignl... " >&6; }
18267 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18268 $as_echo_n "(cached) " >&6
18270 if test x
$gcc_no_link = xyes
; then
18271 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18276 #ifdef HAVE_COMPLEX_H
18277 #include <complex.h>
18283 int (*ptr)() = (int (*)())copysignl;
18292 if ac_fn_c_try_link
"$LINENO"; then :
18293 gcc_cv_math_func_copysignl
=yes
18295 gcc_cv_math_func_copysignl
=no
18297 rm -f core conftest.err conftest.
$ac_objext \
18298 conftest
$ac_exeext conftest.
$ac_ext
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18301 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18302 if test $gcc_cv_math_func_copysignl = yes; then
18304 cat >>confdefs.h
<<_ACEOF
18305 #define HAVE_COPYSIGNL 1
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18314 $as_echo_n "checking for cosf... " >&6; }
18315 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18316 $as_echo_n "(cached) " >&6
18318 if test x
$gcc_no_link = xyes
; then
18319 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 #ifdef HAVE_COMPLEX_H
18325 #include <complex.h>
18331 int (*ptr)() = (int (*)())cosf;
18340 if ac_fn_c_try_link
"$LINENO"; then :
18341 gcc_cv_math_func_cosf
=yes
18343 gcc_cv_math_func_cosf
=no
18345 rm -f core conftest.err conftest.
$ac_objext \
18346 conftest
$ac_exeext conftest.
$ac_ext
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18349 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18350 if test $gcc_cv_math_func_cosf = yes; then
18352 cat >>confdefs.h
<<_ACEOF
18353 #define HAVE_COSF 1
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18362 $as_echo_n "checking for cos... " >&6; }
18363 if test "${gcc_cv_math_func_cos+set}" = set; then :
18364 $as_echo_n "(cached) " >&6
18366 if test x
$gcc_no_link = xyes
; then
18367 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18372 #ifdef HAVE_COMPLEX_H
18373 #include <complex.h>
18379 int (*ptr)() = (int (*)())cos;
18388 if ac_fn_c_try_link
"$LINENO"; then :
18389 gcc_cv_math_func_cos
=yes
18391 gcc_cv_math_func_cos
=no
18393 rm -f core conftest.err conftest.
$ac_objext \
18394 conftest
$ac_exeext conftest.
$ac_ext
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18397 $as_echo "$gcc_cv_math_func_cos" >&6; }
18398 if test $gcc_cv_math_func_cos = yes; then
18400 cat >>confdefs.h
<<_ACEOF
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18410 $as_echo_n "checking for cosl... " >&6; }
18411 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18412 $as_echo_n "(cached) " >&6
18414 if test x
$gcc_no_link = xyes
; then
18415 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18420 #ifdef HAVE_COMPLEX_H
18421 #include <complex.h>
18427 int (*ptr)() = (int (*)())cosl;
18436 if ac_fn_c_try_link
"$LINENO"; then :
18437 gcc_cv_math_func_cosl
=yes
18439 gcc_cv_math_func_cosl
=no
18441 rm -f core conftest.err conftest.
$ac_objext \
18442 conftest
$ac_exeext conftest.
$ac_ext
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18445 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18446 if test $gcc_cv_math_func_cosl = yes; then
18448 cat >>confdefs.h
<<_ACEOF
18449 #define HAVE_COSL 1
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18458 $as_echo_n "checking for ccosf... " >&6; }
18459 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18460 $as_echo_n "(cached) " >&6
18462 if test x
$gcc_no_link = xyes
; then
18463 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18468 #ifdef HAVE_COMPLEX_H
18469 #include <complex.h>
18475 int (*ptr)() = (int (*)())ccosf;
18484 if ac_fn_c_try_link
"$LINENO"; then :
18485 gcc_cv_math_func_ccosf
=yes
18487 gcc_cv_math_func_ccosf
=no
18489 rm -f core conftest.err conftest.
$ac_objext \
18490 conftest
$ac_exeext conftest.
$ac_ext
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18493 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18494 if test $gcc_cv_math_func_ccosf = yes; then
18496 cat >>confdefs.h
<<_ACEOF
18497 #define HAVE_CCOSF 1
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18506 $as_echo_n "checking for ccos... " >&6; }
18507 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18508 $as_echo_n "(cached) " >&6
18510 if test x
$gcc_no_link = xyes
; then
18511 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18516 #ifdef HAVE_COMPLEX_H
18517 #include <complex.h>
18523 int (*ptr)() = (int (*)())ccos;
18532 if ac_fn_c_try_link
"$LINENO"; then :
18533 gcc_cv_math_func_ccos
=yes
18535 gcc_cv_math_func_ccos
=no
18537 rm -f core conftest.err conftest.
$ac_objext \
18538 conftest
$ac_exeext conftest.
$ac_ext
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18541 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18542 if test $gcc_cv_math_func_ccos = yes; then
18544 cat >>confdefs.h
<<_ACEOF
18545 #define HAVE_CCOS 1
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18554 $as_echo_n "checking for ccosl... " >&6; }
18555 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18556 $as_echo_n "(cached) " >&6
18558 if test x
$gcc_no_link = xyes
; then
18559 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18564 #ifdef HAVE_COMPLEX_H
18565 #include <complex.h>
18571 int (*ptr)() = (int (*)())ccosl;
18580 if ac_fn_c_try_link
"$LINENO"; then :
18581 gcc_cv_math_func_ccosl
=yes
18583 gcc_cv_math_func_ccosl
=no
18585 rm -f core conftest.err conftest.
$ac_objext \
18586 conftest
$ac_exeext conftest.
$ac_ext
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18589 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18590 if test $gcc_cv_math_func_ccosl = yes; then
18592 cat >>confdefs.h
<<_ACEOF
18593 #define HAVE_CCOSL 1
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18602 $as_echo_n "checking for coshf... " >&6; }
18603 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18604 $as_echo_n "(cached) " >&6
18606 if test x
$gcc_no_link = xyes
; then
18607 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18612 #ifdef HAVE_COMPLEX_H
18613 #include <complex.h>
18619 int (*ptr)() = (int (*)())coshf;
18628 if ac_fn_c_try_link
"$LINENO"; then :
18629 gcc_cv_math_func_coshf
=yes
18631 gcc_cv_math_func_coshf
=no
18633 rm -f core conftest.err conftest.
$ac_objext \
18634 conftest
$ac_exeext conftest.
$ac_ext
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18637 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18638 if test $gcc_cv_math_func_coshf = yes; then
18640 cat >>confdefs.h
<<_ACEOF
18641 #define HAVE_COSHF 1
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18650 $as_echo_n "checking for cosh... " >&6; }
18651 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18652 $as_echo_n "(cached) " >&6
18654 if test x
$gcc_no_link = xyes
; then
18655 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18660 #ifdef HAVE_COMPLEX_H
18661 #include <complex.h>
18667 int (*ptr)() = (int (*)())cosh;
18676 if ac_fn_c_try_link
"$LINENO"; then :
18677 gcc_cv_math_func_cosh
=yes
18679 gcc_cv_math_func_cosh
=no
18681 rm -f core conftest.err conftest.
$ac_objext \
18682 conftest
$ac_exeext conftest.
$ac_ext
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18685 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18686 if test $gcc_cv_math_func_cosh = yes; then
18688 cat >>confdefs.h
<<_ACEOF
18689 #define HAVE_COSH 1
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18698 $as_echo_n "checking for coshl... " >&6; }
18699 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18700 $as_echo_n "(cached) " >&6
18702 if test x
$gcc_no_link = xyes
; then
18703 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18708 #ifdef HAVE_COMPLEX_H
18709 #include <complex.h>
18715 int (*ptr)() = (int (*)())coshl;
18724 if ac_fn_c_try_link
"$LINENO"; then :
18725 gcc_cv_math_func_coshl
=yes
18727 gcc_cv_math_func_coshl
=no
18729 rm -f core conftest.err conftest.
$ac_objext \
18730 conftest
$ac_exeext conftest.
$ac_ext
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18733 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18734 if test $gcc_cv_math_func_coshl = yes; then
18736 cat >>confdefs.h
<<_ACEOF
18737 #define HAVE_COSHL 1
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18746 $as_echo_n "checking for ccoshf... " >&6; }
18747 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18748 $as_echo_n "(cached) " >&6
18750 if test x
$gcc_no_link = xyes
; then
18751 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18756 #ifdef HAVE_COMPLEX_H
18757 #include <complex.h>
18763 int (*ptr)() = (int (*)())ccoshf;
18772 if ac_fn_c_try_link
"$LINENO"; then :
18773 gcc_cv_math_func_ccoshf
=yes
18775 gcc_cv_math_func_ccoshf
=no
18777 rm -f core conftest.err conftest.
$ac_objext \
18778 conftest
$ac_exeext conftest.
$ac_ext
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18781 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18782 if test $gcc_cv_math_func_ccoshf = yes; then
18784 cat >>confdefs.h
<<_ACEOF
18785 #define HAVE_CCOSHF 1
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18794 $as_echo_n "checking for ccosh... " >&6; }
18795 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18796 $as_echo_n "(cached) " >&6
18798 if test x
$gcc_no_link = xyes
; then
18799 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18804 #ifdef HAVE_COMPLEX_H
18805 #include <complex.h>
18811 int (*ptr)() = (int (*)())ccosh;
18820 if ac_fn_c_try_link
"$LINENO"; then :
18821 gcc_cv_math_func_ccosh
=yes
18823 gcc_cv_math_func_ccosh
=no
18825 rm -f core conftest.err conftest.
$ac_objext \
18826 conftest
$ac_exeext conftest.
$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18829 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18830 if test $gcc_cv_math_func_ccosh = yes; then
18832 cat >>confdefs.h
<<_ACEOF
18833 #define HAVE_CCOSH 1
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18842 $as_echo_n "checking for ccoshl... " >&6; }
18843 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18844 $as_echo_n "(cached) " >&6
18846 if test x
$gcc_no_link = xyes
; then
18847 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18852 #ifdef HAVE_COMPLEX_H
18853 #include <complex.h>
18859 int (*ptr)() = (int (*)())ccoshl;
18868 if ac_fn_c_try_link
"$LINENO"; then :
18869 gcc_cv_math_func_ccoshl
=yes
18871 gcc_cv_math_func_ccoshl
=no
18873 rm -f core conftest.err conftest.
$ac_objext \
18874 conftest
$ac_exeext conftest.
$ac_ext
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18877 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18878 if test $gcc_cv_math_func_ccoshl = yes; then
18880 cat >>confdefs.h
<<_ACEOF
18881 #define HAVE_CCOSHL 1
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18890 $as_echo_n "checking for expf... " >&6; }
18891 if test "${gcc_cv_math_func_expf+set}" = set; then :
18892 $as_echo_n "(cached) " >&6
18894 if test x
$gcc_no_link = xyes
; then
18895 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18900 #ifdef HAVE_COMPLEX_H
18901 #include <complex.h>
18907 int (*ptr)() = (int (*)())expf;
18916 if ac_fn_c_try_link
"$LINENO"; then :
18917 gcc_cv_math_func_expf
=yes
18919 gcc_cv_math_func_expf
=no
18921 rm -f core conftest.err conftest.
$ac_objext \
18922 conftest
$ac_exeext conftest.
$ac_ext
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18925 $as_echo "$gcc_cv_math_func_expf" >&6; }
18926 if test $gcc_cv_math_func_expf = yes; then
18928 cat >>confdefs.h
<<_ACEOF
18929 #define HAVE_EXPF 1
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18938 $as_echo_n "checking for exp... " >&6; }
18939 if test "${gcc_cv_math_func_exp+set}" = set; then :
18940 $as_echo_n "(cached) " >&6
18942 if test x
$gcc_no_link = xyes
; then
18943 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 #ifdef HAVE_COMPLEX_H
18949 #include <complex.h>
18955 int (*ptr)() = (int (*)())exp;
18964 if ac_fn_c_try_link
"$LINENO"; then :
18965 gcc_cv_math_func_exp
=yes
18967 gcc_cv_math_func_exp
=no
18969 rm -f core conftest.err conftest.
$ac_objext \
18970 conftest
$ac_exeext conftest.
$ac_ext
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18973 $as_echo "$gcc_cv_math_func_exp" >&6; }
18974 if test $gcc_cv_math_func_exp = yes; then
18976 cat >>confdefs.h
<<_ACEOF
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18986 $as_echo_n "checking for expl... " >&6; }
18987 if test "${gcc_cv_math_func_expl+set}" = set; then :
18988 $as_echo_n "(cached) " >&6
18990 if test x
$gcc_no_link = xyes
; then
18991 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18994 /* end confdefs.h. */
18996 #ifdef HAVE_COMPLEX_H
18997 #include <complex.h>
19003 int (*ptr)() = (int (*)())expl;
19012 if ac_fn_c_try_link
"$LINENO"; then :
19013 gcc_cv_math_func_expl
=yes
19015 gcc_cv_math_func_expl
=no
19017 rm -f core conftest.err conftest.
$ac_objext \
19018 conftest
$ac_exeext conftest.
$ac_ext
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19021 $as_echo "$gcc_cv_math_func_expl" >&6; }
19022 if test $gcc_cv_math_func_expl = yes; then
19024 cat >>confdefs.h
<<_ACEOF
19025 #define HAVE_EXPL 1
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19034 $as_echo_n "checking for cexpf... " >&6; }
19035 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
19036 $as_echo_n "(cached) " >&6
19038 if test x
$gcc_no_link = xyes
; then
19039 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h. */
19044 #ifdef HAVE_COMPLEX_H
19045 #include <complex.h>
19051 int (*ptr)() = (int (*)())cexpf;
19060 if ac_fn_c_try_link
"$LINENO"; then :
19061 gcc_cv_math_func_cexpf
=yes
19063 gcc_cv_math_func_cexpf
=no
19065 rm -f core conftest.err conftest.
$ac_objext \
19066 conftest
$ac_exeext conftest.
$ac_ext
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19069 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19070 if test $gcc_cv_math_func_cexpf = yes; then
19072 cat >>confdefs.h
<<_ACEOF
19073 #define HAVE_CEXPF 1
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19082 $as_echo_n "checking for cexp... " >&6; }
19083 if test "${gcc_cv_math_func_cexp+set}" = set; then :
19084 $as_echo_n "(cached) " >&6
19086 if test x
$gcc_no_link = xyes
; then
19087 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19092 #ifdef HAVE_COMPLEX_H
19093 #include <complex.h>
19099 int (*ptr)() = (int (*)())cexp;
19108 if ac_fn_c_try_link
"$LINENO"; then :
19109 gcc_cv_math_func_cexp
=yes
19111 gcc_cv_math_func_cexp
=no
19113 rm -f core conftest.err conftest.
$ac_objext \
19114 conftest
$ac_exeext conftest.
$ac_ext
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19117 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19118 if test $gcc_cv_math_func_cexp = yes; then
19120 cat >>confdefs.h
<<_ACEOF
19121 #define HAVE_CEXP 1
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19130 $as_echo_n "checking for cexpl... " >&6; }
19131 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
19132 $as_echo_n "(cached) " >&6
19134 if test x
$gcc_no_link = xyes
; then
19135 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19140 #ifdef HAVE_COMPLEX_H
19141 #include <complex.h>
19147 int (*ptr)() = (int (*)())cexpl;
19156 if ac_fn_c_try_link
"$LINENO"; then :
19157 gcc_cv_math_func_cexpl
=yes
19159 gcc_cv_math_func_cexpl
=no
19161 rm -f core conftest.err conftest.
$ac_objext \
19162 conftest
$ac_exeext conftest.
$ac_ext
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19165 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19166 if test $gcc_cv_math_func_cexpl = yes; then
19168 cat >>confdefs.h
<<_ACEOF
19169 #define HAVE_CEXPL 1
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19178 $as_echo_n "checking for fabsf... " >&6; }
19179 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19180 $as_echo_n "(cached) " >&6
19182 if test x
$gcc_no_link = xyes
; then
19183 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19186 /* end confdefs.h. */
19188 #ifdef HAVE_COMPLEX_H
19189 #include <complex.h>
19195 int (*ptr)() = (int (*)())fabsf;
19204 if ac_fn_c_try_link
"$LINENO"; then :
19205 gcc_cv_math_func_fabsf
=yes
19207 gcc_cv_math_func_fabsf
=no
19209 rm -f core conftest.err conftest.
$ac_objext \
19210 conftest
$ac_exeext conftest.
$ac_ext
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19213 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19214 if test $gcc_cv_math_func_fabsf = yes; then
19216 cat >>confdefs.h
<<_ACEOF
19217 #define HAVE_FABSF 1
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19226 $as_echo_n "checking for fabs... " >&6; }
19227 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19228 $as_echo_n "(cached) " >&6
19230 if test x
$gcc_no_link = xyes
; then
19231 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19236 #ifdef HAVE_COMPLEX_H
19237 #include <complex.h>
19243 int (*ptr)() = (int (*)())fabs;
19252 if ac_fn_c_try_link
"$LINENO"; then :
19253 gcc_cv_math_func_fabs
=yes
19255 gcc_cv_math_func_fabs
=no
19257 rm -f core conftest.err conftest.
$ac_objext \
19258 conftest
$ac_exeext conftest.
$ac_ext
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19261 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19262 if test $gcc_cv_math_func_fabs = yes; then
19264 cat >>confdefs.h
<<_ACEOF
19265 #define HAVE_FABS 1
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19274 $as_echo_n "checking for fabsl... " >&6; }
19275 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19276 $as_echo_n "(cached) " >&6
19278 if test x
$gcc_no_link = xyes
; then
19279 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19284 #ifdef HAVE_COMPLEX_H
19285 #include <complex.h>
19291 int (*ptr)() = (int (*)())fabsl;
19300 if ac_fn_c_try_link
"$LINENO"; then :
19301 gcc_cv_math_func_fabsl
=yes
19303 gcc_cv_math_func_fabsl
=no
19305 rm -f core conftest.err conftest.
$ac_objext \
19306 conftest
$ac_exeext conftest.
$ac_ext
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19309 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19310 if test $gcc_cv_math_func_fabsl = yes; then
19312 cat >>confdefs.h
<<_ACEOF
19313 #define HAVE_FABSL 1
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19322 $as_echo_n "checking for cabsf... " >&6; }
19323 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19324 $as_echo_n "(cached) " >&6
19326 if test x
$gcc_no_link = xyes
; then
19327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19332 #ifdef HAVE_COMPLEX_H
19333 #include <complex.h>
19339 int (*ptr)() = (int (*)())cabsf;
19348 if ac_fn_c_try_link
"$LINENO"; then :
19349 gcc_cv_math_func_cabsf
=yes
19351 gcc_cv_math_func_cabsf
=no
19353 rm -f core conftest.err conftest.
$ac_objext \
19354 conftest
$ac_exeext conftest.
$ac_ext
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19357 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19358 if test $gcc_cv_math_func_cabsf = yes; then
19360 cat >>confdefs.h
<<_ACEOF
19361 #define HAVE_CABSF 1
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19370 $as_echo_n "checking for cabs... " >&6; }
19371 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19372 $as_echo_n "(cached) " >&6
19374 if test x
$gcc_no_link = xyes
; then
19375 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19378 /* end confdefs.h. */
19380 #ifdef HAVE_COMPLEX_H
19381 #include <complex.h>
19387 int (*ptr)() = (int (*)())cabs;
19396 if ac_fn_c_try_link
"$LINENO"; then :
19397 gcc_cv_math_func_cabs
=yes
19399 gcc_cv_math_func_cabs
=no
19401 rm -f core conftest.err conftest.
$ac_objext \
19402 conftest
$ac_exeext conftest.
$ac_ext
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19405 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19406 if test $gcc_cv_math_func_cabs = yes; then
19408 cat >>confdefs.h
<<_ACEOF
19409 #define HAVE_CABS 1
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19418 $as_echo_n "checking for cabsl... " >&6; }
19419 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19420 $as_echo_n "(cached) " >&6
19422 if test x
$gcc_no_link = xyes
; then
19423 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19428 #ifdef HAVE_COMPLEX_H
19429 #include <complex.h>
19435 int (*ptr)() = (int (*)())cabsl;
19444 if ac_fn_c_try_link
"$LINENO"; then :
19445 gcc_cv_math_func_cabsl
=yes
19447 gcc_cv_math_func_cabsl
=no
19449 rm -f core conftest.err conftest.
$ac_objext \
19450 conftest
$ac_exeext conftest.
$ac_ext
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19453 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19454 if test $gcc_cv_math_func_cabsl = yes; then
19456 cat >>confdefs.h
<<_ACEOF
19457 #define HAVE_CABSL 1
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19466 $as_echo_n "checking for floorf... " >&6; }
19467 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19468 $as_echo_n "(cached) " >&6
19470 if test x
$gcc_no_link = xyes
; then
19471 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19476 #ifdef HAVE_COMPLEX_H
19477 #include <complex.h>
19483 int (*ptr)() = (int (*)())floorf;
19492 if ac_fn_c_try_link
"$LINENO"; then :
19493 gcc_cv_math_func_floorf
=yes
19495 gcc_cv_math_func_floorf
=no
19497 rm -f core conftest.err conftest.
$ac_objext \
19498 conftest
$ac_exeext conftest.
$ac_ext
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19501 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19502 if test $gcc_cv_math_func_floorf = yes; then
19504 cat >>confdefs.h
<<_ACEOF
19505 #define HAVE_FLOORF 1
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19514 $as_echo_n "checking for floor... " >&6; }
19515 if test "${gcc_cv_math_func_floor+set}" = set; then :
19516 $as_echo_n "(cached) " >&6
19518 if test x
$gcc_no_link = xyes
; then
19519 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19522 /* end confdefs.h. */
19524 #ifdef HAVE_COMPLEX_H
19525 #include <complex.h>
19531 int (*ptr)() = (int (*)())floor;
19540 if ac_fn_c_try_link
"$LINENO"; then :
19541 gcc_cv_math_func_floor
=yes
19543 gcc_cv_math_func_floor
=no
19545 rm -f core conftest.err conftest.
$ac_objext \
19546 conftest
$ac_exeext conftest.
$ac_ext
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19549 $as_echo "$gcc_cv_math_func_floor" >&6; }
19550 if test $gcc_cv_math_func_floor = yes; then
19552 cat >>confdefs.h
<<_ACEOF
19553 #define HAVE_FLOOR 1
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19562 $as_echo_n "checking for floorl... " >&6; }
19563 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19564 $as_echo_n "(cached) " >&6
19566 if test x
$gcc_no_link = xyes
; then
19567 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19570 /* end confdefs.h. */
19572 #ifdef HAVE_COMPLEX_H
19573 #include <complex.h>
19579 int (*ptr)() = (int (*)())floorl;
19588 if ac_fn_c_try_link
"$LINENO"; then :
19589 gcc_cv_math_func_floorl
=yes
19591 gcc_cv_math_func_floorl
=no
19593 rm -f core conftest.err conftest.
$ac_objext \
19594 conftest
$ac_exeext conftest.
$ac_ext
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19597 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19598 if test $gcc_cv_math_func_floorl = yes; then
19600 cat >>confdefs.h
<<_ACEOF
19601 #define HAVE_FLOORL 1
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19610 $as_echo_n "checking for fmodf... " >&6; }
19611 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19612 $as_echo_n "(cached) " >&6
19614 if test x
$gcc_no_link = xyes
; then
19615 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19620 #ifdef HAVE_COMPLEX_H
19621 #include <complex.h>
19627 int (*ptr)() = (int (*)())fmodf;
19636 if ac_fn_c_try_link
"$LINENO"; then :
19637 gcc_cv_math_func_fmodf
=yes
19639 gcc_cv_math_func_fmodf
=no
19641 rm -f core conftest.err conftest.
$ac_objext \
19642 conftest
$ac_exeext conftest.
$ac_ext
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19645 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19646 if test $gcc_cv_math_func_fmodf = yes; then
19648 cat >>confdefs.h
<<_ACEOF
19649 #define HAVE_FMODF 1
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19658 $as_echo_n "checking for fmod... " >&6; }
19659 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19660 $as_echo_n "(cached) " >&6
19662 if test x
$gcc_no_link = xyes
; then
19663 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19668 #ifdef HAVE_COMPLEX_H
19669 #include <complex.h>
19675 int (*ptr)() = (int (*)())fmod;
19684 if ac_fn_c_try_link
"$LINENO"; then :
19685 gcc_cv_math_func_fmod
=yes
19687 gcc_cv_math_func_fmod
=no
19689 rm -f core conftest.err conftest.
$ac_objext \
19690 conftest
$ac_exeext conftest.
$ac_ext
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19693 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19694 if test $gcc_cv_math_func_fmod = yes; then
19696 cat >>confdefs.h
<<_ACEOF
19697 #define HAVE_FMOD 1
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19706 $as_echo_n "checking for fmodl... " >&6; }
19707 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19708 $as_echo_n "(cached) " >&6
19710 if test x
$gcc_no_link = xyes
; then
19711 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19716 #ifdef HAVE_COMPLEX_H
19717 #include <complex.h>
19723 int (*ptr)() = (int (*)())fmodl;
19732 if ac_fn_c_try_link
"$LINENO"; then :
19733 gcc_cv_math_func_fmodl
=yes
19735 gcc_cv_math_func_fmodl
=no
19737 rm -f core conftest.err conftest.
$ac_objext \
19738 conftest
$ac_exeext conftest.
$ac_ext
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19741 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19742 if test $gcc_cv_math_func_fmodl = yes; then
19744 cat >>confdefs.h
<<_ACEOF
19745 #define HAVE_FMODL 1
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19754 $as_echo_n "checking for frexpf... " >&6; }
19755 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19756 $as_echo_n "(cached) " >&6
19758 if test x
$gcc_no_link = xyes
; then
19759 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19764 #ifdef HAVE_COMPLEX_H
19765 #include <complex.h>
19771 int (*ptr)() = (int (*)())frexpf;
19780 if ac_fn_c_try_link
"$LINENO"; then :
19781 gcc_cv_math_func_frexpf
=yes
19783 gcc_cv_math_func_frexpf
=no
19785 rm -f core conftest.err conftest.
$ac_objext \
19786 conftest
$ac_exeext conftest.
$ac_ext
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19789 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19790 if test $gcc_cv_math_func_frexpf = yes; then
19792 cat >>confdefs.h
<<_ACEOF
19793 #define HAVE_FREXPF 1
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19802 $as_echo_n "checking for frexp... " >&6; }
19803 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19804 $as_echo_n "(cached) " >&6
19806 if test x
$gcc_no_link = xyes
; then
19807 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19812 #ifdef HAVE_COMPLEX_H
19813 #include <complex.h>
19819 int (*ptr)() = (int (*)())frexp;
19828 if ac_fn_c_try_link
"$LINENO"; then :
19829 gcc_cv_math_func_frexp
=yes
19831 gcc_cv_math_func_frexp
=no
19833 rm -f core conftest.err conftest.
$ac_objext \
19834 conftest
$ac_exeext conftest.
$ac_ext
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19837 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19838 if test $gcc_cv_math_func_frexp = yes; then
19840 cat >>confdefs.h
<<_ACEOF
19841 #define HAVE_FREXP 1
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19850 $as_echo_n "checking for frexpl... " >&6; }
19851 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19852 $as_echo_n "(cached) " >&6
19854 if test x
$gcc_no_link = xyes
; then
19855 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19860 #ifdef HAVE_COMPLEX_H
19861 #include <complex.h>
19867 int (*ptr)() = (int (*)())frexpl;
19876 if ac_fn_c_try_link
"$LINENO"; then :
19877 gcc_cv_math_func_frexpl
=yes
19879 gcc_cv_math_func_frexpl
=no
19881 rm -f core conftest.err conftest.
$ac_objext \
19882 conftest
$ac_exeext conftest.
$ac_ext
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19885 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19886 if test $gcc_cv_math_func_frexpl = yes; then
19888 cat >>confdefs.h
<<_ACEOF
19889 #define HAVE_FREXPL 1
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19898 $as_echo_n "checking for hypotf... " >&6; }
19899 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19900 $as_echo_n "(cached) " >&6
19902 if test x
$gcc_no_link = xyes
; then
19903 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19908 #ifdef HAVE_COMPLEX_H
19909 #include <complex.h>
19915 int (*ptr)() = (int (*)())hypotf;
19924 if ac_fn_c_try_link
"$LINENO"; then :
19925 gcc_cv_math_func_hypotf
=yes
19927 gcc_cv_math_func_hypotf
=no
19929 rm -f core conftest.err conftest.
$ac_objext \
19930 conftest
$ac_exeext conftest.
$ac_ext
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19933 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19934 if test $gcc_cv_math_func_hypotf = yes; then
19936 cat >>confdefs.h
<<_ACEOF
19937 #define HAVE_HYPOTF 1
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19946 $as_echo_n "checking for hypot... " >&6; }
19947 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19948 $as_echo_n "(cached) " >&6
19950 if test x
$gcc_no_link = xyes
; then
19951 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19956 #ifdef HAVE_COMPLEX_H
19957 #include <complex.h>
19963 int (*ptr)() = (int (*)())hypot;
19972 if ac_fn_c_try_link
"$LINENO"; then :
19973 gcc_cv_math_func_hypot
=yes
19975 gcc_cv_math_func_hypot
=no
19977 rm -f core conftest.err conftest.
$ac_objext \
19978 conftest
$ac_exeext conftest.
$ac_ext
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19981 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19982 if test $gcc_cv_math_func_hypot = yes; then
19984 cat >>confdefs.h
<<_ACEOF
19985 #define HAVE_HYPOT 1
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19994 $as_echo_n "checking for hypotl... " >&6; }
19995 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19996 $as_echo_n "(cached) " >&6
19998 if test x
$gcc_no_link = xyes
; then
19999 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20002 /* end confdefs.h. */
20004 #ifdef HAVE_COMPLEX_H
20005 #include <complex.h>
20011 int (*ptr)() = (int (*)())hypotl;
20020 if ac_fn_c_try_link
"$LINENO"; then :
20021 gcc_cv_math_func_hypotl
=yes
20023 gcc_cv_math_func_hypotl
=no
20025 rm -f core conftest.err conftest.
$ac_objext \
20026 conftest
$ac_exeext conftest.
$ac_ext
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20029 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20030 if test $gcc_cv_math_func_hypotl = yes; then
20032 cat >>confdefs.h
<<_ACEOF
20033 #define HAVE_HYPOTL 1
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20042 $as_echo_n "checking for ldexpf... " >&6; }
20043 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
20044 $as_echo_n "(cached) " >&6
20046 if test x
$gcc_no_link = xyes
; then
20047 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20050 /* end confdefs.h. */
20052 #ifdef HAVE_COMPLEX_H
20053 #include <complex.h>
20059 int (*ptr)() = (int (*)())ldexpf;
20068 if ac_fn_c_try_link
"$LINENO"; then :
20069 gcc_cv_math_func_ldexpf
=yes
20071 gcc_cv_math_func_ldexpf
=no
20073 rm -f core conftest.err conftest.
$ac_objext \
20074 conftest
$ac_exeext conftest.
$ac_ext
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20077 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20078 if test $gcc_cv_math_func_ldexpf = yes; then
20080 cat >>confdefs.h
<<_ACEOF
20081 #define HAVE_LDEXPF 1
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20090 $as_echo_n "checking for ldexp... " >&6; }
20091 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
20092 $as_echo_n "(cached) " >&6
20094 if test x
$gcc_no_link = xyes
; then
20095 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20100 #ifdef HAVE_COMPLEX_H
20101 #include <complex.h>
20107 int (*ptr)() = (int (*)())ldexp;
20116 if ac_fn_c_try_link
"$LINENO"; then :
20117 gcc_cv_math_func_ldexp
=yes
20119 gcc_cv_math_func_ldexp
=no
20121 rm -f core conftest.err conftest.
$ac_objext \
20122 conftest
$ac_exeext conftest.
$ac_ext
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20125 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20126 if test $gcc_cv_math_func_ldexp = yes; then
20128 cat >>confdefs.h
<<_ACEOF
20129 #define HAVE_LDEXP 1
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20138 $as_echo_n "checking for ldexpl... " >&6; }
20139 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20140 $as_echo_n "(cached) " >&6
20142 if test x
$gcc_no_link = xyes
; then
20143 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20146 /* end confdefs.h. */
20148 #ifdef HAVE_COMPLEX_H
20149 #include <complex.h>
20155 int (*ptr)() = (int (*)())ldexpl;
20164 if ac_fn_c_try_link
"$LINENO"; then :
20165 gcc_cv_math_func_ldexpl
=yes
20167 gcc_cv_math_func_ldexpl
=no
20169 rm -f core conftest.err conftest.
$ac_objext \
20170 conftest
$ac_exeext conftest.
$ac_ext
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20173 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20174 if test $gcc_cv_math_func_ldexpl = yes; then
20176 cat >>confdefs.h
<<_ACEOF
20177 #define HAVE_LDEXPL 1
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20186 $as_echo_n "checking for logf... " >&6; }
20187 if test "${gcc_cv_math_func_logf+set}" = set; then :
20188 $as_echo_n "(cached) " >&6
20190 if test x
$gcc_no_link = xyes
; then
20191 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20196 #ifdef HAVE_COMPLEX_H
20197 #include <complex.h>
20203 int (*ptr)() = (int (*)())logf;
20212 if ac_fn_c_try_link
"$LINENO"; then :
20213 gcc_cv_math_func_logf
=yes
20215 gcc_cv_math_func_logf
=no
20217 rm -f core conftest.err conftest.
$ac_objext \
20218 conftest
$ac_exeext conftest.
$ac_ext
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20221 $as_echo "$gcc_cv_math_func_logf" >&6; }
20222 if test $gcc_cv_math_func_logf = yes; then
20224 cat >>confdefs.h
<<_ACEOF
20225 #define HAVE_LOGF 1
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20234 $as_echo_n "checking for log... " >&6; }
20235 if test "${gcc_cv_math_func_log+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20238 if test x
$gcc_no_link = xyes
; then
20239 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20244 #ifdef HAVE_COMPLEX_H
20245 #include <complex.h>
20251 int (*ptr)() = (int (*)())log;
20260 if ac_fn_c_try_link
"$LINENO"; then :
20261 gcc_cv_math_func_log
=yes
20263 gcc_cv_math_func_log
=no
20265 rm -f core conftest.err conftest.
$ac_objext \
20266 conftest
$ac_exeext conftest.
$ac_ext
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20269 $as_echo "$gcc_cv_math_func_log" >&6; }
20270 if test $gcc_cv_math_func_log = yes; then
20272 cat >>confdefs.h
<<_ACEOF
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20282 $as_echo_n "checking for logl... " >&6; }
20283 if test "${gcc_cv_math_func_logl+set}" = set; then :
20284 $as_echo_n "(cached) " >&6
20286 if test x
$gcc_no_link = xyes
; then
20287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20290 /* end confdefs.h. */
20292 #ifdef HAVE_COMPLEX_H
20293 #include <complex.h>
20299 int (*ptr)() = (int (*)())logl;
20308 if ac_fn_c_try_link
"$LINENO"; then :
20309 gcc_cv_math_func_logl
=yes
20311 gcc_cv_math_func_logl
=no
20313 rm -f core conftest.err conftest.
$ac_objext \
20314 conftest
$ac_exeext conftest.
$ac_ext
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20317 $as_echo "$gcc_cv_math_func_logl" >&6; }
20318 if test $gcc_cv_math_func_logl = yes; then
20320 cat >>confdefs.h
<<_ACEOF
20321 #define HAVE_LOGL 1
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20330 $as_echo_n "checking for clogf... " >&6; }
20331 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20332 $as_echo_n "(cached) " >&6
20334 if test x
$gcc_no_link = xyes
; then
20335 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20338 /* end confdefs.h. */
20340 #ifdef HAVE_COMPLEX_H
20341 #include <complex.h>
20347 int (*ptr)() = (int (*)())clogf;
20356 if ac_fn_c_try_link
"$LINENO"; then :
20357 gcc_cv_math_func_clogf
=yes
20359 gcc_cv_math_func_clogf
=no
20361 rm -f core conftest.err conftest.
$ac_objext \
20362 conftest
$ac_exeext conftest.
$ac_ext
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20365 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20366 if test $gcc_cv_math_func_clogf = yes; then
20368 cat >>confdefs.h
<<_ACEOF
20369 #define HAVE_CLOGF 1
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20378 $as_echo_n "checking for clog... " >&6; }
20379 if test "${gcc_cv_math_func_clog+set}" = set; then :
20380 $as_echo_n "(cached) " >&6
20382 if test x
$gcc_no_link = xyes
; then
20383 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20386 /* end confdefs.h. */
20388 #ifdef HAVE_COMPLEX_H
20389 #include <complex.h>
20395 int (*ptr)() = (int (*)())clog;
20404 if ac_fn_c_try_link
"$LINENO"; then :
20405 gcc_cv_math_func_clog
=yes
20407 gcc_cv_math_func_clog
=no
20409 rm -f core conftest.err conftest.
$ac_objext \
20410 conftest
$ac_exeext conftest.
$ac_ext
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20413 $as_echo "$gcc_cv_math_func_clog" >&6; }
20414 if test $gcc_cv_math_func_clog = yes; then
20416 cat >>confdefs.h
<<_ACEOF
20417 #define HAVE_CLOG 1
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20426 $as_echo_n "checking for clogl... " >&6; }
20427 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20428 $as_echo_n "(cached) " >&6
20430 if test x
$gcc_no_link = xyes
; then
20431 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20434 /* end confdefs.h. */
20436 #ifdef HAVE_COMPLEX_H
20437 #include <complex.h>
20443 int (*ptr)() = (int (*)())clogl;
20452 if ac_fn_c_try_link
"$LINENO"; then :
20453 gcc_cv_math_func_clogl
=yes
20455 gcc_cv_math_func_clogl
=no
20457 rm -f core conftest.err conftest.
$ac_objext \
20458 conftest
$ac_exeext conftest.
$ac_ext
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20461 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20462 if test $gcc_cv_math_func_clogl = yes; then
20464 cat >>confdefs.h
<<_ACEOF
20465 #define HAVE_CLOGL 1
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20474 $as_echo_n "checking for log10f... " >&6; }
20475 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20476 $as_echo_n "(cached) " >&6
20478 if test x
$gcc_no_link = xyes
; then
20479 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20482 /* end confdefs.h. */
20484 #ifdef HAVE_COMPLEX_H
20485 #include <complex.h>
20491 int (*ptr)() = (int (*)())log10f;
20500 if ac_fn_c_try_link
"$LINENO"; then :
20501 gcc_cv_math_func_log10f
=yes
20503 gcc_cv_math_func_log10f
=no
20505 rm -f core conftest.err conftest.
$ac_objext \
20506 conftest
$ac_exeext conftest.
$ac_ext
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20509 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20510 if test $gcc_cv_math_func_log10f = yes; then
20512 cat >>confdefs.h
<<_ACEOF
20513 #define HAVE_LOG10F 1
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20522 $as_echo_n "checking for log10... " >&6; }
20523 if test "${gcc_cv_math_func_log10+set}" = set; then :
20524 $as_echo_n "(cached) " >&6
20526 if test x
$gcc_no_link = xyes
; then
20527 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20530 /* end confdefs.h. */
20532 #ifdef HAVE_COMPLEX_H
20533 #include <complex.h>
20539 int (*ptr)() = (int (*)())log10;
20548 if ac_fn_c_try_link
"$LINENO"; then :
20549 gcc_cv_math_func_log10
=yes
20551 gcc_cv_math_func_log10
=no
20553 rm -f core conftest.err conftest.
$ac_objext \
20554 conftest
$ac_exeext conftest.
$ac_ext
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20557 $as_echo "$gcc_cv_math_func_log10" >&6; }
20558 if test $gcc_cv_math_func_log10 = yes; then
20560 cat >>confdefs.h
<<_ACEOF
20561 #define HAVE_LOG10 1
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20570 $as_echo_n "checking for log10l... " >&6; }
20571 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20572 $as_echo_n "(cached) " >&6
20574 if test x
$gcc_no_link = xyes
; then
20575 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20578 /* end confdefs.h. */
20580 #ifdef HAVE_COMPLEX_H
20581 #include <complex.h>
20587 int (*ptr)() = (int (*)())log10l;
20596 if ac_fn_c_try_link
"$LINENO"; then :
20597 gcc_cv_math_func_log10l
=yes
20599 gcc_cv_math_func_log10l
=no
20601 rm -f core conftest.err conftest.
$ac_objext \
20602 conftest
$ac_exeext conftest.
$ac_ext
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20605 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20606 if test $gcc_cv_math_func_log10l = yes; then
20608 cat >>confdefs.h
<<_ACEOF
20609 #define HAVE_LOG10L 1
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20618 $as_echo_n "checking for clog10f... " >&6; }
20619 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20620 $as_echo_n "(cached) " >&6
20622 if test x
$gcc_no_link = xyes
; then
20623 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h. */
20628 #ifdef HAVE_COMPLEX_H
20629 #include <complex.h>
20635 int (*ptr)() = (int (*)())clog10f;
20644 if ac_fn_c_try_link
"$LINENO"; then :
20645 gcc_cv_math_func_clog10f
=yes
20647 gcc_cv_math_func_clog10f
=no
20649 rm -f core conftest.err conftest.
$ac_objext \
20650 conftest
$ac_exeext conftest.
$ac_ext
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20653 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20654 if test $gcc_cv_math_func_clog10f = yes; then
20656 cat >>confdefs.h
<<_ACEOF
20657 #define HAVE_CLOG10F 1
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20666 $as_echo_n "checking for clog10... " >&6; }
20667 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20668 $as_echo_n "(cached) " >&6
20670 if test x
$gcc_no_link = xyes
; then
20671 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20674 /* end confdefs.h. */
20676 #ifdef HAVE_COMPLEX_H
20677 #include <complex.h>
20683 int (*ptr)() = (int (*)())clog10;
20692 if ac_fn_c_try_link
"$LINENO"; then :
20693 gcc_cv_math_func_clog10
=yes
20695 gcc_cv_math_func_clog10
=no
20697 rm -f core conftest.err conftest.
$ac_objext \
20698 conftest
$ac_exeext conftest.
$ac_ext
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20701 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20702 if test $gcc_cv_math_func_clog10 = yes; then
20704 cat >>confdefs.h
<<_ACEOF
20705 #define HAVE_CLOG10 1
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20714 $as_echo_n "checking for clog10l... " >&6; }
20715 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20716 $as_echo_n "(cached) " >&6
20718 if test x
$gcc_no_link = xyes
; then
20719 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20724 #ifdef HAVE_COMPLEX_H
20725 #include <complex.h>
20731 int (*ptr)() = (int (*)())clog10l;
20740 if ac_fn_c_try_link
"$LINENO"; then :
20741 gcc_cv_math_func_clog10l
=yes
20743 gcc_cv_math_func_clog10l
=no
20745 rm -f core conftest.err conftest.
$ac_objext \
20746 conftest
$ac_exeext conftest.
$ac_ext
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20749 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20750 if test $gcc_cv_math_func_clog10l = yes; then
20752 cat >>confdefs.h
<<_ACEOF
20753 #define HAVE_CLOG10L 1
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20762 $as_echo_n "checking for nextafterf... " >&6; }
20763 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20764 $as_echo_n "(cached) " >&6
20766 if test x
$gcc_no_link = xyes
; then
20767 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20770 /* end confdefs.h. */
20772 #ifdef HAVE_COMPLEX_H
20773 #include <complex.h>
20779 int (*ptr)() = (int (*)())nextafterf;
20788 if ac_fn_c_try_link
"$LINENO"; then :
20789 gcc_cv_math_func_nextafterf
=yes
20791 gcc_cv_math_func_nextafterf
=no
20793 rm -f core conftest.err conftest.
$ac_objext \
20794 conftest
$ac_exeext conftest.
$ac_ext
20796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20797 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20798 if test $gcc_cv_math_func_nextafterf = yes; then
20800 cat >>confdefs.h
<<_ACEOF
20801 #define HAVE_NEXTAFTERF 1
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20810 $as_echo_n "checking for nextafter... " >&6; }
20811 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20812 $as_echo_n "(cached) " >&6
20814 if test x
$gcc_no_link = xyes
; then
20815 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20818 /* end confdefs.h. */
20820 #ifdef HAVE_COMPLEX_H
20821 #include <complex.h>
20827 int (*ptr)() = (int (*)())nextafter;
20836 if ac_fn_c_try_link
"$LINENO"; then :
20837 gcc_cv_math_func_nextafter
=yes
20839 gcc_cv_math_func_nextafter
=no
20841 rm -f core conftest.err conftest.
$ac_objext \
20842 conftest
$ac_exeext conftest.
$ac_ext
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20845 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20846 if test $gcc_cv_math_func_nextafter = yes; then
20848 cat >>confdefs.h
<<_ACEOF
20849 #define HAVE_NEXTAFTER 1
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20858 $as_echo_n "checking for nextafterl... " >&6; }
20859 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20860 $as_echo_n "(cached) " >&6
20862 if test x
$gcc_no_link = xyes
; then
20863 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20866 /* end confdefs.h. */
20868 #ifdef HAVE_COMPLEX_H
20869 #include <complex.h>
20875 int (*ptr)() = (int (*)())nextafterl;
20884 if ac_fn_c_try_link
"$LINENO"; then :
20885 gcc_cv_math_func_nextafterl
=yes
20887 gcc_cv_math_func_nextafterl
=no
20889 rm -f core conftest.err conftest.
$ac_objext \
20890 conftest
$ac_exeext conftest.
$ac_ext
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20893 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20894 if test $gcc_cv_math_func_nextafterl = yes; then
20896 cat >>confdefs.h
<<_ACEOF
20897 #define HAVE_NEXTAFTERL 1
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20906 $as_echo_n "checking for powf... " >&6; }
20907 if test "${gcc_cv_math_func_powf+set}" = set; then :
20908 $as_echo_n "(cached) " >&6
20910 if test x
$gcc_no_link = xyes
; then
20911 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20916 #ifdef HAVE_COMPLEX_H
20917 #include <complex.h>
20923 int (*ptr)() = (int (*)())powf;
20932 if ac_fn_c_try_link
"$LINENO"; then :
20933 gcc_cv_math_func_powf
=yes
20935 gcc_cv_math_func_powf
=no
20937 rm -f core conftest.err conftest.
$ac_objext \
20938 conftest
$ac_exeext conftest.
$ac_ext
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20941 $as_echo "$gcc_cv_math_func_powf" >&6; }
20942 if test $gcc_cv_math_func_powf = yes; then
20944 cat >>confdefs.h
<<_ACEOF
20945 #define HAVE_POWF 1
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20954 $as_echo_n "checking for pow... " >&6; }
20955 if test "${gcc_cv_math_func_pow+set}" = set; then :
20956 $as_echo_n "(cached) " >&6
20958 if test x
$gcc_no_link = xyes
; then
20959 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20964 #ifdef HAVE_COMPLEX_H
20965 #include <complex.h>
20971 int (*ptr)() = (int (*)())pow;
20980 if ac_fn_c_try_link
"$LINENO"; then :
20981 gcc_cv_math_func_pow
=yes
20983 gcc_cv_math_func_pow
=no
20985 rm -f core conftest.err conftest.
$ac_objext \
20986 conftest
$ac_exeext conftest.
$ac_ext
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20989 $as_echo "$gcc_cv_math_func_pow" >&6; }
20990 if test $gcc_cv_math_func_pow = yes; then
20992 cat >>confdefs.h
<<_ACEOF
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21002 $as_echo_n "checking for cpowf... " >&6; }
21003 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
21004 $as_echo_n "(cached) " >&6
21006 if test x
$gcc_no_link = xyes
; then
21007 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21012 #ifdef HAVE_COMPLEX_H
21013 #include <complex.h>
21019 int (*ptr)() = (int (*)())cpowf;
21028 if ac_fn_c_try_link
"$LINENO"; then :
21029 gcc_cv_math_func_cpowf
=yes
21031 gcc_cv_math_func_cpowf
=no
21033 rm -f core conftest.err conftest.
$ac_objext \
21034 conftest
$ac_exeext conftest.
$ac_ext
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21037 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21038 if test $gcc_cv_math_func_cpowf = yes; then
21040 cat >>confdefs.h
<<_ACEOF
21041 #define HAVE_CPOWF 1
21049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21050 $as_echo_n "checking for cpow... " >&6; }
21051 if test "${gcc_cv_math_func_cpow+set}" = set; then :
21052 $as_echo_n "(cached) " >&6
21054 if test x
$gcc_no_link = xyes
; then
21055 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21058 /* end confdefs.h. */
21060 #ifdef HAVE_COMPLEX_H
21061 #include <complex.h>
21067 int (*ptr)() = (int (*)())cpow;
21076 if ac_fn_c_try_link
"$LINENO"; then :
21077 gcc_cv_math_func_cpow
=yes
21079 gcc_cv_math_func_cpow
=no
21081 rm -f core conftest.err conftest.
$ac_objext \
21082 conftest
$ac_exeext conftest.
$ac_ext
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21085 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21086 if test $gcc_cv_math_func_cpow = yes; then
21088 cat >>confdefs.h
<<_ACEOF
21089 #define HAVE_CPOW 1
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21098 $as_echo_n "checking for cpowl... " >&6; }
21099 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21100 $as_echo_n "(cached) " >&6
21102 if test x
$gcc_no_link = xyes
; then
21103 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21108 #ifdef HAVE_COMPLEX_H
21109 #include <complex.h>
21115 int (*ptr)() = (int (*)())cpowl;
21124 if ac_fn_c_try_link
"$LINENO"; then :
21125 gcc_cv_math_func_cpowl
=yes
21127 gcc_cv_math_func_cpowl
=no
21129 rm -f core conftest.err conftest.
$ac_objext \
21130 conftest
$ac_exeext conftest.
$ac_ext
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21133 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21134 if test $gcc_cv_math_func_cpowl = yes; then
21136 cat >>confdefs.h
<<_ACEOF
21137 #define HAVE_CPOWL 1
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21146 $as_echo_n "checking for roundf... " >&6; }
21147 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21148 $as_echo_n "(cached) " >&6
21150 if test x
$gcc_no_link = xyes
; then
21151 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21154 /* end confdefs.h. */
21156 #ifdef HAVE_COMPLEX_H
21157 #include <complex.h>
21163 int (*ptr)() = (int (*)())roundf;
21172 if ac_fn_c_try_link
"$LINENO"; then :
21173 gcc_cv_math_func_roundf
=yes
21175 gcc_cv_math_func_roundf
=no
21177 rm -f core conftest.err conftest.
$ac_objext \
21178 conftest
$ac_exeext conftest.
$ac_ext
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21181 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21182 if test $gcc_cv_math_func_roundf = yes; then
21184 cat >>confdefs.h
<<_ACEOF
21185 #define HAVE_ROUNDF 1
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21194 $as_echo_n "checking for round... " >&6; }
21195 if test "${gcc_cv_math_func_round+set}" = set; then :
21196 $as_echo_n "(cached) " >&6
21198 if test x
$gcc_no_link = xyes
; then
21199 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21202 /* end confdefs.h. */
21204 #ifdef HAVE_COMPLEX_H
21205 #include <complex.h>
21211 int (*ptr)() = (int (*)())round;
21220 if ac_fn_c_try_link
"$LINENO"; then :
21221 gcc_cv_math_func_round
=yes
21223 gcc_cv_math_func_round
=no
21225 rm -f core conftest.err conftest.
$ac_objext \
21226 conftest
$ac_exeext conftest.
$ac_ext
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21229 $as_echo "$gcc_cv_math_func_round" >&6; }
21230 if test $gcc_cv_math_func_round = yes; then
21232 cat >>confdefs.h
<<_ACEOF
21233 #define HAVE_ROUND 1
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21242 $as_echo_n "checking for roundl... " >&6; }
21243 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21244 $as_echo_n "(cached) " >&6
21246 if test x
$gcc_no_link = xyes
; then
21247 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21252 #ifdef HAVE_COMPLEX_H
21253 #include <complex.h>
21259 int (*ptr)() = (int (*)())roundl;
21268 if ac_fn_c_try_link
"$LINENO"; then :
21269 gcc_cv_math_func_roundl
=yes
21271 gcc_cv_math_func_roundl
=no
21273 rm -f core conftest.err conftest.
$ac_objext \
21274 conftest
$ac_exeext conftest.
$ac_ext
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21277 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21278 if test $gcc_cv_math_func_roundl = yes; then
21280 cat >>confdefs.h
<<_ACEOF
21281 #define HAVE_ROUNDL 1
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21290 $as_echo_n "checking for lroundf... " >&6; }
21291 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21292 $as_echo_n "(cached) " >&6
21294 if test x
$gcc_no_link = xyes
; then
21295 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h. */
21300 #ifdef HAVE_COMPLEX_H
21301 #include <complex.h>
21307 int (*ptr)() = (int (*)())lroundf;
21316 if ac_fn_c_try_link
"$LINENO"; then :
21317 gcc_cv_math_func_lroundf
=yes
21319 gcc_cv_math_func_lroundf
=no
21321 rm -f core conftest.err conftest.
$ac_objext \
21322 conftest
$ac_exeext conftest.
$ac_ext
21324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21325 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21326 if test $gcc_cv_math_func_lroundf = yes; then
21328 cat >>confdefs.h
<<_ACEOF
21329 #define HAVE_LROUNDF 1
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21338 $as_echo_n "checking for lround... " >&6; }
21339 if test "${gcc_cv_math_func_lround+set}" = set; then :
21340 $as_echo_n "(cached) " >&6
21342 if test x
$gcc_no_link = xyes
; then
21343 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h. */
21348 #ifdef HAVE_COMPLEX_H
21349 #include <complex.h>
21355 int (*ptr)() = (int (*)())lround;
21364 if ac_fn_c_try_link
"$LINENO"; then :
21365 gcc_cv_math_func_lround
=yes
21367 gcc_cv_math_func_lround
=no
21369 rm -f core conftest.err conftest.
$ac_objext \
21370 conftest
$ac_exeext conftest.
$ac_ext
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21373 $as_echo "$gcc_cv_math_func_lround" >&6; }
21374 if test $gcc_cv_math_func_lround = yes; then
21376 cat >>confdefs.h
<<_ACEOF
21377 #define HAVE_LROUND 1
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21386 $as_echo_n "checking for lroundl... " >&6; }
21387 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21388 $as_echo_n "(cached) " >&6
21390 if test x
$gcc_no_link = xyes
; then
21391 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21394 /* end confdefs.h. */
21396 #ifdef HAVE_COMPLEX_H
21397 #include <complex.h>
21403 int (*ptr)() = (int (*)())lroundl;
21412 if ac_fn_c_try_link
"$LINENO"; then :
21413 gcc_cv_math_func_lroundl
=yes
21415 gcc_cv_math_func_lroundl
=no
21417 rm -f core conftest.err conftest.
$ac_objext \
21418 conftest
$ac_exeext conftest.
$ac_ext
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21421 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21422 if test $gcc_cv_math_func_lroundl = yes; then
21424 cat >>confdefs.h
<<_ACEOF
21425 #define HAVE_LROUNDL 1
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21434 $as_echo_n "checking for llroundf... " >&6; }
21435 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21436 $as_echo_n "(cached) " >&6
21438 if test x
$gcc_no_link = xyes
; then
21439 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21444 #ifdef HAVE_COMPLEX_H
21445 #include <complex.h>
21451 int (*ptr)() = (int (*)())llroundf;
21460 if ac_fn_c_try_link
"$LINENO"; then :
21461 gcc_cv_math_func_llroundf
=yes
21463 gcc_cv_math_func_llroundf
=no
21465 rm -f core conftest.err conftest.
$ac_objext \
21466 conftest
$ac_exeext conftest.
$ac_ext
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21469 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21470 if test $gcc_cv_math_func_llroundf = yes; then
21472 cat >>confdefs.h
<<_ACEOF
21473 #define HAVE_LLROUNDF 1
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21482 $as_echo_n "checking for llround... " >&6; }
21483 if test "${gcc_cv_math_func_llround+set}" = set; then :
21484 $as_echo_n "(cached) " >&6
21486 if test x
$gcc_no_link = xyes
; then
21487 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21490 /* end confdefs.h. */
21492 #ifdef HAVE_COMPLEX_H
21493 #include <complex.h>
21499 int (*ptr)() = (int (*)())llround;
21508 if ac_fn_c_try_link
"$LINENO"; then :
21509 gcc_cv_math_func_llround
=yes
21511 gcc_cv_math_func_llround
=no
21513 rm -f core conftest.err conftest.
$ac_objext \
21514 conftest
$ac_exeext conftest.
$ac_ext
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21517 $as_echo "$gcc_cv_math_func_llround" >&6; }
21518 if test $gcc_cv_math_func_llround = yes; then
21520 cat >>confdefs.h
<<_ACEOF
21521 #define HAVE_LLROUND 1
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21530 $as_echo_n "checking for llroundl... " >&6; }
21531 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21532 $as_echo_n "(cached) " >&6
21534 if test x
$gcc_no_link = xyes
; then
21535 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21538 /* end confdefs.h. */
21540 #ifdef HAVE_COMPLEX_H
21541 #include <complex.h>
21547 int (*ptr)() = (int (*)())llroundl;
21556 if ac_fn_c_try_link
"$LINENO"; then :
21557 gcc_cv_math_func_llroundl
=yes
21559 gcc_cv_math_func_llroundl
=no
21561 rm -f core conftest.err conftest.
$ac_objext \
21562 conftest
$ac_exeext conftest.
$ac_ext
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21565 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21566 if test $gcc_cv_math_func_llroundl = yes; then
21568 cat >>confdefs.h
<<_ACEOF
21569 #define HAVE_LLROUNDL 1
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21578 $as_echo_n "checking for scalbnf... " >&6; }
21579 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21580 $as_echo_n "(cached) " >&6
21582 if test x
$gcc_no_link = xyes
; then
21583 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21588 #ifdef HAVE_COMPLEX_H
21589 #include <complex.h>
21595 int (*ptr)() = (int (*)())scalbnf;
21604 if ac_fn_c_try_link
"$LINENO"; then :
21605 gcc_cv_math_func_scalbnf
=yes
21607 gcc_cv_math_func_scalbnf
=no
21609 rm -f core conftest.err conftest.
$ac_objext \
21610 conftest
$ac_exeext conftest.
$ac_ext
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21613 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21614 if test $gcc_cv_math_func_scalbnf = yes; then
21616 cat >>confdefs.h
<<_ACEOF
21617 #define HAVE_SCALBNF 1
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21626 $as_echo_n "checking for scalbn... " >&6; }
21627 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21628 $as_echo_n "(cached) " >&6
21630 if test x
$gcc_no_link = xyes
; then
21631 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h. */
21636 #ifdef HAVE_COMPLEX_H
21637 #include <complex.h>
21643 int (*ptr)() = (int (*)())scalbn;
21652 if ac_fn_c_try_link
"$LINENO"; then :
21653 gcc_cv_math_func_scalbn
=yes
21655 gcc_cv_math_func_scalbn
=no
21657 rm -f core conftest.err conftest.
$ac_objext \
21658 conftest
$ac_exeext conftest.
$ac_ext
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21661 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21662 if test $gcc_cv_math_func_scalbn = yes; then
21664 cat >>confdefs.h
<<_ACEOF
21665 #define HAVE_SCALBN 1
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21674 $as_echo_n "checking for scalbnl... " >&6; }
21675 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21676 $as_echo_n "(cached) " >&6
21678 if test x
$gcc_no_link = xyes
; then
21679 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21684 #ifdef HAVE_COMPLEX_H
21685 #include <complex.h>
21691 int (*ptr)() = (int (*)())scalbnl;
21700 if ac_fn_c_try_link
"$LINENO"; then :
21701 gcc_cv_math_func_scalbnl
=yes
21703 gcc_cv_math_func_scalbnl
=no
21705 rm -f core conftest.err conftest.
$ac_objext \
21706 conftest
$ac_exeext conftest.
$ac_ext
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21709 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21710 if test $gcc_cv_math_func_scalbnl = yes; then
21712 cat >>confdefs.h
<<_ACEOF
21713 #define HAVE_SCALBNL 1
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21722 $as_echo_n "checking for sinf... " >&6; }
21723 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21724 $as_echo_n "(cached) " >&6
21726 if test x
$gcc_no_link = xyes
; then
21727 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h. */
21732 #ifdef HAVE_COMPLEX_H
21733 #include <complex.h>
21739 int (*ptr)() = (int (*)())sinf;
21748 if ac_fn_c_try_link
"$LINENO"; then :
21749 gcc_cv_math_func_sinf
=yes
21751 gcc_cv_math_func_sinf
=no
21753 rm -f core conftest.err conftest.
$ac_objext \
21754 conftest
$ac_exeext conftest.
$ac_ext
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21757 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21758 if test $gcc_cv_math_func_sinf = yes; then
21760 cat >>confdefs.h
<<_ACEOF
21761 #define HAVE_SINF 1
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21770 $as_echo_n "checking for sin... " >&6; }
21771 if test "${gcc_cv_math_func_sin+set}" = set; then :
21772 $as_echo_n "(cached) " >&6
21774 if test x
$gcc_no_link = xyes
; then
21775 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21778 /* end confdefs.h. */
21780 #ifdef HAVE_COMPLEX_H
21781 #include <complex.h>
21787 int (*ptr)() = (int (*)())sin;
21796 if ac_fn_c_try_link
"$LINENO"; then :
21797 gcc_cv_math_func_sin
=yes
21799 gcc_cv_math_func_sin
=no
21801 rm -f core conftest.err conftest.
$ac_objext \
21802 conftest
$ac_exeext conftest.
$ac_ext
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21805 $as_echo "$gcc_cv_math_func_sin" >&6; }
21806 if test $gcc_cv_math_func_sin = yes; then
21808 cat >>confdefs.h
<<_ACEOF
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21818 $as_echo_n "checking for sinl... " >&6; }
21819 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21820 $as_echo_n "(cached) " >&6
21822 if test x
$gcc_no_link = xyes
; then
21823 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21826 /* end confdefs.h. */
21828 #ifdef HAVE_COMPLEX_H
21829 #include <complex.h>
21835 int (*ptr)() = (int (*)())sinl;
21844 if ac_fn_c_try_link
"$LINENO"; then :
21845 gcc_cv_math_func_sinl
=yes
21847 gcc_cv_math_func_sinl
=no
21849 rm -f core conftest.err conftest.
$ac_objext \
21850 conftest
$ac_exeext conftest.
$ac_ext
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21853 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21854 if test $gcc_cv_math_func_sinl = yes; then
21856 cat >>confdefs.h
<<_ACEOF
21857 #define HAVE_SINL 1
21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21866 $as_echo_n "checking for csinf... " >&6; }
21867 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21868 $as_echo_n "(cached) " >&6
21870 if test x
$gcc_no_link = xyes
; then
21871 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21874 /* end confdefs.h. */
21876 #ifdef HAVE_COMPLEX_H
21877 #include <complex.h>
21883 int (*ptr)() = (int (*)())csinf;
21892 if ac_fn_c_try_link
"$LINENO"; then :
21893 gcc_cv_math_func_csinf
=yes
21895 gcc_cv_math_func_csinf
=no
21897 rm -f core conftest.err conftest.
$ac_objext \
21898 conftest
$ac_exeext conftest.
$ac_ext
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21901 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21902 if test $gcc_cv_math_func_csinf = yes; then
21904 cat >>confdefs.h
<<_ACEOF
21905 #define HAVE_CSINF 1
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21914 $as_echo_n "checking for csin... " >&6; }
21915 if test "${gcc_cv_math_func_csin+set}" = set; then :
21916 $as_echo_n "(cached) " >&6
21918 if test x
$gcc_no_link = xyes
; then
21919 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h. */
21924 #ifdef HAVE_COMPLEX_H
21925 #include <complex.h>
21931 int (*ptr)() = (int (*)())csin;
21940 if ac_fn_c_try_link
"$LINENO"; then :
21941 gcc_cv_math_func_csin
=yes
21943 gcc_cv_math_func_csin
=no
21945 rm -f core conftest.err conftest.
$ac_objext \
21946 conftest
$ac_exeext conftest.
$ac_ext
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21949 $as_echo "$gcc_cv_math_func_csin" >&6; }
21950 if test $gcc_cv_math_func_csin = yes; then
21952 cat >>confdefs.h
<<_ACEOF
21953 #define HAVE_CSIN 1
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21962 $as_echo_n "checking for csinl... " >&6; }
21963 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21964 $as_echo_n "(cached) " >&6
21966 if test x
$gcc_no_link = xyes
; then
21967 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21972 #ifdef HAVE_COMPLEX_H
21973 #include <complex.h>
21979 int (*ptr)() = (int (*)())csinl;
21988 if ac_fn_c_try_link
"$LINENO"; then :
21989 gcc_cv_math_func_csinl
=yes
21991 gcc_cv_math_func_csinl
=no
21993 rm -f core conftest.err conftest.
$ac_objext \
21994 conftest
$ac_exeext conftest.
$ac_ext
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21997 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21998 if test $gcc_cv_math_func_csinl = yes; then
22000 cat >>confdefs.h
<<_ACEOF
22001 #define HAVE_CSINL 1
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22010 $as_echo_n "checking for sinhf... " >&6; }
22011 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
22012 $as_echo_n "(cached) " >&6
22014 if test x
$gcc_no_link = xyes
; then
22015 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22018 /* end confdefs.h. */
22020 #ifdef HAVE_COMPLEX_H
22021 #include <complex.h>
22027 int (*ptr)() = (int (*)())sinhf;
22036 if ac_fn_c_try_link
"$LINENO"; then :
22037 gcc_cv_math_func_sinhf
=yes
22039 gcc_cv_math_func_sinhf
=no
22041 rm -f core conftest.err conftest.
$ac_objext \
22042 conftest
$ac_exeext conftest.
$ac_ext
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22045 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22046 if test $gcc_cv_math_func_sinhf = yes; then
22048 cat >>confdefs.h
<<_ACEOF
22049 #define HAVE_SINHF 1
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22058 $as_echo_n "checking for sinh... " >&6; }
22059 if test "${gcc_cv_math_func_sinh+set}" = set; then :
22060 $as_echo_n "(cached) " >&6
22062 if test x
$gcc_no_link = xyes
; then
22063 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22066 /* end confdefs.h. */
22068 #ifdef HAVE_COMPLEX_H
22069 #include <complex.h>
22075 int (*ptr)() = (int (*)())sinh;
22084 if ac_fn_c_try_link
"$LINENO"; then :
22085 gcc_cv_math_func_sinh
=yes
22087 gcc_cv_math_func_sinh
=no
22089 rm -f core conftest.err conftest.
$ac_objext \
22090 conftest
$ac_exeext conftest.
$ac_ext
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22093 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22094 if test $gcc_cv_math_func_sinh = yes; then
22096 cat >>confdefs.h
<<_ACEOF
22097 #define HAVE_SINH 1
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22106 $as_echo_n "checking for sinhl... " >&6; }
22107 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22108 $as_echo_n "(cached) " >&6
22110 if test x
$gcc_no_link = xyes
; then
22111 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h. */
22116 #ifdef HAVE_COMPLEX_H
22117 #include <complex.h>
22123 int (*ptr)() = (int (*)())sinhl;
22132 if ac_fn_c_try_link
"$LINENO"; then :
22133 gcc_cv_math_func_sinhl
=yes
22135 gcc_cv_math_func_sinhl
=no
22137 rm -f core conftest.err conftest.
$ac_objext \
22138 conftest
$ac_exeext conftest.
$ac_ext
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22141 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22142 if test $gcc_cv_math_func_sinhl = yes; then
22144 cat >>confdefs.h
<<_ACEOF
22145 #define HAVE_SINHL 1
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22154 $as_echo_n "checking for csinhf... " >&6; }
22155 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22156 $as_echo_n "(cached) " >&6
22158 if test x
$gcc_no_link = xyes
; then
22159 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22162 /* end confdefs.h. */
22164 #ifdef HAVE_COMPLEX_H
22165 #include <complex.h>
22171 int (*ptr)() = (int (*)())csinhf;
22180 if ac_fn_c_try_link
"$LINENO"; then :
22181 gcc_cv_math_func_csinhf
=yes
22183 gcc_cv_math_func_csinhf
=no
22185 rm -f core conftest.err conftest.
$ac_objext \
22186 conftest
$ac_exeext conftest.
$ac_ext
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22189 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22190 if test $gcc_cv_math_func_csinhf = yes; then
22192 cat >>confdefs.h
<<_ACEOF
22193 #define HAVE_CSINHF 1
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22202 $as_echo_n "checking for csinh... " >&6; }
22203 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22204 $as_echo_n "(cached) " >&6
22206 if test x
$gcc_no_link = xyes
; then
22207 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22210 /* end confdefs.h. */
22212 #ifdef HAVE_COMPLEX_H
22213 #include <complex.h>
22219 int (*ptr)() = (int (*)())csinh;
22228 if ac_fn_c_try_link
"$LINENO"; then :
22229 gcc_cv_math_func_csinh
=yes
22231 gcc_cv_math_func_csinh
=no
22233 rm -f core conftest.err conftest.
$ac_objext \
22234 conftest
$ac_exeext conftest.
$ac_ext
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22237 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22238 if test $gcc_cv_math_func_csinh = yes; then
22240 cat >>confdefs.h
<<_ACEOF
22241 #define HAVE_CSINH 1
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22250 $as_echo_n "checking for csinhl... " >&6; }
22251 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22252 $as_echo_n "(cached) " >&6
22254 if test x
$gcc_no_link = xyes
; then
22255 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22258 /* end confdefs.h. */
22260 #ifdef HAVE_COMPLEX_H
22261 #include <complex.h>
22267 int (*ptr)() = (int (*)())csinhl;
22276 if ac_fn_c_try_link
"$LINENO"; then :
22277 gcc_cv_math_func_csinhl
=yes
22279 gcc_cv_math_func_csinhl
=no
22281 rm -f core conftest.err conftest.
$ac_objext \
22282 conftest
$ac_exeext conftest.
$ac_ext
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22285 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22286 if test $gcc_cv_math_func_csinhl = yes; then
22288 cat >>confdefs.h
<<_ACEOF
22289 #define HAVE_CSINHL 1
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22298 $as_echo_n "checking for sqrtf... " >&6; }
22299 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22300 $as_echo_n "(cached) " >&6
22302 if test x
$gcc_no_link = xyes
; then
22303 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22308 #ifdef HAVE_COMPLEX_H
22309 #include <complex.h>
22315 int (*ptr)() = (int (*)())sqrtf;
22324 if ac_fn_c_try_link
"$LINENO"; then :
22325 gcc_cv_math_func_sqrtf
=yes
22327 gcc_cv_math_func_sqrtf
=no
22329 rm -f core conftest.err conftest.
$ac_objext \
22330 conftest
$ac_exeext conftest.
$ac_ext
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22333 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22334 if test $gcc_cv_math_func_sqrtf = yes; then
22336 cat >>confdefs.h
<<_ACEOF
22337 #define HAVE_SQRTF 1
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22346 $as_echo_n "checking for sqrt... " >&6; }
22347 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22348 $as_echo_n "(cached) " >&6
22350 if test x
$gcc_no_link = xyes
; then
22351 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22354 /* end confdefs.h. */
22356 #ifdef HAVE_COMPLEX_H
22357 #include <complex.h>
22363 int (*ptr)() = (int (*)())sqrt;
22372 if ac_fn_c_try_link
"$LINENO"; then :
22373 gcc_cv_math_func_sqrt
=yes
22375 gcc_cv_math_func_sqrt
=no
22377 rm -f core conftest.err conftest.
$ac_objext \
22378 conftest
$ac_exeext conftest.
$ac_ext
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22381 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22382 if test $gcc_cv_math_func_sqrt = yes; then
22384 cat >>confdefs.h
<<_ACEOF
22385 #define HAVE_SQRT 1
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22394 $as_echo_n "checking for sqrtl... " >&6; }
22395 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22398 if test x
$gcc_no_link = xyes
; then
22399 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22402 /* end confdefs.h. */
22404 #ifdef HAVE_COMPLEX_H
22405 #include <complex.h>
22411 int (*ptr)() = (int (*)())sqrtl;
22420 if ac_fn_c_try_link
"$LINENO"; then :
22421 gcc_cv_math_func_sqrtl
=yes
22423 gcc_cv_math_func_sqrtl
=no
22425 rm -f core conftest.err conftest.
$ac_objext \
22426 conftest
$ac_exeext conftest.
$ac_ext
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22429 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22430 if test $gcc_cv_math_func_sqrtl = yes; then
22432 cat >>confdefs.h
<<_ACEOF
22433 #define HAVE_SQRTL 1
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22442 $as_echo_n "checking for csqrtf... " >&6; }
22443 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22444 $as_echo_n "(cached) " >&6
22446 if test x
$gcc_no_link = xyes
; then
22447 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h. */
22452 #ifdef HAVE_COMPLEX_H
22453 #include <complex.h>
22459 int (*ptr)() = (int (*)())csqrtf;
22468 if ac_fn_c_try_link
"$LINENO"; then :
22469 gcc_cv_math_func_csqrtf
=yes
22471 gcc_cv_math_func_csqrtf
=no
22473 rm -f core conftest.err conftest.
$ac_objext \
22474 conftest
$ac_exeext conftest.
$ac_ext
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22477 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22478 if test $gcc_cv_math_func_csqrtf = yes; then
22480 cat >>confdefs.h
<<_ACEOF
22481 #define HAVE_CSQRTF 1
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22490 $as_echo_n "checking for csqrt... " >&6; }
22491 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22492 $as_echo_n "(cached) " >&6
22494 if test x
$gcc_no_link = xyes
; then
22495 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h. */
22500 #ifdef HAVE_COMPLEX_H
22501 #include <complex.h>
22507 int (*ptr)() = (int (*)())csqrt;
22516 if ac_fn_c_try_link
"$LINENO"; then :
22517 gcc_cv_math_func_csqrt
=yes
22519 gcc_cv_math_func_csqrt
=no
22521 rm -f core conftest.err conftest.
$ac_objext \
22522 conftest
$ac_exeext conftest.
$ac_ext
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22525 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22526 if test $gcc_cv_math_func_csqrt = yes; then
22528 cat >>confdefs.h
<<_ACEOF
22529 #define HAVE_CSQRT 1
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22538 $as_echo_n "checking for csqrtl... " >&6; }
22539 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22540 $as_echo_n "(cached) " >&6
22542 if test x
$gcc_no_link = xyes
; then
22543 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h. */
22548 #ifdef HAVE_COMPLEX_H
22549 #include <complex.h>
22555 int (*ptr)() = (int (*)())csqrtl;
22564 if ac_fn_c_try_link
"$LINENO"; then :
22565 gcc_cv_math_func_csqrtl
=yes
22567 gcc_cv_math_func_csqrtl
=no
22569 rm -f core conftest.err conftest.
$ac_objext \
22570 conftest
$ac_exeext conftest.
$ac_ext
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22573 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22574 if test $gcc_cv_math_func_csqrtl = yes; then
22576 cat >>confdefs.h
<<_ACEOF
22577 #define HAVE_CSQRTL 1
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22586 $as_echo_n "checking for tanf... " >&6; }
22587 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22590 if test x
$gcc_no_link = xyes
; then
22591 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22596 #ifdef HAVE_COMPLEX_H
22597 #include <complex.h>
22603 int (*ptr)() = (int (*)())tanf;
22612 if ac_fn_c_try_link
"$LINENO"; then :
22613 gcc_cv_math_func_tanf
=yes
22615 gcc_cv_math_func_tanf
=no
22617 rm -f core conftest.err conftest.
$ac_objext \
22618 conftest
$ac_exeext conftest.
$ac_ext
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22621 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22622 if test $gcc_cv_math_func_tanf = yes; then
22624 cat >>confdefs.h
<<_ACEOF
22625 #define HAVE_TANF 1
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22634 $as_echo_n "checking for tan... " >&6; }
22635 if test "${gcc_cv_math_func_tan+set}" = set; then :
22636 $as_echo_n "(cached) " >&6
22638 if test x
$gcc_no_link = xyes
; then
22639 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22642 /* end confdefs.h. */
22644 #ifdef HAVE_COMPLEX_H
22645 #include <complex.h>
22651 int (*ptr)() = (int (*)())tan;
22660 if ac_fn_c_try_link
"$LINENO"; then :
22661 gcc_cv_math_func_tan
=yes
22663 gcc_cv_math_func_tan
=no
22665 rm -f core conftest.err conftest.
$ac_objext \
22666 conftest
$ac_exeext conftest.
$ac_ext
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22669 $as_echo "$gcc_cv_math_func_tan" >&6; }
22670 if test $gcc_cv_math_func_tan = yes; then
22672 cat >>confdefs.h
<<_ACEOF
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22682 $as_echo_n "checking for tanl... " >&6; }
22683 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22684 $as_echo_n "(cached) " >&6
22686 if test x
$gcc_no_link = xyes
; then
22687 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22690 /* end confdefs.h. */
22692 #ifdef HAVE_COMPLEX_H
22693 #include <complex.h>
22699 int (*ptr)() = (int (*)())tanl;
22708 if ac_fn_c_try_link
"$LINENO"; then :
22709 gcc_cv_math_func_tanl
=yes
22711 gcc_cv_math_func_tanl
=no
22713 rm -f core conftest.err conftest.
$ac_objext \
22714 conftest
$ac_exeext conftest.
$ac_ext
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22717 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22718 if test $gcc_cv_math_func_tanl = yes; then
22720 cat >>confdefs.h
<<_ACEOF
22721 #define HAVE_TANL 1
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22730 $as_echo_n "checking for ctanf... " >&6; }
22731 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22732 $as_echo_n "(cached) " >&6
22734 if test x
$gcc_no_link = xyes
; then
22735 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22738 /* end confdefs.h. */
22740 #ifdef HAVE_COMPLEX_H
22741 #include <complex.h>
22747 int (*ptr)() = (int (*)())ctanf;
22756 if ac_fn_c_try_link
"$LINENO"; then :
22757 gcc_cv_math_func_ctanf
=yes
22759 gcc_cv_math_func_ctanf
=no
22761 rm -f core conftest.err conftest.
$ac_objext \
22762 conftest
$ac_exeext conftest.
$ac_ext
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22765 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22766 if test $gcc_cv_math_func_ctanf = yes; then
22768 cat >>confdefs.h
<<_ACEOF
22769 #define HAVE_CTANF 1
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22778 $as_echo_n "checking for ctan... " >&6; }
22779 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22780 $as_echo_n "(cached) " >&6
22782 if test x
$gcc_no_link = xyes
; then
22783 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22788 #ifdef HAVE_COMPLEX_H
22789 #include <complex.h>
22795 int (*ptr)() = (int (*)())ctan;
22804 if ac_fn_c_try_link
"$LINENO"; then :
22805 gcc_cv_math_func_ctan
=yes
22807 gcc_cv_math_func_ctan
=no
22809 rm -f core conftest.err conftest.
$ac_objext \
22810 conftest
$ac_exeext conftest.
$ac_ext
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22813 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22814 if test $gcc_cv_math_func_ctan = yes; then
22816 cat >>confdefs.h
<<_ACEOF
22817 #define HAVE_CTAN 1
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22826 $as_echo_n "checking for ctanl... " >&6; }
22827 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22828 $as_echo_n "(cached) " >&6
22830 if test x
$gcc_no_link = xyes
; then
22831 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22834 /* end confdefs.h. */
22836 #ifdef HAVE_COMPLEX_H
22837 #include <complex.h>
22843 int (*ptr)() = (int (*)())ctanl;
22852 if ac_fn_c_try_link
"$LINENO"; then :
22853 gcc_cv_math_func_ctanl
=yes
22855 gcc_cv_math_func_ctanl
=no
22857 rm -f core conftest.err conftest.
$ac_objext \
22858 conftest
$ac_exeext conftest.
$ac_ext
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22861 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22862 if test $gcc_cv_math_func_ctanl = yes; then
22864 cat >>confdefs.h
<<_ACEOF
22865 #define HAVE_CTANL 1
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22874 $as_echo_n "checking for tanhf... " >&6; }
22875 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22876 $as_echo_n "(cached) " >&6
22878 if test x
$gcc_no_link = xyes
; then
22879 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22882 /* end confdefs.h. */
22884 #ifdef HAVE_COMPLEX_H
22885 #include <complex.h>
22891 int (*ptr)() = (int (*)())tanhf;
22900 if ac_fn_c_try_link
"$LINENO"; then :
22901 gcc_cv_math_func_tanhf
=yes
22903 gcc_cv_math_func_tanhf
=no
22905 rm -f core conftest.err conftest.
$ac_objext \
22906 conftest
$ac_exeext conftest.
$ac_ext
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22909 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22910 if test $gcc_cv_math_func_tanhf = yes; then
22912 cat >>confdefs.h
<<_ACEOF
22913 #define HAVE_TANHF 1
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22922 $as_echo_n "checking for tanh... " >&6; }
22923 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22924 $as_echo_n "(cached) " >&6
22926 if test x
$gcc_no_link = xyes
; then
22927 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22930 /* end confdefs.h. */
22932 #ifdef HAVE_COMPLEX_H
22933 #include <complex.h>
22939 int (*ptr)() = (int (*)())tanh;
22948 if ac_fn_c_try_link
"$LINENO"; then :
22949 gcc_cv_math_func_tanh
=yes
22951 gcc_cv_math_func_tanh
=no
22953 rm -f core conftest.err conftest.
$ac_objext \
22954 conftest
$ac_exeext conftest.
$ac_ext
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22957 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22958 if test $gcc_cv_math_func_tanh = yes; then
22960 cat >>confdefs.h
<<_ACEOF
22961 #define HAVE_TANH 1
22969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22970 $as_echo_n "checking for tanhl... " >&6; }
22971 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22972 $as_echo_n "(cached) " >&6
22974 if test x
$gcc_no_link = xyes
; then
22975 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h. */
22980 #ifdef HAVE_COMPLEX_H
22981 #include <complex.h>
22987 int (*ptr)() = (int (*)())tanhl;
22996 if ac_fn_c_try_link
"$LINENO"; then :
22997 gcc_cv_math_func_tanhl
=yes
22999 gcc_cv_math_func_tanhl
=no
23001 rm -f core conftest.err conftest.
$ac_objext \
23002 conftest
$ac_exeext conftest.
$ac_ext
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23005 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23006 if test $gcc_cv_math_func_tanhl = yes; then
23008 cat >>confdefs.h
<<_ACEOF
23009 #define HAVE_TANHL 1
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23018 $as_echo_n "checking for ctanhf... " >&6; }
23019 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
23020 $as_echo_n "(cached) " >&6
23022 if test x
$gcc_no_link = xyes
; then
23023 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23028 #ifdef HAVE_COMPLEX_H
23029 #include <complex.h>
23035 int (*ptr)() = (int (*)())ctanhf;
23044 if ac_fn_c_try_link
"$LINENO"; then :
23045 gcc_cv_math_func_ctanhf
=yes
23047 gcc_cv_math_func_ctanhf
=no
23049 rm -f core conftest.err conftest.
$ac_objext \
23050 conftest
$ac_exeext conftest.
$ac_ext
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23053 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23054 if test $gcc_cv_math_func_ctanhf = yes; then
23056 cat >>confdefs.h
<<_ACEOF
23057 #define HAVE_CTANHF 1
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23066 $as_echo_n "checking for ctanh... " >&6; }
23067 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
23068 $as_echo_n "(cached) " >&6
23070 if test x
$gcc_no_link = xyes
; then
23071 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23074 /* end confdefs.h. */
23076 #ifdef HAVE_COMPLEX_H
23077 #include <complex.h>
23083 int (*ptr)() = (int (*)())ctanh;
23092 if ac_fn_c_try_link
"$LINENO"; then :
23093 gcc_cv_math_func_ctanh
=yes
23095 gcc_cv_math_func_ctanh
=no
23097 rm -f core conftest.err conftest.
$ac_objext \
23098 conftest
$ac_exeext conftest.
$ac_ext
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23101 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23102 if test $gcc_cv_math_func_ctanh = yes; then
23104 cat >>confdefs.h
<<_ACEOF
23105 #define HAVE_CTANH 1
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23114 $as_echo_n "checking for ctanhl... " >&6; }
23115 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23116 $as_echo_n "(cached) " >&6
23118 if test x
$gcc_no_link = xyes
; then
23119 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23124 #ifdef HAVE_COMPLEX_H
23125 #include <complex.h>
23131 int (*ptr)() = (int (*)())ctanhl;
23140 if ac_fn_c_try_link
"$LINENO"; then :
23141 gcc_cv_math_func_ctanhl
=yes
23143 gcc_cv_math_func_ctanhl
=no
23145 rm -f core conftest.err conftest.
$ac_objext \
23146 conftest
$ac_exeext conftest.
$ac_ext
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23149 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23150 if test $gcc_cv_math_func_ctanhl = yes; then
23152 cat >>confdefs.h
<<_ACEOF
23153 #define HAVE_CTANHL 1
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23162 $as_echo_n "checking for truncf... " >&6; }
23163 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23164 $as_echo_n "(cached) " >&6
23166 if test x
$gcc_no_link = xyes
; then
23167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23170 /* end confdefs.h. */
23172 #ifdef HAVE_COMPLEX_H
23173 #include <complex.h>
23179 int (*ptr)() = (int (*)())truncf;
23188 if ac_fn_c_try_link
"$LINENO"; then :
23189 gcc_cv_math_func_truncf
=yes
23191 gcc_cv_math_func_truncf
=no
23193 rm -f core conftest.err conftest.
$ac_objext \
23194 conftest
$ac_exeext conftest.
$ac_ext
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23197 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23198 if test $gcc_cv_math_func_truncf = yes; then
23200 cat >>confdefs.h
<<_ACEOF
23201 #define HAVE_TRUNCF 1
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23210 $as_echo_n "checking for trunc... " >&6; }
23211 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23214 if test x
$gcc_no_link = xyes
; then
23215 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23220 #ifdef HAVE_COMPLEX_H
23221 #include <complex.h>
23227 int (*ptr)() = (int (*)())trunc;
23236 if ac_fn_c_try_link
"$LINENO"; then :
23237 gcc_cv_math_func_trunc
=yes
23239 gcc_cv_math_func_trunc
=no
23241 rm -f core conftest.err conftest.
$ac_objext \
23242 conftest
$ac_exeext conftest.
$ac_ext
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23245 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23246 if test $gcc_cv_math_func_trunc = yes; then
23248 cat >>confdefs.h
<<_ACEOF
23249 #define HAVE_TRUNC 1
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23258 $as_echo_n "checking for truncl... " >&6; }
23259 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23260 $as_echo_n "(cached) " >&6
23262 if test x
$gcc_no_link = xyes
; then
23263 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h. */
23268 #ifdef HAVE_COMPLEX_H
23269 #include <complex.h>
23275 int (*ptr)() = (int (*)())truncl;
23284 if ac_fn_c_try_link
"$LINENO"; then :
23285 gcc_cv_math_func_truncl
=yes
23287 gcc_cv_math_func_truncl
=no
23289 rm -f core conftest.err conftest.
$ac_objext \
23290 conftest
$ac_exeext conftest.
$ac_ext
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23293 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23294 if test $gcc_cv_math_func_truncl = yes; then
23296 cat >>confdefs.h
<<_ACEOF
23297 #define HAVE_TRUNCL 1
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23306 $as_echo_n "checking for erff... " >&6; }
23307 if test "${gcc_cv_math_func_erff+set}" = set; then :
23308 $as_echo_n "(cached) " >&6
23310 if test x
$gcc_no_link = xyes
; then
23311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23314 /* end confdefs.h. */
23316 #ifdef HAVE_COMPLEX_H
23317 #include <complex.h>
23323 int (*ptr)() = (int (*)())erff;
23332 if ac_fn_c_try_link
"$LINENO"; then :
23333 gcc_cv_math_func_erff
=yes
23335 gcc_cv_math_func_erff
=no
23337 rm -f core conftest.err conftest.
$ac_objext \
23338 conftest
$ac_exeext conftest.
$ac_ext
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23341 $as_echo "$gcc_cv_math_func_erff" >&6; }
23342 if test $gcc_cv_math_func_erff = yes; then
23344 cat >>confdefs.h
<<_ACEOF
23345 #define HAVE_ERFF 1
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23354 $as_echo_n "checking for erf... " >&6; }
23355 if test "${gcc_cv_math_func_erf+set}" = set; then :
23356 $as_echo_n "(cached) " >&6
23358 if test x
$gcc_no_link = xyes
; then
23359 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23362 /* end confdefs.h. */
23364 #ifdef HAVE_COMPLEX_H
23365 #include <complex.h>
23371 int (*ptr)() = (int (*)())erf;
23380 if ac_fn_c_try_link
"$LINENO"; then :
23381 gcc_cv_math_func_erf
=yes
23383 gcc_cv_math_func_erf
=no
23385 rm -f core conftest.err conftest.
$ac_objext \
23386 conftest
$ac_exeext conftest.
$ac_ext
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23389 $as_echo "$gcc_cv_math_func_erf" >&6; }
23390 if test $gcc_cv_math_func_erf = yes; then
23392 cat >>confdefs.h
<<_ACEOF
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23402 $as_echo_n "checking for erfcf... " >&6; }
23403 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23404 $as_echo_n "(cached) " >&6
23406 if test x
$gcc_no_link = xyes
; then
23407 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23410 /* end confdefs.h. */
23412 #ifdef HAVE_COMPLEX_H
23413 #include <complex.h>
23419 int (*ptr)() = (int (*)())erfcf;
23428 if ac_fn_c_try_link
"$LINENO"; then :
23429 gcc_cv_math_func_erfcf
=yes
23431 gcc_cv_math_func_erfcf
=no
23433 rm -f core conftest.err conftest.
$ac_objext \
23434 conftest
$ac_exeext conftest.
$ac_ext
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23437 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23438 if test $gcc_cv_math_func_erfcf = yes; then
23440 cat >>confdefs.h
<<_ACEOF
23441 #define HAVE_ERFCF 1
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23450 $as_echo_n "checking for erfc... " >&6; }
23451 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23452 $as_echo_n "(cached) " >&6
23454 if test x
$gcc_no_link = xyes
; then
23455 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23458 /* end confdefs.h. */
23460 #ifdef HAVE_COMPLEX_H
23461 #include <complex.h>
23467 int (*ptr)() = (int (*)())erfc;
23476 if ac_fn_c_try_link
"$LINENO"; then :
23477 gcc_cv_math_func_erfc
=yes
23479 gcc_cv_math_func_erfc
=no
23481 rm -f core conftest.err conftest.
$ac_objext \
23482 conftest
$ac_exeext conftest.
$ac_ext
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23485 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23486 if test $gcc_cv_math_func_erfc = yes; then
23488 cat >>confdefs.h
<<_ACEOF
23489 #define HAVE_ERFC 1
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23498 $as_echo_n "checking for erfcl... " >&6; }
23499 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23500 $as_echo_n "(cached) " >&6
23502 if test x
$gcc_no_link = xyes
; then
23503 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23506 /* end confdefs.h. */
23508 #ifdef HAVE_COMPLEX_H
23509 #include <complex.h>
23515 int (*ptr)() = (int (*)())erfcl;
23524 if ac_fn_c_try_link
"$LINENO"; then :
23525 gcc_cv_math_func_erfcl
=yes
23527 gcc_cv_math_func_erfcl
=no
23529 rm -f core conftest.err conftest.
$ac_objext \
23530 conftest
$ac_exeext conftest.
$ac_ext
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23533 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23534 if test $gcc_cv_math_func_erfcl = yes; then
23536 cat >>confdefs.h
<<_ACEOF
23537 #define HAVE_ERFCL 1
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23546 $as_echo_n "checking for j0f... " >&6; }
23547 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23548 $as_echo_n "(cached) " >&6
23550 if test x
$gcc_no_link = xyes
; then
23551 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23554 /* end confdefs.h. */
23556 #ifdef HAVE_COMPLEX_H
23557 #include <complex.h>
23563 int (*ptr)() = (int (*)())j0f;
23572 if ac_fn_c_try_link
"$LINENO"; then :
23573 gcc_cv_math_func_j0f
=yes
23575 gcc_cv_math_func_j0f
=no
23577 rm -f core conftest.err conftest.
$ac_objext \
23578 conftest
$ac_exeext conftest.
$ac_ext
23580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23581 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23582 if test $gcc_cv_math_func_j0f = yes; then
23584 cat >>confdefs.h
<<_ACEOF
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23594 $as_echo_n "checking for j0... " >&6; }
23595 if test "${gcc_cv_math_func_j0+set}" = set; then :
23596 $as_echo_n "(cached) " >&6
23598 if test x
$gcc_no_link = xyes
; then
23599 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23602 /* end confdefs.h. */
23604 #ifdef HAVE_COMPLEX_H
23605 #include <complex.h>
23611 int (*ptr)() = (int (*)())j0;
23620 if ac_fn_c_try_link
"$LINENO"; then :
23621 gcc_cv_math_func_j0
=yes
23623 gcc_cv_math_func_j0
=no
23625 rm -f core conftest.err conftest.
$ac_objext \
23626 conftest
$ac_exeext conftest.
$ac_ext
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23629 $as_echo "$gcc_cv_math_func_j0" >&6; }
23630 if test $gcc_cv_math_func_j0 = yes; then
23632 cat >>confdefs.h
<<_ACEOF
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23642 $as_echo_n "checking for j1f... " >&6; }
23643 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23644 $as_echo_n "(cached) " >&6
23646 if test x
$gcc_no_link = xyes
; then
23647 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h. */
23652 #ifdef HAVE_COMPLEX_H
23653 #include <complex.h>
23659 int (*ptr)() = (int (*)())j1f;
23668 if ac_fn_c_try_link
"$LINENO"; then :
23669 gcc_cv_math_func_j1f
=yes
23671 gcc_cv_math_func_j1f
=no
23673 rm -f core conftest.err conftest.
$ac_objext \
23674 conftest
$ac_exeext conftest.
$ac_ext
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23677 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23678 if test $gcc_cv_math_func_j1f = yes; then
23680 cat >>confdefs.h
<<_ACEOF
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23690 $as_echo_n "checking for j1... " >&6; }
23691 if test "${gcc_cv_math_func_j1+set}" = set; then :
23692 $as_echo_n "(cached) " >&6
23694 if test x
$gcc_no_link = xyes
; then
23695 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23698 /* end confdefs.h. */
23700 #ifdef HAVE_COMPLEX_H
23701 #include <complex.h>
23707 int (*ptr)() = (int (*)())j1;
23716 if ac_fn_c_try_link
"$LINENO"; then :
23717 gcc_cv_math_func_j1
=yes
23719 gcc_cv_math_func_j1
=no
23721 rm -f core conftest.err conftest.
$ac_objext \
23722 conftest
$ac_exeext conftest.
$ac_ext
23724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23725 $as_echo "$gcc_cv_math_func_j1" >&6; }
23726 if test $gcc_cv_math_func_j1 = yes; then
23728 cat >>confdefs.h
<<_ACEOF
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23738 $as_echo_n "checking for jnf... " >&6; }
23739 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23740 $as_echo_n "(cached) " >&6
23742 if test x
$gcc_no_link = xyes
; then
23743 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23746 /* end confdefs.h. */
23748 #ifdef HAVE_COMPLEX_H
23749 #include <complex.h>
23755 int (*ptr)() = (int (*)())jnf;
23764 if ac_fn_c_try_link
"$LINENO"; then :
23765 gcc_cv_math_func_jnf
=yes
23767 gcc_cv_math_func_jnf
=no
23769 rm -f core conftest.err conftest.
$ac_objext \
23770 conftest
$ac_exeext conftest.
$ac_ext
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23773 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23774 if test $gcc_cv_math_func_jnf = yes; then
23776 cat >>confdefs.h
<<_ACEOF
23785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23786 $as_echo_n "checking for jn... " >&6; }
23787 if test "${gcc_cv_math_func_jn+set}" = set; then :
23788 $as_echo_n "(cached) " >&6
23790 if test x
$gcc_no_link = xyes
; then
23791 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23796 #ifdef HAVE_COMPLEX_H
23797 #include <complex.h>
23803 int (*ptr)() = (int (*)())jn;
23812 if ac_fn_c_try_link
"$LINENO"; then :
23813 gcc_cv_math_func_jn
=yes
23815 gcc_cv_math_func_jn
=no
23817 rm -f core conftest.err conftest.
$ac_objext \
23818 conftest
$ac_exeext conftest.
$ac_ext
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23821 $as_echo "$gcc_cv_math_func_jn" >&6; }
23822 if test $gcc_cv_math_func_jn = yes; then
23824 cat >>confdefs.h
<<_ACEOF
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23834 $as_echo_n "checking for jnl... " >&6; }
23835 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23836 $as_echo_n "(cached) " >&6
23838 if test x
$gcc_no_link = xyes
; then
23839 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23842 /* end confdefs.h. */
23844 #ifdef HAVE_COMPLEX_H
23845 #include <complex.h>
23851 int (*ptr)() = (int (*)())jnl;
23860 if ac_fn_c_try_link
"$LINENO"; then :
23861 gcc_cv_math_func_jnl
=yes
23863 gcc_cv_math_func_jnl
=no
23865 rm -f core conftest.err conftest.
$ac_objext \
23866 conftest
$ac_exeext conftest.
$ac_ext
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23869 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23870 if test $gcc_cv_math_func_jnl = yes; then
23872 cat >>confdefs.h
<<_ACEOF
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23882 $as_echo_n "checking for y0f... " >&6; }
23883 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23884 $as_echo_n "(cached) " >&6
23886 if test x
$gcc_no_link = xyes
; then
23887 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23890 /* end confdefs.h. */
23892 #ifdef HAVE_COMPLEX_H
23893 #include <complex.h>
23899 int (*ptr)() = (int (*)())y0f;
23908 if ac_fn_c_try_link
"$LINENO"; then :
23909 gcc_cv_math_func_y0f
=yes
23911 gcc_cv_math_func_y0f
=no
23913 rm -f core conftest.err conftest.
$ac_objext \
23914 conftest
$ac_exeext conftest.
$ac_ext
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23917 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23918 if test $gcc_cv_math_func_y0f = yes; then
23920 cat >>confdefs.h
<<_ACEOF
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23930 $as_echo_n "checking for y0... " >&6; }
23931 if test "${gcc_cv_math_func_y0+set}" = set; then :
23932 $as_echo_n "(cached) " >&6
23934 if test x
$gcc_no_link = xyes
; then
23935 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23938 /* end confdefs.h. */
23940 #ifdef HAVE_COMPLEX_H
23941 #include <complex.h>
23947 int (*ptr)() = (int (*)())y0;
23956 if ac_fn_c_try_link
"$LINENO"; then :
23957 gcc_cv_math_func_y0
=yes
23959 gcc_cv_math_func_y0
=no
23961 rm -f core conftest.err conftest.
$ac_objext \
23962 conftest
$ac_exeext conftest.
$ac_ext
23964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23965 $as_echo "$gcc_cv_math_func_y0" >&6; }
23966 if test $gcc_cv_math_func_y0 = yes; then
23968 cat >>confdefs.h
<<_ACEOF
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
23978 $as_echo_n "checking for y1f... " >&6; }
23979 if test "${gcc_cv_math_func_y1f+set}" = set; then :
23980 $as_echo_n "(cached) " >&6
23982 if test x
$gcc_no_link = xyes
; then
23983 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23988 #ifdef HAVE_COMPLEX_H
23989 #include <complex.h>
23995 int (*ptr)() = (int (*)())y1f;
24004 if ac_fn_c_try_link
"$LINENO"; then :
24005 gcc_cv_math_func_y1f
=yes
24007 gcc_cv_math_func_y1f
=no
24009 rm -f core conftest.err conftest.
$ac_objext \
24010 conftest
$ac_exeext conftest.
$ac_ext
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24013 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24014 if test $gcc_cv_math_func_y1f = yes; then
24016 cat >>confdefs.h
<<_ACEOF
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24026 $as_echo_n "checking for y1... " >&6; }
24027 if test "${gcc_cv_math_func_y1+set}" = set; then :
24028 $as_echo_n "(cached) " >&6
24030 if test x
$gcc_no_link = xyes
; then
24031 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24034 /* end confdefs.h. */
24036 #ifdef HAVE_COMPLEX_H
24037 #include <complex.h>
24043 int (*ptr)() = (int (*)())y1;
24052 if ac_fn_c_try_link
"$LINENO"; then :
24053 gcc_cv_math_func_y1
=yes
24055 gcc_cv_math_func_y1
=no
24057 rm -f core conftest.err conftest.
$ac_objext \
24058 conftest
$ac_exeext conftest.
$ac_ext
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24061 $as_echo "$gcc_cv_math_func_y1" >&6; }
24062 if test $gcc_cv_math_func_y1 = yes; then
24064 cat >>confdefs.h
<<_ACEOF
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24074 $as_echo_n "checking for ynf... " >&6; }
24075 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24076 $as_echo_n "(cached) " >&6
24078 if test x
$gcc_no_link = xyes
; then
24079 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24082 /* end confdefs.h. */
24084 #ifdef HAVE_COMPLEX_H
24085 #include <complex.h>
24091 int (*ptr)() = (int (*)())ynf;
24100 if ac_fn_c_try_link
"$LINENO"; then :
24101 gcc_cv_math_func_ynf
=yes
24103 gcc_cv_math_func_ynf
=no
24105 rm -f core conftest.err conftest.
$ac_objext \
24106 conftest
$ac_exeext conftest.
$ac_ext
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24109 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24110 if test $gcc_cv_math_func_ynf = yes; then
24112 cat >>confdefs.h
<<_ACEOF
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24122 $as_echo_n "checking for yn... " >&6; }
24123 if test "${gcc_cv_math_func_yn+set}" = set; then :
24124 $as_echo_n "(cached) " >&6
24126 if test x
$gcc_no_link = xyes
; then
24127 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24130 /* end confdefs.h. */
24132 #ifdef HAVE_COMPLEX_H
24133 #include <complex.h>
24139 int (*ptr)() = (int (*)())yn;
24148 if ac_fn_c_try_link
"$LINENO"; then :
24149 gcc_cv_math_func_yn
=yes
24151 gcc_cv_math_func_yn
=no
24153 rm -f core conftest.err conftest.
$ac_objext \
24154 conftest
$ac_exeext conftest.
$ac_ext
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24157 $as_echo "$gcc_cv_math_func_yn" >&6; }
24158 if test $gcc_cv_math_func_yn = yes; then
24160 cat >>confdefs.h
<<_ACEOF
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24170 $as_echo_n "checking for ynl... " >&6; }
24171 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24172 $as_echo_n "(cached) " >&6
24174 if test x
$gcc_no_link = xyes
; then
24175 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24178 /* end confdefs.h. */
24180 #ifdef HAVE_COMPLEX_H
24181 #include <complex.h>
24187 int (*ptr)() = (int (*)())ynl;
24196 if ac_fn_c_try_link
"$LINENO"; then :
24197 gcc_cv_math_func_ynl
=yes
24199 gcc_cv_math_func_ynl
=no
24201 rm -f core conftest.err conftest.
$ac_objext \
24202 conftest
$ac_exeext conftest.
$ac_ext
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24205 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24206 if test $gcc_cv_math_func_ynl = yes; then
24208 cat >>confdefs.h
<<_ACEOF
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24218 $as_echo_n "checking for tgamma... " >&6; }
24219 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24220 $as_echo_n "(cached) " >&6
24222 if test x
$gcc_no_link = xyes
; then
24223 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24226 /* end confdefs.h. */
24228 #ifdef HAVE_COMPLEX_H
24229 #include <complex.h>
24235 int (*ptr)() = (int (*)())tgamma;
24244 if ac_fn_c_try_link
"$LINENO"; then :
24245 gcc_cv_math_func_tgamma
=yes
24247 gcc_cv_math_func_tgamma
=no
24249 rm -f core conftest.err conftest.
$ac_objext \
24250 conftest
$ac_exeext conftest.
$ac_ext
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24253 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24254 if test $gcc_cv_math_func_tgamma = yes; then
24256 cat >>confdefs.h
<<_ACEOF
24257 #define HAVE_TGAMMA 1
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24266 $as_echo_n "checking for tgammaf... " >&6; }
24267 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24270 if test x
$gcc_no_link = xyes
; then
24271 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24274 /* end confdefs.h. */
24276 #ifdef HAVE_COMPLEX_H
24277 #include <complex.h>
24283 int (*ptr)() = (int (*)())tgammaf;
24292 if ac_fn_c_try_link
"$LINENO"; then :
24293 gcc_cv_math_func_tgammaf
=yes
24295 gcc_cv_math_func_tgammaf
=no
24297 rm -f core conftest.err conftest.
$ac_objext \
24298 conftest
$ac_exeext conftest.
$ac_ext
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24301 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24302 if test $gcc_cv_math_func_tgammaf = yes; then
24304 cat >>confdefs.h
<<_ACEOF
24305 #define HAVE_TGAMMAF 1
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24314 $as_echo_n "checking for lgamma... " >&6; }
24315 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24318 if test x
$gcc_no_link = xyes
; then
24319 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24322 /* end confdefs.h. */
24324 #ifdef HAVE_COMPLEX_H
24325 #include <complex.h>
24331 int (*ptr)() = (int (*)())lgamma;
24340 if ac_fn_c_try_link
"$LINENO"; then :
24341 gcc_cv_math_func_lgamma
=yes
24343 gcc_cv_math_func_lgamma
=no
24345 rm -f core conftest.err conftest.
$ac_objext \
24346 conftest
$ac_exeext conftest.
$ac_ext
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24349 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24350 if test $gcc_cv_math_func_lgamma = yes; then
24352 cat >>confdefs.h
<<_ACEOF
24353 #define HAVE_LGAMMA 1
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24362 $as_echo_n "checking for lgammaf... " >&6; }
24363 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24364 $as_echo_n "(cached) " >&6
24366 if test x
$gcc_no_link = xyes
; then
24367 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24370 /* end confdefs.h. */
24372 #ifdef HAVE_COMPLEX_H
24373 #include <complex.h>
24379 int (*ptr)() = (int (*)())lgammaf;
24388 if ac_fn_c_try_link
"$LINENO"; then :
24389 gcc_cv_math_func_lgammaf
=yes
24391 gcc_cv_math_func_lgammaf
=no
24393 rm -f core conftest.err conftest.
$ac_objext \
24394 conftest
$ac_exeext conftest.
$ac_ext
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24397 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24398 if test $gcc_cv_math_func_lgammaf = yes; then
24400 cat >>confdefs.h
<<_ACEOF
24401 #define HAVE_LGAMMAF 1
24407 # Check for GFORTRAN_C99_1.1 funcs
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24412 $as_echo_n "checking for cacos... " >&6; }
24413 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24414 $as_echo_n "(cached) " >&6
24416 if test x
$gcc_no_link = xyes
; then
24417 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24420 /* end confdefs.h. */
24422 #ifdef HAVE_COMPLEX_H
24423 #include <complex.h>
24429 int (*ptr)() = (int (*)())cacos;
24438 if ac_fn_c_try_link
"$LINENO"; then :
24439 gcc_cv_math_func_cacos
=yes
24441 gcc_cv_math_func_cacos
=no
24443 rm -f core conftest.err conftest.
$ac_objext \
24444 conftest
$ac_exeext conftest.
$ac_ext
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24447 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24448 if test $gcc_cv_math_func_cacos = yes; then
24450 cat >>confdefs.h
<<_ACEOF
24451 #define HAVE_CACOS 1
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24460 $as_echo_n "checking for cacosf... " >&6; }
24461 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24462 $as_echo_n "(cached) " >&6
24464 if test x
$gcc_no_link = xyes
; then
24465 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24468 /* end confdefs.h. */
24470 #ifdef HAVE_COMPLEX_H
24471 #include <complex.h>
24477 int (*ptr)() = (int (*)())cacosf;
24486 if ac_fn_c_try_link
"$LINENO"; then :
24487 gcc_cv_math_func_cacosf
=yes
24489 gcc_cv_math_func_cacosf
=no
24491 rm -f core conftest.err conftest.
$ac_objext \
24492 conftest
$ac_exeext conftest.
$ac_ext
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24495 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24496 if test $gcc_cv_math_func_cacosf = yes; then
24498 cat >>confdefs.h
<<_ACEOF
24499 #define HAVE_CACOSF 1
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24508 $as_echo_n "checking for cacosh... " >&6; }
24509 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24510 $as_echo_n "(cached) " >&6
24512 if test x
$gcc_no_link = xyes
; then
24513 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24516 /* end confdefs.h. */
24518 #ifdef HAVE_COMPLEX_H
24519 #include <complex.h>
24525 int (*ptr)() = (int (*)())cacosh;
24534 if ac_fn_c_try_link
"$LINENO"; then :
24535 gcc_cv_math_func_cacosh
=yes
24537 gcc_cv_math_func_cacosh
=no
24539 rm -f core conftest.err conftest.
$ac_objext \
24540 conftest
$ac_exeext conftest.
$ac_ext
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24543 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24544 if test $gcc_cv_math_func_cacosh = yes; then
24546 cat >>confdefs.h
<<_ACEOF
24547 #define HAVE_CACOSH 1
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24556 $as_echo_n "checking for cacoshf... " >&6; }
24557 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24558 $as_echo_n "(cached) " >&6
24560 if test x
$gcc_no_link = xyes
; then
24561 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24564 /* end confdefs.h. */
24566 #ifdef HAVE_COMPLEX_H
24567 #include <complex.h>
24573 int (*ptr)() = (int (*)())cacoshf;
24582 if ac_fn_c_try_link
"$LINENO"; then :
24583 gcc_cv_math_func_cacoshf
=yes
24585 gcc_cv_math_func_cacoshf
=no
24587 rm -f core conftest.err conftest.
$ac_objext \
24588 conftest
$ac_exeext conftest.
$ac_ext
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24591 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24592 if test $gcc_cv_math_func_cacoshf = yes; then
24594 cat >>confdefs.h
<<_ACEOF
24595 #define HAVE_CACOSHF 1
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24604 $as_echo_n "checking for cacoshl... " >&6; }
24605 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24606 $as_echo_n "(cached) " >&6
24608 if test x
$gcc_no_link = xyes
; then
24609 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24612 /* end confdefs.h. */
24614 #ifdef HAVE_COMPLEX_H
24615 #include <complex.h>
24621 int (*ptr)() = (int (*)())cacoshl;
24630 if ac_fn_c_try_link
"$LINENO"; then :
24631 gcc_cv_math_func_cacoshl
=yes
24633 gcc_cv_math_func_cacoshl
=no
24635 rm -f core conftest.err conftest.
$ac_objext \
24636 conftest
$ac_exeext conftest.
$ac_ext
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24639 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24640 if test $gcc_cv_math_func_cacoshl = yes; then
24642 cat >>confdefs.h
<<_ACEOF
24643 #define HAVE_CACOSHL 1
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24652 $as_echo_n "checking for cacosl... " >&6; }
24653 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24654 $as_echo_n "(cached) " >&6
24656 if test x
$gcc_no_link = xyes
; then
24657 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24660 /* end confdefs.h. */
24662 #ifdef HAVE_COMPLEX_H
24663 #include <complex.h>
24669 int (*ptr)() = (int (*)())cacosl;
24678 if ac_fn_c_try_link
"$LINENO"; then :
24679 gcc_cv_math_func_cacosl
=yes
24681 gcc_cv_math_func_cacosl
=no
24683 rm -f core conftest.err conftest.
$ac_objext \
24684 conftest
$ac_exeext conftest.
$ac_ext
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24687 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24688 if test $gcc_cv_math_func_cacosl = yes; then
24690 cat >>confdefs.h
<<_ACEOF
24691 #define HAVE_CACOSL 1
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24700 $as_echo_n "checking for casin... " >&6; }
24701 if test "${gcc_cv_math_func_casin+set}" = set; then :
24702 $as_echo_n "(cached) " >&6
24704 if test x
$gcc_no_link = xyes
; then
24705 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24708 /* end confdefs.h. */
24710 #ifdef HAVE_COMPLEX_H
24711 #include <complex.h>
24717 int (*ptr)() = (int (*)())casin;
24726 if ac_fn_c_try_link
"$LINENO"; then :
24727 gcc_cv_math_func_casin
=yes
24729 gcc_cv_math_func_casin
=no
24731 rm -f core conftest.err conftest.
$ac_objext \
24732 conftest
$ac_exeext conftest.
$ac_ext
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24735 $as_echo "$gcc_cv_math_func_casin" >&6; }
24736 if test $gcc_cv_math_func_casin = yes; then
24738 cat >>confdefs.h
<<_ACEOF
24739 #define HAVE_CASIN 1
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24748 $as_echo_n "checking for casinf... " >&6; }
24749 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24750 $as_echo_n "(cached) " >&6
24752 if test x
$gcc_no_link = xyes
; then
24753 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24758 #ifdef HAVE_COMPLEX_H
24759 #include <complex.h>
24765 int (*ptr)() = (int (*)())casinf;
24774 if ac_fn_c_try_link
"$LINENO"; then :
24775 gcc_cv_math_func_casinf
=yes
24777 gcc_cv_math_func_casinf
=no
24779 rm -f core conftest.err conftest.
$ac_objext \
24780 conftest
$ac_exeext conftest.
$ac_ext
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24783 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24784 if test $gcc_cv_math_func_casinf = yes; then
24786 cat >>confdefs.h
<<_ACEOF
24787 #define HAVE_CASINF 1
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24796 $as_echo_n "checking for casinh... " >&6; }
24797 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24798 $as_echo_n "(cached) " >&6
24800 if test x
$gcc_no_link = xyes
; then
24801 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24804 /* end confdefs.h. */
24806 #ifdef HAVE_COMPLEX_H
24807 #include <complex.h>
24813 int (*ptr)() = (int (*)())casinh;
24822 if ac_fn_c_try_link
"$LINENO"; then :
24823 gcc_cv_math_func_casinh
=yes
24825 gcc_cv_math_func_casinh
=no
24827 rm -f core conftest.err conftest.
$ac_objext \
24828 conftest
$ac_exeext conftest.
$ac_ext
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
24831 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24832 if test $gcc_cv_math_func_casinh = yes; then
24834 cat >>confdefs.h
<<_ACEOF
24835 #define HAVE_CASINH 1
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
24844 $as_echo_n "checking for casinhf... " >&6; }
24845 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
24846 $as_echo_n "(cached) " >&6
24848 if test x
$gcc_no_link = xyes
; then
24849 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24852 /* end confdefs.h. */
24854 #ifdef HAVE_COMPLEX_H
24855 #include <complex.h>
24861 int (*ptr)() = (int (*)())casinhf;
24870 if ac_fn_c_try_link
"$LINENO"; then :
24871 gcc_cv_math_func_casinhf
=yes
24873 gcc_cv_math_func_casinhf
=no
24875 rm -f core conftest.err conftest.
$ac_objext \
24876 conftest
$ac_exeext conftest.
$ac_ext
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
24879 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
24880 if test $gcc_cv_math_func_casinhf = yes; then
24882 cat >>confdefs.h
<<_ACEOF
24883 #define HAVE_CASINHF 1
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
24892 $as_echo_n "checking for casinhl... " >&6; }
24893 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
24894 $as_echo_n "(cached) " >&6
24896 if test x
$gcc_no_link = xyes
; then
24897 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24902 #ifdef HAVE_COMPLEX_H
24903 #include <complex.h>
24909 int (*ptr)() = (int (*)())casinhl;
24918 if ac_fn_c_try_link
"$LINENO"; then :
24919 gcc_cv_math_func_casinhl
=yes
24921 gcc_cv_math_func_casinhl
=no
24923 rm -f core conftest.err conftest.
$ac_objext \
24924 conftest
$ac_exeext conftest.
$ac_ext
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
24927 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
24928 if test $gcc_cv_math_func_casinhl = yes; then
24930 cat >>confdefs.h
<<_ACEOF
24931 #define HAVE_CASINHL 1
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
24940 $as_echo_n "checking for casinl... " >&6; }
24941 if test "${gcc_cv_math_func_casinl+set}" = set; then :
24942 $as_echo_n "(cached) " >&6
24944 if test x
$gcc_no_link = xyes
; then
24945 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24950 #ifdef HAVE_COMPLEX_H
24951 #include <complex.h>
24957 int (*ptr)() = (int (*)())casinl;
24966 if ac_fn_c_try_link
"$LINENO"; then :
24967 gcc_cv_math_func_casinl
=yes
24969 gcc_cv_math_func_casinl
=no
24971 rm -f core conftest.err conftest.
$ac_objext \
24972 conftest
$ac_exeext conftest.
$ac_ext
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
24975 $as_echo "$gcc_cv_math_func_casinl" >&6; }
24976 if test $gcc_cv_math_func_casinl = yes; then
24978 cat >>confdefs.h
<<_ACEOF
24979 #define HAVE_CASINL 1
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
24988 $as_echo_n "checking for catan... " >&6; }
24989 if test "${gcc_cv_math_func_catan+set}" = set; then :
24990 $as_echo_n "(cached) " >&6
24992 if test x
$gcc_no_link = xyes
; then
24993 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24996 /* end confdefs.h. */
24998 #ifdef HAVE_COMPLEX_H
24999 #include <complex.h>
25005 int (*ptr)() = (int (*)())catan;
25014 if ac_fn_c_try_link
"$LINENO"; then :
25015 gcc_cv_math_func_catan
=yes
25017 gcc_cv_math_func_catan
=no
25019 rm -f core conftest.err conftest.
$ac_objext \
25020 conftest
$ac_exeext conftest.
$ac_ext
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25023 $as_echo "$gcc_cv_math_func_catan" >&6; }
25024 if test $gcc_cv_math_func_catan = yes; then
25026 cat >>confdefs.h
<<_ACEOF
25027 #define HAVE_CATAN 1
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25036 $as_echo_n "checking for catanf... " >&6; }
25037 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25038 $as_echo_n "(cached) " >&6
25040 if test x
$gcc_no_link = xyes
; then
25041 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25044 /* end confdefs.h. */
25046 #ifdef HAVE_COMPLEX_H
25047 #include <complex.h>
25053 int (*ptr)() = (int (*)())catanf;
25062 if ac_fn_c_try_link
"$LINENO"; then :
25063 gcc_cv_math_func_catanf
=yes
25065 gcc_cv_math_func_catanf
=no
25067 rm -f core conftest.err conftest.
$ac_objext \
25068 conftest
$ac_exeext conftest.
$ac_ext
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25071 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25072 if test $gcc_cv_math_func_catanf = yes; then
25074 cat >>confdefs.h
<<_ACEOF
25075 #define HAVE_CATANF 1
25083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25084 $as_echo_n "checking for catanh... " >&6; }
25085 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25086 $as_echo_n "(cached) " >&6
25088 if test x
$gcc_no_link = xyes
; then
25089 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25094 #ifdef HAVE_COMPLEX_H
25095 #include <complex.h>
25101 int (*ptr)() = (int (*)())catanh;
25110 if ac_fn_c_try_link
"$LINENO"; then :
25111 gcc_cv_math_func_catanh
=yes
25113 gcc_cv_math_func_catanh
=no
25115 rm -f core conftest.err conftest.
$ac_objext \
25116 conftest
$ac_exeext conftest.
$ac_ext
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25119 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25120 if test $gcc_cv_math_func_catanh = yes; then
25122 cat >>confdefs.h
<<_ACEOF
25123 #define HAVE_CATANH 1
25131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25132 $as_echo_n "checking for catanhf... " >&6; }
25133 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25134 $as_echo_n "(cached) " >&6
25136 if test x
$gcc_no_link = xyes
; then
25137 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25142 #ifdef HAVE_COMPLEX_H
25143 #include <complex.h>
25149 int (*ptr)() = (int (*)())catanhf;
25158 if ac_fn_c_try_link
"$LINENO"; then :
25159 gcc_cv_math_func_catanhf
=yes
25161 gcc_cv_math_func_catanhf
=no
25163 rm -f core conftest.err conftest.
$ac_objext \
25164 conftest
$ac_exeext conftest.
$ac_ext
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25167 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25168 if test $gcc_cv_math_func_catanhf = yes; then
25170 cat >>confdefs.h
<<_ACEOF
25171 #define HAVE_CATANHF 1
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25180 $as_echo_n "checking for catanhl... " >&6; }
25181 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25182 $as_echo_n "(cached) " >&6
25184 if test x
$gcc_no_link = xyes
; then
25185 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25188 /* end confdefs.h. */
25190 #ifdef HAVE_COMPLEX_H
25191 #include <complex.h>
25197 int (*ptr)() = (int (*)())catanhl;
25206 if ac_fn_c_try_link
"$LINENO"; then :
25207 gcc_cv_math_func_catanhl
=yes
25209 gcc_cv_math_func_catanhl
=no
25211 rm -f core conftest.err conftest.
$ac_objext \
25212 conftest
$ac_exeext conftest.
$ac_ext
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25215 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25216 if test $gcc_cv_math_func_catanhl = yes; then
25218 cat >>confdefs.h
<<_ACEOF
25219 #define HAVE_CATANHL 1
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25228 $as_echo_n "checking for catanl... " >&6; }
25229 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25230 $as_echo_n "(cached) " >&6
25232 if test x
$gcc_no_link = xyes
; then
25233 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25236 /* end confdefs.h. */
25238 #ifdef HAVE_COMPLEX_H
25239 #include <complex.h>
25245 int (*ptr)() = (int (*)())catanl;
25254 if ac_fn_c_try_link
"$LINENO"; then :
25255 gcc_cv_math_func_catanl
=yes
25257 gcc_cv_math_func_catanl
=no
25259 rm -f core conftest.err conftest.
$ac_objext \
25260 conftest
$ac_exeext conftest.
$ac_ext
25262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25263 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25264 if test $gcc_cv_math_func_catanl = yes; then
25266 cat >>confdefs.h
<<_ACEOF
25267 #define HAVE_CATANL 1
25273 # On AIX, clog is present in libm as __clog
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25275 $as_echo_n "checking for __clog in -lm... " >&6; }
25276 if test "${ac_cv_lib_m___clog+set}" = set; then :
25277 $as_echo_n "(cached) " >&6
25279 ac_check_lib_save_LIBS
=$LIBS
25281 if test x
$gcc_no_link = xyes
; then
25282 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25285 /* end confdefs.h. */
25287 /* Override any GCC internal prototype to avoid an error.
25288 Use char because int might match the return type of a GCC
25289 builtin and then its argument prototype would still apply. */
25302 if ac_fn_c_try_link
"$LINENO"; then :
25303 ac_cv_lib_m___clog
=yes
25305 ac_cv_lib_m___clog
=no
25307 rm -f core conftest.err conftest.
$ac_objext \
25308 conftest
$ac_exeext conftest.
$ac_ext
25309 LIBS
=$ac_check_lib_save_LIBS
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25312 $as_echo "$ac_cv_lib_m___clog" >&6; }
25313 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25315 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25320 # Check whether the system has a working stat()
25322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25323 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25324 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25325 $as_echo_n "(cached) " >&6
25328 if test "$cross_compiling" = yes; then :
25330 case "${target}" in
25331 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25332 *) libgfor_cv_have_working_stat
=yes;;
25335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25339 #include <sys/types.h>
25340 #include <sys/stat.h>
25341 #include <unistd.h>
25346 struct stat st1, st2;
25348 f = fopen ("foo", "w");
25349 g = fopen ("bar", "w");
25350 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25352 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25359 if ac_fn_c_try_run
"$LINENO"; then :
25360 libgfor_cv_have_working_stat
=yes
25362 libgfor_cv_have_working_stat
=no
25364 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25365 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25370 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25371 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25373 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25377 # Check whether __mingw_snprintf() is present
25379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25380 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25381 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25382 $as_echo_n "(cached) " >&6
25385 if test x
$gcc_no_link = xyes
; then
25386 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25392 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25398 __mingw_snprintf (NULL, 0, "%d\n", 1);
25404 if ac_fn_c_try_link
"$LINENO"; then :
25405 eval "libgfor_cv_have_mingw_snprintf=yes"
25407 eval "libgfor_cv_have_mingw_snprintf=no"
25409 rm -f core conftest.err conftest.
$ac_objext \
25410 conftest
$ac_exeext conftest.
$ac_ext
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25414 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25415 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25417 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25422 # Check whether libquadmath should be used
25423 # Check whether --enable-libquadmath-support was given.
25424 if test "${enable_libquadmath_support+set}" = set; then :
25425 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25427 ENABLE_LIBQUADMATH_SUPPORT
=yes
25430 enable_libquadmath_support
=
25431 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25432 enable_libquadmath_support
=no
25435 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25439 if test "x$enable_libquadmath_support" != xno
; then
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25442 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25443 if test "${libgfor_cv_have_float128+set}" = set; then :
25444 $as_echo_n "(cached) " >&6
25447 if test x
$gcc_no_link = xyes
; then
25448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25449 /* end confdefs.h. */
25451 typedef _Complex float __attribute__((mode(TC))) __complex128;
25453 __float128 foo (__float128 x)
25456 __complex128 z1, z2;
25462 return (__float128) z2;
25465 __float128 bar (__float128 x)
25467 return x * __builtin_huge_valq ();
25481 if ac_fn_c_try_compile
"$LINENO"; then :
25483 libgfor_cv_have_float128
=yes
25487 libgfor_cv_have_float128
=no
25490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25492 if test x
$gcc_no_link = xyes
; then
25493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25496 /* end confdefs.h. */
25498 typedef _Complex float __attribute__((mode(TC))) __complex128;
25500 __float128 foo (__float128 x)
25503 __complex128 z1, z2;
25509 return (__float128) z2;
25512 __float128 bar (__float128 x)
25514 return x * __builtin_huge_valq ();
25528 if ac_fn_c_try_link
"$LINENO"; then :
25530 libgfor_cv_have_float128
=yes
25534 libgfor_cv_have_float128
=no
25537 rm -f core conftest.err conftest.
$ac_objext \
25538 conftest
$ac_exeext conftest.
$ac_ext
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25542 $as_echo "$libgfor_cv_have_float128" >&6; }
25544 if test "x$libgfor_cv_have_float128" = xyes
; then
25546 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25549 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25551 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25552 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25553 $as_echo_n "(cached) " >&6
25556 # Test for native Solaris options first.
25557 # No whitespace after -z to pass it through -Wl.
25558 libgfor_cv_as_needed_option
="-zignore"
25559 libgfor_cv_no_as_needed_option
="-zrecord"
25560 save_LDFLAGS
="$LDFLAGS"
25561 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25562 libgfor_cv_have_as_needed
=no
25564 ac_c_werror_flag
=yes
25565 if test x
$gcc_no_link = xyes
; then
25566 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25569 /* end confdefs.h. */
25579 if ac_fn_c_try_link
"$LINENO"; then :
25580 libgfor_cv_have_as_needed
=yes
25582 libgfor_cv_have_as_needed
=no
25584 rm -f core conftest.err conftest.
$ac_objext \
25585 conftest
$ac_exeext conftest.
$ac_ext
25586 LDFLAGS
="$save_LDFLAGS"
25587 if test "x$libgfor_cv_have_as_needed" = xno
; then
25588 libgfor_cv_as_needed_option
="--as-needed"
25589 libgfor_cv_no_as_needed_option
="--no-as-needed"
25590 save_LDFLAGS
="$LDFLAGS"
25591 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25592 libgfor_cv_have_as_needed
=no
25594 ac_c_werror_flag
=yes
25595 if test x
$gcc_no_link = xyes
; then
25596 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25599 /* end confdefs.h. */
25609 if ac_fn_c_try_link
"$LINENO"; then :
25610 libgfor_cv_have_as_needed
=yes
25612 libgfor_cv_have_as_needed
=no
25614 rm -f core conftest.err conftest.
$ac_objext \
25615 conftest
$ac_exeext conftest.
$ac_ext
25616 LDFLAGS
="$save_LDFLAGS"
25618 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25622 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25624 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25625 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25627 LIBQUADSPEC
="-lquadmath"
25629 if test -f ..
/libquadmath
/libquadmath.la
; then
25630 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25631 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25632 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25634 LIBQUADLIB
="-lquadmath"
25640 # for --disable-quadmath
25651 if test "x$libgfor_cv_have_float128" = xyes
; then
25652 LIBGFOR_BUILD_QUAD_TRUE
=
25653 LIBGFOR_BUILD_QUAD_FALSE
='#'
25655 LIBGFOR_BUILD_QUAD_TRUE
='#'
25656 LIBGFOR_BUILD_QUAD_FALSE
=
25661 # Check for GNU libc feenableexcept
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25663 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25664 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25665 $as_echo_n "(cached) " >&6
25667 ac_check_lib_save_LIBS
=$LIBS
25669 if test x
$gcc_no_link = xyes
; then
25670 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25673 /* end confdefs.h. */
25675 /* Override any GCC internal prototype to avoid an error.
25676 Use char because int might match the return type of a GCC
25677 builtin and then its argument prototype would still apply. */
25681 char feenableexcept ();
25685 return feenableexcept ();
25690 if ac_fn_c_try_link
"$LINENO"; then :
25691 ac_cv_lib_m_feenableexcept
=yes
25693 ac_cv_lib_m_feenableexcept
=no
25695 rm -f core conftest.err conftest.
$ac_objext \
25696 conftest
$ac_exeext conftest.
$ac_ext
25697 LIBS
=$ac_check_lib_save_LIBS
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25700 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25701 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25702 have_feenableexcept
=yes
25703 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25708 # At least for glibc, clock_gettime is in librt. But don't
25709 # pull that in if it still doesn't give us the function we want. This
25710 # test is copied from libgomp, and modified to not link in -lrt as
25711 # libgfortran calls clock_gettime via a weak reference if it's found
25713 if test "$ac_cv_func_clock_gettime" = no
; then
25714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25715 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25716 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25717 $as_echo_n "(cached) " >&6
25719 ac_check_lib_save_LIBS
=$LIBS
25721 if test x
$gcc_no_link = xyes
; then
25722 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25725 /* end confdefs.h. */
25727 /* Override any GCC internal prototype to avoid an error.
25728 Use char because int might match the return type of a GCC
25729 builtin and then its argument prototype would still apply. */
25733 char clock_gettime ();
25737 return clock_gettime ();
25742 if ac_fn_c_try_link
"$LINENO"; then :
25743 ac_cv_lib_rt_clock_gettime
=yes
25745 ac_cv_lib_rt_clock_gettime
=no
25747 rm -f core conftest.err conftest.
$ac_objext \
25748 conftest
$ac_exeext conftest.
$ac_ext
25749 LIBS
=$ac_check_lib_save_LIBS
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25752 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25753 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25755 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25761 # Check for SysV fpsetmask
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25764 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25765 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25766 $as_echo_n "(cached) " >&6
25769 if test x
$gcc_no_link = xyes
; then
25770 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25773 /* end confdefs.h. */
25775 #if HAVE_FLOATINGPOINT_H
25776 # include <floatingpoint.h>
25777 #endif /* HAVE_FLOATINGPOINT_H */
25779 # include <ieeefp.h>
25780 #endif /* HAVE_IEEEFP_H */
25789 if ac_fn_c_try_link
"$LINENO"; then :
25790 eval "libgfor_cv_have_fpsetmask=yes"
25792 eval "libgfor_cv_have_fpsetmask=no"
25794 rm -f core conftest.err conftest.
$ac_objext \
25795 conftest
$ac_exeext conftest.
$ac_ext
25798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25799 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25800 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25803 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25807 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
25808 #ifdef HAVE_IEEEFP_H
25809 #include <ieeefp.h>
25814 if test "x$ac_cv_type_fp_except" = x
""yes; then :
25816 cat >>confdefs.h
<<_ACEOF
25817 #define HAVE_FP_EXCEPT 1
25822 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
25823 #ifdef HAVE_IEEEFP_H
25824 #include <ieeefp.h>
25829 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
25831 cat >>confdefs.h
<<_ACEOF
25832 #define HAVE_FP_EXCEPT_T 1
25838 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
25839 #ifdef HAVE_IEEEFP_H
25840 #include <ieeefp.h>
25845 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
25847 cat >>confdefs.h
<<_ACEOF
25848 #define HAVE_FP_RND 1
25853 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
25854 #ifdef HAVE_IEEEFP_H
25855 #include <ieeefp.h>
25860 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
25862 cat >>confdefs.h
<<_ACEOF
25863 #define HAVE_FP_RND_T 1
25870 # Check whether we have fpsetsticky or fpresetsticky
25871 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
25872 if test "x$ac_cv_func_fpsetsticky" = x
""yes; then :
25873 have_fpsetsticky
=yes
25874 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
25878 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
25879 if test "x$ac_cv_func_fpresetsticky" = x
""yes; then :
25880 have_fpresetsticky
=yes
25881 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
25886 # Check for AIX fp_trap and fp_enable
25887 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25888 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25890 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25894 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25895 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25897 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25902 # Check if _SOFT_FLOAT is defined
25904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
25905 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
25906 if test "${ac_cv_defined__SOFT_FLOAT+set}" = set; then :
25907 $as_echo_n "(cached) " >&6
25909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25910 /* end confdefs.h. */
25926 if ac_fn_c_try_compile
"$LINENO"; then :
25927 ac_cv_defined__SOFT_FLOAT
=yes
25929 ac_cv_defined__SOFT_FLOAT
=no
25931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
25934 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
25935 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
25936 have_soft_float
=yes
25939 # Runs configure.host to set up necessary host-dependent shell variables.
25940 # We then display a message about it, and propagate them through the
25942 .
${srcdir}/configure.
host
25943 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25944 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
25946 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
25947 FPU_HOST_HEADER
=config
/${fpu_host}.h
25950 # Whether we will build the IEEE modules
25951 if test x
${ieee_support} = xyes
; then
25953 IEEE_SUPPORT_FALSE
='#'
25955 IEEE_SUPPORT_TRUE
='#'
25956 IEEE_SUPPORT_FALSE
=
25961 # Some targets require additional compiler options for IEEE compatibility.
25962 IEEE_FLAGS
="${ieee_flags}"
25966 # Check for POSIX getpwuid_r
25968 # There are two versions of getpwuid_r, the POSIX one with 5
25969 # arguments, and another one with 4 arguments used by at least HP-UX
25971 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25973 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25974 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25975 $as_echo_n "(cached) " >&6
25978 if test x
$gcc_no_link = xyes
; then
25979 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25982 /* end confdefs.h. */
25985 #include <sys/types.h>
25991 getpwuid_r(0, NULL, NULL, 0, NULL);
25997 if ac_fn_c_try_link
"$LINENO"; then :
25998 libgfor_cv_posix_getpwuid_r
="yes"
26000 libgfor_cv_posix_getpwuid_r
="no"
26002 rm -f core conftest.err conftest.
$ac_objext \
26003 conftest
$ac_exeext conftest.
$ac_ext
26005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26006 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26008 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26010 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26015 # Check out attribute support.
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26018 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26019 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26020 $as_echo_n "(cached) " >&6
26023 save_CFLAGS
="$CFLAGS"
26024 CFLAGS
="$CFLAGS -Werror"
26025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26026 /* end confdefs.h. */
26027 void __attribute__((visibility("hidden"))) foo(void) { }
26036 if ac_fn_c_try_compile
"$LINENO"; then :
26037 libgfor_cv_have_attribute_visibility
=yes
26039 libgfor_cv_have_attribute_visibility
=no
26041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26042 CFLAGS
="$save_CFLAGS"
26044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26045 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26046 if test $libgfor_cv_have_attribute_visibility = yes; then
26048 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26053 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26054 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26055 $as_echo_n "(cached) " >&6
26058 if test x
$gcc_no_link = xyes
; then
26059 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26062 /* end confdefs.h. */
26065 extern void bar(void) __attribute__((alias("foo")));
26074 if ac_fn_c_try_link
"$LINENO"; then :
26075 libgfor_cv_have_attribute_alias
=yes
26077 libgfor_cv_have_attribute_alias
=no
26079 rm -f core conftest.err conftest.
$ac_objext \
26080 conftest
$ac_exeext conftest.
$ac_ext
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26083 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26084 if test $libgfor_cv_have_attribute_alias = yes; then
26086 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26090 # Check out sync builtins support.
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26093 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26094 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26095 $as_echo_n "(cached) " >&6
26098 if test x
$gcc_no_link = xyes
; then
26099 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26102 /* end confdefs.h. */
26108 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26109 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26114 if ac_fn_c_try_link
"$LINENO"; then :
26115 libgfor_cv_have_sync_fetch_and_add
=yes
26117 libgfor_cv_have_sync_fetch_and_add
=no
26119 rm -f core conftest.err conftest.
$ac_objext \
26120 conftest
$ac_exeext conftest.
$ac_ext
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26123 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26124 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26126 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26130 # Check out #pragma weak.
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26133 $as_echo_n "checking whether pragma weak works... " >&6; }
26134 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26135 $as_echo_n "(cached) " >&6
26138 gfor_save_CFLAGS
="$CFLAGS"
26139 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26154 if ac_fn_c_try_compile
"$LINENO"; then :
26155 libgfor_cv_have_pragma_weak
=yes
26157 libgfor_cv_have_pragma_weak
=no
26159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26162 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26163 if test $libgfor_cv_have_pragma_weak = yes; then
26165 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26169 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26171 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26176 # Check out weakref support.
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26179 $as_echo_n "checking whether the target supports weakref... " >&6; }
26180 if test "${libgfor_cv_have_weakref+set}" = set; then :
26181 $as_echo_n "(cached) " >&6
26184 save_CFLAGS
="$CFLAGS"
26185 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26186 if test x
$gcc_no_link = xyes
; then
26187 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26190 /* end confdefs.h. */
26192 static int mytoto (int) __attribute__((__weakref__("toto")));
26197 return (mytoto != 0);
26202 if ac_fn_c_try_link
"$LINENO"; then :
26203 libgfor_cv_have_weakref
=yes
26205 libgfor_cv_have_weakref
=no
26207 rm -f core conftest.err conftest.
$ac_objext \
26208 conftest
$ac_exeext conftest.
$ac_ext
26209 CFLAGS
="$save_CFLAGS"
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26212 $as_echo "$libgfor_cv_have_weakref" >&6; }
26213 if test $libgfor_cv_have_weakref = yes; then
26215 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26219 # Various other checks on target
26221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26222 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26223 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26224 $as_echo_n "(cached) " >&6
26227 if test "$cross_compiling" = yes; then :
26229 case "${target}" in
26230 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26231 *) libgfor_cv_have_unlink_open_file
=yes;;
26234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26235 /* end confdefs.h. */
26239 #include <unistd.h>
26240 #include <sys/stat.h>
26246 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26249 if (unlink ("testfile") == -1)
26251 write (fd, "This is a test\n", 15);
26254 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26260 if ac_fn_c_try_run
"$LINENO"; then :
26261 libgfor_cv_have_unlink_open_file
=yes
26263 libgfor_cv_have_unlink_open_file
=no
26265 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26266 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26271 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26272 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26274 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26278 # Check whether line terminator is LF or CRLF
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26281 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26282 if test "${libgfor_cv_have_crlf+set}" = set; then :
26283 $as_echo_n "(cached) " >&6
26286 if test "$cross_compiling" = yes; then :
26288 case "${target}" in
26289 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26290 *) libgfor_cv_have_crlf
=no
;;
26293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26294 /* end confdefs.h. */
26296 /* This test program should exit with status 0 if system uses a CRLF as
26297 line terminator, and status 1 otherwise.
26298 Since it is used to check for mingw systems, and should return 0 in any
26299 other case, in case of a failure we will not use CRLF. */
26300 #include <sys/stat.h>
26301 #include <stdlib.h>
26313 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26316 if (write (fd, "\n", 1) < 0)
26321 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26323 bytes = read (fd, buff, 5);
26324 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26331 if ac_fn_c_try_run
"$LINENO"; then :
26332 libgfor_cv_have_crlf
=yes
26334 libgfor_cv_have_crlf
=no
26336 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26337 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26342 $as_echo "$libgfor_cv_have_crlf" >&6; }
26343 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26345 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26349 # Check whether we support AVX extensions
26351 ac_save_CFLAGS
="$CFLAGS"
26353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26354 /* end confdefs.h. */
26356 void _mm256_zeroall (void)
26358 __builtin_ia32_vzeroall ();
26368 if ac_fn_c_try_compile
"$LINENO"; then :
26370 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26374 CFLAGS
="$ac_save_CFLAGS"
26377 # Check wether we support AVX2 extensions
26379 ac_save_CFLAGS
="$CFLAGS"
26380 CFLAGS
="-O2 -mavx2"
26381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26382 /* end confdefs.h. */
26384 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26386 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26388 return __builtin_ia32_andnotsi256 (__X, __Y);
26398 if ac_fn_c_try_compile
"$LINENO"; then :
26400 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26404 CFLAGS
="$ac_save_CFLAGS"
26407 # Check wether we support AVX512f extensions
26409 ac_save_CFLAGS
="$CFLAGS"
26410 CFLAGS
="-O2 -mavx512f"
26411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26412 /* end confdefs.h. */
26414 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26415 __m512d _mm512_add (__m512d a)
26417 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26418 /* For -m64/-mx32 also verify that code will work even if
26419 the target uses call saved zmm16+ and needs to emit
26420 unwind info for them (e.g. on mingw). See PR79127. */
26422 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26434 if ac_fn_c_try_compile
"$LINENO"; then :
26436 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26440 CFLAGS
="$ac_save_CFLAGS"
26443 # Check for FMA3 extensions
26445 ac_save_CFLAGS
="$CFLAGS"
26446 CFLAGS
="-O2 -mfma -mno-fma4"
26447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26448 /* end confdefs.h. */
26450 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26451 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26452 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26454 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26466 if ac_fn_c_try_compile
"$LINENO"; then :
26468 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26472 CFLAGS
="$ac_save_CFLAGS"
26475 # Check for FMA4 extensions
26477 ac_save_CFLAGS
="$CFLAGS"
26478 CFLAGS
="-O2 -mfma4 -mno-fma"
26479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26480 /* end confdefs.h. */
26482 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26483 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26484 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26486 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26498 if ac_fn_c_try_compile
"$LINENO"; then :
26500 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26504 CFLAGS
="$ac_save_CFLAGS"
26507 # Check if AVX128 works
26509 ac_save_CFLAGS
="$CFLAGS"
26510 CFLAGS
="-O2 -mavx -mprefer-avx128"
26511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h. */
26525 if ac_fn_c_try_compile
"$LINENO"; then :
26527 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26531 HAVE_AVX128_FALSE
='#'
26533 HAVE_AVX128_TRUE
='#'
26540 HAVE_AVX128_FALSE
='#'
26542 HAVE_AVX128_TRUE
='#'
26547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26548 CFLAGS
="$ac_save_CFLAGS"
26551 # Determine what GCC version number to use in filesystem paths.
26553 get_gcc_base_ver
="cat"
26555 # Check whether --with-gcc-major-version-only was given.
26556 if test "${with_gcc_major_version_only+set}" = set; then :
26557 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
26558 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
26566 cat >confcache
<<\_ACEOF
26567 # This file is a shell script that caches the results of configure
26568 # tests run on this system so they can be shared between configure
26569 # scripts and configure runs, see configure's option --config-cache.
26570 # It is not useful on other systems. If it contains results you don't
26571 # want to keep, you may remove or edit it.
26573 # config.status only pays attention to the cache file if you give it
26574 # the --recheck option to rerun configure.
26576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26578 # following values.
26582 # The following way of writing the cache mishandles newlines in values,
26583 # but we know of no workaround that is simple, portable, and efficient.
26584 # So, we kill variables containing newlines.
26585 # Ultrix sh set writes to stderr and can't be redirected directly,
26586 # and sets the high bit in the cache file unless we assign to the vars.
26588 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26589 eval ac_val
=\$
$ac_var
26593 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26597 _ | IFS | as_nl
) ;; #(
26598 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26599 *) { eval $ac_var=; unset $ac_var;} ;;
26605 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26606 *${as_nl}ac_space
=\
*)
26607 # `set' does not quote correctly, so add quotes: double-quote
26608 # substitution turns \\\\ into \\, and sed turns \\ into \.
26611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26614 # `set' quotes correctly as required by POSIX, so do not add quotes.
26615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26624 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26626 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26628 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26629 if test -w "$cache_file"; then
26630 test "x$cache_file" != "x/dev/null" &&
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26632 $as_echo "$as_me: updating cache $cache_file" >&6;}
26633 cat confcache
>$cache_file
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26636 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26641 if test ${multilib} = yes; then
26642 multilib_arg
="--enable-multilib"
26647 # Write our Makefile and spec file.
26648 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26650 cat >confcache
<<\_ACEOF
26651 # This file is a shell script that caches the results of configure
26652 # tests run on this system so they can be shared between configure
26653 # scripts and configure runs, see configure's option --config-cache.
26654 # It is not useful on other systems. If it contains results you don't
26655 # want to keep, you may remove or edit it.
26657 # config.status only pays attention to the cache file if you give it
26658 # the --recheck option to rerun configure.
26660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26662 # following values.
26666 # The following way of writing the cache mishandles newlines in values,
26667 # but we know of no workaround that is simple, portable, and efficient.
26668 # So, we kill variables containing newlines.
26669 # Ultrix sh set writes to stderr and can't be redirected directly,
26670 # and sets the high bit in the cache file unless we assign to the vars.
26672 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26673 eval ac_val
=\$
$ac_var
26677 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26678 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26681 _ | IFS | as_nl
) ;; #(
26682 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26683 *) { eval $ac_var=; unset $ac_var;} ;;
26689 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26690 *${as_nl}ac_space
=\
*)
26691 # `set' does not quote correctly, so add quotes: double-quote
26692 # substitution turns \\\\ into \\, and sed turns \\ into \.
26695 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26698 # `set' quotes correctly as required by POSIX, so do not add quotes.
26699 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26712 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26713 if test -w "$cache_file"; then
26714 test "x$cache_file" != "x/dev/null" &&
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26716 $as_echo "$as_me: updating cache $cache_file" >&6;}
26717 cat confcache
>$cache_file
26719 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26720 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26725 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26726 # Let make expand exec_prefix.
26727 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26729 DEFS
=-DHAVE_CONFIG_H
26733 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26734 # 1. Remove the extension, and $U if already installed.
26735 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26736 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26737 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26738 # will be set to the directory where LIBOBJS objects are built.
26739 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26740 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26742 LIBOBJS
=$ac_libobjs
26744 LTLIBOBJS
=$ac_ltlibobjs
26747 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26748 as_fn_error
"conditional \"onestep\" was never defined.
26749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26751 if test -n "$EXEEXT"; then
26753 am__EXEEXT_FALSE
='#'
26755 am__EXEEXT_TRUE
='#'
26759 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26760 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26763 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26764 as_fn_error
"conditional \"AMDEP\" was never defined.
26765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26767 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26768 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26771 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26772 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26775 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26776 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26779 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26780 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26783 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26784 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26787 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
26788 as_fn_error
"conditional \"LIBGFOR_MINIMAL\" was never defined.
26789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26791 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
26792 as_fn_error
"conditional \"HAVE_HWCAP\" was never defined.
26793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26795 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26796 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26799 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26800 as_fn_error
"conditional \"IEEE_SUPPORT\" was never defined.
26801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26803 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
26804 as_fn_error
"conditional \"HAVE_AVX128\" was never defined.
26805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26807 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
26808 as_fn_error
"conditional \"HAVE_AVX128\" was never defined.
26809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26812 : ${CONFIG_STATUS=./config.status}
26814 ac_clean_files_save
=$ac_clean_files
26815 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26817 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26819 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26821 # Generated by $as_me.
26822 # Run this file to recreate the current configuration.
26823 # Compiler output produced by configure, useful for debugging
26824 # configure, is in config.log if it exists.
26827 ac_cs_recheck=false
26830 SHELL=\${CONFIG_SHELL-$SHELL}
26833 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26834 ## -------------------- ##
26835 ## M4sh Initialization. ##
26836 ## -------------------- ##
26838 # Be more Bourne compatible
26839 DUALCASE
=1; export DUALCASE
# for MKS sh
26840 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26843 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26844 # is contrary to our usage. Disable this feature.
26845 alias -g '${1+"$@"}'='"$@"'
26846 setopt NO_GLOB_SUBST
26848 case `(set -o) 2>/dev/null` in #(
26860 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26861 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26864 # Prefer a ksh shell builtin over an external printf program on Solaris,
26865 # but without wasting forks for bash or zsh.
26866 if test -z "$BASH_VERSION$ZSH_VERSION" \
26867 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26868 as_echo='print
-r --'
26869 as_echo_n='print
-rn --'
26870 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26871 as_echo='printf %s
\n'
26872 as_echo_n='printf %s
'
26874 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26875 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26876 as_echo_n='/usr
/ucb
/echo -n'
26878 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26879 as_echo_n_body='eval
26883 expr "X$arg" : "X\\(.*\\)$as_nl";
26884 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26886 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26888 export as_echo_n_body
26889 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26891 export as_echo_body
26892 as_echo='sh
-c $as_echo_body as_echo
'
26895 # The user is always right.
26896 if test "${PATH_SEPARATOR+set}" != set; then
26898 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26899 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26906 # We need space, tab and new line, in precisely that order. Quoting is
26907 # there to prevent editors from complaining about space-tab.
26908 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26909 # splitting by setting IFS to empty value.)
26912 # Find who we are. Look in the path if we contain no directory separator.
26914 *[\\/]* ) as_myself=$0 ;;
26915 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26916 for as_dir in $PATH
26919 test -z "$as_dir" && as_dir=.
26920 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26926 # We did not find ourselves, most probably we were run as `sh COMMAND'
26927 # in which case we are not to be found in the path.
26928 if test "x$as_myself" = x
; then
26931 if test ! -f "$as_myself"; then
26932 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26936 # Unset variables that we do not need and which cause bugs (e.g. in
26937 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26938 # suppresses any "Segmentation fault" message there. '((' could
26939 # trigger a bug in pdksh 5.2.14.
26940 for as_var
in BASH_ENV ENV MAIL MAILPATH
26941 do eval test x\
${$as_var+set} = xset \
26942 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26955 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26958 # as_fn_error ERROR [LINENO LOG_FD]
26959 # ---------------------------------
26960 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26961 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26962 # script with status $?, using 1 if that was 0.
26965 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26967 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26968 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26970 $as_echo "$as_me: error: $1" >&2
26971 as_fn_exit
$as_status
26975 # as_fn_set_status STATUS
26976 # -----------------------
26977 # Set $? to STATUS, without forking.
26978 as_fn_set_status
()
26981 } # as_fn_set_status
26983 # as_fn_exit STATUS
26984 # -----------------
26985 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26989 as_fn_set_status
$1
26995 # Portably unset VAR.
26998 { eval $1=; unset $1;}
27000 as_unset
=as_fn_unset
27001 # as_fn_append VAR VALUE
27002 # ----------------------
27003 # Append the text in VALUE to the end of the definition contained in VAR. Take
27004 # advantage of any shell optimizations that allow amortized linear growth over
27005 # repeated appends, instead of the typical quadratic growth present in naive
27007 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27008 eval 'as_fn_append ()
27019 # as_fn_arith ARG...
27020 # ------------------
27021 # Perform arithmetic evaluation on the ARGs, and store the result in the
27022 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27023 # must be portable across $(()) and expr.
27024 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27025 eval 'as_fn_arith ()
27032 as_val
=`expr "$@" || test $? -eq 1`
27037 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27038 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27044 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27045 as_basename
=basename
27050 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27056 as_me
=`$as_basename -- "$0" ||
27057 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27058 X"$0" : 'X\(//\)$' \| \
27059 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27061 sed '/^.*\/\([^/][^/]*\)\/*$/{
27075 # Avoid depending upon Character Ranges.
27076 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27077 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27078 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27079 as_cr_digits
='0123456789'
27080 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27082 ECHO_C
= ECHO_N
= ECHO_T
=
27083 case `echo -n x` in #(((((
27085 case `echo 'xy\c'` in
27086 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27088 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27095 rm -f conf$$ conf$$.exe conf$$.
file
27096 if test -d conf$$.dir
; then
27097 rm -f conf$$.dir
/conf$$.
file
27100 mkdir conf$$.dir
2>/dev
/null
27102 if (echo >conf$$.
file) 2>/dev
/null
; then
27103 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27105 # ... but there are two gotchas:
27106 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27107 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27108 # In both cases, we have to default to `cp -p'.
27109 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27111 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27119 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27120 rmdir conf$$.dir
2>/dev
/null
27125 # Create "$as_dir" as a directory, including parents if necessary.
27130 -*) as_dir
=.
/$as_dir;;
27132 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27136 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27137 *) as_qdir
=$as_dir;;
27139 as_dirs
="'$as_qdir' $as_dirs"
27140 as_dir
=`$as_dirname -- "$as_dir" ||
27141 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27142 X"$as_dir" : 'X\(//\)[^/]' \| \
27143 X"$as_dir" : 'X\(//\)$' \| \
27144 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27145 $as_echo X"$as_dir" |
27146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27150 /^X\(\/\/\)[^/].*/{
27163 test -d "$as_dir" && break
27165 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27166 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27170 if mkdir
-p .
2>/dev
/null
; then
27171 as_mkdir_p
='mkdir -p "$as_dir"'
27173 test -d .
/-p && rmdir .
/-p
27177 if test -x / >/dev
/null
2>&1; then
27178 as_test_x
='test -x'
27180 if ls -dL / >/dev
/null
2>&1; then
27187 if test -d "$1"; then
27193 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27194 ???[sx]*):;;*)false;;esac;fi
27198 as_executable_p
=$as_test_x
27200 # Sed expression to map a string onto a valid CPP name.
27201 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27203 # Sed expression to map a string onto a valid variable name.
27204 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27208 ## ----------------------------------- ##
27209 ## Main body of $CONFIG_STATUS script. ##
27210 ## ----------------------------------- ##
27212 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27215 # Save the log message, to keep $0 and so on meaningful, and to
27216 # report actual input values of CONFIG_FILES etc. instead of their
27217 # values after options handling.
27219 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27220 generated by GNU Autoconf 2.64. Invocation command line was
27222 CONFIG_FILES = $CONFIG_FILES
27223 CONFIG_HEADERS = $CONFIG_HEADERS
27224 CONFIG_LINKS = $CONFIG_LINKS
27225 CONFIG_COMMANDS = $CONFIG_COMMANDS
27228 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27233 case $ac_config_files in *"
27234 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27237 case $ac_config_headers in *"
27238 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27243 # Files that config.status was made for.
27244 config_files="$ac_config_files"
27245 config_headers="$ac_config_headers"
27246 config_commands="$ac_config_commands"
27250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27252 \`$as_me' instantiates files and other configuration actions
27253 from templates according to the current configuration. Unless the files
27254 and actions are specified as TAGs, all are instantiated by default.
27256 Usage: $0 [OPTION]... [TAG]...
27258 -h, --help print this help, then exit
27259 -V, --version print version number and configuration settings, then exit
27260 -q, --quiet, --silent
27261 do not print progress messages
27262 -d, --debug don't remove temporary files
27263 --recheck update $as_me by reconfiguring in the same conditions
27264 --file=FILE[:TEMPLATE]
27265 instantiate the configuration file FILE
27266 --header=FILE[:TEMPLATE]
27267 instantiate the configuration header FILE
27269 Configuration files:
27272 Configuration headers:
27275 Configuration commands:
27278 Report bugs to the package provider.
27279 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27280 General help using GNU software: <http://www.gnu.org/gethelp/>."
27283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27285 GNU Fortran Runtime Library config.status 0.3
27286 configured by $0, generated by GNU Autoconf 2.64,
27287 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27289 Copyright (C) 2009 Free Software Foundation, Inc.
27290 This config.status script is free software; the Free Software Foundation
27291 gives unlimited permission to copy, distribute and modify it."
27298 test -n "\$AWK" || AWK=awk
27301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27302 # The default lists apply if the user does not specify any file.
27308 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27309 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27320 # Handling of the options.
27321 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27323 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27324 $as_echo "$ac_cs_version"; exit ;;
27325 --debug |
--debu |
--deb |
--de |
--d |
-d )
27327 --file |
--fil |
--fi |
--f )
27330 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27332 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27333 ac_need_defaults
=false
;;
27334 --header |
--heade |
--head |
--hea )
27337 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27339 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27340 ac_need_defaults
=false
;;
27342 # Conflict between --help and --header
27343 as_fn_error
"ambiguous option: \`$1'
27344 Try \`$0 --help' for more information.";;
27345 --help |
--hel |
-h )
27346 $as_echo "$ac_cs_usage"; exit ;;
27347 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27348 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27351 # This is an error.
27352 -*) as_fn_error
"unrecognized option: \`$1'
27353 Try \`$0 --help' for more information." ;;
27355 *) as_fn_append ac_config_targets
" $1"
27356 ac_need_defaults
=false
;;
27362 ac_configure_extra_args
=
27364 if $ac_cs_silent; then
27366 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27371 if \$ac_cs_recheck; then
27372 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27374 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27375 CONFIG_SHELL='$SHELL'
27376 export CONFIG_SHELL
27381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27385 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27386 ## Running $as_me. ##
27392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27400 with_multisubdir="$with_multisubdir"
27401 with_multisrctop="$with_multisrctop"
27402 with_target_subdir="$with_target_subdir"
27403 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27404 multi_basedir="$multi_basedir"
27405 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27408 GFORTRAN="$GFORTRAN"
27409 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27412 # The HP-UX ksh and POSIX shell print the target directory to stdout
27413 # if CDPATH is set.
27414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27416 sed_quote_subst='$sed_quote_subst'
27417 double_quote_subst='$double_quote_subst'
27418 delay_variable_subst='$delay_variable_subst'
27419 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27420 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27421 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27422 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27423 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27424 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27425 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27426 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27427 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27428 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27429 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27430 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27431 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27432 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27433 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27434 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27435 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27436 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27437 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27438 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27439 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27440 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27441 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27442 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27443 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27444 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27445 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27446 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27447 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27448 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27449 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27450 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27451 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27452 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27453 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27454 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27455 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27456 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27457 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27458 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27459 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27460 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27461 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27462 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27463 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27464 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27465 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27466 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27467 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"`'
27468 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27469 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27470 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27471 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27472 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27473 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27474 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27475 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27476 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27477 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27478 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27479 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27480 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27481 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27482 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27483 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27484 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27485 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27486 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27487 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27488 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27489 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27490 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27491 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27492 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27493 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27494 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27495 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27496 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27497 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27498 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27499 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27500 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27501 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27502 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27503 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27504 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27505 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27506 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27507 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27508 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27509 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27510 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27511 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27512 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27513 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27514 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27515 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27516 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27517 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27518 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27519 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27520 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27521 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27522 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27523 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27524 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27525 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27526 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27527 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27528 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27529 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27530 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27531 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27532 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27533 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27534 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27535 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27536 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27537 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27538 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27539 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27540 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27541 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27542 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27543 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27544 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27545 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27546 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27547 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27548 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27549 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27550 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27551 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27552 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27553 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27554 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27555 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27556 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27557 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27558 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27559 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27560 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27561 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27562 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27563 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27564 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27565 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27566 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27567 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27568 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27569 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27570 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27571 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27572 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27573 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27574 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27575 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27576 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27577 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27578 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27579 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27580 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27581 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27582 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27583 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27584 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27585 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27586 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27587 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27588 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27589 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27590 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27591 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27592 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27593 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27596 LTCFLAGS='$LTCFLAGS'
27597 compiler='$compiler_DEFAULT'
27599 # A function that is used when there is no print builtin or printf.
27600 func_fallback_echo ()
27602 eval 'cat <<_LTECHO_EOF
27607 # Quote evaled strings.
27621 deplibs_check_method \
27630 lt_cv_sys_global_symbol_pipe \
27631 lt_cv_sys_global_symbol_to_cdecl \
27632 lt_cv_sys_global_symbol_to_c_name_address \
27633 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27634 lt_prog_compiler_no_builtin_flag \
27635 lt_prog_compiler_wl \
27636 lt_prog_compiler_pic \
27637 lt_prog_compiler_static \
27638 lt_cv_prog_compiler_c_o \
27646 export_dynamic_flag_spec \
27647 whole_archive_flag_spec \
27648 compiler_needs_object \
27650 allow_undefined_flag \
27651 no_undefined_flag \
27652 hardcode_libdir_flag_spec \
27653 hardcode_libdir_flag_spec_ld \
27654 hardcode_libdir_separator \
27659 variables_saved_for_relink \
27661 library_names_spec \
27663 install_override_mode \
27667 compiler_lib_search_dirs \
27672 compiler_lib_search_path \
27676 lt_prog_compiler_no_builtin_flag_FC \
27677 lt_prog_compiler_wl_FC \
27678 lt_prog_compiler_pic_FC \
27679 lt_prog_compiler_static_FC \
27680 lt_cv_prog_compiler_c_o_FC \
27681 export_dynamic_flag_spec_FC \
27682 whole_archive_flag_spec_FC \
27683 compiler_needs_object_FC \
27685 allow_undefined_flag_FC \
27686 no_undefined_flag_FC \
27687 hardcode_libdir_flag_spec_FC \
27688 hardcode_libdir_flag_spec_ld_FC \
27689 hardcode_libdir_separator_FC \
27690 fix_srcfile_path_FC \
27691 exclude_expsyms_FC \
27692 include_expsyms_FC \
27693 file_list_spec_FC \
27694 compiler_lib_search_dirs_FC \
27695 predep_objects_FC \
27696 postdep_objects_FC \
27699 compiler_lib_search_path_FC; do
27700 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27701 *[\\\\\\\`\\"\\\$]*)
27702 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27705 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27710 # Double-quote double-evaled strings.
27711 for var in reload_cmds \
27712 old_postinstall_cmds \
27713 old_postuninstall_cmds \
27715 extract_expsyms_cmds \
27716 old_archive_from_new_cmds \
27717 old_archive_from_expsyms_cmds \
27719 archive_expsym_cmds \
27721 module_expsym_cmds \
27722 export_symbols_cmds \
27725 postuninstall_cmds \
27727 sys_lib_search_path_spec \
27728 sys_lib_dlsearch_path_spec \
27730 old_archive_cmds_FC \
27731 old_archive_from_new_cmds_FC \
27732 old_archive_from_expsyms_cmds_FC \
27734 archive_expsym_cmds_FC \
27736 module_expsym_cmds_FC \
27737 export_symbols_cmds_FC \
27738 prelink_cmds_FC; do
27739 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27740 *[\\\\\\\`\\"\\\$]*)
27741 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27744 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27749 ac_aux_dir='$ac_aux_dir'
27750 xsi_shell='$xsi_shell'
27751 lt_shell_append='$lt_shell_append'
27753 # See if we are running on zsh, and set the options which allow our
27754 # commands through without removal of \ escapes INIT.
27755 if test -n "\${ZSH_VERSION+set}" ; then
27756 setopt NO_GLOB_SUBST
27762 TIMESTAMP='$TIMESTAMP'
27773 acx_cv_header_stdint="$acx_cv_header_stdint"
27774 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27775 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27776 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27777 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27778 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27779 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27780 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27781 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27782 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27783 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27784 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27785 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27786 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27793 # Handling of arguments.
27794 for ac_config_target
in $ac_config_targets
27796 case $ac_config_target in
27797 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27798 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27799 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27800 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27801 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27802 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27803 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27805 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27810 # If the user did not use the arguments to specify the items to instantiate,
27811 # then the envvar interface is used. Set only those that are not.
27812 # We use the long form for the default assignment because of an extremely
27813 # bizarre bug on SunOS 4.1.3.
27814 if $ac_need_defaults; then
27815 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27816 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27820 # Have a temporary directory for convenience. Make it in the build tree
27821 # simply because there is no reason against having it here, and in addition,
27822 # creating and moving files from /tmp can sometimes cause problems.
27823 # Hook for its removal unless debugging.
27824 # Note that there is a small window in which the directory will not be cleaned:
27825 # after its creation but before its name has been assigned to `$tmp'.
27829 trap 'exit_status=$?
27830 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27832 trap 'as_fn_exit 1' 1 2 13 15
27834 # Create a (secure) tmp directory for tmp files.
27837 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27838 test -n "$tmp" && test -d "$tmp"
27841 tmp
=.
/conf$$
-$RANDOM
27842 (umask 077 && mkdir
"$tmp")
27843 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27845 # Set up the scripts for CONFIG_FILES section.
27846 # No need to generate them if there are no CONFIG_FILES.
27847 # This happens for instance with `./config.status config.h'.
27848 if test -n "$CONFIG_FILES"; then
27851 ac_cr
=`echo X | tr X '\015'`
27852 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27853 # But we know of no other shell where ac_cr would be empty at this
27854 # point, so we can use a bashism as a fallback.
27855 if test "x$ac_cr" = x
; then
27856 eval ac_cr
=\$
\'\\r
\'
27858 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27859 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27862 ac_cs_awk_cr
=$ac_cr
27865 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27870 echo "cat >conf$$subs.awk <<_ACEOF" &&
27871 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27873 } >conf$$subs.sh ||
27874 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27875 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27877 for ac_last_try in false false false false false :; do
27878 . ./conf$$subs.sh ||
27879 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27881 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27882 if test $ac_delim_n = $ac_delim_num; then
27884 elif $ac_last_try; then
27885 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27887 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27890 rm -f conf$$subs.sh
27892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27893 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27897 s/^/S["/; s
/!.
*/"]=/
27907 s/\(.\{148\}\).*/\1/
27909 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27914 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27921 s/\(.\{148\}\).*/\1/
27923 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27927 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27932 ' <conf$$subs.awk | sed '
27937 ' >>$CONFIG_STATUS || ac_write_fail=1
27938 rm -f conf$$subs.awk
27939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27941 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27942 for (key in S) S_is_set[key] = 1
27948 nfields = split(line, field, "@
")
27950 len = length(field[1])
27951 for (i = 2; i < nfields; i++) {
27953 keylen = length(key)
27954 if (S_is_set[key]) {
27956 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27957 len += length(value) + length(field[++i])
27968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27969 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27970 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27973 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27974 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27977 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27978 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27979 # trailing colons and then remove the whole line if VPATH becomes empty
27980 # (actually we leave an empty line to preserve line numbers).
27981 if test "x
$srcdir" = x.; then
27982 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27983 s/:*\$(srcdir):*/:/
27984 s/:*\${srcdir}:*/:/
27986 s/^\([^=]*=[ ]*\):*/\1/
27992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27993 fi # test -n "$CONFIG_FILES"
27995 # Set up the scripts for CONFIG_HEADERS section.
27996 # No need to generate them if there are no CONFIG_HEADERS.
27997 # This happens for instance with `./config.status Makefile'.
27998 if test -n "$CONFIG_HEADERS"; then
27999 cat >"$tmp/defines.
awk" <<\_ACAWK ||
28003 # Transform confdefs.h into an awk script `defines.awk', embedded as
28004 # here-document in config.status, that substitutes the proper values into
28005 # config.h.in to produce config.h.
28007 # Create a delimiter string that does not exist in confdefs.h, to ease
28008 # handling of long lines.
28010 for ac_last_try in false false :; do
28011 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
28012 if test -z "$ac_t"; then
28014 elif $ac_last_try; then
28015 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
28017 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28021 # For the awk script, D is an array of macro values keyed by name,
28022 # likewise P contains macro parameters if any. Preserve backslash
28023 # newline sequences.
28025 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28027 s/.\{148\}/&'"$ac_delim"'/g
28030 s/^[ ]*#[ ]*define[ ][ ]*/ /
28037 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28039 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28043 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28044 D["\
1"]=" \
3\\\\\\n
"\\/p
28046 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28051 s/.\{148\}/&'"$ac_delim"'/g
28056 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28059 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28061 ' <confdefs.h | sed '
28062 s/'"$ac_delim"'/"\\\
28063 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28066 for (key in D) D_is_set[key] = 1
28069 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28071 split(line, arg, " ")
28072 if (arg[1] == "#") {
28076 defundef
= substr
(arg
[1], 2)
28079 split(mac1
, mac2
, "(") #)
28081 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28082 if (D_is_set
[macro
]) {
28083 # Preserve the white space surrounding the "#".
28084 print prefix
"define", macro P
[macro
] D
[macro
]
28087 # Replace #undef with comments. This is necessary, for example,
28088 # in the case of _POSIX_SOURCE, which is predefined and required
28089 # on some systems where configure will not decide to define it.
28090 if (defundef
== "undef") {
28091 print
"/*", prefix defundef
, macro
, "*/"
28099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28100 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28101 fi # test -n "$CONFIG_HEADERS"
28104 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28109 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28111 case $ac_mode$ac_tag in
28113 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28114 :[FH
]-) ac_tag
=-:-;;
28115 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28132 -) ac_f
="$tmp/stdin";;
28133 *) # Look for the file first in the build tree, then in the source tree
28134 # (if the path is not absolute). The absolute path cannot be DOS-style,
28135 # because $ac_f cannot contain `:'.
28139 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28141 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28143 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28144 as_fn_append ac_file_inputs
" '$ac_f'"
28147 # Let's still pretend it is `configure' which instantiates (i.e., don't
28148 # use $as_me), people would be surprised to read:
28149 # /* config.h. Generated by config.status. */
28150 configure_input
='Generated from '`
28151 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28153 if test x
"$ac_file" != x-
; then
28154 configure_input
="$ac_file. $configure_input"
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28156 $as_echo "$as_me: creating $ac_file" >&6;}
28158 # Neutralize special characters interpreted by sed in replacement strings.
28159 case $configure_input in #(
28160 *\
&* |
*\|
* |
*\\* )
28161 ac_sed_conf_input
=`$as_echo "$configure_input" |
28162 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28163 *) ac_sed_conf_input
=$configure_input;;
28167 *:-:* |
*:-) cat >"$tmp/stdin" \
28168 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28173 ac_dir
=`$as_dirname -- "$ac_file" ||
28174 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28175 X"$ac_file" : 'X\(//\)[^/]' \| \
28176 X"$ac_file" : 'X\(//\)$' \| \
28177 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28178 $as_echo X"$ac_file" |
28179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28183 /^X\(\/\/\)[^/].*/{
28196 as_dir
="$ac_dir"; as_fn_mkdir_p
28200 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28202 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28203 # A ".." for each directory in $ac_dir_suffix.
28204 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28205 case $ac_top_builddir_sub in
28206 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28207 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28210 ac_abs_top_builddir
=$ac_pwd
28211 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28212 # for backward compatibility:
28213 ac_top_builddir
=$ac_top_build_prefix
28216 .
) # We are building in place.
28218 ac_top_srcdir
=$ac_top_builddir_sub
28219 ac_abs_top_srcdir
=$ac_pwd ;;
28220 [\\/]* | ?
:[\\/]* ) # Absolute name.
28221 ac_srcdir
=$srcdir$ac_dir_suffix;
28222 ac_top_srcdir
=$srcdir
28223 ac_abs_top_srcdir
=$srcdir ;;
28224 *) # Relative name.
28225 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28226 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28227 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28229 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28239 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28240 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28242 ac_MKDIR_P
=$MKDIR_P
28244 [\\/$
]* | ?
:[\\/]* ) ;;
28245 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28250 # If the template does not know about datarootdir, expand it.
28251 # FIXME: This hack should be removed a few years after 2.60.
28252 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28263 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28264 *datarootdir
*) ac_datarootdir_seen
=yes;;
28265 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28267 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28270 ac_datarootdir_hack='
28271 s&@datadir@&$datadir&g
28272 s&@docdir@&$docdir&g
28273 s&@infodir@&$infodir&g
28274 s&@localedir@&$localedir&g
28275 s&@mandir@&$mandir&g
28276 s&\\\${datarootdir}&$datarootdir&g' ;;
28280 # Neutralize VPATH when `$srcdir' = `.'.
28281 # Shell code in configure.ac might set extrasub.
28282 # FIXME: do we really want to maintain this feature?
28283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28284 ac_sed_extra="$ac_vpsub
28287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28289 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28290 s|@configure_input@|
$ac_sed_conf_input|
;t t
28291 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28292 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28293 s
&@srcdir@
&$ac_srcdir&;t t
28294 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28295 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28296 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28297 s
&@builddir@
&$ac_builddir&;t t
28298 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28299 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28300 s
&@INSTALL@
&$ac_INSTALL&;t t
28301 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28302 $ac_datarootdir_hack
28304 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28305 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28307 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28308 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28309 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28311 which seems to be undefined. Please make sure it is defined." >&5
28312 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28313 which seems to be undefined. Please make sure it is defined." >&2;}
28317 -) cat "$tmp/out" && rm -f "$tmp/out";;
28318 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28320 || as_fn_error "could not create $ac_file" "$LINENO" 5
28326 if test x"$ac_file" != x-; then
28328 $as_echo "/* $configure_input */" \
28329 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28330 } >"$tmp/config.h" \
28331 || as_fn_error "could not create $ac_file" "$LINENO" 5
28332 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28334 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28337 mv "$tmp/config.h" "$ac_file" \
28338 || as_fn_error "could not create $ac_file" "$LINENO" 5
28341 $as_echo "/* $configure_input */" \
28342 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28343 || as_fn_error "could not create -" "$LINENO" 5
28345 # Compute "$ac_file"'s index
in $config_headers.
28348 for _am_header
in $config_headers :; do
28349 case $_am_header in
28350 $_am_arg |
$_am_arg:* )
28353 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28356 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28357 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28358 X"$_am_arg" : 'X\(//\)[^/]' \| \
28359 X"$_am_arg" : 'X\(//\)$' \| \
28360 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28361 $as_echo X"$_am_arg" |
28362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28366 /^X\(\/\/\)[^/].*/{
28378 s/.*/./; q'`/stamp-h
$_am_stamp_count
28381 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28382 $as_echo "$as_me: executing $ac_file commands" >&6;}
28387 case $ac_file$ac_mode in
28389 # Only add multilib support code if we just rebuilt the top-level
28391 case " $CONFIG_FILES " in
28393 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28396 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28397 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28398 # are listed without --file. Let's play safe and only enable the eval
28399 # if we detect the quoting.
28400 case $CONFIG_FILES in
28401 *\'*) eval set x
"$CONFIG_FILES" ;;
28402 *) set x
$CONFIG_FILES ;;
28407 # Strip MF so we end up with the name of the file.
28408 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28409 # Check whether this is an Automake generated Makefile or not.
28410 # We used to match only the files named `Makefile.in', but
28411 # some people rename them; so instead we look at the file content.
28412 # Grep'ing the first line is not enough: some people post-process
28413 # each Makefile.in and add a new line on top of each file to say so.
28414 # Grep'ing the whole file is not good either: AIX grep has a line
28415 # limit of 2048, but all sed's we know have understand at least 4000.
28416 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28417 dirpart
=`$as_dirname -- "$mf" ||
28418 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28419 X"$mf" : 'X\(//\)[^/]' \| \
28420 X"$mf" : 'X\(//\)$' \| \
28421 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28427 /^X\(\/\/\)[^/].*/{
28443 # Extract the definition of DEPDIR, am__include, and am__quote
28444 # from the Makefile without running `make'.
28445 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28446 test -z "$DEPDIR" && continue
28447 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28448 test -z "am__include" && continue
28449 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28450 # When using ansi2knr, U may be empty or an underscore; expand it
28451 U
=`sed -n 's/^U = //p' < "$mf"`
28452 # Find all dependency output files, they are included files with
28453 # $(DEPDIR) in their names. We invoke sed twice because it is the
28454 # simplest approach to changing $(DEPDIR) to its actual value in the
28456 for file in `sed -n "
28457 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28458 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28459 # Make sure the directory exists.
28460 test -f "$dirpart/$file" && continue
28461 fdir
=`$as_dirname -- "$file" ||
28462 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28463 X"$file" : 'X\(//\)[^/]' \| \
28464 X"$file" : 'X\(//\)$' \| \
28465 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28466 $as_echo X"$file" |
28467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28471 /^X\(\/\/\)[^/].*/{
28484 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28485 # echo "creating $dirpart/$file"
28486 echo '# dummy' > "$dirpart/$file"
28493 # See if we are running on zsh, and set the options which allow our
28494 # commands through without removal of \ escapes.
28495 if test -n "${ZSH_VERSION+set}" ; then
28496 setopt NO_GLOB_SUBST
28499 cfgfile
="${ofile}T"
28500 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28503 cat <<_LT_EOF >> "$cfgfile"
28506 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28507 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28508 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28509 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28511 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28512 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28513 # Written by Gordon Matzigkeit, 1996
28515 # This file is part of GNU Libtool.
28517 # GNU Libtool is free software; you can redistribute it and/or
28518 # modify it under the terms of the GNU General Public License as
28519 # published by the Free Software Foundation; either version 2 of
28520 # the License, or (at your option) any later version.
28522 # As a special exception to the GNU General Public License,
28523 # if you distribute this file as part of a program or library that
28524 # is built using GNU Libtool, you may include this file under the
28525 # same distribution terms that you use for the rest of that program.
28527 # GNU Libtool is distributed in the hope that it will be useful,
28528 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28529 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28530 # GNU General Public License for more details.
28532 # You should have received a copy of the GNU General Public License
28533 # along with GNU Libtool; see the file COPYING. If not, a copy
28534 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28535 # obtained by writing to the Free Software Foundation, Inc.,
28536 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28539 # The names of the tagged configurations supported by this script.
28540 available_tags="FC "
28542 # ### BEGIN LIBTOOL CONFIG
28544 # A sed program that does not truncate output.
28547 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28548 Xsed="\$SED -e 1s/^X//"
28550 # A grep program that handles long lines.
28556 # A literal string matcher.
28559 # Shell to use when invoking shell scripts.
28562 # An echo program that protects backslashes.
28565 # Which release of libtool.m4 was used?
28566 macro_version=$macro_version
28567 macro_revision=$macro_revision
28569 # Whether or not to build shared libraries.
28570 build_libtool_libs=$enable_shared
28572 # Whether or not to build static libraries.
28573 build_old_libs=$enable_static
28575 # What type of objects to build.
28578 # Whether or not to optimize for fast installation.
28579 fast_install=$enable_fast_install
28582 host_alias=$host_alias
28586 # The build system.
28587 build_alias=$build_alias
28591 # A BSD- or MS-compatible name lister.
28594 # Whether we need soft or hard links.
28597 # What is the maximum length of a command?
28598 max_cmd_len=$max_cmd_len
28600 # Object file suffix (normally "o").
28603 # Executable file suffix (normally "").
28606 # whether the shell understands "unset".
28609 # turn spaces into newlines.
28612 # turn newlines into spaces.
28615 # An object symbol dumper.
28616 OBJDUMP=$lt_OBJDUMP
28618 # Method to check whether dependent libraries are shared objects.
28619 deplibs_check_method=$lt_deplibs_check_method
28621 # Command to use when deplibs_check_method == "file_magic".
28622 file_magic_cmd=$lt_file_magic_cmd
28626 AR_FLAGS=$lt_AR_FLAGS
28628 # A symbol stripping program.
28631 # Commands used to install an old-style archive.
28633 old_postinstall_cmds=$lt_old_postinstall_cmds
28634 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28636 # Whether to use a lock for old archive extraction.
28637 lock_old_archive_extraction=$lock_old_archive_extraction
28642 # LTCC compiler flags.
28643 LTCFLAGS=$lt_CFLAGS
28645 # Take the output of nm and produce a listing of raw symbols and C names.
28646 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28648 # Transform the output of nm in a proper C declaration.
28649 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28651 # Transform the output of nm in a C name address pair.
28652 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28654 # Transform the output of nm in a C name address pair when lib prefix is needed.
28655 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28657 # The name of the directory that contains temporary libtool files.
28660 # Used to examine libraries when file_magic_cmd begins with "file".
28661 MAGIC_CMD=$MAGIC_CMD
28663 # Must we lock files when doing compilation?
28664 need_locks=$lt_need_locks
28666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28667 DSYMUTIL=$lt_DSYMUTIL
28669 # Tool to change global to local symbols on Mac OS X.
28672 # Tool to manipulate fat objects and archives on Mac OS X.
28675 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28678 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28679 OTOOL64=$lt_OTOOL64
28681 # Old archive suffix (normally "a").
28684 # Shared library suffix (normally ".so").
28685 shrext_cmds=$lt_shrext_cmds
28687 # The commands to extract the exported symbol list from a shared archive.
28688 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28690 # Variables whose values should be saved in libtool wrapper scripts and
28691 # restored at link time.
28692 variables_saved_for_relink=$lt_variables_saved_for_relink
28694 # Do we need the "lib" prefix for modules?
28695 need_lib_prefix=$need_lib_prefix
28697 # Do we need a version for libraries?
28698 need_version=$need_version
28700 # Library versioning type.
28701 version_type=$version_type
28703 # Shared library runtime path variable.
28704 runpath_var=$runpath_var
28706 # Shared library path variable.
28707 shlibpath_var=$shlibpath_var
28709 # Is shlibpath searched before the hard-coded library search path?
28710 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28712 # Format of library name prefix.
28713 libname_spec=$lt_libname_spec
28715 # List of archive names. First name is the real one, the rest are links.
28716 # The last name is the one that the linker finds with -lNAME
28717 library_names_spec=$lt_library_names_spec
28719 # The coded name of the library, if different from the real name.
28720 soname_spec=$lt_soname_spec
28722 # Permission mode override for installation of shared libraries.
28723 install_override_mode=$lt_install_override_mode
28725 # Command to use after installation of a shared archive.
28726 postinstall_cmds=$lt_postinstall_cmds
28728 # Command to use after uninstallation of a shared archive.
28729 postuninstall_cmds=$lt_postuninstall_cmds
28731 # Commands used to finish a libtool library installation in a directory.
28732 finish_cmds=$lt_finish_cmds
28734 # As "finish_cmds", except a single script fragment to be evaled but
28736 finish_eval=$lt_finish_eval
28738 # Whether we should hardcode library paths into libraries.
28739 hardcode_into_libs=$hardcode_into_libs
28741 # Compile-time system search path for libraries.
28742 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28744 # Run-time system search path for libraries.
28745 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28747 # Whether dlopen is supported.
28748 dlopen_support=$enable_dlopen
28750 # Whether dlopen of programs is supported.
28751 dlopen_self=$enable_dlopen_self
28753 # Whether dlopen of statically linked programs is supported.
28754 dlopen_self_static=$enable_dlopen_self_static
28756 # Commands to strip libraries.
28757 old_striplib=$lt_old_striplib
28758 striplib=$lt_striplib
28761 # The linker used to build libraries.
28764 # How to create reloadable object files.
28765 reload_flag=$lt_reload_flag
28766 reload_cmds=$lt_reload_cmds
28768 # Commands used to build an old-style archive.
28769 old_archive_cmds=$lt_old_archive_cmds
28771 # A language specific compiler.
28774 # Is the compiler the GNU compiler?
28777 # Compiler flag to turn off builtin functions.
28778 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28780 # How to pass a linker flag through the compiler.
28781 wl=$lt_lt_prog_compiler_wl
28783 # Additional compiler flags for building library objects.
28784 pic_flag=$lt_lt_prog_compiler_pic
28786 # Compiler flag to prevent dynamic linking.
28787 link_static_flag=$lt_lt_prog_compiler_static
28789 # Does compiler simultaneously support -c and -o options?
28790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28792 # Whether or not to add -lc for building shared libraries.
28793 build_libtool_need_lc=$archive_cmds_need_lc
28795 # Whether or not to disallow shared libs when runtime libs are static.
28796 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28798 # Compiler flag to allow reflexive dlopens.
28799 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28801 # Compiler flag to generate shared objects directly from archives.
28802 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28804 # Whether the compiler copes with passing no objects directly.
28805 compiler_needs_object=$lt_compiler_needs_object
28807 # Create an old-style archive from a shared archive.
28808 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28810 # Create a temporary old-style archive to link instead of a shared archive.
28811 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28813 # Commands used to build a shared archive.
28814 archive_cmds=$lt_archive_cmds
28815 archive_expsym_cmds=$lt_archive_expsym_cmds
28817 # Commands used to build a loadable module if different from building
28818 # a shared archive.
28819 module_cmds=$lt_module_cmds
28820 module_expsym_cmds=$lt_module_expsym_cmds
28822 # Whether we are building with GNU ld or not.
28823 with_gnu_ld=$lt_with_gnu_ld
28825 # Flag that allows shared libraries with undefined symbols to be built.
28826 allow_undefined_flag=$lt_allow_undefined_flag
28828 # Flag that enforces no undefined symbols.
28829 no_undefined_flag=$lt_no_undefined_flag
28831 # Flag to hardcode \$libdir into a binary during linking.
28832 # This must work even if \$libdir does not exist
28833 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28835 # If ld is used when linking, flag to hardcode \$libdir into a binary
28836 # during linking. This must work even if \$libdir does not exist.
28837 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28839 # Whether we need a single "-rpath" flag with a separated argument.
28840 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28842 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28843 # DIR into the resulting binary.
28844 hardcode_direct=$hardcode_direct
28846 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28847 # DIR into the resulting binary and the resulting library dependency is
28848 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28849 # library is relocated.
28850 hardcode_direct_absolute=$hardcode_direct_absolute
28852 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28853 # into the resulting binary.
28854 hardcode_minus_L=$hardcode_minus_L
28856 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28857 # into the resulting binary.
28858 hardcode_shlibpath_var=$hardcode_shlibpath_var
28860 # Set to "yes" if building a shared library automatically hardcodes DIR
28861 # into the library and all subsequent libraries and executables linked
28863 hardcode_automatic=$hardcode_automatic
28865 # Set to yes if linker adds runtime paths of dependent libraries
28866 # to runtime path list.
28867 inherit_rpath=$inherit_rpath
28869 # Whether libtool must link a program against all its dependency libraries.
28870 link_all_deplibs=$link_all_deplibs
28872 # Fix the shell variable \$srcfile for the compiler.
28873 fix_srcfile_path=$lt_fix_srcfile_path
28875 # Set to "yes" if exported symbols are required.
28876 always_export_symbols=$always_export_symbols
28878 # The commands to list exported symbols.
28879 export_symbols_cmds=$lt_export_symbols_cmds
28881 # Symbols that should not be listed in the preloaded symbols.
28882 exclude_expsyms=$lt_exclude_expsyms
28884 # Symbols that must always be exported.
28885 include_expsyms=$lt_include_expsyms
28887 # Commands necessary for linking programs (against libraries) with templates.
28888 prelink_cmds=$lt_prelink_cmds
28890 # Specify filename containing input files.
28891 file_list_spec=$lt_file_list_spec
28893 # How to hardcode a shared library path into an executable.
28894 hardcode_action=$hardcode_action
28896 # The directories searched by this compiler when creating a shared library.
28897 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28899 # Dependencies to place before and after the objects being linked to
28900 # create a shared library.
28901 predep_objects=$lt_predep_objects
28902 postdep_objects=$lt_postdep_objects
28903 predeps=$lt_predeps
28904 postdeps=$lt_postdeps
28906 # The library search path used internally by the compiler when linking
28907 # a shared library.
28908 compiler_lib_search_path=$lt_compiler_lib_search_path
28910 # ### END LIBTOOL CONFIG
28916 cat <<\_LT_EOF
>> "$cfgfile"
28917 # AIX sometimes has problems with the GCC collect2 program. For some
28918 # reason, if we set the COLLECT_NAMES environment variable, the problems
28919 # vanish in a puff of smoke.
28920 if test "X${COLLECT_NAMES+set}" != Xset
; then
28922 export COLLECT_NAMES
28929 ltmain
="$ac_aux_dir/ltmain.sh"
28932 # We use sed instead of cat because bash on DJGPP gets confused if
28933 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28934 # text mode, it properly converts lines to CR/LF. This bash problem
28935 # is reportedly fixed, but why not run on old versions too?
28936 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28937 ||
(rm -f "$cfgfile"; exit 1)
28941 cat << \_LT_EOF
>> "$cfgfile"
28943 # func_dirname file append nondir_replacement
28944 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28945 # otherwise set result to NONDIR_REPLACEMENT.
28949 */*) func_dirname_result
="${1%/*}${2}" ;;
28950 * ) func_dirname_result
="${3}" ;;
28954 # func_basename file
28957 func_basename_result
="${1##*/}"
28960 # func_dirname_and_basename file append nondir_replacement
28961 # perform func_basename and func_dirname in a single function
28963 # dirname: Compute the dirname of FILE. If nonempty,
28964 # add APPEND to the result, otherwise set result
28965 # to NONDIR_REPLACEMENT.
28966 # value returned in "$func_dirname_result"
28967 # basename: Compute filename of FILE.
28968 # value retuned in "$func_basename_result"
28969 # Implementation must be kept synchronized with func_dirname
28970 # and func_basename. For efficiency, we do not delegate to
28971 # those functions but instead duplicate the functionality here.
28972 func_dirname_and_basename
()
28975 */*) func_dirname_result
="${1%/*}${2}" ;;
28976 * ) func_dirname_result
="${3}" ;;
28978 func_basename_result
="${1##*/}"
28981 # func_stripname prefix suffix name
28982 # strip PREFIX and SUFFIX off of NAME.
28983 # PREFIX and SUFFIX must not contain globbing or regex special
28984 # characters, hashes, percent signs, but SUFFIX may contain a leading
28985 # dot (in which case that matches only a dot).
28988 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28989 # positional parameters, so assign one to ordinary parameter first.
28990 func_stripname_result
=${3}
28991 func_stripname_result
=${func_stripname_result#"${1}"}
28992 func_stripname_result
=${func_stripname_result%"${2}"}
28998 func_opt_split_opt
=${1%%=*}
28999 func_opt_split_arg
=${1#*=}
29006 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29007 *) func_lo2o_result
=${1} ;;
29011 # func_xform libobj-or-source
29014 func_xform_result
=${1%.*}.lo
29017 # func_arith arithmetic-term...
29020 func_arith_result
=$
(( $
* ))
29024 # STRING may not start with a hyphen.
29027 func_len_result
=${#1}
29032 *) # Bourne compatible functions.
29033 cat << \_LT_EOF
>> "$cfgfile"
29035 # func_dirname file append nondir_replacement
29036 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29037 # otherwise set result to NONDIR_REPLACEMENT.
29040 # Extract subdirectory from the argument.
29041 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29042 if test "X$func_dirname_result" = "X${1}"; then
29043 func_dirname_result
="${3}"
29045 func_dirname_result
="$func_dirname_result${2}"
29049 # func_basename file
29052 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29056 # func_stripname prefix suffix name
29057 # strip PREFIX and SUFFIX off of NAME.
29058 # PREFIX and SUFFIX must not contain globbing or regex special
29059 # characters, hashes, percent signs, but SUFFIX may contain a leading
29060 # dot (in which case that matches only a dot).
29061 # func_strip_suffix prefix name
29065 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29066 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29071 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29072 my_sed_long_arg
='1s/^-[^=]*=//'
29077 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29078 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29084 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29087 # func_xform libobj-or-source
29090 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29093 # func_arith arithmetic-term...
29096 func_arith_result
=`expr "$@"`
29100 # STRING may not start with a hyphen.
29103 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29109 case $lt_shell_append in
29111 cat << \_LT_EOF
>> "$cfgfile"
29113 # func_append var value
29114 # Append VALUE to the end of shell variable VAR.
29122 cat << \_LT_EOF
>> "$cfgfile"
29124 # func_append var value
29125 # Append VALUE to the end of shell variable VAR.
29136 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29137 ||
(rm -f "$cfgfile"; exit 1)
29139 mv -f "$cfgfile" "$ofile" ||
29140 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29144 cat <<_LT_EOF >> "$ofile"
29146 # ### BEGIN LIBTOOL TAG CONFIG: FC
29148 # The linker used to build libraries.
29151 # How to create reloadable object files.
29152 reload_flag=$lt_reload_flag_FC
29153 reload_cmds=$lt_reload_cmds_FC
29155 # Commands used to build an old-style archive.
29156 old_archive_cmds=$lt_old_archive_cmds_FC
29158 # A language specific compiler.
29161 # Is the compiler the GNU compiler?
29164 # Compiler flag to turn off builtin functions.
29165 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29167 # How to pass a linker flag through the compiler.
29168 wl=$lt_lt_prog_compiler_wl_FC
29170 # Additional compiler flags for building library objects.
29171 pic_flag=$lt_lt_prog_compiler_pic_FC
29173 # Compiler flag to prevent dynamic linking.
29174 link_static_flag=$lt_lt_prog_compiler_static_FC
29176 # Does compiler simultaneously support -c and -o options?
29177 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29179 # Whether or not to add -lc for building shared libraries.
29180 build_libtool_need_lc=$archive_cmds_need_lc_FC
29182 # Whether or not to disallow shared libs when runtime libs are static.
29183 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29185 # Compiler flag to allow reflexive dlopens.
29186 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29188 # Compiler flag to generate shared objects directly from archives.
29189 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29191 # Whether the compiler copes with passing no objects directly.
29192 compiler_needs_object=$lt_compiler_needs_object_FC
29194 # Create an old-style archive from a shared archive.
29195 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29197 # Create a temporary old-style archive to link instead of a shared archive.
29198 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29200 # Commands used to build a shared archive.
29201 archive_cmds=$lt_archive_cmds_FC
29202 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29204 # Commands used to build a loadable module if different from building
29205 # a shared archive.
29206 module_cmds=$lt_module_cmds_FC
29207 module_expsym_cmds=$lt_module_expsym_cmds_FC
29209 # Whether we are building with GNU ld or not.
29210 with_gnu_ld=$lt_with_gnu_ld_FC
29212 # Flag that allows shared libraries with undefined symbols to be built.
29213 allow_undefined_flag=$lt_allow_undefined_flag_FC
29215 # Flag that enforces no undefined symbols.
29216 no_undefined_flag=$lt_no_undefined_flag_FC
29218 # Flag to hardcode \$libdir into a binary during linking.
29219 # This must work even if \$libdir does not exist
29220 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29222 # If ld is used when linking, flag to hardcode \$libdir into a binary
29223 # during linking. This must work even if \$libdir does not exist.
29224 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29226 # Whether we need a single "-rpath" flag with a separated argument.
29227 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29229 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29230 # DIR into the resulting binary.
29231 hardcode_direct=$hardcode_direct_FC
29233 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29234 # DIR into the resulting binary and the resulting library dependency is
29235 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29236 # library is relocated.
29237 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29239 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29240 # into the resulting binary.
29241 hardcode_minus_L=$hardcode_minus_L_FC
29243 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29244 # into the resulting binary.
29245 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29247 # Set to "yes" if building a shared library automatically hardcodes DIR
29248 # into the library and all subsequent libraries and executables linked
29250 hardcode_automatic=$hardcode_automatic_FC
29252 # Set to yes if linker adds runtime paths of dependent libraries
29253 # to runtime path list.
29254 inherit_rpath=$inherit_rpath_FC
29256 # Whether libtool must link a program against all its dependency libraries.
29257 link_all_deplibs=$link_all_deplibs_FC
29259 # Fix the shell variable \$srcfile for the compiler.
29260 fix_srcfile_path=$lt_fix_srcfile_path_FC
29262 # Set to "yes" if exported symbols are required.
29263 always_export_symbols=$always_export_symbols_FC
29265 # The commands to list exported symbols.
29266 export_symbols_cmds=$lt_export_symbols_cmds_FC
29268 # Symbols that should not be listed in the preloaded symbols.
29269 exclude_expsyms=$lt_exclude_expsyms_FC
29271 # Symbols that must always be exported.
29272 include_expsyms=$lt_include_expsyms_FC
29274 # Commands necessary for linking programs (against libraries) with templates.
29275 prelink_cmds=$lt_prelink_cmds_FC
29277 # Specify filename containing input files.
29278 file_list_spec=$lt_file_list_spec_FC
29280 # How to hardcode a shared library path into an executable.
29281 hardcode_action=$hardcode_action_FC
29283 # The directories searched by this compiler when creating a shared library.
29284 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29286 # Dependencies to place before and after the objects being linked to
29287 # create a shared library.
29288 predep_objects=$lt_predep_objects_FC
29289 postdep_objects=$lt_postdep_objects_FC
29290 predeps=$lt_predeps_FC
29291 postdeps=$lt_postdeps_FC
29293 # The library search path used internally by the compiler when linking
29294 # a shared library.
29295 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29297 # ### END LIBTOOL TAG CONFIG: FC
29302 if test "$GCC" = yes; then
29303 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29305 echo "/* generated for $CC */" > tmp-stdint.h
29308 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29310 #ifndef GCC_GENERATED_STDINT_H
29311 #define GCC_GENERATED_STDINT_H 1
29313 #include <sys/types.h>
29316 if test "$acx_cv_header_stdint" != stdint.h
; then
29317 echo "#include <stddef.h>" >> tmp-stdint.h
29319 if test "$acx_cv_header_stdint" != stddef.h
; then
29320 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29323 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29324 /* glibc uses these symbols as guards to prevent redefinitions. */
29325 #ifdef __int8_t_defined
29330 #ifdef __uint32_t_defined
29336 # ----------------- done header, emit basic int types -------------
29337 if test "$acx_cv_header_stdint" = stddef.h
; then
29338 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29342 #ifndef __uint8_t_defined
29343 #define __uint8_t_defined
29345 typedef unsigned $acx_cv_type_int8_t uint8_t;
29352 #ifndef __uint16_t_defined
29353 #define __uint16_t_defined
29355 typedef unsigned $acx_cv_type_int16_t uint16_t;
29362 #ifndef __uint32_t_defined
29363 #define __uint32_t_defined
29365 typedef unsigned $acx_cv_type_int32_t uint32_t;
29372 #ifndef __int8_t_defined
29373 #define __int8_t_defined
29375 typedef $acx_cv_type_int8_t int8_t;
29382 #ifndef __int16_t_defined
29383 #define __int16_t_defined
29385 typedef $acx_cv_type_int16_t int16_t;
29392 #ifndef __int32_t_defined
29393 #define __int32_t_defined
29395 typedef $acx_cv_type_int32_t int32_t;
29400 elif test "$ac_cv_type_u_int32_t" = yes; then
29401 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29403 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29416 #ifndef __uint8_t_defined
29417 #define __uint8_t_defined
29419 typedef u_int8_t uint8_t;
29426 #ifndef __uint16_t_defined
29427 #define __uint16_t_defined
29429 typedef u_int16_t uint16_t;
29436 #ifndef __uint32_t_defined
29437 #define __uint32_t_defined
29439 typedef u_int32_t uint32_t;
29445 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29447 /* Some systems have guard macros to prevent redefinitions, define them. */
29469 # ------------- done basic int types, emit int64_t types ------------
29470 if test "$ac_cv_type_uint64_t" = yes; then
29471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29473 /* system headers have good uint64_t and int64_t */
29481 elif test "$ac_cv_type_u_int64_t" = yes; then
29482 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29484 /* system headers have an u_int64_t (and int64_t) */
29490 #ifndef __uint64_t_defined
29491 #define __uint64_t_defined
29493 typedef u_int64_t uint64_t;
29498 elif test -n "$acx_cv_type_int64_t"; then
29499 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29501 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29505 typedef $acx_cv_type_int64_t int64_t;
29510 #ifndef __uint64_t_defined
29511 #define __uint64_t_defined
29513 typedef unsigned $acx_cv_type_int64_t uint64_t;
29519 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29521 /* some common heuristics for int64_t, using compiler-specific tests */
29522 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29525 #ifndef __int64_t_defined
29527 typedef long long int64_t;
29534 typedef unsigned long long uint64_t;
29538 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29539 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29540 does not implement __extension__. But that compiler doesn't define
29542 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29543 # define __extension__
29549 __extension__ typedef long long int64_t;
29555 __extension__ typedef unsigned long long uint64_t;
29559 #elif !defined __STRICT_ANSI__
29560 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29565 typedef __int64 int64_t;
29571 typedef unsigned __int64 uint64_t;
29574 # endif /* compiler */
29576 #endif /* ANSI version */
29580 # ------------- done int64_t types, emit intptr types ------------
29581 if test "$ac_cv_type_uintptr_t" != yes; then
29582 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29584 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29585 #ifndef __uintptr_t_defined
29587 typedef u$acx_cv_type_intptr_t uintptr_t;
29590 #ifndef __intptr_t_defined
29592 typedef $acx_cv_type_intptr_t intptr_t;
29598 # ------------- done intptr types, emit int_least types ------------
29599 if test "$ac_cv_type_int_least32_t" != yes; then
29600 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29602 /* Define int_least types */
29603 typedef int8_t int_least8_t;
29604 typedef int16_t int_least16_t;
29605 typedef int32_t int_least32_t;
29607 typedef int64_t int_least64_t;
29610 typedef uint8_t uint_least8_t;
29611 typedef uint16_t uint_least16_t;
29612 typedef uint32_t uint_least32_t;
29614 typedef uint64_t uint_least64_t;
29619 # ------------- done intptr types, emit int_fast types ------------
29620 if test "$ac_cv_type_int_fast32_t" != yes; then
29621 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29623 /* Define int_fast types. short is often slow */
29624 typedef int8_t int_fast8_t;
29625 typedef int int_fast16_t;
29626 typedef int32_t int_fast32_t;
29628 typedef int64_t int_fast64_t;
29631 typedef uint8_t uint_fast8_t;
29632 typedef unsigned int uint_fast16_t;
29633 typedef uint32_t uint_fast32_t;
29635 typedef uint64_t uint_fast64_t;
29640 if test "$ac_cv_type_uintmax_t" != yes; then
29641 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29643 /* Define intmax based on what we found */
29646 typedef int64_t intmax_t;
29648 typedef long intmax_t;
29653 typedef uint64_t uintmax_t;
29655 typedef unsigned long uintmax_t;
29661 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29663 #endif /* GCC_GENERATED_STDINT_H */
29666 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29669 mv -f tmp-stdint.h gstdint.h
29680 ac_clean_files
=$ac_clean_files_save
29682 test $ac_write_fail = 0 ||
29683 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29686 # configure is writing to config.log, and then calls config.status.
29687 # config.status does its own redirection, appending to config.log.
29688 # Unfortunately, on DOS this fails, as config.log is still kept open
29689 # by configure, so config.status won't be able to write to it; its
29690 # output is simply discarded. So we exec the FD to /dev/null,
29691 # effectively closing config.log, so it can be properly (re)opened and
29692 # appended to by config.status. When coming back to configure, we
29693 # need to make the FD available again.
29694 if test "$no_create" != yes; then
29696 ac_config_status_args
=
29697 test "$silent" = yes &&
29698 ac_config_status_args
="$ac_config_status_args --quiet"
29700 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29702 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29703 # would make configure fail if this is the last instruction.
29704 $ac_cs_success || as_fn_exit $?
29706 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29708 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}