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
[default
=no
]
1429 --disable-symvers disable symbol versioning
for libgfortran
1430 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1431 --enable-static[=PKGS
] build static libraries
[default
=yes]
1432 --enable-fast-install[=PKGS
]
1433 optimize
for fast installation
[default
=yes]
1434 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1435 --disable-largefile omit support
for large files
1436 --disable-libquadmath-support
1437 disable libquadmath support
for Fortran
1440 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1441 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1442 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1443 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1444 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1446 --with-gcc-major-version-only
1447 use only GCC major number
in filesystem paths
1449 Some influential environment variables
:
1450 CC C compiler
command
1451 CFLAGS C compiler flags
1452 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1453 nonstandard directory
<lib dir
>
1454 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1455 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1456 you have headers
in a nonstandard directory
<include dir
>
1458 FC Fortran compiler
command
1459 FCFLAGS Fortran compiler flags
1461 Use these variables to override the choices made by
`configure' or to help
1462 it to find libraries and programs with nonstandard names/locations.
1464 Report bugs to the package provider.
1465 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1466 General help using GNU software: <http://www.gnu.org/gethelp/>.
1471 if test "$ac_init_help" = "recursive"; then
1472 # If there are subdirs, report their specific --help.
1473 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1474 test -d "$ac_dir" ||
1475 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1480 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1483 # A ".." for each directory in $ac_dir_suffix.
1484 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1485 case $ac_top_builddir_sub in
1486 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1490 ac_abs_top_builddir=$ac_pwd
1491 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1492 # for backward compatibility:
1493 ac_top_builddir=$ac_top_build_prefix
1496 .) # We are building in place.
1498 ac_top_srcdir=$ac_top_builddir_sub
1499 ac_abs_top_srcdir=$ac_pwd ;;
1500 [\\/]* | ?:[\\/]* ) # Absolute name.
1501 ac_srcdir=$srcdir$ac_dir_suffix;
1502 ac_top_srcdir=$srcdir
1503 ac_abs_top_srcdir=$srcdir ;;
1505 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1506 ac_top_srcdir=$ac_top_build_prefix$srcdir
1507 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1509 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1511 cd "$ac_dir" || { ac_status=$?; continue; }
1512 # Check for guested configure.
1513 if test -f "$ac_srcdir/configure.gnu"; then
1515 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1516 elif test -f "$ac_srcdir/configure"; then
1518 $SHELL "$ac_srcdir/configure" --help=recursive
1520 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1522 cd "$ac_pwd" || { ac_status=$?; break; }
1526 test -n "$ac_init_help" && exit $ac_status
1527 if $ac_init_version; then
1529 GNU Fortran Runtime Library configure 0.3
1530 generated by GNU Autoconf 2.64
1532 Copyright (C) 2009 Free Software Foundation, Inc.
1533 This configure script is free software; the Free Software Foundation
1534 gives unlimited permission to copy, distribute and modify it.
1539 ## ------------------------ ##
1540 ## Autoconf initialization. ##
1541 ## ------------------------ ##
1543 # ac_fn_c_try_compile LINENO
1544 # --------------------------
1545 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1546 ac_fn_c_try_compile ()
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 rm -f conftest.$ac_objext
1550 if { { ac_try="$ac_compile"
1552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1553 *) ac_try_echo
=$ac_try;;
1555 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_compile") 2>conftest.err
1559 if test -s conftest.err
; then
1560 grep -v '^ *+' conftest.err
>conftest.er1
1561 cat conftest.er1
>&5
1562 mv -f conftest.er1 conftest.err
1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565 test $ac_status = 0; } && {
1566 test -z "$ac_c_werror_flag" ||
1567 test ! -s conftest.err
1568 } && test -s conftest.
$ac_objext; then :
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.
$ac_ext >&5
1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1579 } # ac_fn_c_try_compile
1581 # ac_fn_c_try_cpp LINENO
1582 # ----------------------
1583 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1586 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1587 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1596 if test -s conftest.err; then
1597 grep -v '^ *+' conftest.err >conftest.er1
1598 cat conftest.er1 >&5
1599 mv -f conftest.er1 conftest.err
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } >/dev/null && {
1603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1604 test ! -s conftest.err
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.$ac_ext >&5
1613 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1619 # -------------------------------------------------------
1620 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1621 # the include files in INCLUDES and setting the cache variable VAR
1623 ac_fn_c_check_header_mongrel ()
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1628 $as_echo_n "checking for $2... " >&6; }
1629 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1630 $as_echo_n "(cached) " >&6
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1634 $as_echo "$ac_res" >&6; }
1636 # Is the header compilable?
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1638 $as_echo_n "checking $2 usability... " >&6; }
1639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1640 /* end confdefs.h. */
1644 if ac_fn_c_try_compile "$LINENO"; then :
1645 ac_header_compiler=yes
1647 ac_header_compiler=no
1649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1651 $as_echo "$ac_header_compiler" >&6; }
1653 # Is the header present?
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1655 $as_echo_n "checking $2 presence... " >&6; }
1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1657 /* end confdefs.h. */
1660 if ac_fn_c_try_cpp "$LINENO"; then :
1661 ac_header_preproc=yes
1663 ac_header_preproc=no
1665 rm -f conftest.err conftest.$ac_ext
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1667 $as_echo "$ac_header_preproc" >&6; }
1669 # So? What about this header?
1670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1673 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1675 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1679 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1681 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1683 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1685 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1687 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1691 $as_echo_n "checking for $2... " >&6; }
1692 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1693 $as_echo_n "(cached) " >&6
1695 eval "$3=\$ac_header_compiler"
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1699 $as_echo "$ac_res" >&6; }
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703 } # ac_fn_c_check_header_mongrel
1705 # ac_fn_c_try_run LINENO
1706 # ----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1708 # that executables *can* be run.
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 if { { ac_try="$ac_link"
1714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1715 *) ac_try_echo
=$ac_try;;
1717 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>&5
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1723 { { case "(($ac_try" in
1724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_try") 2>&5
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; }; }; then :
1735 $as_echo "$as_me: program exited with status $ac_status" >&5
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1739 ac_retval=$ac_status
1741 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1748 # -------------------------------------------------------
1749 # Tests whether HEADER exists and can be compiled using the include files in
1750 # INCLUDES, setting the cache variable VAR accordingly.
1751 ac_fn_c_check_header_compile ()
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755 $as_echo_n "checking for $2... " >&6; }
1756 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1757 $as_echo_n "(cached) " >&6
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1764 if ac_fn_c_try_compile "$LINENO"; then :
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 $as_echo "$ac_res" >&6; }
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1776 } # ac_fn_c_check_header_compile
1778 # ac_fn_c_try_link LINENO
1779 # -----------------------
1780 # Try to link conftest.$ac_ext, and return whether this succeeded.
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 rm -f conftest.$ac_objext conftest$ac_exeext
1785 if { { ac_try="$ac_link"
1787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1788 *) ac_try_echo
=$ac_try;;
1790 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_link") 2>conftest.err
1794 if test -s conftest.err
; then
1795 grep -v '^ *+' conftest.err
>conftest.er1
1796 cat conftest.er1
>&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } && {
1801 test -z "$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1803 } && test -s conftest
$ac_exeext && {
1804 test "$cross_compiling" = yes ||
1805 $as_test_x conftest
$ac_exeext
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.
$ac_ext >&5
1814 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1815 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1816 # interfere with the next link command; also delete a directory that is
1817 # left behind by Apple's compiler. We do this before executing the actions.
1818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1822 } # ac_fn_c_try_link
1824 # ac_fn_c_check_func LINENO FUNC VAR
1825 # ----------------------------------
1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1827 ac_fn_c_check_func
()
1829 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1833 $as_echo_n "(cached) " >&6
1835 if test x
$gcc_no_link = xyes
; then
1836 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1840 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1842 #define $2 innocuous_$2
1844 /* System header to define __stub macros and hopefully few prototypes,
1845 which can conflict with char $2 (); below.
1846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1847 <limits.h> exists even on freestanding compilers. */
1850 # include <limits.h>
1852 # include <assert.h>
1857 /* Override any GCC internal prototype to avoid an error.
1858 Use char because int might match the return type of a GCC
1859 builtin and then its argument prototype would still apply. */
1864 /* The GNU C library defines this for functions which it implements
1865 to always fail with ENOSYS. Some functions are actually named
1866 something starting with __ and the normal name is an alias. */
1867 #if defined __stub_$2 || defined __stub___$2
1879 if ac_fn_c_try_link
"$LINENO"; then :
1884 rm -f core conftest.err conftest.
$ac_objext \
1885 conftest
$ac_exeext conftest.
$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889 $as_echo "$ac_res" >&6; }
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1892 } # ac_fn_c_check_func
1894 # ac_fn_fc_try_compile LINENO
1895 # ---------------------------
1896 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1897 ac_fn_fc_try_compile
()
1899 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1900 rm -f conftest.
$ac_objext
1901 if { { ac_try
="$ac_compile"
1903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1904 *) ac_try_echo=$ac_try;;
1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907 $as_echo "$ac_try_echo"; } >&5
1908 (eval "$ac_compile") 2>conftest.err
1910 if test -s conftest.err; then
1911 grep -v '^ *+' conftest.err >conftest.er1
1912 cat conftest.er1 >&5
1913 mv -f conftest.er1 conftest.err
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; } && {
1917 test -z "$ac_fc_werror_flag" ||
1918 test ! -s conftest.err
1919 } && test -s conftest.$ac_objext; then :
1922 $as_echo "$as_me: failed program was:" >&5
1923 sed 's/^/| /' conftest.$ac_ext >&5
1927 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 } # ac_fn_fc_try_compile
1932 # ac_fn_fc_try_link LINENO
1933 # ------------------------
1934 # Try to link conftest.$ac_ext, and return whether this succeeded.
1935 ac_fn_fc_try_link ()
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 rm -f conftest.$ac_objext conftest$ac_exeext
1939 if { { ac_try="$ac_link"
1941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1942 *) ac_try_echo
=$ac_try;;
1944 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1945 $as_echo "$ac_try_echo"; } >&5
1946 (eval "$ac_link") 2>conftest.err
1948 if test -s conftest.err
; then
1949 grep -v '^ *+' conftest.err
>conftest.er1
1950 cat conftest.er1
>&5
1951 mv -f conftest.er1 conftest.err
1953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1954 test $ac_status = 0; } && {
1955 test -z "$ac_fc_werror_flag" ||
1956 test ! -s conftest.err
1957 } && test -s conftest
$ac_exeext && {
1958 test "$cross_compiling" = yes ||
1959 $as_test_x conftest
$ac_exeext
1963 $as_echo "$as_me: failed program was:" >&5
1964 sed 's/^/| /' conftest.
$ac_ext >&5
1968 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1969 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1970 # interfere with the next link command; also delete a directory that is
1971 # left behind by Apple's compiler. We do this before executing the actions.
1972 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1976 } # ac_fn_fc_try_link
1978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1979 # -------------------------------------------
1980 # Tests whether TYPE exists after having included INCLUDES, setting cache
1981 # variable VAR accordingly.
1982 ac_fn_c_check_type
()
1984 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1988 $as_echo_n "(cached) " >&6
1991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h. */
2003 if ac_fn_c_try_compile
"$LINENO"; then :
2004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2016 if ac_fn_c_try_compile
"$LINENO"; then :
2021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2028 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2030 } # ac_fn_c_check_type
2032 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2033 # --------------------------------------------
2034 # Tries to find the compile-time value of EXPR in a program that includes
2035 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2037 ac_fn_c_compute_int
()
2039 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2040 if test "$cross_compiling" = yes; then
2041 # Depending upon the size, compute the lo and hi bounds.
2042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2048 static int test_array [1 - 2 * !(($2) >= 0)];
2055 if ac_fn_c_try_compile
"$LINENO"; then :
2058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2064 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2071 if ac_fn_c_try_compile
"$LINENO"; then :
2072 ac_hi
=$ac_mid; break
2074 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2075 if test $ac_lo -le $ac_mid; then
2079 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2090 static int test_array [1 - 2 * !(($2) < 0)];
2097 if ac_fn_c_try_compile
"$LINENO"; then :
2100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2106 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2113 if ac_fn_c_try_compile
"$LINENO"; then :
2114 ac_lo
=$ac_mid; break
2116 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2117 if test $ac_mid -le $ac_hi; then
2121 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2131 # Binary search between lo and hi bounds.
2132 while test "x$ac_lo" != "x$ac_hi"; do
2133 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2140 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2147 if ac_fn_c_try_compile
"$LINENO"; then :
2150 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2155 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2162 static long int longval () { return $2; }
2163 static unsigned long int ulongval () { return $2; }
2170 FILE *f = fopen ("conftest.val", "w");
2175 long int i = longval ();
2178 fprintf (f, "%ld", i);
2182 unsigned long int i = ulongval ();
2185 fprintf (f, "%lu", i);
2187 /* Do not output a trailing newline, as this causes \r\n confusion
2188 on some platforms. */
2189 return ferror (f) || fclose (f) != 0;
2195 if ac_fn_c_try_run
"$LINENO"; then :
2196 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2200 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2201 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2205 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2208 } # ac_fn_c_compute_int
2210 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2211 # ----------------------------------------------------
2212 # Tries to find if the field MEMBER exists in type AGGR, after including
2213 # INCLUDES, setting cache variable VAR accordingly.
2214 ac_fn_c_check_member
()
2216 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2218 $as_echo_n "checking for $2.$3... " >&6; }
2219 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2220 $as_echo_n "(cached) " >&6
2222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2235 if ac_fn_c_try_compile
"$LINENO"; then :
2238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2245 if (sizeof ac_aggr.$3)
2251 if ac_fn_c_try_compile
"$LINENO"; then :
2256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2262 $as_echo "$ac_res" >&6; }
2263 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2265 } # ac_fn_c_check_member
2266 cat >config.log
<<_ACEOF
2267 This file contains any messages produced by compilers while
2268 running configure, to aid debugging if configure makes a mistake.
2270 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2271 generated by GNU Autoconf 2.64. Invocation command line was
2283 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2284 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2285 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2286 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2287 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2289 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2290 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2292 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2293 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2294 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2295 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2296 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2297 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2298 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir
=.
2307 $as_echo "PATH: $as_dir"
2323 # Keep a trace of the command line.
2324 # Strip out --no-create and --no-recursion so they do not pile up.
2325 # Strip out --silent because we don't want to record it for future runs.
2326 # Also quote any args containing shell meta-characters.
2327 # Make two passes to allow for proper duplicate-argument suppression.
2331 ac_must_keep_next
=false
2337 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2338 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2339 |
-silent |
--silent |
--silen |
--sile |
--sil)
2342 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2345 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2347 as_fn_append ac_configure_args1
" '$ac_arg'"
2348 if test $ac_must_keep_next = true
; then
2349 ac_must_keep_next
=false
# Got value, back to normal.
2352 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2353 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2354 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2355 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2356 case "$ac_configure_args0 " in
2357 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2360 -* ) ac_must_keep_next
=true
;;
2363 as_fn_append ac_configure_args
" '$ac_arg'"
2368 { ac_configure_args0
=; unset ac_configure_args0
;}
2369 { ac_configure_args1
=; unset ac_configure_args1
;}
2371 # When interrupted or exit'd, cleanup temporary files, and complete
2372 # config.log. We remove comments because anyway the quotes in there
2373 # would cause problems or look ugly.
2374 # WARNING: Use '\'' to represent an apostrophe within the trap.
2375 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2376 trap 'exit_status=$?
2377 # Save into config.log some information that might help in debugging.
2382 ## ---------------- ##
2383 ## Cache variables. ##
2384 ## ---------------- ##
2387 # The following way of writing the cache mishandles newlines in values,
2389 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2390 eval ac_val=\$$ac_var
2394 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2395 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2398 _ | IFS | as_nl) ;; #(
2399 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2400 *) { eval $ac_var=; unset $ac_var;} ;;
2405 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2406 *${as_nl}ac_space=\ *)
2408 "s/'\''/'\''\\\\'\'''\''/g;
2409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2420 ## ----------------- ##
2421 ## Output variables. ##
2422 ## ----------------- ##
2425 for ac_var in $ac_subst_vars
2427 eval ac_val=\$$ac_var
2429 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2431 $as_echo "$ac_var='\''$ac_val'\''"
2435 if test -n "$ac_subst_files"; then
2437 ## ------------------- ##
2438 ## File substitutions. ##
2439 ## ------------------- ##
2442 for ac_var
in $ac_subst_files
2444 eval ac_val
=\$
$ac_var
2446 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2448 $as_echo "$ac_var='\''$ac_val'\''"
2453 if test -s confdefs.h; then
2463 test "$ac_signal" != 0 &&
2464 $as_echo "$as_me: caught signal $ac_signal"
2465 $as_echo "$as_me: exit $exit_status"
2467 rm -f core *.core core.conftest.* &&
2468 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2471 for ac_signal
in 1 2 13 15; do
2472 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2476 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2477 rm -f -r conftest
* confdefs.h
2479 $as_echo "/* confdefs.h */" > confdefs.h
2481 # Predefined preprocessor variables.
2483 cat >>confdefs.h
<<_ACEOF
2484 #define PACKAGE_NAME "$PACKAGE_NAME"
2487 cat >>confdefs.h
<<_ACEOF
2488 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2491 cat >>confdefs.h
<<_ACEOF
2492 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2495 cat >>confdefs.h
<<_ACEOF
2496 #define PACKAGE_STRING "$PACKAGE_STRING"
2499 cat >>confdefs.h
<<_ACEOF
2500 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2503 cat >>confdefs.h
<<_ACEOF
2504 #define PACKAGE_URL "$PACKAGE_URL"
2508 # Let the site file select an alternate cache file if it wants to.
2509 # Prefer an explicitly selected file to automatically selected ones.
2512 if test -n "$CONFIG_SITE"; then
2513 ac_site_file1
=$CONFIG_SITE
2514 elif test "x$prefix" != xNONE
; then
2515 ac_site_file1
=$prefix/share
/config.site
2516 ac_site_file2
=$prefix/etc
/config.site
2518 ac_site_file1
=$ac_default_prefix/share
/config.site
2519 ac_site_file2
=$ac_default_prefix/etc
/config.site
2521 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2523 test "x$ac_site_file" = xNONE
&& continue
2524 if test -r "$ac_site_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2526 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2527 sed 's/^/| /' "$ac_site_file" >&5
2532 if test -r "$cache_file"; then
2533 # Some versions of bash will fail to source /dev/null (special
2534 # files actually), so we avoid doing that.
2535 if test -f "$cache_file"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2537 $as_echo "$as_me: loading cache $cache_file" >&6;}
2539 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2540 *) .
"./$cache_file";;
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2545 $as_echo "$as_me: creating cache $cache_file" >&6;}
2549 as_fn_append ac_header_list
" unistd.h"
2550 as_fn_append ac_header_list
" sys/random.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/uio.h"
2557 as_fn_append ac_header_list
" sys/wait.h"
2558 as_fn_append ac_header_list
" floatingpoint.h"
2559 as_fn_append ac_header_list
" ieeefp.h"
2560 as_fn_append ac_header_list
" fenv.h"
2561 as_fn_append ac_header_list
" fptrap.h"
2562 as_fn_append ac_header_list
" fpxcp.h"
2563 as_fn_append ac_header_list
" pwd.h"
2564 as_fn_append ac_header_list
" complex.h"
2565 as_fn_append ac_header_list
" xlocale.h"
2566 as_fn_append ac_func_list
" getrusage"
2567 as_fn_append ac_func_list
" times"
2568 as_fn_append ac_func_list
" mkstemp"
2569 as_fn_append ac_func_list
" strtof"
2570 as_fn_append ac_func_list
" strtold"
2571 as_fn_append ac_func_list
" snprintf"
2572 as_fn_append ac_func_list
" ftruncate"
2573 as_fn_append ac_func_list
" chsize"
2574 as_fn_append ac_func_list
" chdir"
2575 as_fn_append ac_func_list
" getentropy"
2576 as_fn_append ac_func_list
" getlogin"
2577 as_fn_append ac_func_list
" gethostname"
2578 as_fn_append ac_func_list
" kill"
2579 as_fn_append ac_func_list
" link"
2580 as_fn_append ac_func_list
" symlink"
2581 as_fn_append ac_func_list
" sleep"
2582 as_fn_append ac_func_list
" ttyname"
2583 as_fn_append ac_func_list
" alarm"
2584 as_fn_append ac_func_list
" access"
2585 as_fn_append ac_func_list
" fork"
2586 as_fn_append ac_func_list
" setmode"
2587 as_fn_append ac_func_list
" fcntl"
2588 as_fn_append ac_func_list
" writev"
2589 as_fn_append ac_func_list
" gettimeofday"
2590 as_fn_append ac_func_list
" stat"
2591 as_fn_append ac_func_list
" fstat"
2592 as_fn_append ac_func_list
" lstat"
2593 as_fn_append ac_func_list
" getpwuid"
2594 as_fn_append ac_func_list
" vsnprintf"
2595 as_fn_append ac_func_list
" dup"
2596 as_fn_append ac_func_list
" getcwd"
2597 as_fn_append ac_func_list
" localtime_r"
2598 as_fn_append ac_func_list
" gmtime_r"
2599 as_fn_append ac_func_list
" getpwuid_r"
2600 as_fn_append ac_func_list
" ttyname_r"
2601 as_fn_append ac_func_list
" clock_gettime"
2602 as_fn_append ac_func_list
" getgid"
2603 as_fn_append ac_func_list
" getpid"
2604 as_fn_append ac_func_list
" getuid"
2605 as_fn_append ac_func_list
" geteuid"
2606 as_fn_append ac_func_list
" umask"
2607 as_fn_append ac_func_list
" getegid"
2608 as_fn_append ac_func_list
" secure_getenv"
2609 as_fn_append ac_func_list
" __secure_getenv"
2610 as_fn_append ac_func_list
" mkostemp"
2611 as_fn_append ac_func_list
" strnlen"
2612 as_fn_append ac_func_list
" strndup"
2613 as_fn_append ac_func_list
" newlocale"
2614 as_fn_append ac_func_list
" freelocale"
2615 as_fn_append ac_func_list
" uselocale"
2616 as_fn_append ac_func_list
" strerror_l"
2617 as_fn_append ac_header_list
" math.h"
2618 # Check that the precious variables saved in the cache have kept the same
2620 ac_cache_corrupted
=false
2621 for ac_var
in $ac_precious_vars; do
2622 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2623 eval ac_new_set
=\
$ac_env_${ac_var}_set
2624 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2625 eval ac_new_val
=\
$ac_env_${ac_var}_value
2626 case $ac_old_set,$ac_new_set in
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2629 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2630 ac_cache_corrupted
=: ;;
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2633 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2634 ac_cache_corrupted
=: ;;
2637 if test "x$ac_old_val" != "x$ac_new_val"; then
2638 # differences in whitespace do not lead to failure.
2639 ac_old_val_w
=`echo x $ac_old_val`
2640 ac_new_val_w
=`echo x $ac_new_val`
2641 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2643 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2644 ac_cache_corrupted
=:
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2647 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2648 eval $ac_var=\
$ac_old_val
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2651 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2653 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2656 # Pass precious variables to config.status.
2657 if test "$ac_new_set" = set; then
2659 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2660 *) ac_arg
=$ac_var=$ac_new_val ;;
2662 case " $ac_configure_args " in
2663 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2664 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2668 if $ac_cache_corrupted; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2672 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2673 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2675 ## -------------------- ##
2676 ## Main body of script. ##
2677 ## -------------------- ##
2680 ac_cpp
='$CPP $CPPFLAGS'
2681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2689 ac_config_headers
="$ac_config_headers config.h"
2692 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2693 for ac_t
in install-sh
install.sh shtool
; do
2694 if test -f "$ac_dir/$ac_t"; then
2696 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2701 if test -z "$ac_aux_dir"; then
2702 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2705 # These three variables are undocumented and unsupported,
2706 # and are intended to be withdrawn in a future Autoconf release.
2707 # They can cause serious problems if a builder's source tree is in a directory
2708 # whose full name contains unusual characters.
2709 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2710 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2711 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2714 # Make sure we can run config.sub.
2715 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2716 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2719 $as_echo_n "checking build system type... " >&6; }
2720 if test "${ac_cv_build+set}" = set; then :
2721 $as_echo_n "(cached) " >&6
2723 ac_build_alias
=$build_alias
2724 test "x$ac_build_alias" = x
&&
2725 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2726 test "x$ac_build_alias" = x
&&
2727 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2728 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2729 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2733 $as_echo "$ac_cv_build" >&6; }
2734 case $ac_cv_build in
2736 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2739 ac_save_IFS
=$IFS; IFS
='-'
2745 # Remember, the first character of IFS is used to create $*,
2746 # except with old shells:
2749 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2752 case ${build_alias} in
2753 "") build_noncanonical
=${build} ;;
2754 *) build_noncanonical
=${build_alias} ;;
2757 case ${host_alias} in
2758 "") host_noncanonical
=${build_noncanonical} ;;
2759 *) host_noncanonical
=${host_alias} ;;
2762 case ${target_alias} in
2763 "") target_noncanonical
=${host_noncanonical} ;;
2764 *) target_noncanonical
=${target_alias} ;;
2768 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2769 # have matching libraries, they should use host libraries: Makefile.tpl
2770 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2771 # However, they still use the build modules, because the corresponding
2772 # host modules (e.g. bison) are only built for the host when bootstrap
2774 # - build_subdir is where we find build modules, and never changes.
2775 # - build_libsubdir is where we find build libraries, and can be overridden.
2777 # Prefix 'build-' so this never conflicts with target_subdir.
2778 build_subdir
="build-${build_noncanonical}"
2780 # Check whether --with-build-libsubdir was given.
2781 if test "${with_build_libsubdir+set}" = set; then :
2782 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2784 build_libsubdir
="$build_subdir"
2787 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2788 if ( test $srcdir = .
&& test -d gcc
) \
2789 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2790 host_subdir
="host-${host_noncanonical}"
2795 target_subdir
=${target_noncanonical}
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2803 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2804 # Check whether --enable-version-specific-runtime-libs was given.
2805 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2806 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2807 yes) version_specific_libs
=yes ;;
2808 no
) version_specific_libs
=no
;;
2809 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2812 version_specific_libs
=no
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2816 $as_echo "$version_specific_libs" >&6; }
2818 # Build with intermodule optimisations
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2820 $as_echo_n "checking for --enable-intermodule... " >&6; }
2821 # Check whether --enable-intermodule was given.
2822 if test "${enable_intermodule+set}" = set; then :
2823 enableval
=$enable_intermodule; case "$enable_intermodule" in
2824 yes) onestep
="-onestep";;
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2832 $as_echo "$enable_intermodule" >&6; }
2833 if test x
$onestep = x-onestep
; then
2843 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2845 # You will slowly go insane if you do not grok the following fact: when
2846 # building this library, the top-level /target/ becomes the library's /host/.
2848 # configure then causes --target to default to --host, exactly like any
2849 # other package using autoconf. Therefore, 'target' and 'host' will
2850 # always be the same. This makes sense both for native and cross compilers
2851 # just think about it for a little while. :-)
2853 # Also, if this library is being configured as part of a cross compiler, the
2854 # top-level configure script will pass the "real" host as $with_cross_host.
2856 # Do not delete or change the following two lines. For why, see
2857 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2859 $as_echo_n "checking host system type... " >&6; }
2860 if test "${ac_cv_host+set}" = set; then :
2861 $as_echo_n "(cached) " >&6
2863 if test "x$host_alias" = x
; then
2864 ac_cv_host
=$ac_cv_build
2866 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2867 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2872 $as_echo "$ac_cv_host" >&6; }
2875 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2878 ac_save_IFS
=$IFS; IFS
='-'
2884 # Remember, the first character of IFS is used to create $*,
2885 # except with old shells:
2888 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2892 $as_echo_n "checking target system type... " >&6; }
2893 if test "${ac_cv_target+set}" = set; then :
2894 $as_echo_n "(cached) " >&6
2896 if test "x$target_alias" = x
; then
2897 ac_cv_target
=$ac_cv_host
2899 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2900 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2905 $as_echo "$ac_cv_target" >&6; }
2906 case $ac_cv_target in
2908 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2910 target
=$ac_cv_target
2911 ac_save_IFS
=$IFS; IFS
='-'
2917 # Remember, the first character of IFS is used to create $*,
2918 # except with old shells:
2921 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2924 # The aliases save the names the user supplied, while $host etc.
2925 # will get canonicalized.
2926 test -n "$target_alias" &&
2927 test "$program_prefix$program_suffix$program_transform_name" = \
2929 program_prefix
=${target_alias}-
2934 target_alias
=${target_alias-$host_alias}
2937 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2938 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2939 # 1.9.6: minimum required version
2940 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2941 # of other PACKAGE_* variables will, however, and there's nothing
2942 # we can do about that; they come from AC_INIT).
2943 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2944 # file in the top srcdir, etc, etc), so stop complaining.
2945 # no-dist: we don't want 'dist' and related rules.
2946 # -Wall: turns on all automake warnings...
2947 # -Wno-portability: ...except this one, since GNU make is required.
2948 am__api_version
='1.11'
2950 # Find a good install program. We prefer a C program (faster),
2951 # so one script is as good as another. But avoid the broken or
2952 # incompatible versions:
2953 # SysV /etc/install, /usr/sbin/install
2954 # SunOS /usr/etc/install
2955 # IRIX /sbin/install
2957 # AmigaOS /C/install, which installs bootblocks on floppy discs
2958 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2959 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2960 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2961 # OS/2's system install, which has a completely different semantic
2962 # ./install, which can be erroneously created by make from ./install.sh.
2963 # Reject install programs that cannot install multiple files.
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2965 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2966 if test -z "$INSTALL"; then
2967 if test "${ac_cv_path_install+set}" = set; then :
2968 $as_echo_n "(cached) " >&6
2970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir
=.
2975 # Account for people who put trailing slashes in PATH elements.
2976 case $as_dir/ in #((
2977 .
/ | .
// |
/[cC
]/* | \
2978 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2979 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2982 # OSF1 and SCO ODT 3.0 have their own names for install.
2983 # Don't use installbsd from OSF since it installs stuff as root
2985 for ac_prog
in ginstall scoinst
install; do
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2988 if test $ac_prog = install &&
2989 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2990 # AIX install. It has an incompatible calling convention.
2992 elif test $ac_prog = install &&
2993 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2994 # program-specific install script used by HP pwplus--don't use.
2997 rm -rf conftest.one conftest.two conftest.dir
2998 echo one
> conftest.one
2999 echo two
> conftest.two
3001 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3002 test -s conftest.one
&& test -s conftest.two
&&
3003 test -s conftest.dir
/conftest.one
&&
3004 test -s conftest.dir
/conftest.two
3006 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3019 rm -rf conftest.one conftest.two conftest.dir
3022 if test "${ac_cv_path_install+set}" = set; then
3023 INSTALL
=$ac_cv_path_install
3025 # As a last resort, use the slow shell script. Don't cache a
3026 # value for INSTALL within a source directory, because that will
3027 # break other packages using the cache if that directory is
3028 # removed, or if the value is a relative name.
3029 INSTALL
=$ac_install_sh
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3033 $as_echo "$INSTALL" >&6; }
3035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3036 # It thinks the first close brace ends the variable substitution.
3037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3041 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3044 $as_echo_n "checking whether build environment is sane... " >&6; }
3047 echo timestamp
> conftest.
file
3048 # Reject unsafe characters in $srcdir or the absolute working directory
3049 # name. Accept space and tab only in the latter.
3053 *[\\\"\
#\$\&\'\`$am_lf]*)
3054 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3057 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3058 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3061 # Do `set' in a subshell so we don't clobber the current shell's
3062 # arguments. Must try -L first in case configure is actually a
3063 # symlink; some systems play weird games with the mod time of symlinks
3064 # (eg FreeBSD returns the mod time of the symlink's containing
3067 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3068 if test "$*" = "X"; then
3070 set X
`ls -t "$srcdir/configure" conftest.file`
3073 if test "$*" != "X $srcdir/configure conftest.file" \
3074 && test "$*" != "X conftest.file $srcdir/configure"; then
3076 # If neither matched, then we have a broken ls. This can happen
3077 # if, for instance, CONFIG_SHELL is bash and it inherits a
3078 # broken ls alias from the environment. This has actually
3079 # happened. Such a system could not be considered "sane".
3080 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3081 alias in your environment" "$LINENO" 5
3084 test "$2" = conftest.
file
3090 as_fn_error
"newly created file is older than distributed files!
3091 Check your system clock" "$LINENO" 5
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3094 $as_echo "yes" >&6; }
3095 test "$program_prefix" != NONE
&&
3096 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3097 # Use a double $ so make ignores it.
3098 test "$program_suffix" != NONE
&&
3099 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3100 # Double any \ or $.
3101 # By default was `s,x,x', remove it if useless.
3102 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3103 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3105 # expand $ac_aux_dir to an absolute path
3106 am_aux_dir
=`cd $ac_aux_dir && pwd`
3108 if test x
"${MISSING+set}" != xset
; then
3111 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3113 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3116 # Use eval to expand $SHELL
3117 if eval "$MISSING --run true"; then
3118 am_missing_run
="$MISSING --run "
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3122 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3125 if test x
"${install_sh}" != xset
; then
3128 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3130 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3134 # Installed binaries are usually stripped using `strip' when the user
3135 # run `make install-strip'. However `strip' might not be the right
3136 # tool to use in cross-compilation environments, therefore Automake
3137 # will honor the `STRIP' environment variable to overrule this program.
3138 if test "$cross_compiling" != no
; then
3139 if test -n "$ac_tool_prefix"; then
3140 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3141 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143 $as_echo_n "checking for $ac_word... " >&6; }
3144 if test "${ac_cv_prog_STRIP+set}" = set; then :
3145 $as_echo_n "(cached) " >&6
3147 if test -n "$STRIP"; then
3148 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir
=.
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3157 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 STRIP
=$ac_cv_prog_STRIP
3168 if test -n "$STRIP"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3170 $as_echo "$STRIP" >&6; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3178 if test -z "$ac_cv_prog_STRIP"; then
3180 # Extract the first word of "strip", so it can be a program name with args.
3181 set dummy strip
; ac_word
=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$ac_ct_STRIP"; then
3188 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197 ac_cv_prog_ac_ct_STRIP
="strip"
3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3208 if test -n "$ac_ct_STRIP"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3210 $as_echo "$ac_ct_STRIP" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3216 if test "x$ac_ct_STRIP" = x
; then
3219 case $cross_compiling:$ac_tool_warned in
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3223 ac_tool_warned
=yes ;;
3228 STRIP
="$ac_cv_prog_STRIP"
3232 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3235 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3236 if test -z "$MKDIR_P"; then
3237 if test "${ac_cv_path_mkdir+set}" = set; then :
3238 $as_echo_n "(cached) " >&6
3240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3241 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3244 test -z "$as_dir" && as_dir
=.
3245 for ac_prog
in mkdir gmkdir
; do
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3248 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3249 'mkdir (GNU coreutils) '* | \
3250 'mkdir (coreutils) '* | \
3251 'mkdir (fileutils) '4.1*)
3252 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3262 if test "${ac_cv_path_mkdir+set}" = set; then
3263 MKDIR_P
="$ac_cv_path_mkdir -p"
3265 # As a last resort, use the slow shell script. Don't cache a
3266 # value for MKDIR_P within a source directory, because that will
3267 # break other packages using the cache if that directory is
3268 # removed, or if the value is a relative name.
3269 test -d .
/--version && rmdir .
/--version
3270 MKDIR_P
="$ac_install_sh -d"
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3274 $as_echo "$MKDIR_P" >&6; }
3278 [\\/$
]* | ?
:[\\/]*) ;;
3279 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3282 for ac_prog
in gawk mawk nawk
awk
3284 # Extract the first word of "$ac_prog", so it can be a program name with args.
3285 set dummy
$ac_prog; ac_word
=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if test "${ac_cv_prog_AWK+set}" = set; then :
3289 $as_echo_n "(cached) " >&6
3291 if test -n "$AWK"; then
3292 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir
=.
3299 for ac_exec_ext
in '' $ac_executable_extensions; do
3300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301 ac_cv_prog_AWK
="$ac_prog"
3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 if test -n "$AWK"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3314 $as_echo "$AWK" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3321 test -n "$AWK" && break
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3325 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3327 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3328 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3329 $as_echo_n "(cached) " >&6
3331 cat >conftest.
make <<\_ACEOF
3334 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3336 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3337 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3339 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3341 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3345 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3347 $as_echo "yes" >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3352 SET_MAKE
="MAKE=${MAKE-make}"
3355 rm -rf .tst
2>/dev
/null
3356 mkdir .tst
2>/dev
/null
3357 if test -d .tst
; then
3362 rmdir .tst
2>/dev
/null
3364 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3365 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3366 # is not polluted with repeated "-I."
3367 am__isrc
=' -I$(srcdir)'
3368 # test to see if srcdir already configured
3369 if test -f $srcdir/config.status
; then
3370 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3374 # test whether we have cygpath
3375 if test -z "$CYGPATH_W"; then
3376 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3377 CYGPATH_W
='cygpath -w'
3384 # Define the identity of the package.
3385 PACKAGE
='libgfortran'
3389 # Some tools Automake needs.
3391 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3394 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3397 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3400 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3403 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3405 # We need awk for the "check" target. The system "awk" is bad on
3407 # Always define AMTAR for backward compatibility. Yes, it's still used
3408 # in the wild :-( We should find a proper way to deprecate it ...
3411 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3420 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3421 # Check whether --enable-maintainer-mode was given.
3422 if test "${enable_maintainer_mode+set}" = set; then :
3423 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3425 USE_MAINTAINER_MODE
=no
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3429 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3430 if test $USE_MAINTAINER_MODE = yes; then
3431 MAINTAINER_MODE_TRUE
=
3432 MAINTAINER_MODE_FALSE
='#'
3434 MAINTAINER_MODE_TRUE
='#'
3435 MAINTAINER_MODE_FALSE
=
3438 MAINT
=$MAINTAINER_MODE_TRUE
3441 # Default to --enable-multilib
3442 # Check whether --enable-multilib was given.
3443 if test "${enable_multilib+set}" = set; then :
3444 enableval
=$enable_multilib; case "$enableval" in
3445 yes) multilib
=yes ;;
3447 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3454 # We may get other options which we leave undocumented:
3455 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3456 # See config-ml.in if you want the gory details.
3458 if test "$srcdir" = "."; then
3459 if test "$with_target_subdir" != "."; then
3460 multi_basedir
="$srcdir/$with_multisrctop../.."
3462 multi_basedir
="$srcdir/$with_multisrctop.."
3465 multi_basedir
="$srcdir/.."
3469 # Even if the default multilib is not a cross compilation,
3470 # it may be that some of the other multilibs are.
3471 if test $cross_compiling = no
&& test $multilib = yes \
3472 && test "x${with_multisubdir}" != x
; then
3473 cross_compiling
=maybe
3476 ac_config_commands
="$ac_config_commands default-1"
3479 # Handy for debugging:
3480 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3482 # Are we being configured with some form of cross compiler?
3483 # NB: We don't actually need to know this just now, but when, say, a test
3484 # suite is included, we'll have to know.
3485 if test "$build" != "$host"; then
3486 LIBGFOR_IS_NATIVE
=false
3489 LIBGFOR_IS_NATIVE
=true
3492 DEPDIR
="${am__leading_dot}deps"
3494 ac_config_commands
="$ac_config_commands depfiles"
3497 am_make
=${MAKE-make}
3498 cat > confinc
<< 'END'
3500 @
echo this is the am__doit target
3503 # If we don't find an include directive, just comment out the code.
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3505 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3509 # First try GNU make style include.
3510 echo "include confinc" > confmf
3511 # Ignore all kinds of additional output from `make'.
3512 case `$am_make -s -f confmf 2> /dev/null` in #(
3513 *the\ am__doit\ target
*)
3519 # Now try BSD make style include.
3520 if test "$am__include" = "#"; then
3521 echo '.include "confinc"' > confmf
3522 case `$am_make -s -f confmf 2> /dev/null` in #(
3523 *the\ am__doit\ target
*)
3524 am__include
=.include
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3533 $as_echo "$_am_result" >&6; }
3534 rm -f confinc confmf
3536 # Check whether --enable-dependency-tracking was given.
3537 if test "${enable_dependency_tracking+set}" = set; then :
3538 enableval
=$enable_dependency_tracking;
3541 if test "x$enable_dependency_tracking" != xno
; then
3542 am_depcomp
="$ac_aux_dir/depcomp"
3546 if test "x$enable_dependency_tracking" != xno; then
3556 ac_cpp
='$CPP $CPPFLAGS'
3557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3560 if test -n "$ac_tool_prefix"; then
3561 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3562 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if test "${ac_cv_prog_CC+set}" = set; then :
3566 $as_echo_n "(cached) " >&6
3568 if test -n "$CC"; then
3569 ac_cv_prog_CC
="$CC" # Let the user override the test.
3571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir
=.
3576 for ac_exec_ext
in '' $ac_executable_extensions; do
3577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3578 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 if test -n "$CC"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3591 $as_echo "$CC" >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3599 if test -z "$ac_cv_prog_CC"; then
3601 # Extract the first word of "gcc", so it can be a program name with args.
3602 set dummy gcc
; ac_word
=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$ac_ct_CC"; then
3609 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3618 ac_cv_prog_ac_ct_CC
="gcc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3629 if test -n "$ac_ct_CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3631 $as_echo "$ac_ct_CC" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3637 if test "x$ac_ct_CC" = x
; then
3640 case $cross_compiling:$ac_tool_warned in
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3644 ac_tool_warned
=yes ;;
3652 if test -z "$CC"; then
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3655 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if test "${ac_cv_prog_CC+set}" = set; then :
3659 $as_echo_n "(cached) " >&6
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC
="$CC" # Let the user override the test.
3664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3668 test -z "$as_dir" && as_dir
=.
3669 for ac_exec_ext
in '' $ac_executable_extensions; do
3670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3671 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3693 if test -z "$CC"; then
3694 # Extract the first word of "cc", so it can be a program name with args.
3695 set dummy cc
; ac_word
=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if test "${ac_cv_prog_CC+set}" = set; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC
="$CC" # Let the user override the test.
3705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir
=.
3710 for ac_exec_ext
in '' $ac_executable_extensions; do
3711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3713 ac_prog_rejected
=yes
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 if test $ac_prog_rejected = yes; then
3725 # We found a bogon in the path, so make sure we never use it.
3726 set dummy
$ac_cv_prog_CC
3728 if test $# != 0; then
3729 # We chose a different compiler from the bogus one.
3730 # However, it has the same basename, so the bogon will be chosen
3731 # first if we set CC to just the basename; use the full file name.
3733 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3739 if test -n "$CC"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3741 $as_echo "$CC" >&6; }
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3749 if test -z "$CC"; then
3750 if test -n "$ac_tool_prefix"; then
3751 for ac_prog
in cl.exe
3753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3754 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if test "${ac_cv_prog_CC+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3760 if test -n "$CC"; then
3761 ac_cv_prog_CC
="$CC" # Let the user override the test.
3763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3767 test -z "$as_dir" && as_dir
=.
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3770 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3781 if test -n "$CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3783 $as_echo "$CC" >&6; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3790 test -n "$CC" && break
3793 if test -z "$CC"; then
3795 for ac_prog
in cl.exe
3797 # Extract the first word of "$ac_prog", so it can be a program name with args.
3798 set dummy
$ac_prog; ac_word
=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$ac_ct_CC"; then
3805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3814 ac_cv_prog_ac_ct_CC
="$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3825 if test -n "$ac_ct_CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3827 $as_echo "$ac_ct_CC" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3834 test -n "$ac_ct_CC" && break
3837 if test "x$ac_ct_CC" = x
; then
3840 case $cross_compiling:$ac_tool_warned in
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3844 ac_tool_warned
=yes ;;
3853 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3855 as_fn_error
"no acceptable C compiler found in \$PATH
3856 See \`config.log' for more details." "$LINENO" 5; }
3858 # Provide some information about the compiler.
3859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3862 for ac_option
in --version -v -V -qversion; do
3863 { { ac_try
="$ac_compiler $ac_option >&5"
3865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3866 *) ac_try_echo=$ac_try;;
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3872 if test -s conftest.err; then
3874 ... rest of stderr output deleted ...
3875 10q' conftest.err >conftest.er1
3876 cat conftest.er1 >&5
3877 rm -f conftest.er1 conftest.err
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3896 (eval $ac_link) 2>&5
3898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899 test $ac_status = 0; }; then :
3904 if test x$gcc_no_link = xyes; then
3905 # Setting cross_compile will disable run tests; it will
3906 # also disable AC_CHECK_FILE but that's generally
3907 # correct if we can't link.
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 ac_clean_files_save=$ac_clean_files
3923 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3924 # Try to create an executable without -o first, disregard a.out.
3925 # It will help us diagnose broken compilers, and finding out an intuition
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3928 $as_echo_n "checking for C compiler default output file name... " >&6; }
3929 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3931 # The possible output files:
3932 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3935 for ac_file in $ac_files
3938 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3939 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3944 if { { ac_try="$ac_link_default"
3946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3947 *) ac_try_echo
=$ac_try;;
3949 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3950 $as_echo "$ac_try_echo"; } >&5
3951 (eval "$ac_link_default") 2>&5
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }; then :
3955 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3956 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3957 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3958 # so that the user can short-circuit this test for compilers unknown to
3960 for ac_file
in $ac_files ''
3962 test -f "$ac_file" ||
continue
3964 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3967 # We found the default executable, but exeext='' is most
3971 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3973 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3975 # We set ac_cv_exeext here because the later test for it is not
3976 # safe: cross compilers may not add the suffix if given an `-o'
3977 # argument, so we may need to know it at that point already.
3978 # Even if this section looks crufty: it has the advantage of
3985 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3991 $as_echo "$ac_file" >&6; }
3992 if test -z "$ac_file"; then :
3993 $as_echo "$as_me: failed program was:" >&5
3994 sed 's/^/| /' conftest.
$ac_ext >&5
3996 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3998 { as_fn_set_status
77
3999 as_fn_error
"C compiler cannot create executables
4000 See \`config.log' for more details." "$LINENO" 5; }; }
4002 ac_exeext
=$ac_cv_exeext
4004 # Check that the compiler produces executables we can run. If not, either
4005 # the compiler is broken, or we cross compile.
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4007 $as_echo_n "checking whether the C compiler works... " >&6; }
4008 # If not cross compiling, check that we can run a simple program.
4009 if test "$cross_compiling" != yes; then
4010 if { ac_try
='./$ac_file'
4011 { { case "(($ac_try" in
4012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4013 *) ac_try_echo=$ac_try;;
4015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4016 $as_echo "$ac_try_echo"; } >&5
4017 (eval "$ac_try") 2>&5
4019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4020 test $ac_status = 0; }; }; then
4023 if test "$cross_compiling" = maybe; then
4026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4028 as_fn_error "cannot run C compiled programs.
4029 If you meant to cross compile
, use \
`--host'.
4030 See \`config.log
' for more details." "$LINENO" 5; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4035 $as_echo "yes" >&6; }
4037 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4038 ac_clean_files=$ac_clean_files_save
4039 # Check that the compiler produces executables we can run. If not, either
4040 # the compiler is broken, or we cross compile.
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4042 $as_echo_n "checking whether we are cross compiling... " >&6; }
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4044 $as_echo "$cross_compiling" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4047 $as_echo_n "checking for suffix of executables... " >&6; }
4048 if { { ac_try="$ac_link"
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_link") 2>&5
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; then :
4059 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4060 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4061 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4063 for ac_file
in conftest.exe conftest conftest.
*; do
4064 test -f "$ac_file" ||
continue
4066 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4067 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4075 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4076 See \`config.log' for more details." "$LINENO" 5; }
4078 rm -f conftest
$ac_cv_exeext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4080 $as_echo "$ac_cv_exeext" >&6; }
4082 rm -f conftest.
$ac_ext
4083 EXEEXT
=$ac_cv_exeext
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4087 $as_echo_n "checking for suffix of object files... " >&6; }
4088 if test "${ac_cv_objext+set}" = set; then :
4089 $as_echo_n "(cached) " >&6
4091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4102 rm -f conftest.o conftest.obj
4103 if { { ac_try
="$ac_compile"
4105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_compile") 2>&5
4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113 test $ac_status = 0; }; then :
4114 for ac_file in conftest.o conftest.obj conftest.*; do
4115 test -f "$ac_file" || continue;
4117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4118 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4123 $as_echo "$as_me: failed program was:" >&5
4124 sed 's/^/| /' conftest.$ac_ext >&5
4126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error "cannot compute suffix of object files
: cannot compile
4129 See \
`config.log' for more details." "$LINENO" 5; }
4131 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4134 $as_echo "$ac_cv_objext" >&6; }
4135 OBJEXT=$ac_cv_objext
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4138 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4139 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4140 $as_echo_n "(cached) " >&6
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4156 if ac_fn_c_try_compile "$LINENO"; then :
4161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4162 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4166 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4167 if test $ac_compiler_gnu = yes; then
4172 ac_test_CFLAGS=${CFLAGS+set}
4173 ac_save_CFLAGS=$CFLAGS
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4175 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4176 if test "${ac_cv_prog_cc_g+set}" = set; then :
4177 $as_echo_n "(cached) " >&6
4179 ac_save_c_werror_flag=$ac_c_werror_flag
4180 ac_c_werror_flag=yes
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4194 if ac_fn_c_try_compile "$LINENO"; then :
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4209 if ac_fn_c_try_compile "$LINENO"; then :
4212 ac_c_werror_flag=$ac_save_c_werror_flag
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4225 if ac_fn_c_try_compile "$LINENO"; then :
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_c_werror_flag=$ac_save_c_werror_flag
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4236 $as_echo "$ac_cv_prog_cc_g" >&6; }
4237 if test "$ac_test_CFLAGS" = set; then
4238 CFLAGS=$ac_save_CFLAGS
4239 elif test $ac_cv_prog_cc_g = yes; then
4240 if test "$GCC" = yes; then
4246 if test "$GCC" = yes; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4253 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4254 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4257 ac_cv_prog_cc_c89=no
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4263 #include <sys/types.h>
4264 #include <sys/stat.h>
4265 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4266 struct buf { int x; };
4267 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4268 static char *e (p, i)
4274 static char *f (char * (*g) (char **, int), char **p, ...)
4279 s = g (p, va_arg (v,int));
4284 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4285 function prototypes and stuff, but not '\xHH' hex character constants.
4286 These don't provoke an error unfortunately, instead are silently treated
4287 as 'x'. The following induces an error, until -std is added to get
4288 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4289 array size at least. It's necessary to write '\x00'==0 to get something
4290 that's true only with -std. */
4291 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4293 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4294 inside strings and character constants. */
4296 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4298 int test (int i, double x);
4299 struct s1 {int (*f) (int a);};
4300 struct s2 {int (*f) (double a);};
4301 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4307 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4312 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4313 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4315 CC="$ac_save_CC $ac_arg"
4316 if ac_fn_c_try_compile "$LINENO"; then :
4317 ac_cv_prog_cc_c89=$ac_arg
4319 rm -f core conftest.err conftest.$ac_objext
4320 test "x$ac_cv_prog_cc_c89" != "xno" && break
4322 rm -f conftest.$ac_ext
4327 case "x$ac_cv_prog_cc_c89" in
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4330 $as_echo "none needed" >&6; } ;;
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4333 $as_echo "unsupported" >&6; } ;;
4335 CC="$CC $ac_cv_prog_cc_c89"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4337 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4339 if test "x$ac_cv_prog_cc_c89" != xno; then :
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 depcc="$CC" am_compiler_list=
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4352 $as_echo_n "checking dependency style of $depcc... " >&6; }
4353 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4357 # We make a subdir and do the tests there. Otherwise we can end up
4358 # making bogus files that we don't know about and never remove. For
4359 # instance it was reported that on HP-UX the gcc test will end up
4360 # making a dummy file named `D
' -- because `-MD' means
`put the output
4364 # Copy depcomp to subdir because otherwise we won't find it if we're
4365 # using a relative directory.
4366 cp "$am_depcomp" conftest.dir
4368 # We will build objects and dependencies in a subdirectory because
4369 # it helps to detect inapplicable dependency modes. For instance
4370 # both Tru64's cc and ICC support -MD to output dependencies as a
4371 # side effect of compilation, but ICC will put the dependencies in
4372 # the current directory while Tru64 will put them in the object
4376 am_cv_CC_dependencies_compiler_type=none
4377 if test "$am_compiler_list" = ""; then
4378 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4381 case " $depcc " in #(
4382 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4385 for depmode in $am_compiler_list; do
4386 # Setup a source with many dependencies, because some compilers
4387 # like to wrap large dependency lists on column 80 (with \), and
4388 # we should not choose a depcomp mode which is confused by this.
4390 # We need to recreate these files for each test, as the compiler may
4391 # overwrite some of them when testing with obscure command lines.
4392 # This happens at least with the AIX C compiler.
4394 for i in 1 2 3 4 5 6; do
4395 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4396 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4397 # Solaris 8's
{/usr
,}/bin
/sh.
4398 touch sub
/conftst
$i.h
4400 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4402 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4403 # mode. It turns out that the SunPro C++ compiler does not properly
4404 # handle `-M -o', and we need to detect this. Also, some Intel
4405 # versions had trouble with output in subdirs
4406 am__obj
=sub
/conftest.
${OBJEXT-o}
4407 am__minus_obj
="-o $am__obj"
4410 # This depmode causes a compiler race in universal mode.
4411 test "$am__universal" = false ||
continue
4414 # after this tag, mechanisms are not by side-effect, so they'll
4415 # only be used when explicitly requested
4416 if test "x$enable_dependency_tracking" = xyes
; then
4422 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4423 # This compiler won't grok `-c -o', but also, the minuso test has
4424 # not run yet. These depmodes are late enough in the game, and
4425 # so weak that their functioning should not be impacted.
4426 am__obj
=conftest.
${OBJEXT-o}
4431 if depmode
=$depmode \
4432 source=sub
/conftest.c object
=$am__obj \
4433 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4434 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4435 >/dev
/null
2>conftest.err
&&
4436 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4437 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4438 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4439 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4440 # icc doesn't choke on unknown options, it will just issue warnings
4441 # or remarks (even with -Werror). So we grep stderr for any message
4442 # that says an option was ignored or not supported.
4443 # When given -MP, icc 7.0 and 7.1 complain thusly:
4444 # icc: Command line warning: ignoring option '-M'; no argument required
4445 # The diagnosis changed in icc 8.0:
4446 # icc: Command line remark: option '-MP' not supported
4447 if (grep 'ignoring option' conftest.err ||
4448 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4449 am_cv_CC_dependencies_compiler_type
=$depmode
4458 am_cv_CC_dependencies_compiler_type
=none
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4463 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4464 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4467 test "x$enable_dependency_tracking" != xno \
4468 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4470 am__fastdepCC_FALSE
='#'
4472 am__fastdepCC_TRUE
='#'
4473 am__fastdepCC_FALSE
=
4479 ac_cpp
='$CPP $CPPFLAGS'
4480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4484 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4485 # On Suns, sometimes $CPP names a directory.
4486 if test -n "$CPP" && test -d "$CPP"; then
4489 if test -z "$CPP"; then
4490 if test "${ac_cv_prog_CPP+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4493 # Double quotes because CPP needs to be expanded
4494 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4497 for ac_c_preproc_warn_flag
in '' yes
4499 # Use a header file that comes with gcc, so configuring glibc
4500 # with a fresh cross-compiler works.
4501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 # <limits.h> exists even on freestanding compilers.
4503 # On the NeXT, cc -E runs the code through the compiler's parser,
4504 # not just through cpp. "Syntax error" is here to catch this case.
4505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4508 # include <limits.h>
4510 # include <assert.h>
4514 if ac_fn_c_try_cpp
"$LINENO"; then :
4517 # Broken: fails on valid input.
4520 rm -f conftest.err conftest.
$ac_ext
4522 # OK, works on sane cases. Now check whether nonexistent headers
4523 # can be detected and how.
4524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4526 #include <ac_nonexistent.h>
4528 if ac_fn_c_try_cpp
"$LINENO"; then :
4529 # Broken: success on invalid input.
4532 # Passes both tests.
4536 rm -f conftest.err conftest.
$ac_ext
4539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4540 rm -f conftest.err conftest.
$ac_ext
4541 if $ac_preproc_ok; then :
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4554 $as_echo "$CPP" >&6; }
4556 for ac_c_preproc_warn_flag
in '' yes
4558 # Use a header file that comes with gcc, so configuring glibc
4559 # with a fresh cross-compiler works.
4560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4561 # <limits.h> exists even on freestanding compilers.
4562 # On the NeXT, cc -E runs the code through the compiler's parser,
4563 # not just through cpp. "Syntax error" is here to catch this case.
4564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4567 # include <limits.h>
4569 # include <assert.h>
4573 if ac_fn_c_try_cpp
"$LINENO"; then :
4576 # Broken: fails on valid input.
4579 rm -f conftest.err conftest.
$ac_ext
4581 # OK, works on sane cases. Now check whether nonexistent headers
4582 # can be detected and how.
4583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4585 #include <ac_nonexistent.h>
4587 if ac_fn_c_try_cpp
"$LINENO"; then :
4588 # Broken: success on invalid input.
4591 # Passes both tests.
4595 rm -f conftest.err conftest.
$ac_ext
4598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4599 rm -f conftest.err conftest.
$ac_ext
4600 if $ac_preproc_ok; then :
4603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4605 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4606 See \`config.log' for more details." "$LINENO" 5; }
4610 ac_cpp
='$CPP $CPPFLAGS'
4611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4617 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4618 if test "${ac_cv_path_GREP+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -z "$GREP"; then
4622 ac_path_GREP_found
=false
4623 # Loop through the user's path and test for each of PROGNAME-LIST
4624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4625 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4628 test -z "$as_dir" && as_dir
=.
4629 for ac_prog
in grep ggrep
; do
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4632 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4633 # Check for GNU ac_path_GREP and select it if it is found.
4634 # Check for GNU $ac_path_GREP
4635 case `"$ac_path_GREP" --version 2>&1` in
4637 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4640 $as_echo_n 0123456789 >"conftest.in"
4643 cat "conftest.in" "conftest.in" >"conftest.tmp"
4644 mv "conftest.tmp" "conftest.in"
4645 cp "conftest.in" "conftest.nl"
4646 $as_echo 'GREP' >> "conftest.nl"
4647 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4648 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4649 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4650 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4651 # Best one so far, save it but keep looking for a better one
4652 ac_cv_path_GREP
="$ac_path_GREP"
4653 ac_path_GREP_max
=$ac_count
4655 # 10*(2^10) chars as input seems more than enough
4656 test $ac_count -gt 10 && break
4658 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4661 $ac_path_GREP_found && break 3
4666 if test -z "$ac_cv_path_GREP"; then
4667 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4670 ac_cv_path_GREP
=$GREP
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4675 $as_echo "$ac_cv_path_GREP" >&6; }
4676 GREP
="$ac_cv_path_GREP"
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4680 $as_echo_n "checking for egrep... " >&6; }
4681 if test "${ac_cv_path_EGREP+set}" = set; then :
4682 $as_echo_n "(cached) " >&6
4684 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4685 then ac_cv_path_EGREP
="$GREP -E"
4687 if test -z "$EGREP"; then
4688 ac_path_EGREP_found
=false
4689 # Loop through the user's path and test for each of PROGNAME-LIST
4690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4691 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4694 test -z "$as_dir" && as_dir
=.
4695 for ac_prog
in egrep; do
4696 for ac_exec_ext
in '' $ac_executable_extensions; do
4697 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4698 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4699 # Check for GNU ac_path_EGREP and select it if it is found.
4700 # Check for GNU $ac_path_EGREP
4701 case `"$ac_path_EGREP" --version 2>&1` in
4703 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4706 $as_echo_n 0123456789 >"conftest.in"
4709 cat "conftest.in" "conftest.in" >"conftest.tmp"
4710 mv "conftest.tmp" "conftest.in"
4711 cp "conftest.in" "conftest.nl"
4712 $as_echo 'EGREP' >> "conftest.nl"
4713 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4714 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4715 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4716 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4717 # Best one so far, save it but keep looking for a better one
4718 ac_cv_path_EGREP
="$ac_path_EGREP"
4719 ac_path_EGREP_max
=$ac_count
4721 # 10*(2^10) chars as input seems more than enough
4722 test $ac_count -gt 10 && break
4724 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4727 $ac_path_EGREP_found && break 3
4732 if test -z "$ac_cv_path_EGREP"; then
4733 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4736 ac_cv_path_EGREP
=$EGREP
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4742 $as_echo "$ac_cv_path_EGREP" >&6; }
4743 EGREP
="$ac_cv_path_EGREP"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4747 $as_echo_n "checking for ANSI C header files... " >&6; }
4748 if test "${ac_cv_header_stdc+set}" = set; then :
4749 $as_echo_n "(cached) " >&6
4751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4766 if ac_fn_c_try_compile
"$LINENO"; then :
4767 ac_cv_header_stdc
=yes
4769 ac_cv_header_stdc
=no
4771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4773 if test $ac_cv_header_stdc = yes; then
4774 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4781 $EGREP "memchr" >/dev
/null
2>&1; then :
4784 ac_cv_header_stdc
=no
4790 if test $ac_cv_header_stdc = yes; then
4791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4798 $EGREP "free" >/dev
/null
2>&1; then :
4801 ac_cv_header_stdc
=no
4807 if test $ac_cv_header_stdc = yes; then
4808 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4809 if test "$cross_compiling" = yes; then :
4812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4816 #if ((' ' & 0x0FF) == 0x020)
4817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4818 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4820 # define ISLOWER(c) \
4821 (('a' <= (c) && (c) <= 'i') \
4822 || ('j' <= (c) && (c) <= 'r') \
4823 || ('s' <= (c) && (c) <= 'z'))
4824 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4827 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4832 for (i = 0; i < 256; i++)
4833 if (XOR (islower (i), ISLOWER (i))
4834 || toupper (i) != TOUPPER (i))
4839 if ac_fn_c_try_run
"$LINENO"; then :
4842 ac_cv_header_stdc
=no
4844 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4845 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4851 $as_echo "$ac_cv_header_stdc" >&6; }
4852 if test $ac_cv_header_stdc = yes; then
4854 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4858 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4859 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4860 inttypes.h stdint.h unistd.h
4862 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4863 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4865 eval as_val
=\$
$as_ac_Header
4866 if test "x$as_val" = x
""yes; then :
4867 cat >>confdefs.h
<<_ACEOF
4868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4877 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4878 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4885 if test "$MINIX" = yes; then
4887 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4890 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4893 $as_echo "#define _MINIX 1" >>confdefs.h
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4899 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4900 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4906 # define __EXTENSIONS__ 1
4907 $ac_includes_default
4916 if ac_fn_c_try_compile
"$LINENO"; then :
4917 ac_cv_safe_to_define___extensions__
=yes
4919 ac_cv_safe_to_define___extensions__
=no
4921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4924 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4925 test $ac_cv_safe_to_define___extensions__ = yes &&
4926 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4928 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4930 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4932 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4934 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4938 # Calculate toolexeclibdir
4939 # Also toolexecdir, though it's only used in toolexeclibdir
4940 case ${version_specific_libs} in
4942 # Need the gcc compiler version to know where to install libraries
4943 # and header files if --enable-version-specific-runtime-libs option
4945 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4946 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4949 if test -n "$with_cross_host" &&
4950 test x
"$with_cross_host" != x
"no"; then
4951 # Install a library built with a cross compiler in tooldir, not libdir.
4952 toolexecdir
='$(exec_prefix)/$(target_alias)'
4953 toolexeclibdir
='$(toolexecdir)/lib'
4955 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4956 toolexeclibdir
='$(libdir)'
4958 multi_os_directory
=`$CC -print-multi-os-directory`
4959 case $multi_os_directory in
4960 .
) ;; # Avoid trailing /.
4961 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4968 # Create a spec file, so that compile/link tests don't fail
4969 test -f libgfortran.spec ||
touch libgfortran.spec
4972 ac_cpp
='$CPP $CPPFLAGS'
4973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4977 # Check the compiler.
4978 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4979 # We must force CC to /not/ be precious variables; otherwise
4980 # the wrong, non-multilib-adjusted value will be used in multilibs.
4981 # As a side effect, we have to subst CFLAGS ourselves.
4986 ac_cpp
='$CPP $CPPFLAGS'
4987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4990 if test -n "$ac_tool_prefix"; then
4991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4992 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if test "${ac_cv_prog_CC+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$CC"; then
4999 ac_cv_prog_CC
="$CC" # Let the user override the test.
5001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir
=.
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5008 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 if test -n "$CC"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5021 $as_echo "$CC" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5029 if test -z "$ac_cv_prog_CC"; then
5031 # Extract the first word of "gcc", so it can be a program name with args.
5032 set dummy gcc
; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$ac_ct_CC"; then
5039 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048 ac_cv_prog_ac_ct_CC
="gcc"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5059 if test -n "$ac_ct_CC"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5061 $as_echo "$ac_ct_CC" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5067 if test "x$ac_ct_CC" = x
; then
5070 case $cross_compiling:$ac_tool_warned in
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned
=yes ;;
5082 if test -z "$CC"; then
5083 if test -n "$ac_tool_prefix"; then
5084 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5085 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if test "${ac_cv_prog_CC+set}" = set; then :
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$CC"; then
5092 ac_cv_prog_CC
="$CC" # Let the user override the test.
5094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir
=.
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5101 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 if test -n "$CC"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5114 $as_echo "$CC" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5123 if test -z "$CC"; then
5124 # Extract the first word of "cc", so it can be a program name with args.
5125 set dummy cc
; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if test "${ac_cv_prog_CC+set}" = set; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$CC"; then
5132 ac_cv_prog_CC
="$CC" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5143 ac_prog_rejected
=yes
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 if test $ac_prog_rejected = yes; then
5155 # We found a bogon in the path, so make sure we never use it.
5156 set dummy
$ac_cv_prog_CC
5158 if test $# != 0; then
5159 # We chose a different compiler from the bogus one.
5160 # However, it has the same basename, so the bogon will be chosen
5161 # first if we set CC to just the basename; use the full file name.
5163 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5169 if test -n "$CC"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5171 $as_echo "$CC" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5179 if test -z "$CC"; then
5180 if test -n "$ac_tool_prefix"; then
5181 for ac_prog
in cl.exe
5183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if test "${ac_cv_prog_CC+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$CC"; then
5191 ac_cv_prog_CC
="$CC" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5200 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 if test -n "$CC"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5213 $as_echo "$CC" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5220 test -n "$CC" && break
5223 if test -z "$CC"; then
5225 for ac_prog
in cl.exe
5227 # Extract the first word of "$ac_prog", so it can be a program name with args.
5228 set dummy
$ac_prog; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$ac_ct_CC"; then
5235 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244 ac_cv_prog_ac_ct_CC
="$ac_prog"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5255 if test -n "$ac_ct_CC"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5257 $as_echo "$ac_ct_CC" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5264 test -n "$ac_ct_CC" && break
5267 if test "x$ac_ct_CC" = x
; then
5270 case $cross_compiling:$ac_tool_warned in
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5274 ac_tool_warned
=yes ;;
5283 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5285 as_fn_error
"no acceptable C compiler found in \$PATH
5286 See \`config.log' for more details." "$LINENO" 5; }
5288 # Provide some information about the compiler.
5289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5292 for ac_option
in --version -v -V -qversion; do
5293 { { ac_try
="$ac_compiler $ac_option >&5"
5295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5299 $as_echo "$ac_try_echo"; } >&5
5300 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5302 if test -s conftest.err; then
5304 ... rest of stderr output deleted ...
5305 10q' conftest.err >conftest.er1
5306 cat conftest.er1 >&5
5307 rm -f conftest.er1 conftest.err
5309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5310 test $ac_status = 0; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5314 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5315 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5316 $as_echo_n "(cached) " >&6
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5332 if ac_fn_c_try_compile "$LINENO"; then :
5337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5338 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5342 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5343 if test $ac_compiler_gnu = yes; then
5348 ac_test_CFLAGS=${CFLAGS+set}
5349 ac_save_CFLAGS=$CFLAGS
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5351 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5352 if test "${ac_cv_prog_cc_g+set}" = set; then :
5353 $as_echo_n "(cached) " >&6
5355 ac_save_c_werror_flag=$ac_c_werror_flag
5356 ac_c_werror_flag=yes
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5370 if ac_fn_c_try_compile "$LINENO"; then :
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5385 if ac_fn_c_try_compile "$LINENO"; then :
5388 ac_c_werror_flag=$ac_save_c_werror_flag
5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5401 if ac_fn_c_try_compile "$LINENO"; then :
5404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5409 ac_c_werror_flag=$ac_save_c_werror_flag
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5412 $as_echo "$ac_cv_prog_cc_g" >&6; }
5413 if test "$ac_test_CFLAGS" = set; then
5414 CFLAGS=$ac_save_CFLAGS
5415 elif test $ac_cv_prog_cc_g = yes; then
5416 if test "$GCC" = yes; then
5422 if test "$GCC" = yes; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5429 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5430 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5431 $as_echo_n "(cached) " >&6
5433 ac_cv_prog_cc_c89=no
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5439 #include <sys/types.h>
5440 #include <sys/stat.h>
5441 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5442 struct buf { int x; };
5443 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5444 static char *e (p, i)
5450 static char *f (char * (*g) (char **, int), char **p, ...)
5455 s = g (p, va_arg (v,int));
5460 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5461 function prototypes and stuff, but not '\xHH' hex character constants.
5462 These don't provoke an error unfortunately, instead are silently treated
5463 as 'x'. The following induces an error, until -std is added to get
5464 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5465 array size at least. It's necessary to write '\x00'==0 to get something
5466 that's true only with -std. */
5467 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5469 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5470 inside strings and character constants. */
5472 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5474 int test (int i, double x);
5475 struct s1 {int (*f) (int a);};
5476 struct s2 {int (*f) (double a);};
5477 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5483 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5488 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5489 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5491 CC="$ac_save_CC $ac_arg"
5492 if ac_fn_c_try_compile "$LINENO"; then :
5493 ac_cv_prog_cc_c89=$ac_arg
5495 rm -f core conftest.err conftest.$ac_objext
5496 test "x$ac_cv_prog_cc_c89" != "xno" && break
5498 rm -f conftest.$ac_ext
5503 case "x$ac_cv_prog_cc_c89" in
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5506 $as_echo "none needed" >&6; } ;;
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5509 $as_echo "unsupported" >&6; } ;;
5511 CC="$CC $ac_cv_prog_cc_c89"
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5513 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5515 if test "x$ac_cv_prog_cc_c89" != xno; then :
5520 ac_cpp='$CPP $CPPFLAGS'
5521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5525 depcc="$CC" am_compiler_list=
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5528 $as_echo_n "checking dependency style of $depcc... " >&6; }
5529 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5533 # We make a subdir and do the tests there. Otherwise we can end up
5534 # making bogus files that we don't know about and never remove. For
5535 # instance it was reported that on HP-UX the gcc test will end up
5536 # making a dummy file named `D
' -- because `-MD' means
`put the output
5540 # Copy depcomp to subdir because otherwise we won't find it if we're
5541 # using a relative directory.
5542 cp "$am_depcomp" conftest.dir
5544 # We will build objects and dependencies in a subdirectory because
5545 # it helps to detect inapplicable dependency modes. For instance
5546 # both Tru64's cc and ICC support -MD to output dependencies as a
5547 # side effect of compilation, but ICC will put the dependencies in
5548 # the current directory while Tru64 will put them in the object
5552 am_cv_CC_dependencies_compiler_type=none
5553 if test "$am_compiler_list" = ""; then
5554 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5557 case " $depcc " in #(
5558 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5561 for depmode in $am_compiler_list; do
5562 # Setup a source with many dependencies, because some compilers
5563 # like to wrap large dependency lists on column 80 (with \), and
5564 # we should not choose a depcomp mode which is confused by this.
5566 # We need to recreate these files for each test, as the compiler may
5567 # overwrite some of them when testing with obscure command lines.
5568 # This happens at least with the AIX C compiler.
5570 for i in 1 2 3 4 5 6; do
5571 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5572 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5573 # Solaris 8's
{/usr
,}/bin
/sh.
5574 touch sub
/conftst
$i.h
5576 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5578 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5579 # mode. It turns out that the SunPro C++ compiler does not properly
5580 # handle `-M -o', and we need to detect this. Also, some Intel
5581 # versions had trouble with output in subdirs
5582 am__obj
=sub
/conftest.
${OBJEXT-o}
5583 am__minus_obj
="-o $am__obj"
5586 # This depmode causes a compiler race in universal mode.
5587 test "$am__universal" = false ||
continue
5590 # after this tag, mechanisms are not by side-effect, so they'll
5591 # only be used when explicitly requested
5592 if test "x$enable_dependency_tracking" = xyes
; then
5598 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5599 # This compiler won't grok `-c -o', but also, the minuso test has
5600 # not run yet. These depmodes are late enough in the game, and
5601 # so weak that their functioning should not be impacted.
5602 am__obj
=conftest.
${OBJEXT-o}
5607 if depmode
=$depmode \
5608 source=sub
/conftest.c object
=$am__obj \
5609 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5610 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5611 >/dev
/null
2>conftest.err
&&
5612 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5613 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5614 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5615 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5616 # icc doesn't choke on unknown options, it will just issue warnings
5617 # or remarks (even with -Werror). So we grep stderr for any message
5618 # that says an option was ignored or not supported.
5619 # When given -MP, icc 7.0 and 7.1 complain thusly:
5620 # icc: Command line warning: ignoring option '-M'; no argument required
5621 # The diagnosis changed in icc 8.0:
5622 # icc: Command line remark: option '-MP' not supported
5623 if (grep 'ignoring option' conftest.err ||
5624 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5625 am_cv_CC_dependencies_compiler_type
=$depmode
5634 am_cv_CC_dependencies_compiler_type
=none
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5639 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5640 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5643 test "x$enable_dependency_tracking" != xno \
5644 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5646 am__fastdepCC_FALSE
='#'
5648 am__fastdepCC_TRUE
='#'
5649 am__fastdepCC_FALSE
=
5657 if test "x$CC" != xcc
; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5659 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5662 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5664 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5665 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5666 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5667 $as_echo_n "(cached) " >&6
5669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5680 # Make sure it works both with $CC and with simple cc.
5681 # We do the test twice because some compilers refuse to overwrite an
5682 # existing .o file with -o, though they will create one.
5683 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5685 if { { case "(($ac_try" in
5686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5687 *) ac_try_echo=$ac_try;;
5689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5690 $as_echo "$ac_try_echo"; } >&5
5691 (eval "$ac_try") 2>&5
5693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5694 test $ac_status = 0; } &&
5695 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5697 *) ac_try_echo
=$ac_try;;
5699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5700 $as_echo "$ac_try_echo"; } >&5
5701 (eval "$ac_try") 2>&5
5703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704 test $ac_status = 0; };
5706 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5707 if test "x$CC" != xcc
; then
5708 # Test first that cc exists at all.
5709 if { ac_try
='cc -c conftest.$ac_ext >&5'
5710 { { case "(($ac_try" in
5711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5712 *) ac_try_echo=$ac_try;;
5714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5715 $as_echo "$ac_try_echo"; } >&5
5716 (eval "$ac_try") 2>&5
5718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5719 test $ac_status = 0; }; }; then
5720 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5722 if { { case "(($ac_try" in
5723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5724 *) ac_try_echo
=$ac_try;;
5726 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5727 $as_echo "$ac_try_echo"; } >&5
5728 (eval "$ac_try") 2>&5
5730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5731 test $ac_status = 0; } &&
5732 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5734 *) ac_try_echo=$ac_try;;
5736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5737 $as_echo "$ac_try_echo"; } >&5
5738 (eval "$ac_try") 2>&5
5740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5741 test $ac_status = 0; };
5746 # cc exists but doesn't like -o.
5747 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5752 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5754 rm -f core conftest*
5757 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5759 $as_echo "yes" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5764 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5768 # FIXME: we rely on the cache variable name because
5769 # there is no other way.
5771 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5772 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5773 if test "$am_t" != yes; then
5774 # Losing compiler, so override with the script.
5775 # FIXME: It is wrong to rewrite CC.
5776 # But if we don't then we get into trouble of one sort or another.
5777 # A longer-term fix would be to have automake use am__CC in this case,
5778 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5779 CC="$am_aux_dir/compile $CC"
5784 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5785 if test "x$GCC" = "xyes"; then
5786 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5787 ## We like to use C11 and C99 routines when available. This makes
5789 ## __STDC_VERSION__ is set such that libc includes make them available.
5790 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5791 ## Compile the following tests with the same system header contents
5792 ## that we'll encounter when compiling our own source files.
5793 CFLAGS="-std=gnu11 $CFLAGS"
5796 # Add CET specific flags if CET is enabled
5797 # Check whether --enable-cet was given.
5798 if test "${enable_cet+set}" = set; then :
5799 enableval=$enable_cet;
5800 case "$enableval" in
5802 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5811 $as_echo_n "checking for CET support... " >&6; }
5814 i[34567]86-*-linux* | x86_64-*-linux*)
5815 case "$enable_cet" in
5817 # Check if target supports multi-byte NOPs
5818 # and if assembler supports CET insn.
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5826 #if !defined(__SSE2__)
5827 #error target does not support multi-byte NOPs
5836 if ac_fn_c_try_compile "$LINENO"; then :
5841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5844 # Check if assembler supports CET.
5845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5856 if ac_fn_c_try_compile "$LINENO"; then :
5859 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
5861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5869 if test x$enable_cet = xyes; then
5870 CET_FLAGS="-fcf-protection -mshstk"
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5872 $as_echo "yes" >&6; }
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875 $as_echo "no" >&6; }
5878 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
5879 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
5880 CFLAGS="$CFLAGS $CET_FLAGS"
5886 # Check for symbol versioning (copied from libssp).
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5888 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5889 # Check whether --enable-symvers was given.
5890 if test "${enable_symvers+set}" = set; then :
5891 enableval=$enable_symvers; gfortran_use_symver=$enableval
5893 gfortran_use_symver=yes
5896 if test "x$gfortran_use_symver" != xno; then
5897 save_LDFLAGS="$LDFLAGS"
5898 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5899 cat > conftest.map <<EOF
5901 global: *foo*; bar; local: *;
5904 if test x$gcc_no_link = xyes; then
5905 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5918 if ac_fn_c_try_link "$LINENO"; then :
5919 gfortran_use_symver=gnu
5921 gfortran_use_symver=no
5923 rm -f core conftest.err conftest.$ac_objext \
5924 conftest$ac_exeext conftest.$ac_ext
5925 if test x$gfortran_use_symver = xno; then
5926 case "$target_os" in
5928 LDFLAGS="$save_LDFLAGS"
5929 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5930 # Sun ld cannot handle wildcards and treats all entries as undefined.
5931 cat > conftest.map <<EOF
5933 global: foo; local: *;
5936 if test x$gcc_no_link = xyes; then
5937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5950 if ac_fn_c_try_link "$LINENO"; then :
5951 gfortran_use_symver=sun
5953 gfortran_use_symver=no
5955 rm -f core conftest.err conftest.$ac_objext \
5956 conftest$ac_exeext conftest.$ac_ext
5960 LDFLAGS="$save_LDFLAGS"
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5963 $as_echo "$gfortran_use_symver" >&6; }
5964 if test "x$gfortran_use_symver" != xno; then
5965 LIBGFOR_USE_SYMVER_TRUE=
5966 LIBGFOR_USE_SYMVER_FALSE='#'
5968 LIBGFOR_USE_SYMVER_TRUE='#'
5969 LIBGFOR_USE_SYMVER_FALSE=
5972 if test "x$gfortran_use_symver" = xgnu; then
5973 LIBGFOR_USE_SYMVER_GNU_TRUE=
5974 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5976 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5977 LIBGFOR_USE_SYMVER_GNU_FALSE=
5980 if test "x$gfortran_use_symver" = xsun; then
5981 LIBGFOR_USE_SYMVER_SUN_TRUE=
5982 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5984 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5985 LIBGFOR_USE_SYMVER_SUN_FALSE=
5989 # For GPU offloading, not everything in libfortran can be supported.
5990 # Currently, the only target that has this problem is nvptx. The
5991 # following is a (partial) list of features that are unsupportable on
5992 # this particular target:
5995 # * C library support for I/O, with printf as the one notable exception
5996 # * C library support for other features such as signal, environment
5997 # variables, time functions
5999 if test "x${target_cpu}" = xnvptx; then
6000 LIBGFOR_MINIMAL_TRUE=
6001 LIBGFOR_MINIMAL_FALSE='#'
6003 LIBGFOR_MINIMAL_TRUE='#'
6004 LIBGFOR_MINIMAL_FALSE=
6008 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6009 # similarly to how libstdc++ does it
6010 ac_test_CFLAGS="${CFLAGS+set}"
6011 ac_save_CFLAGS="$CFLAGS"
6013 # Check for -ffunction-sections -fdata-sections
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6015 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6016 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6028 if ac_fn_c_try_compile "$LINENO"; then :
6033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6034 if test "$ac_test_CFLAGS" = set; then
6035 CFLAGS="$ac_save_CFLAGS"
6037 # this is the suspicious part
6040 if test x"$ac_fdsections" = x"yes"; then
6041 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6044 $as_echo "$ac_fdsections" >&6; }
6047 # Check linker hardware capability support.
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6049 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6050 if test "${ac_cv_path_SED+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6053 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6054 for ac_i in 1 2 3 4 5 6 7; do
6055 ac_script="$ac_script$as_nl$ac_script"
6057 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6058 { ac_script=; unset ac_script;}
6059 if test -z "$SED"; then
6060 ac_path_SED_found=false
6061 # Loop through the user's path and test for each of PROGNAME-LIST
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 test -z "$as_dir" && as_dir=.
6067 for ac_prog in sed gsed; do
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6070 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6071 # Check for GNU ac_path_SED and select it if it is found.
6072 # Check for GNU $ac_path_SED
6073 case `"$ac_path_SED" --version 2>&1` in
6075 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6078 $as_echo_n 0123456789 >"conftest.in"
6081 cat "conftest.in" "conftest.in" >"conftest.tmp"
6082 mv "conftest.tmp" "conftest.in"
6083 cp "conftest.in" "conftest.nl"
6084 $as_echo '' >> "conftest.nl"
6085 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6086 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6087 as_fn_arith $ac_count + 1 && ac_count=$as_val
6088 if test $ac_count -gt ${ac_path_SED_max-0}; then
6089 # Best one so far, save it but keep looking for a better one
6090 ac_cv_path_SED="$ac_path_SED"
6091 ac_path_SED_max=$ac_count
6093 # 10*(2^10) chars as input seems more than enough
6094 test $ac_count -gt 10 && break
6096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6099 $ac_path_SED_found && break 3
6104 if test -z "$ac_cv_path_SED"; then
6105 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6113 $as_echo "$ac_cv_path_SED" >&6; }
6114 SED="$ac_cv_path_SED"
6117 test -z "$SED" && SED=sed
6118 Xsed="$SED -e 1s/^X//"
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6131 $as_echo_n "checking for fgrep... " >&6; }
6132 if test "${ac_cv_path_FGREP+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6135 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6136 then ac_cv_path_FGREP="$GREP -F"
6138 if test -z "$FGREP"; then
6139 ac_path_FGREP_found=false
6140 # Loop through the user's path and test for each of PROGNAME-LIST
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6145 test -z "$as_dir" && as_dir=.
6146 for ac_prog in fgrep; do
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6149 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6150 # Check for GNU ac_path_FGREP and select it if it is found.
6151 # Check for GNU $ac_path_FGREP
6152 case `"$ac_path_FGREP" --version 2>&1` in
6154 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6157 $as_echo_n 0123456789 >"conftest.in"
6160 cat "conftest.in" "conftest.in" >"conftest.tmp"
6161 mv "conftest.tmp" "conftest.in"
6162 cp "conftest.in" "conftest.nl"
6163 $as_echo 'FGREP' >> "conftest.nl"
6164 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6165 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6166 as_fn_arith $ac_count + 1 && ac_count=$as_val
6167 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6168 # Best one so far, save it but keep looking for a better one
6169 ac_cv_path_FGREP="$ac_path_FGREP"
6170 ac_path_FGREP_max=$ac_count
6172 # 10*(2^10) chars as input seems more than enough
6173 test $ac_count -gt 10 && break
6175 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6178 $ac_path_FGREP_found && break 3
6183 if test -z "$ac_cv_path_FGREP"; then
6184 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6187 ac_cv_path_FGREP=$FGREP
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6193 $as_echo "$ac_cv_path_FGREP" >&6; }
6194 FGREP="$ac_cv_path_FGREP"
6197 test -z "$GREP" && GREP=grep
6215 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6216 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6217 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6220 $as_echo_n "checking how to print strings... " >&6; }
6221 # Test print first, because it will be a builtin if present.
6222 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6223 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6225 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6228 # Use this function as a fallback that always works.
6229 func_fallback_echo ()
6231 eval 'cat <<_LTECHO_EOF
6235 ECHO='func_fallback_echo'
6238 # func_echo_all arg...
6239 # Invoke $ECHO with all args, space-separated.
6246 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6247 $as_echo "printf" >&6; } ;;
6248 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6249 $as_echo "print -r" >&6; } ;;
6250 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6251 $as_echo "cat" >&6; } ;;
6269 # Check whether --with-gnu-ld was given.
6270 if test "${with_gnu_ld+set}" = set; then :
6271 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6277 if test "$GCC" = yes; then
6278 # Check if gcc -print-prog-name=ld gives a path.
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6280 $as_echo_n "checking for ld used by $CC... " >&6; }
6283 # gcc leaves a trailing carriage return which upsets mingw
6284 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6286 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6289 # Accept absolute paths.
6291 re_direlt='/[^/][^/]*/\.\./'
6292 # Canonicalize the pathname of ld
6293 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6294 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6295 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6297 test -z "$LD" && LD="$ac_prog"
6300 # If it fails, then pretend we aren't using GCC.
6304 # If it is relative, then search for the first ld in PATH.
6308 elif test "$with_gnu_ld" = yes; then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6310 $as_echo_n "checking for GNU ld... " >&6; }
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6313 $as_echo_n "checking for non-GNU ld... " >&6; }
6315 if test "${lt_cv_path_LD+set}" = set; then :
6316 $as_echo_n "(cached) " >&6
6318 if test -z "$LD"; then
6319 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6320 for ac_dir in $PATH; do
6322 test -z "$ac_dir" && ac_dir=.
6323 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6324 lt_cv_path_LD="$ac_dir/$ac_prog"
6325 # Check to see if the program is GNU ld. I'd rather use --version,
6326 # but apparently some variants of GNU ld only accept -v.
6327 # Break only if it was the GNU/non-GNU ld that we prefer.
6328 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6329 *GNU* | *'with BFD'*)
6330 test "$with_gnu_ld" != no && break
6333 test "$with_gnu_ld" != yes && break
6340 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6345 if test -n "$LD"; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6347 $as_echo "$LD" >&6; }
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350 $as_echo "no" >&6; }
6352 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6354 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6355 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6356 $as_echo_n "(cached) " >&6
6358 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6359 case `$LD -v 2>&1 </dev
/null
` in
6360 *GNU* | *'with BFD'*)
6361 lt_cv_prog_gnu_ld=yes
6364 lt_cv_prog_gnu_ld=no
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6369 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6370 with_gnu_ld=$lt_cv_prog_gnu_ld
6381 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6384 ac_save_LDFLAGS="$LDFLAGS"
6385 LDFLAGS="$LFLAGS -mclear-hwcap"
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6388 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6389 if test x$gcc_no_link = xyes; then
6390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6403 if ac_fn_c_try_link "$LINENO"; then :
6404 ac_hwcap_ldflags=yes
6408 rm -f core conftest.err conftest.$ac_objext \
6409 conftest$ac_exeext conftest.$ac_ext
6410 if test "$ac_hwcap_ldflags" = "yes"; then
6411 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6414 $as_echo "$ac_hwcap_ldflags" >&6; }
6416 LDFLAGS="$ac_save_LDFLAGS"
6420 if test $ac_hwcap_ldflags != no; then
6422 HAVE_HWCAP_FALSE='#'
6430 # Find other programs we need.
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}as; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AS+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6439 if test -n "$AS"; then
6440 ac_cv_prog_AS="$AS" # Let the user override the test.
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AS="${ac_tool_prefix}as"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6460 if test -n "$AS"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6462 $as_echo "$AS" >&6; }
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_AS"; then
6472 # Extract the first word of "as", so it can be a program name with args.
6473 set dummy as; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6479 if test -n "$ac_ct_AS"; then
6480 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AS="as"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6500 if test -n "$ac_ct_AS"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6502 $as_echo "$ac_ct_AS" >&6; }
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_AS" = x; then
6511 case $cross_compiling:$ac_tool_warned in
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6523 if test -n "$ac_tool_prefix"; then
6524 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6525 set dummy ${ac_tool_prefix}ar; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if test "${ac_cv_prog_AR+set}" = set; then :
6529 $as_echo_n "(cached) " >&6
6531 if test -n "$AR"; then
6532 ac_cv_prog_AR="$AR" # Let the user override the test.
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541 ac_cv_prog_AR="${ac_tool_prefix}ar"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 if test -n "$AR"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6554 $as_echo "$AR" >&6; }
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6562 if test -z "$ac_cv_prog_AR"; then
6564 # Extract the first word of "ar", so it can be a program name with args.
6565 set dummy ar; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 $as_echo_n "checking for $ac_word... " >&6; }
6568 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6569 $as_echo_n "(cached) " >&6
6571 if test -n "$ac_ct_AR"; then
6572 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6581 ac_cv_prog_ac_ct_AR="ar"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6591 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6592 if test -n "$ac_ct_AR"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6594 $as_echo "$ac_ct_AR" >&6; }
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597 $as_echo "no" >&6; }
6600 if test "x$ac_ct_AR" = x; then
6603 case $cross_compiling:$ac_tool_warned in
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6607 ac_tool_warned=yes ;;
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6621 $as_echo_n "(cached) " >&6
6623 if test -n "$RANLIB"; then
6624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 RANLIB=$ac_cv_prog_RANLIB
6644 if test -n "$RANLIB"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6646 $as_echo "$RANLIB" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6654 if test -z "$ac_cv_prog_RANLIB"; then
6655 ac_ct_RANLIB=$RANLIB
6656 # Extract the first word of "ranlib", so it can be a program name with args.
6657 set dummy ranlib; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$ac_ct_RANLIB"; then
6664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_ac_ct_RANLIB="ranlib"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6684 if test -n "$ac_ct_RANLIB"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6686 $as_echo "$ac_ct_RANLIB" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6692 if test "x$ac_ct_RANLIB" = x; then
6693 RANLIB="ranlib-not-found-in-path-error"
6695 case $cross_compiling:$ac_tool_warned in
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6701 RANLIB=$ac_ct_RANLIB
6704 RANLIB="$ac_cv_prog_RANLIB"
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6708 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6710 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6711 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6712 $as_echo_n "(cached) " >&6
6714 cat >conftest.make <<\_ACEOF
6717 @echo '@@@%%%=$(MAKE)=@@@%%%'
6719 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6720 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6722 eval ac_cv_prog_make_${ac_make}_set=yes;;
6724 eval ac_cv_prog_make_${ac_make}_set=no;;
6728 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6730 $as_echo "yes" >&6; }
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734 $as_echo "no" >&6; }
6735 SET_MAKE="MAKE=${MAKE-make}"
6741 #AC_MSG_NOTICE([====== Starting libtool configuration])
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6749 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6754 macro_version='2.2.7a'
6755 macro_revision='1.3134'
6769 ltmain="$ac_aux_dir/ltmain.sh"
6771 # Backslashify metacharacters that are still active within
6772 # double-quoted strings.
6773 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6775 # Same as above, but do not quote variable references.
6776 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6778 # Sed substitution to delay expansion of an escaped shell variable in a
6779 # double_quote_subst'ed string.
6780 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6782 # Sed substitution to delay expansion of an escaped single quote.
6783 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6785 # Sed substitution to avoid accidental globbing in evaled expressions
6786 no_glob_subst='s/\*/\\\*/g'
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6789 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6790 if test "${lt_cv_path_NM+set}" = set; then :
6791 $as_echo_n "(cached
) " >&6
6793 if test -n "$NM"; then
6794 # Let the user override the test.
6797 lt_nm_to_check="${ac_tool_prefix}nm
"
6798 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6799 lt_nm_to_check="$lt_nm_to_check nm
"
6801 for lt_tmp_nm in $lt_nm_to_check; do
6802 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6803 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6805 test -z "$ac_dir" && ac_dir=.
6806 tmp_nm="$ac_dir/$lt_tmp_nm"
6807 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6808 # Check to see if the nm accepts a BSD-compat flag.
6809 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6810 # nm: unknown option "B
" ignored
6811 # Tru64's nm complains that /dev/null is an invalid object file
6812 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6813 */dev/null* | *'Invalid file or object type'*)
6814 lt_cv_path_NM="$tmp_nm -B"
6818 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6820 lt_cv_path_NM="$tmp_nm -p"
6824 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6825 continue # so that we can try to find one that supports BSD flags
6834 : ${lt_cv_path_NM=no}
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6838 $as_echo "$lt_cv_path_NM" >&6; }
6839 if test "$lt_cv_path_NM" != "no
"; then
6842 # Didn't find any BSD compatible name lister, look for dumpbin.
6843 if test -n "$DUMPBIN"; then :
6844 # Let the user override the test.
6846 if test -n "$ac_tool_prefix"; then
6847 for ac_prog in dumpbin "link
-dump"
6849 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6850 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6852 $as_echo_n "checking
for $ac_word...
" >&6; }
6853 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6854 $as_echo_n "(cached
) " >&6
6856 if test -n "$DUMPBIN"; then
6857 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir=.
6864 for ac_exec_ext in '' $ac_executable_extensions; do
6865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6876 DUMPBIN=$ac_cv_prog_DUMPBIN
6877 if test -n "$DUMPBIN"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6879 $as_echo "$DUMPBIN" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6882 $as_echo "no
" >&6; }
6886 test -n "$DUMPBIN" && break
6889 if test -z "$DUMPBIN"; then
6890 ac_ct_DUMPBIN=$DUMPBIN
6891 for ac_prog in dumpbin "link
-dump"
6893 # Extract the first word of "$ac_prog", so it can be a program name with args.
6894 set dummy $ac_prog; ac_word=$2
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6896 $as_echo_n "checking
for $ac_word...
" >&6; }
6897 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6898 $as_echo_n "(cached
) " >&6
6900 if test -n "$ac_ct_DUMPBIN"; then
6901 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 test -z "$as_dir" && as_dir=.
6908 for ac_exec_ext in '' $ac_executable_extensions; do
6909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6910 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6920 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6921 if test -n "$ac_ct_DUMPBIN"; then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6923 $as_echo "$ac_ct_DUMPBIN" >&6; }
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6926 $as_echo "no
" >&6; }
6930 test -n "$ac_ct_DUMPBIN" && break
6933 if test "x
$ac_ct_DUMPBIN" = x; then
6936 case $cross_compiling:$ac_tool_warned in
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6939 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6940 ac_tool_warned=yes ;;
6942 DUMPBIN=$ac_ct_DUMPBIN
6946 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6948 DUMPBIN="$DUMPBIN -symbols"
6956 if test "$DUMPBIN" != ":"; then
6960 test -z "$NM" && NM=nm
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6968 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6969 if test "${lt_cv_nm_interface+set}" = set; then :
6970 $as_echo_n "(cached
) " >&6
6972 lt_cv_nm_interface="BSD nm
"
6973 echo "int some_variable
= 0;" > conftest.$ac_ext
6974 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6975 (eval "$ac_compile" 2>conftest.err)
6976 cat conftest.err >&5
6977 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6978 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6979 cat conftest.err >&5
6980 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6981 cat conftest.out >&5
6982 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6983 lt_cv_nm_interface="MS dumpbin
"
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6988 $as_echo "$lt_cv_nm_interface" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6991 $as_echo_n "checking whether
ln -s works...
" >&6; }
6993 if test "$LN_S" = "ln -s"; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6995 $as_echo "yes" >&6; }
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6998 $as_echo "no
, using
$LN_S" >&6; }
7001 # find the maximum length of command line arguments
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7003 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7004 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7005 $as_echo_n "(cached
) " >&6
7012 # On DJGPP, this test can blow up pretty badly due to problems in libc
7013 # (any single argument exceeding 2000 bytes causes a buffer overrun
7014 # during glob expansion). Even if it were fixed, the result of this
7015 # check would be larger than it should be.
7016 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7020 # Under GNU Hurd, this test is not required because there is
7021 # no limit to the length of command line arguments.
7022 # Libtool will interpret -1 as no limit whatsoever
7023 lt_cv_sys_max_cmd_len=-1;
7026 cygwin* | mingw* | cegcc*)
7027 # On Win9x/ME, this test blows up -- it succeeds, but takes
7028 # about 5 minutes as the teststring grows exponentially.
7029 # Worse, since 9x/ME are not pre-emptively multitasking,
7030 # you end up with a "frozen
" computer, even though with patience
7031 # the test eventually succeeds (with a max line length of 256k).
7032 # Instead, let's just punt: use the minimum linelength reported by
7033 # all of the supported platforms: 8192 (on NT/2K/XP).
7034 lt_cv_sys_max_cmd_len=8192;
7038 # On MiNT this can take a long time and run out of memory.
7039 lt_cv_sys_max_cmd_len=8192;
7043 # On AmigaOS with pdksh, this test takes hours, literally.
7044 # So we just punt and use a minimum line length of 8192.
7045 lt_cv_sys_max_cmd_len=8192;
7048 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7049 # This has been around since 386BSD, at least. Likely further.
7050 if test -x /sbin/sysctl; then
7051 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7052 elif test -x /usr/sbin/sysctl; then
7053 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7055 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7057 # And add a safety zone
7058 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7059 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7063 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7064 lt_cv_sys_max_cmd_len=196608
7068 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7069 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7070 # nice to cause kernel panics so lets avoid the loop below.
7071 # First set a reasonable default.
7072 lt_cv_sys_max_cmd_len=16384
7074 if test -x /sbin/sysconfig; then
7075 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7076 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7081 lt_cv_sys_max_cmd_len=102400
7083 sysv5* | sco5v6* | sysv4.2uw2*)
7084 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7085 if test -n "$kargmax"; then
7086 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7088 lt_cv_sys_max_cmd_len=32768
7092 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7093 if test -n "$lt_cv_sys_max_cmd_len"; then
7094 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7095 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7097 # Make teststring a little bigger before we do anything with it.
7098 # a 1K string should be a reasonable start.
7099 for i in 1 2 3 4 5 6 7 8 ; do
7100 teststring=$teststring$teststring
7102 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7103 # If test is not a shell built-in, we'll probably end up computing a
7104 # maximum length that is only half of the actual maximum length, but
7106 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7107 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7108 test $i != 17 # 1/2 MB should be enough
7111 teststring=$teststring$teststring
7113 # Only check the string length outside the loop.
7114 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7116 # Add a significant safety factor because C++ compilers can tack on
7117 # massive amounts of additional arguments before passing them to the
7118 # linker. It appears as though 1/2 is a usable value.
7119 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7126 if test -n $lt_cv_sys_max_cmd_len ; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7128 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7131 $as_echo "none
" >&6; }
7133 max_cmd_len=$lt_cv_sys_max_cmd_len
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7145 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7146 # Try some XSI features
7149 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7151 && eval 'test $(( 1 + 1 )) -eq 2 \
7152 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7155 $as_echo "$xsi_shell" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7159 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7161 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7163 && lt_shell_append
=yes
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7165 $as_echo "$lt_shell_append" >&6; }
7168 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7178 # test EBCDIC or ASCII
7179 case `echo X|tr X '\101'` in
7180 A
) # ASCII based system
7181 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7182 lt_SP2NL
='tr \040 \012'
7183 lt_NL2SP
='tr \015\012 \040\040'
7185 *) # EBCDIC based system
7186 lt_SP2NL
='tr \100 \n'
7187 lt_NL2SP
='tr \r\n \100\100'
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7200 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7201 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7202 $as_echo_n "(cached) " >&6
7204 lt_cv_ld_reload_flag
='-r'
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7207 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7208 reload_flag
=$lt_cv_ld_reload_flag
7209 case $reload_flag in
7211 *) reload_flag
=" $reload_flag" ;;
7213 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7216 if test "$GCC" = yes; then
7217 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7219 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7232 if test -n "$ac_tool_prefix"; then
7233 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7234 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236 $as_echo_n "checking for $ac_word... " >&6; }
7237 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7238 $as_echo_n "(cached) " >&6
7240 if test -n "$OBJDUMP"; then
7241 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7247 test -z "$as_dir" && as_dir
=.
7248 for ac_exec_ext
in '' $ac_executable_extensions; do
7249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7250 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7260 OBJDUMP
=$ac_cv_prog_OBJDUMP
7261 if test -n "$OBJDUMP"; then
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7263 $as_echo "$OBJDUMP" >&6; }
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7266 $as_echo "no" >&6; }
7271 if test -z "$ac_cv_prog_OBJDUMP"; then
7272 ac_ct_OBJDUMP
=$OBJDUMP
7273 # Extract the first word of "objdump", so it can be a program name with args.
7274 set dummy objdump
; ac_word
=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7280 if test -n "$ac_ct_OBJDUMP"; then
7281 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7287 test -z "$as_dir" && as_dir
=.
7288 for ac_exec_ext
in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7301 if test -n "$ac_ct_OBJDUMP"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7303 $as_echo "$ac_ct_OBJDUMP" >&6; }
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7309 if test "x$ac_ct_OBJDUMP" = x
; then
7312 case $cross_compiling:$ac_tool_warned in
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7316 ac_tool_warned
=yes ;;
7318 OBJDUMP
=$ac_ct_OBJDUMP
7321 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7324 test -z "$OBJDUMP" && OBJDUMP
=objdump
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7335 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7336 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7337 $as_echo_n "(cached) " >&6
7339 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7340 lt_cv_file_magic_test_file
=
7341 lt_cv_deplibs_check_method
='unknown'
7342 # Need to set the preceding variable on all platforms that support
7343 # interlibrary dependencies.
7344 # 'none' -- dependencies not supported.
7345 # `unknown' -- same as none, but documents that we really don't know.
7346 # 'pass_all' -- all dependencies passed with no checks.
7347 # 'test_compile' -- check by making test program.
7348 # 'file_magic [[regex]]' -- check by looking for files in library path
7349 # which responds to the $file_magic_cmd with a given extended regex.
7350 # If you have `file' or equivalent on your system and you're not sure
7351 # whether `pass_all' will *always* work, you probably want this one.
7355 lt_cv_deplibs_check_method
=pass_all
7359 lt_cv_deplibs_check_method
=pass_all
7363 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7364 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7365 lt_cv_file_magic_test_file
=/shlib
/libc.so
7369 # func_win32_libid is a shell function defined in ltmain.sh
7370 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7371 lt_cv_file_magic_cmd
='func_win32_libid'
7375 # Base MSYS/MinGW do not provide the 'file' command needed by
7376 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7377 # unless we find 'file', for example because we are cross-compiling.
7378 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7379 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7380 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7381 lt_cv_file_magic_cmd
='func_win32_libid'
7383 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7384 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7389 # use the weaker test based on 'objdump'. See mingw*.
7390 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7391 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7394 darwin
* | rhapsody
*)
7395 lt_cv_deplibs_check_method
=pass_all
7398 freebsd
* | dragonfly
*)
7399 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7402 # Not sure whether the presence of OpenBSD here was a mistake.
7403 # Let's accept both of them until this is cleared up.
7404 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7405 lt_cv_file_magic_cmd
=/usr
/bin
/file
7406 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7410 lt_cv_deplibs_check_method
=pass_all
7415 lt_cv_deplibs_check_method
=pass_all
7419 lt_cv_deplibs_check_method
=pass_all
7422 hpux10.20
* | hpux11
*)
7423 lt_cv_file_magic_cmd
=/usr
/bin
/file
7426 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7427 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7430 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]'
7431 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7434 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7435 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7441 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7442 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7445 irix5
* | irix6
* | nonstopux
*)
7447 *-32|
*"-32 ") libmagic
=32-bit;;
7448 *-n32|
*"-n32 ") libmagic
=N32
;;
7449 *-64|
*"-64 ") libmagic
=64-bit;;
7450 *) libmagic
=never-match
;;
7452 lt_cv_deplibs_check_method
=pass_all
7455 # This must be Linux ELF.
7456 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7457 lt_cv_deplibs_check_method
=pass_all
7461 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7462 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7464 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7469 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7470 lt_cv_file_magic_cmd
=/usr
/bin
/file
7471 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7475 lt_cv_deplibs_check_method
=pass_all
7479 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7480 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7482 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7486 osf3
* | osf4
* | osf5
*)
7487 lt_cv_deplibs_check_method
=pass_all
7491 lt_cv_deplibs_check_method
=pass_all
7495 lt_cv_deplibs_check_method
=pass_all
7498 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7499 lt_cv_deplibs_check_method
=pass_all
7503 case $host_vendor in
7505 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]'
7506 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7509 lt_cv_deplibs_check_method
=pass_all
7512 lt_cv_file_magic_cmd
='/bin/file'
7513 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7516 lt_cv_file_magic_cmd
='/bin/file'
7517 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7518 lt_cv_file_magic_test_file
=/lib
/libc.so
7521 lt_cv_deplibs_check_method
=pass_all
7524 lt_cv_deplibs_check_method
=pass_all
7530 lt_cv_deplibs_check_method
=pass_all
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7536 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7537 file_magic_cmd
=$lt_cv_file_magic_cmd
7538 deplibs_check_method
=$lt_cv_deplibs_check_method
7539 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7552 if test -n "$ac_tool_prefix"; then
7553 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7554 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7556 $as_echo_n "checking for $ac_word... " >&6; }
7557 if test "${ac_cv_prog_AR+set}" = set; then :
7558 $as_echo_n "(cached) " >&6
7560 if test -n "$AR"; then
7561 ac_cv_prog_AR
="$AR" # Let the user override the test.
7563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7567 test -z "$as_dir" && as_dir
=.
7568 for ac_exec_ext
in '' $ac_executable_extensions; do
7569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7570 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 if test -n "$AR"; then
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7583 $as_echo "$AR" >&6; }
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586 $as_echo "no" >&6; }
7591 if test -z "$ac_cv_prog_AR"; then
7593 # Extract the first word of "ar", so it can be a program name with args.
7594 set dummy
ar; ac_word
=$2
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7596 $as_echo_n "checking for $ac_word... " >&6; }
7597 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7598 $as_echo_n "(cached) " >&6
7600 if test -n "$ac_ct_AR"; then
7601 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7607 test -z "$as_dir" && as_dir
=.
7608 for ac_exec_ext
in '' $ac_executable_extensions; do
7609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 ac_cv_prog_ac_ct_AR
="ar"
7611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7620 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7621 if test -n "$ac_ct_AR"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7623 $as_echo "$ac_ct_AR" >&6; }
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7626 $as_echo "no" >&6; }
7629 if test "x$ac_ct_AR" = x
; then
7632 case $cross_compiling:$ac_tool_warned in
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7636 ac_tool_warned
=yes ;;
7644 test -z "$AR" && AR
=ar
7645 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7657 if test -n "$ac_tool_prefix"; then
7658 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7659 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661 $as_echo_n "checking for $ac_word... " >&6; }
7662 if test "${ac_cv_prog_STRIP+set}" = set; then :
7663 $as_echo_n "(cached) " >&6
7665 if test -n "$STRIP"; then
7666 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7672 test -z "$as_dir" && as_dir
=.
7673 for ac_exec_ext
in '' $ac_executable_extensions; do
7674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685 STRIP
=$ac_cv_prog_STRIP
7686 if test -n "$STRIP"; then
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7688 $as_echo "$STRIP" >&6; }
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691 $as_echo "no" >&6; }
7696 if test -z "$ac_cv_prog_STRIP"; then
7698 # Extract the first word of "strip", so it can be a program name with args.
7699 set dummy strip
; ac_word
=$2
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7701 $as_echo_n "checking for $ac_word... " >&6; }
7702 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7703 $as_echo_n "(cached) " >&6
7705 if test -n "$ac_ct_STRIP"; then
7706 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7712 test -z "$as_dir" && as_dir
=.
7713 for ac_exec_ext
in '' $ac_executable_extensions; do
7714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7715 ac_cv_prog_ac_ct_STRIP
="strip"
7716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7726 if test -n "$ac_ct_STRIP"; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7728 $as_echo "$ac_ct_STRIP" >&6; }
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7731 $as_echo "no" >&6; }
7734 if test "x$ac_ct_STRIP" = x
; then
7737 case $cross_compiling:$ac_tool_warned in
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7741 ac_tool_warned
=yes ;;
7746 STRIP
="$ac_cv_prog_STRIP"
7749 test -z "$STRIP" && STRIP
=:
7756 if test -n "$ac_tool_prefix"; then
7757 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7758 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7762 $as_echo_n "(cached) " >&6
7764 if test -n "$RANLIB"; then
7765 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir
=.
7772 for ac_exec_ext
in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 RANLIB
=$ac_cv_prog_RANLIB
7785 if test -n "$RANLIB"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7787 $as_echo "$RANLIB" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7795 if test -z "$ac_cv_prog_RANLIB"; then
7796 ac_ct_RANLIB
=$RANLIB
7797 # Extract the first word of "ranlib", so it can be a program name with args.
7798 set dummy ranlib
; ac_word
=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800 $as_echo_n "checking for $ac_word... " >&6; }
7801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7802 $as_echo_n "(cached) " >&6
7804 if test -n "$ac_ct_RANLIB"; then
7805 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7811 test -z "$as_dir" && as_dir
=.
7812 for ac_exec_ext
in '' $ac_executable_extensions; do
7813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7814 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7825 if test -n "$ac_ct_RANLIB"; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7827 $as_echo "$ac_ct_RANLIB" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830 $as_echo "no" >&6; }
7833 if test "x$ac_ct_RANLIB" = x
; then
7836 case $cross_compiling:$ac_tool_warned in
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7840 ac_tool_warned
=yes ;;
7842 RANLIB
=$ac_ct_RANLIB
7845 RANLIB
="$ac_cv_prog_RANLIB"
7848 test -z "$RANLIB" && RANLIB
=:
7855 # Determine commands to create old-style static archives.
7856 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7857 old_postinstall_cmds
='chmod 644 $oldlib'
7858 old_postuninstall_cmds
=
7860 if test -n "$RANLIB"; then
7863 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7866 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7869 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7874 lock_old_archive_extraction
=yes ;;
7876 lock_old_archive_extraction
=no
;;
7917 # If no C compiler was specified, use CC.
7920 # If no C compiler flags were specified, use CFLAGS.
7921 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7923 # Allow CC to be a program name with arguments.
7927 # Check for command to grab the raw symbol name followed by C symbol from nm.
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7929 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7930 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7931 $as_echo_n "(cached) " >&6
7934 # These are sane defaults that work on at least a few old systems.
7935 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7937 # Character class describing NM global symbol codes.
7938 symcode
='[BCDEGRST]'
7940 # Regexp to match symbols that can be accessed directly from C.
7941 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7943 # Define system-specific variables.
7948 cygwin
* | mingw
* | pw32
* | cegcc
*)
7949 symcode
='[ABCDGISTW]'
7952 if test "$host_cpu" = ia64
; then
7953 symcode
='[ABCDEGRST]'
7957 symcode
='[BCDEGRST]'
7960 symcode
='[BCDEGQRST]'
7971 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7979 # If we're using GNU nm, then use its standard symbol codes.
7980 case `$NM -V 2>&1` in
7981 *GNU
* |
*'with BFD'*)
7982 symcode
='[ABCDGIRSTW]' ;;
7985 # Transform an extracted symbol line into a proper C declaration.
7986 # Some systems (esp. on ia64) link data and code symbols differently,
7987 # so use this general approach.
7988 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7990 # Transform an extracted symbol line into symbol name and symbol address
7991 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7992 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'"
7994 # Handle CRLF in mingw tool chain
7998 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8002 # Try without a prefix underscore, then with it.
8003 for ac_symprfx
in "" "_"; do
8005 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8006 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8008 # Write the raw and C identifiers.
8009 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8010 # Fake it for dumpbin and say T for any non-static function
8011 # and D for any global variable.
8012 # Also find C++ and __fastcall symbols from MSVC++,
8013 # which start with @ or ?.
8014 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8015 " {last_section=section; section=\$ 3};"\
8016 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8017 " \$ 0!~/External *\|/{next};"\
8018 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8019 " {if(hide[section]) next};"\
8020 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8021 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8022 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8023 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8024 " ' prfx=^$ac_symprfx"
8026 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8029 # Check to see that the pipe works correctly.
8033 cat > conftest.
$ac_ext <<_LT_EOF
8038 void nm_test_func(void);
8039 void nm_test_func(void){}
8043 int main(){nm_test_var='a';nm_test_func();return(0);}
8046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8047 (eval $ac_compile) 2>&5
8049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8050 test $ac_status = 0; }; then
8051 # Now try to grab the symbols.
8053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8054 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8057 test $ac_status = 0; } && test -s "$nlist"; then
8058 # Try sorting and uniquifying the output.
8059 if sort "$nlist" |
uniq > "$nlist"T
; then
8060 mv -f "$nlist"T
"$nlist"
8065 # Make sure that we snagged all the symbols we need.
8066 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8067 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8068 cat <<_LT_EOF > conftest.$ac_ext
8074 # Now generate the symbol file.
8075 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8077 cat <<_LT_EOF >> conftest.$ac_ext
8079 /* The mapping between symbol names and symbols. */
8084 lt__PROGRAM__LTX_preloaded_symbols[] =
8086 { "@PROGRAM@", (void *) 0 },
8088 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8089 cat <<\_LT_EOF
>> conftest.
$ac_ext
8093 /* This works around a problem
in FreeBSD linker
*/
8094 #ifdef FREEBSD_WORKAROUND
8095 static const void
*lt_preloaded_setup
() {
8096 return lt__PROGRAM__LTX_preloaded_symbols
;
8104 # Now try linking the two files.
8105 mv conftest.
$ac_objext conftstm.
$ac_objext
8106 lt_save_LIBS
="$LIBS"
8107 lt_save_CFLAGS
="$CFLAGS"
8108 LIBS
="conftstm.$ac_objext"
8109 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8111 (eval $ac_link) 2>&5
8113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8114 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8117 LIBS
="$lt_save_LIBS"
8118 CFLAGS
="$lt_save_CFLAGS"
8120 echo "cannot find nm_test_func in $nlist" >&5
8123 echo "cannot find nm_test_var in $nlist" >&5
8126 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8129 echo "$progname: failed program was:" >&5
8130 cat conftest.
$ac_ext >&5
8132 rm -rf conftest
* conftst
*
8134 # Do not use the global_symbol_pipe unless it works.
8135 if test "$pipe_works" = yes; then
8138 lt_cv_sys_global_symbol_pipe
=
8144 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8145 lt_cv_sys_global_symbol_to_cdecl
=
8147 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8149 $as_echo "failed" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8152 $as_echo "ok" >&6; }
8176 # Check whether --enable-libtool-lock was given.
8177 if test "${enable_libtool_lock+set}" = set; then :
8178 enableval
=$enable_libtool_lock;
8181 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8183 # Some flags need to be propagated to the compiler or linker for good
8187 # Find out which ABI we are using.
8188 echo 'int i;' > conftest.
$ac_ext
8189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8190 (eval $ac_compile) 2>&5
8192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8193 test $ac_status = 0; }; then
8194 case `/usr/bin/file conftest.$ac_objext` in
8206 # Find out which ABI we are using.
8207 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8208 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8209 (eval $ac_compile) 2>&5
8211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8212 test $ac_status = 0; }; then
8213 if test "$lt_cv_prog_gnu_ld" = yes; then
8214 case `/usr/bin/file conftest.$ac_objext` in
8216 LD
="${LD-ld} -melf32bsmip"
8219 LD
="${LD-ld} -melf32bmipn32"
8222 LD
="${LD-ld} -melf64bmip"
8226 case `/usr/bin/file conftest.$ac_objext` in
8242 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8243 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8244 # Find out which ABI we are using.
8245 echo 'int i;' > conftest.
$ac_ext
8246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8247 (eval $ac_compile) 2>&5
8249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8250 test $ac_status = 0; }; then
8251 case `/usr/bin/file conftest.o` in
8254 x86_64-
*kfreebsd
*-gnu)
8255 LD
="${LD-ld} -m elf_i386_fbsd"
8258 case `/usr/bin/file conftest.o` in
8260 LD
="${LD-ld} -m elf32_x86_64"
8263 LD
="${LD-ld} -m elf_i386"
8267 powerpc64le-
*linux
*)
8268 LD
="${LD-ld} -m elf32lppclinux"
8271 LD
="${LD-ld} -m elf32ppclinux"
8274 LD
="${LD-ld} -m elf_s390"
8277 LD
="${LD-ld} -m elf32_sparc"
8283 x86_64-
*kfreebsd
*-gnu)
8284 LD
="${LD-ld} -m elf_x86_64_fbsd"
8287 LD
="${LD-ld} -m elf_x86_64"
8290 LD
="${LD-ld} -m elf64lppc"
8293 LD
="${LD-ld} -m elf64ppc"
8295 s390
*-*linux
*|s390
*-*tpf
*)
8296 LD
="${LD-ld} -m elf64_s390"
8299 LD
="${LD-ld} -m elf64_sparc"
8309 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8310 SAVE_CFLAGS
="$CFLAGS"
8311 CFLAGS
="$CFLAGS -belf"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8313 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8314 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8315 $as_echo_n "(cached) " >&6
8318 ac_cpp
='$CPP $CPPFLAGS'
8319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8323 if test x
$gcc_no_link = xyes
; then
8324 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8337 if ac_fn_c_try_link
"$LINENO"; then :
8338 lt_cv_cc_needs_belf
=yes
8340 lt_cv_cc_needs_belf
=no
8342 rm -f core conftest.err conftest.
$ac_objext \
8343 conftest
$ac_exeext conftest.
$ac_ext
8345 ac_cpp
='$CPP $CPPFLAGS'
8346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8352 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8353 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8354 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8355 CFLAGS
="$SAVE_CFLAGS"
8359 # Find out which ABI we are using.
8360 echo 'int i;' > conftest.
$ac_ext
8361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8362 (eval $ac_compile) 2>&5
8364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8365 test $ac_status = 0; }; then
8366 case `/usr/bin/file conftest.o` in
8368 case $lt_cv_prog_gnu_ld in
8369 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8371 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8383 need_locks
="$enable_libtool_lock"
8387 rhapsody
* | darwin
*)
8388 if test -n "$ac_tool_prefix"; then
8389 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8390 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8392 $as_echo_n "checking for $ac_word... " >&6; }
8393 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8394 $as_echo_n "(cached) " >&6
8396 if test -n "$DSYMUTIL"; then
8397 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8403 test -z "$as_dir" && as_dir
=.
8404 for ac_exec_ext
in '' $ac_executable_extensions; do
8405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8406 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8416 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8417 if test -n "$DSYMUTIL"; then
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8419 $as_echo "$DSYMUTIL" >&6; }
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8422 $as_echo "no" >&6; }
8427 if test -z "$ac_cv_prog_DSYMUTIL"; then
8428 ac_ct_DSYMUTIL
=$DSYMUTIL
8429 # Extract the first word of "dsymutil", so it can be a program name with args.
8430 set dummy dsymutil
; ac_word
=$2
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8432 $as_echo_n "checking for $ac_word... " >&6; }
8433 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8434 $as_echo_n "(cached) " >&6
8436 if test -n "$ac_ct_DSYMUTIL"; then
8437 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8443 test -z "$as_dir" && as_dir
=.
8444 for ac_exec_ext
in '' $ac_executable_extensions; do
8445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8446 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8457 if test -n "$ac_ct_DSYMUTIL"; then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8459 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8462 $as_echo "no" >&6; }
8465 if test "x$ac_ct_DSYMUTIL" = x
; then
8468 case $cross_compiling:$ac_tool_warned in
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8472 ac_tool_warned
=yes ;;
8474 DSYMUTIL
=$ac_ct_DSYMUTIL
8477 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8480 if test -n "$ac_tool_prefix"; then
8481 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8482 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8484 $as_echo_n "checking for $ac_word... " >&6; }
8485 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8486 $as_echo_n "(cached) " >&6
8488 if test -n "$NMEDIT"; then
8489 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8495 test -z "$as_dir" && as_dir
=.
8496 for ac_exec_ext
in '' $ac_executable_extensions; do
8497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8498 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508 NMEDIT
=$ac_cv_prog_NMEDIT
8509 if test -n "$NMEDIT"; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8511 $as_echo "$NMEDIT" >&6; }
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8514 $as_echo "no" >&6; }
8519 if test -z "$ac_cv_prog_NMEDIT"; then
8520 ac_ct_NMEDIT
=$NMEDIT
8521 # Extract the first word of "nmedit", so it can be a program name with args.
8522 set dummy nmedit
; ac_word
=$2
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8524 $as_echo_n "checking for $ac_word... " >&6; }
8525 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8526 $as_echo_n "(cached) " >&6
8528 if test -n "$ac_ct_NMEDIT"; then
8529 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8535 test -z "$as_dir" && as_dir
=.
8536 for ac_exec_ext
in '' $ac_executable_extensions; do
8537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8538 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8549 if test -n "$ac_ct_NMEDIT"; then
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8551 $as_echo "$ac_ct_NMEDIT" >&6; }
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8554 $as_echo "no" >&6; }
8557 if test "x$ac_ct_NMEDIT" = x
; then
8560 case $cross_compiling:$ac_tool_warned in
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8564 ac_tool_warned
=yes ;;
8566 NMEDIT
=$ac_ct_NMEDIT
8569 NMEDIT
="$ac_cv_prog_NMEDIT"
8572 if test -n "$ac_tool_prefix"; then
8573 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8574 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8576 $as_echo_n "checking for $ac_word... " >&6; }
8577 if test "${ac_cv_prog_LIPO+set}" = set; then :
8578 $as_echo_n "(cached) " >&6
8580 if test -n "$LIPO"; then
8581 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8587 test -z "$as_dir" && as_dir
=.
8588 for ac_exec_ext
in '' $ac_executable_extensions; do
8589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8590 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8600 LIPO
=$ac_cv_prog_LIPO
8601 if test -n "$LIPO"; then
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8603 $as_echo "$LIPO" >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8606 $as_echo "no" >&6; }
8611 if test -z "$ac_cv_prog_LIPO"; then
8613 # Extract the first word of "lipo", so it can be a program name with args.
8614 set dummy lipo
; ac_word
=$2
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8616 $as_echo_n "checking for $ac_word... " >&6; }
8617 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8618 $as_echo_n "(cached) " >&6
8620 if test -n "$ac_ct_LIPO"; then
8621 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8627 test -z "$as_dir" && as_dir
=.
8628 for ac_exec_ext
in '' $ac_executable_extensions; do
8629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8630 ac_cv_prog_ac_ct_LIPO
="lipo"
8631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8641 if test -n "$ac_ct_LIPO"; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8643 $as_echo "$ac_ct_LIPO" >&6; }
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8646 $as_echo "no" >&6; }
8649 if test "x$ac_ct_LIPO" = x
; then
8652 case $cross_compiling:$ac_tool_warned in
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8656 ac_tool_warned
=yes ;;
8661 LIPO
="$ac_cv_prog_LIPO"
8664 if test -n "$ac_tool_prefix"; then
8665 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8666 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8668 $as_echo_n "checking for $ac_word... " >&6; }
8669 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8670 $as_echo_n "(cached) " >&6
8672 if test -n "$OTOOL"; then
8673 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8679 test -z "$as_dir" && as_dir
=.
8680 for ac_exec_ext
in '' $ac_executable_extensions; do
8681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8682 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 OTOOL
=$ac_cv_prog_OTOOL
8693 if test -n "$OTOOL"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8695 $as_echo "$OTOOL" >&6; }
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698 $as_echo "no" >&6; }
8703 if test -z "$ac_cv_prog_OTOOL"; then
8705 # Extract the first word of "otool", so it can be a program name with args.
8706 set dummy otool
; ac_word
=$2
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8708 $as_echo_n "checking for $ac_word... " >&6; }
8709 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8710 $as_echo_n "(cached) " >&6
8712 if test -n "$ac_ct_OTOOL"; then
8713 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8719 test -z "$as_dir" && as_dir
=.
8720 for ac_exec_ext
in '' $ac_executable_extensions; do
8721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8722 ac_cv_prog_ac_ct_OTOOL
="otool"
8723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8733 if test -n "$ac_ct_OTOOL"; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8735 $as_echo "$ac_ct_OTOOL" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738 $as_echo "no" >&6; }
8741 if test "x$ac_ct_OTOOL" = x
; then
8744 case $cross_compiling:$ac_tool_warned in
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8748 ac_tool_warned
=yes ;;
8753 OTOOL
="$ac_cv_prog_OTOOL"
8756 if test -n "$ac_tool_prefix"; then
8757 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8758 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8760 $as_echo_n "checking for $ac_word... " >&6; }
8761 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8762 $as_echo_n "(cached) " >&6
8764 if test -n "$OTOOL64"; then
8765 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8771 test -z "$as_dir" && as_dir
=.
8772 for ac_exec_ext
in '' $ac_executable_extensions; do
8773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8774 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8784 OTOOL64
=$ac_cv_prog_OTOOL64
8785 if test -n "$OTOOL64"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8787 $as_echo "$OTOOL64" >&6; }
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8790 $as_echo "no" >&6; }
8795 if test -z "$ac_cv_prog_OTOOL64"; then
8796 ac_ct_OTOOL64
=$OTOOL64
8797 # Extract the first word of "otool64", so it can be a program name with args.
8798 set dummy otool64
; ac_word
=$2
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8800 $as_echo_n "checking for $ac_word... " >&6; }
8801 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8802 $as_echo_n "(cached) " >&6
8804 if test -n "$ac_ct_OTOOL64"; then
8805 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8811 test -z "$as_dir" && as_dir
=.
8812 for ac_exec_ext
in '' $ac_executable_extensions; do
8813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8814 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8825 if test -n "$ac_ct_OTOOL64"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8827 $as_echo "$ac_ct_OTOOL64" >&6; }
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 $as_echo "no" >&6; }
8833 if test "x$ac_ct_OTOOL64" = x
; then
8836 case $cross_compiling:$ac_tool_warned in
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8840 ac_tool_warned
=yes ;;
8842 OTOOL64
=$ac_ct_OTOOL64
8845 OTOOL64
="$ac_cv_prog_OTOOL64"
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8875 $as_echo_n "checking for -single_module linker flag... " >&6; }
8876 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8877 $as_echo_n "(cached) " >&6
8879 lt_cv_apple_cc_single_mod
=no
8880 if test -z "${LT_MULTI_MODULE}"; then
8881 # By default we will add the -single_module flag. You can override
8882 # by either setting the environment variable LT_MULTI_MODULE
8883 # non-empty at configure time, or by adding -multi_module to the
8885 rm -rf libconftest.dylib
*
8886 echo "int foo(void){return 1;}" > conftest.c
8887 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8888 -dynamiclib -Wl,-single_module conftest.c" >&5
8889 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8890 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8892 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8893 lt_cv_apple_cc_single_mod
=yes
8895 cat conftest.err
>&5
8897 rm -rf libconftest.dylib
*
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8902 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8904 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8905 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8908 lt_cv_ld_exported_symbols_list
=no
8909 save_LDFLAGS
=$LDFLAGS
8910 echo "_main" > conftest.sym
8911 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8912 if test x
$gcc_no_link = xyes
; then
8913 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8926 if ac_fn_c_try_link
"$LINENO"; then :
8927 lt_cv_ld_exported_symbols_list
=yes
8929 lt_cv_ld_exported_symbols_list
=no
8931 rm -f core conftest.err conftest.
$ac_objext \
8932 conftest
$ac_exeext conftest.
$ac_ext
8933 LDFLAGS
="$save_LDFLAGS"
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8937 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8939 $as_echo_n "checking for -force_load linker flag... " >&6; }
8940 if test "${lt_cv_ld_force_load+set}" = set; then :
8941 $as_echo_n "(cached) " >&6
8943 lt_cv_ld_force_load
=no
8944 cat > conftest.c
<< _LT_EOF
8945 int forced_loaded() { return 2;}
8947 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8948 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8949 echo "$AR cru libconftest.a conftest.o" >&5
8950 $AR cru libconftest.a conftest.o
2>&5
8951 cat > conftest.c
<< _LT_EOF
8952 int main() { return 0;}
8954 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8955 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8957 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8958 lt_cv_ld_force_load
=yes
8960 cat conftest.err
>&5
8962 rm -f conftest.err libconftest.a conftest conftest.c
8963 rm -rf conftest.dSYM
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8967 $as_echo "$lt_cv_ld_force_load" >&6; }
8969 rhapsody
* | darwin1.
[012])
8970 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8972 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8973 darwin
*) # darwin 5.x on
8974 # if running on 10.5 or later, the deployment target defaults
8975 # to the OS version, if on x86, and 10.4, the deployment
8976 # target defaults to 10.4. Don't you love it?
8977 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8978 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8979 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8981 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8983 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8987 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8988 _lt_dar_single_mod
='$single_module'
8990 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8991 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8993 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8995 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8996 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9003 for ac_header
in dlfcn.h
9005 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9007 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
9008 cat >>confdefs.h
<<_ACEOF
9009 #define HAVE_DLFCN_H 1
9028 # Check whether --enable-shared was given.
9029 if test "${enable_shared+set}" = set; then :
9030 enableval
=$enable_shared; p
=${PACKAGE-default}
9032 yes) enable_shared
=yes ;;
9033 no
) enable_shared
=no
;;
9036 # Look at the argument we got. We use all the common list separators.
9037 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9038 for pkg
in $enableval; do
9040 if test "X$pkg" = "X$p"; then
9059 # Check whether --enable-static was given.
9060 if test "${enable_static+set}" = set; then :
9061 enableval
=$enable_static; p
=${PACKAGE-default}
9063 yes) enable_static
=yes ;;
9064 no
) enable_static
=no
;;
9067 # Look at the argument we got. We use all the common list separators.
9068 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9069 for pkg
in $enableval; do
9071 if test "X$pkg" = "X$p"; then
9091 # Check whether --with-pic was given.
9092 if test "${with_pic+set}" = set; then :
9093 withval
=$with_pic; pic_mode
="$withval"
9099 test -z "$pic_mode" && pic_mode
=default
9107 # Check whether --enable-fast-install was given.
9108 if test "${enable_fast_install+set}" = set; then :
9109 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9111 yes) enable_fast_install
=yes ;;
9112 no
) enable_fast_install
=no
;;
9114 enable_fast_install
=no
9115 # Look at the argument we got. We use all the common list separators.
9116 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9117 for pkg
in $enableval; do
9119 if test "X$pkg" = "X$p"; then
9120 enable_fast_install
=yes
9127 enable_fast_install
=yes
9140 # This can be used to rebuild libtool when needed
9141 LIBTOOL_DEPS
="$ltmain"
9143 # Always use our own libtool.
9144 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9171 test -z "$LN_S" && LN_S
="ln -s"
9186 if test -n "${ZSH_VERSION+set}" ; then
9187 setopt NO_GLOB_SUBST
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9191 $as_echo_n "checking for objdir... " >&6; }
9192 if test "${lt_cv_objdir+set}" = set; then :
9193 $as_echo_n "(cached) " >&6
9195 rm -f .libs
2>/dev
/null
9196 mkdir .libs
2>/dev
/null
9197 if test -d .libs
; then
9200 # MS-DOS does not allow filenames that begin with a dot.
9203 rmdir .libs
2>/dev
/null
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9206 $as_echo "$lt_cv_objdir" >&6; }
9207 objdir
=$lt_cv_objdir
9213 cat >>confdefs.h
<<_ACEOF
9214 #define LT_OBJDIR "$lt_cv_objdir/"
9222 # AIX sometimes has problems with the GCC collect2 program. For some
9223 # reason, if we set the COLLECT_NAMES environment variable, the problems
9224 # vanish in a puff of smoke.
9225 if test "X${COLLECT_NAMES+set}" != Xset
; then
9227 export COLLECT_NAMES
9234 can_build_shared
=yes
9236 # All known linkers require a `.a' archive for static linking (except MSVC,
9237 # which needs '.lib').
9240 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9243 old_CFLAGS
="$CFLAGS"
9245 # Set sane defaults for various variables
9246 test -z "$CC" && CC
=cc
9247 test -z "$LTCC" && LTCC
=$CC
9248 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9249 test -z "$LD" && LD
=ld
9250 test -z "$ac_objext" && ac_objext
=o
9252 for cc_temp
in $compiler""; do
9254 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9255 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9260 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9263 # Only perform the check for file, if the check method requires it
9264 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9265 case $deplibs_check_method in
9267 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9269 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9270 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9271 $as_echo_n "(cached) " >&6
9275 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9278 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9279 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9280 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9281 for ac_dir
in $ac_dummy; do
9283 test -z "$ac_dir" && ac_dir
=.
9284 if test -f $ac_dir/${ac_tool_prefix}file; then
9285 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9286 if test -n "$file_magic_test_file"; then
9287 case $deplibs_check_method in
9289 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9290 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9291 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9292 $EGREP "$file_magic_regex" > /dev
/null
; then
9297 *** Warning: the command libtool uses to detect shared libraries,
9298 *** $file_magic_cmd, produces output that libtool cannot recognize.
9299 *** The result is that libtool may fail to recognize shared libraries
9300 *** as such. This will affect the creation of libtool libraries that
9301 *** depend on shared libraries, but programs linked with such libtool
9302 *** libraries will work regardless of this problem. Nevertheless, you
9303 *** may want to report the problem to your system manager and/or to
9304 *** bug-libtool@gnu.org
9314 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9319 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9320 if test -n "$MAGIC_CMD"; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9322 $as_echo "$MAGIC_CMD" >&6; }
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9325 $as_echo "no" >&6; }
9332 if test -z "$lt_cv_path_MAGIC_CMD"; then
9333 if test -n "$ac_tool_prefix"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9335 $as_echo_n "checking for file... " >&6; }
9336 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9337 $as_echo_n "(cached) " >&6
9341 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9344 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9345 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9346 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9347 for ac_dir
in $ac_dummy; do
9349 test -z "$ac_dir" && ac_dir
=.
9350 if test -f $ac_dir/file; then
9351 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9352 if test -n "$file_magic_test_file"; then
9353 case $deplibs_check_method in
9355 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9356 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9357 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9358 $EGREP "$file_magic_regex" > /dev
/null
; then
9363 *** Warning: the command libtool uses to detect shared libraries,
9364 *** $file_magic_cmd, produces output that libtool cannot recognize.
9365 *** The result is that libtool may fail to recognize shared libraries
9366 *** as such. This will affect the creation of libtool libraries that
9367 *** depend on shared libraries, but programs linked with such libtool
9368 *** libraries will work regardless of this problem. Nevertheless, you
9369 *** may want to report the problem to your system manager and/or to
9370 *** bug-libtool@gnu.org
9380 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9385 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9386 if test -n "$MAGIC_CMD"; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9388 $as_echo "$MAGIC_CMD" >&6; }
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9391 $as_echo "no" >&6; }
9404 # Use C for the default configuration in the libtool script
9408 ac_cpp
='$CPP $CPPFLAGS'
9409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9414 # Source file extension for C test sources.
9417 # Object file extension for compiled C test sources.
9421 # Code to be used in simple compile tests
9422 lt_simple_compile_test_code
="int some_variable = 0;"
9424 # Code to be used in simple link tests
9425 lt_simple_link_test_code
='int main(){return(0);}'
9433 # If no C compiler was specified, use CC.
9436 # If no C compiler flags were specified, use CFLAGS.
9437 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9439 # Allow CC to be a program name with arguments.
9442 # Save the default compiler, since it gets overwritten when the other
9443 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9444 compiler_DEFAULT
=$CC
9446 # save warnings/boilerplate of simple test code
9447 ac_outfile
=conftest.
$ac_objext
9448 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9449 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9450 _lt_compiler_boilerplate
=`cat conftest.err`
9453 ac_outfile
=conftest.
$ac_objext
9454 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9455 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9456 _lt_linker_boilerplate
=`cat conftest.err`
9461 ## There is no encapsulation within the following macros, do not change
9462 ## the running order or otherwise move them around unless you know exactly
9463 ## what you are doing...
9464 if test -n "$compiler"; then
9466 lt_prog_compiler_no_builtin_flag
=
9468 if test "$GCC" = yes; then
9469 case $cc_basename in
9471 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9473 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9477 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9478 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9479 $as_echo_n "(cached) " >&6
9481 lt_cv_prog_compiler_rtti_exceptions
=no
9482 ac_outfile
=conftest.
$ac_objext
9483 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9484 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9485 # Insert the option either (1) after the last *FLAGS variable, or
9486 # (2) before a word containing "conftest.", or (3) at the end.
9487 # Note that $ac_compile itself does not contain backslashes and begins
9488 # with a dollar sign (not a hyphen), so the echo should work correctly.
9489 # The option is referenced via a variable to avoid confusing sed.
9490 lt_compile
=`echo "$ac_compile" | $SED \
9491 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9492 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9493 -e 's:$: $lt_compiler_flag:'`
9494 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9495 (eval "$lt_compile" 2>conftest.err
)
9497 cat conftest.err
>&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 if (exit $ac_status) && test -s "$ac_outfile"; then
9500 # The compiler can only warn and ignore the option if not recognized
9501 # So say no if there are warnings other than the usual output.
9502 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9503 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9504 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9505 lt_cv_prog_compiler_rtti_exceptions
=yes
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9512 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9514 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9515 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9527 lt_prog_compiler_wl
=
9528 lt_prog_compiler_pic
=
9529 lt_prog_compiler_static
=
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9532 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9534 if test "$GCC" = yes; then
9535 lt_prog_compiler_wl
='-Wl,'
9536 lt_prog_compiler_static
='-static'
9540 # All AIX code is PIC.
9541 if test "$host_cpu" = ia64
; then
9542 # AIX 5 now supports IA64 processor
9543 lt_prog_compiler_static
='-Bstatic'
9545 lt_prog_compiler_pic
='-fPIC'
9551 # see comment about AmigaOS4 .so support
9552 lt_prog_compiler_pic
='-fPIC'
9555 # FIXME: we need at least 68020 code to build shared libraries, but
9556 # adding the `-m68020' flag to GCC prevents building anything better,
9558 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9563 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9564 # PIC is the default for these OSes.
9567 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9568 # This hack is so that the source file can tell whether it is being
9569 # built for inclusion in a dll (and should export symbols for example).
9570 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9571 # (--disable-auto-import) libraries
9572 lt_prog_compiler_pic
='-DDLL_EXPORT'
9575 darwin
* | rhapsody
*)
9576 # PIC is the default on this platform
9577 # Common symbols not allowed in MH_DYLIB files
9578 lt_prog_compiler_pic
='-fno-common'
9582 # PIC is the default for Haiku.
9583 # The "-static" flag exists, but is broken.
9584 lt_prog_compiler_static
=
9588 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9589 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9590 # sets the default TLS model and affects inlining.
9596 lt_prog_compiler_pic
='-fPIC'
9602 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9603 # Instead, we relocate shared libraries at runtime.
9607 # Just because we use GCC doesn't mean we suddenly get shared libraries
9608 # on systems that don't support them.
9609 lt_prog_compiler_can_build_shared
=no
9614 # QNX uses GNU C++, but need to define -shared option too, otherwise
9616 lt_prog_compiler_pic
='-fPIC -shared'
9620 if test -d /usr
/nec
; then
9621 lt_prog_compiler_pic
=-Kconform_pic
9626 lt_prog_compiler_pic
='-fPIC'
9630 case $cc_basename in
9631 nvcc
*) # Cuda Compiler Driver 2.2
9632 lt_prog_compiler_wl
='-Xlinker '
9633 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9637 # PORTME Check for flag to pass linker flags through the system compiler.
9640 lt_prog_compiler_wl
='-Wl,'
9641 if test "$host_cpu" = ia64
; then
9642 # AIX 5 now supports IA64 processor
9643 lt_prog_compiler_static
='-Bstatic'
9645 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9649 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9650 # This hack is so that the source file can tell whether it is being
9651 # built for inclusion in a dll (and should export symbols for example).
9652 lt_prog_compiler_pic
='-DDLL_EXPORT'
9655 hpux9
* | hpux10
* | hpux11
*)
9656 lt_prog_compiler_wl
='-Wl,'
9657 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9664 lt_prog_compiler_pic
='+Z'
9667 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9668 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9671 irix5
* | irix6
* | nonstopux
*)
9672 lt_prog_compiler_wl
='-Wl,'
9673 # PIC (with -KPIC) is the default.
9674 lt_prog_compiler_static
='-non_shared'
9677 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9678 case $cc_basename in
9679 # old Intel for x86_64 which still supported -KPIC.
9681 lt_prog_compiler_wl
='-Wl,'
9682 lt_prog_compiler_pic
='-KPIC'
9683 lt_prog_compiler_static
='-static'
9685 # icc used to be incompatible with GCC.
9686 # ICC 10 doesn't accept -KPIC any more.
9688 lt_prog_compiler_wl
='-Wl,'
9689 lt_prog_compiler_pic
='-fPIC'
9690 lt_prog_compiler_static
='-static'
9692 # Lahey Fortran 8.1.
9694 lt_prog_compiler_wl
='-Wl,'
9695 lt_prog_compiler_pic
='--shared'
9696 lt_prog_compiler_static
='--static'
9698 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9699 # Portland Group compilers (*not* the Pentium gcc compiler,
9700 # which looks to be a dead project)
9701 lt_prog_compiler_wl
='-Wl,'
9702 lt_prog_compiler_pic
='-fpic'
9703 lt_prog_compiler_static
='-Bstatic'
9706 lt_prog_compiler_wl
='-Wl,'
9707 # All Alpha code is PIC.
9708 lt_prog_compiler_static
='-non_shared'
9710 xl
* | bgxl
* | bgf
* | mpixl
*)
9711 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9712 lt_prog_compiler_wl
='-Wl,'
9713 lt_prog_compiler_pic
='-qpic'
9714 lt_prog_compiler_static
='-qstaticlink'
9717 case `$CC -V 2>&1 | sed 5q` in
9718 *Sun\ F
* |
*Sun
*Fortran
*)
9719 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9720 lt_prog_compiler_pic
='-KPIC'
9721 lt_prog_compiler_static
='-Bstatic'
9722 lt_prog_compiler_wl
=''
9726 lt_prog_compiler_pic
='-KPIC'
9727 lt_prog_compiler_static
='-Bstatic'
9728 lt_prog_compiler_wl
='-Wl,'
9736 lt_prog_compiler_pic
='-KPIC'
9737 lt_prog_compiler_static
='-Bstatic'
9741 # QNX uses GNU C++, but need to define -shared option too, otherwise
9743 lt_prog_compiler_pic
='-fPIC -shared'
9746 osf3
* | osf4
* | osf5
*)
9747 lt_prog_compiler_wl
='-Wl,'
9748 # All OSF/1 code is PIC.
9749 lt_prog_compiler_static
='-non_shared'
9753 lt_prog_compiler_static
='-non_shared'
9757 lt_prog_compiler_pic
='-KPIC'
9758 lt_prog_compiler_static
='-Bstatic'
9759 case $cc_basename in
9761 lt_prog_compiler_wl
='-Qoption ld ';;
9763 lt_prog_compiler_wl
='-Wl,';;
9768 lt_prog_compiler_wl
='-Qoption ld '
9769 lt_prog_compiler_pic
='-PIC'
9770 lt_prog_compiler_static
='-Bstatic'
9773 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9774 lt_prog_compiler_wl
='-Wl,'
9775 lt_prog_compiler_pic
='-KPIC'
9776 lt_prog_compiler_static
='-Bstatic'
9780 if test -d /usr
/nec
;then
9781 lt_prog_compiler_pic
='-Kconform_pic'
9782 lt_prog_compiler_static
='-Bstatic'
9786 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9787 lt_prog_compiler_wl
='-Wl,'
9788 lt_prog_compiler_pic
='-KPIC'
9789 lt_prog_compiler_static
='-Bstatic'
9793 lt_prog_compiler_wl
='-Wl,'
9794 lt_prog_compiler_can_build_shared
=no
9798 lt_prog_compiler_pic
='-pic'
9799 lt_prog_compiler_static
='-Bstatic'
9803 lt_prog_compiler_can_build_shared
=no
9809 # For platforms which do not support PIC, -DPIC is meaningless:
9811 lt_prog_compiler_pic
=
9814 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9818 $as_echo "$lt_prog_compiler_pic" >&6; }
9826 # Check to make sure the PIC flag actually works.
9828 if test -n "$lt_prog_compiler_pic"; then
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9830 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9831 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9832 $as_echo_n "(cached) " >&6
9834 lt_cv_prog_compiler_pic_works
=no
9835 ac_outfile
=conftest.
$ac_objext
9836 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9837 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9838 # Insert the option either (1) after the last *FLAGS variable, or
9839 # (2) before a word containing "conftest.", or (3) at the end.
9840 # Note that $ac_compile itself does not contain backslashes and begins
9841 # with a dollar sign (not a hyphen), so the echo should work correctly.
9842 # The option is referenced via a variable to avoid confusing sed.
9843 lt_compile
=`echo "$ac_compile" | $SED \
9844 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9845 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9846 -e 's:$: $lt_compiler_flag:'`
9847 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9848 (eval "$lt_compile" 2>conftest.err
)
9850 cat conftest.err
>&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 if (exit $ac_status) && test -s "$ac_outfile"; then
9853 # The compiler can only warn and ignore the option if not recognized
9854 # So say no if there are warnings other than the usual output.
9855 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9856 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9857 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9858 lt_cv_prog_compiler_pic_works
=yes
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9865 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9867 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9868 case $lt_prog_compiler_pic in
9870 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9873 lt_prog_compiler_pic
=
9874 lt_prog_compiler_can_build_shared
=no
9885 # Check to make sure the static flag actually works.
9887 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9889 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9890 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9891 $as_echo_n "(cached) " >&6
9893 lt_cv_prog_compiler_static_works
=no
9894 save_LDFLAGS
="$LDFLAGS"
9895 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9896 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9897 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9898 # The linker can only warn and ignore the option if not recognized
9899 # So say no if there are warnings
9900 if test -s conftest.err
; then
9901 # Append any errors to the config.log.
9902 cat conftest.err
1>&5
9903 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9904 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9905 if diff conftest.exp conftest.er2
>/dev
/null
; then
9906 lt_cv_prog_compiler_static_works
=yes
9909 lt_cv_prog_compiler_static_works
=yes
9913 LDFLAGS
="$save_LDFLAGS"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9917 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9919 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9922 lt_prog_compiler_static
=
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9932 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9933 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9934 $as_echo_n "(cached) " >&6
9936 lt_cv_prog_compiler_c_o
=no
9937 $RM -r conftest
2>/dev
/null
9941 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9943 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9944 # Insert the option either (1) after the last *FLAGS variable, or
9945 # (2) before a word containing "conftest.", or (3) at the end.
9946 # Note that $ac_compile itself does not contain backslashes and begins
9947 # with a dollar sign (not a hyphen), so the echo should work correctly.
9948 lt_compile
=`echo "$ac_compile" | $SED \
9949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9951 -e 's:$: $lt_compiler_flag:'`
9952 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9953 (eval "$lt_compile" 2>out
/conftest.err
)
9955 cat out
/conftest.err
>&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9959 # The compiler can only warn and ignore the option if not recognized
9960 # So say no if there are warnings
9961 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9962 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9963 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9964 lt_cv_prog_compiler_c_o
=yes
9969 # SGI C++ compiler will create directory out/ii_files/ for
9970 # template instantiation
9971 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9972 $RM out
/* && rmdir out
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9979 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9987 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9988 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9989 $as_echo_n "(cached) " >&6
9991 lt_cv_prog_compiler_c_o
=no
9992 $RM -r conftest
2>/dev
/null
9996 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9998 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9999 # Insert the option either (1) after the last *FLAGS variable, or
10000 # (2) before a word containing "conftest.", or (3) at the end.
10001 # Note that $ac_compile itself does not contain backslashes and begins
10002 # with a dollar sign (not a hyphen), so the echo should work correctly.
10003 lt_compile
=`echo "$ac_compile" | $SED \
10004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10006 -e 's:$: $lt_compiler_flag:'`
10007 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10008 (eval "$lt_compile" 2>out
/conftest.err
)
10010 cat out
/conftest.err
>&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10014 # The compiler can only warn and ignore the option if not recognized
10015 # So say no if there are warnings
10016 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10017 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10018 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10019 lt_cv_prog_compiler_c_o
=yes
10024 # SGI C++ compiler will create directory out/ii_files/ for
10025 # template instantiation
10026 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10027 $RM out
/* && rmdir out
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10034 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10039 hard_links
="nottested"
10040 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10041 # do not overwrite the value of need_locks provided by the user
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10043 $as_echo_n "checking if we can lock with hard links... " >&6; }
10046 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10048 ln conftest.a conftest.b
2>&5 || hard_links
=no
10049 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10051 $as_echo "$hard_links" >&6; }
10052 if test "$hard_links" = no
; then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10054 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10067 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10070 allow_undefined_flag
=
10071 always_export_symbols
=no
10073 archive_expsym_cmds
=
10074 compiler_needs_object
=no
10075 enable_shared_with_static_runtimes
=no
10076 export_dynamic_flag_spec
=
10077 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10078 hardcode_automatic
=no
10080 hardcode_direct_absolute
=no
10081 hardcode_libdir_flag_spec
=
10082 hardcode_libdir_flag_spec_ld
=
10083 hardcode_libdir_separator
=
10084 hardcode_minus_L
=no
10085 hardcode_shlibpath_var
=unsupported
10087 link_all_deplibs
=unknown
10089 module_expsym_cmds
=
10090 old_archive_from_new_cmds
=
10091 old_archive_from_expsyms_cmds
=
10092 thread_safe_flag_spec
=
10093 whole_archive_flag_spec
=
10094 # include_expsyms should be a list of space-separated symbols to be *always*
10095 # included in the symbol list
10097 # exclude_expsyms can be an extended regexp of symbols to exclude
10098 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10099 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10100 # as well as any symbol that contains `d'.
10101 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10102 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10103 # platforms (ab)use it in PIC code, but their linkers get confused if
10104 # the symbol is explicitly referenced. Since portable code cannot
10105 # rely on this symbol name, it's probably fine to never include it in
10106 # preloaded symbol tables.
10107 # Exclude shared library initialization/finalization symbols.
10108 extract_expsyms_cmds
=
10111 cygwin
* | mingw
* | pw32
* | cegcc
*)
10112 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10113 # When not using gcc, we currently assume that we are using
10114 # Microsoft Visual C++.
10115 if test "$GCC" != yes; then
10120 # we just hope/assume this is gcc and not c89 (= MSVC++)
10130 # On some targets, GNU ld is compatible enough with the native linker
10131 # that we're better off using the native interface for both.
10132 lt_use_gnu_ld_interface
=no
10133 if test "$with_gnu_ld" = yes; then
10136 # The AIX port of GNU ld has always aspired to compatibility
10137 # with the native linker. However, as the warning in the GNU ld
10138 # block says, versions before 2.19.5* couldn't really create working
10139 # shared libraries, regardless of the interface used.
10140 case `$LD -v 2>&1` in
10141 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10142 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10143 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10145 lt_use_gnu_ld_interface
=yes
10150 lt_use_gnu_ld_interface
=yes
10155 if test "$lt_use_gnu_ld_interface" = yes; then
10156 # If archive_cmds runs LD, not CC, wlarc should be empty
10159 # Set some defaults for GNU ld with shared library support. These
10160 # are reset later if shared libraries are not supported. Putting them
10161 # here allows them to be overridden if necessary.
10162 runpath_var
=LD_RUN_PATH
10163 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10164 export_dynamic_flag_spec
='${wl}--export-dynamic'
10165 # ancient GNU ld didn't support --whole-archive et. al.
10166 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10167 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10169 whole_archive_flag_spec
=
10171 supports_anon_versioning
=no
10172 case `$LD -v 2>&1` in
10173 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10174 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10175 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10176 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10177 *\
2.11.
*) ;; # other 2.11 versions
10178 *) supports_anon_versioning
=yes ;;
10181 # See if GNU ld supports shared libraries.
10184 # On AIX/PPC, the GNU linker is very broken
10185 if test "$host_cpu" != ia64
; then
10189 *** Warning: the GNU linker, at least up to release 2.19, is reported
10190 *** to be unable to reliably create shared libraries on AIX.
10191 *** Therefore, libtool is disabling shared libraries support. If you
10192 *** really care for shared libraries, you may want to install binutils
10193 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10194 *** You will then need to restart the configuration process.
10203 # see comment about AmigaOS4 .so support
10204 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10205 archive_expsym_cmds
=''
10208 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)'
10209 hardcode_libdir_flag_spec
='-L$libdir'
10210 hardcode_minus_L
=yes
10216 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10217 allow_undefined_flag
=unsupported
10218 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10219 # support --undefined. This deserves some investigation. FIXME
10220 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10226 cygwin
* | mingw
* | pw32
* | cegcc
*)
10227 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10228 # as there is no search path for DLLs.
10229 hardcode_libdir_flag_spec
='-L$libdir'
10230 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10231 allow_undefined_flag
=unsupported
10232 always_export_symbols
=no
10233 enable_shared_with_static_runtimes
=yes
10234 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10236 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10237 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10238 # If the export-symbols file already is a .def file (1st line
10239 # is EXPORTS), use it as is; otherwise, prepend...
10240 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10241 cp $export_symbols $output_objdir/$soname.def;
10243 echo EXPORTS > $output_objdir/$soname.def;
10244 cat $export_symbols >> $output_objdir/$soname.def;
10246 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10253 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10254 link_all_deplibs
=yes
10259 hardcode_shlibpath_var
=no
10260 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10261 export_dynamic_flag_spec
='${wl}-E'
10262 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10263 # Instead, shared libraries are loaded at an image base (0x10000000 by
10264 # default) and relocated if they conflict, which is a slow very memory
10265 # consuming and fragmenting process. To avoid this, we pick a random,
10266 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10267 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10268 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10269 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'
10272 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10274 if test "$host_os" = linux-dietlibc
; then
10275 case $cc_basename in
10276 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10279 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10280 && test "$tmp_diet" = no
10282 tmp_addflag
=' $pic_flag'
10283 tmp_sharedflag
='-shared'
10284 case $cc_basename,$host_cpu in
10285 pgcc
*) # Portland Group C compiler
10286 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'
10287 tmp_addflag
=' $pic_flag'
10289 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10290 # Portland Group f77 and f90 compilers
10291 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'
10292 tmp_addflag
=' $pic_flag -Mnomain' ;;
10293 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10294 tmp_addflag
=' -i_dynamic' ;;
10295 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10296 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10297 ifc
* | ifort
*) # Intel Fortran compiler
10298 tmp_addflag
=' -nofor_main' ;;
10299 lf95
*) # Lahey Fortran 8.1
10300 whole_archive_flag_spec
=
10301 tmp_sharedflag
='--shared' ;;
10302 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10303 tmp_sharedflag
='-qmkshrobj'
10305 nvcc
*) # Cuda Compiler Driver 2.2
10306 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'
10307 compiler_needs_object
=yes
10310 case `$CC -V 2>&1 | sed 5q` in
10311 *Sun\ C
*) # Sun C 5.9
10312 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'
10313 compiler_needs_object
=yes
10314 tmp_sharedflag
='-G' ;;
10315 *Sun\ F
*) # Sun Fortran 8.3
10316 tmp_sharedflag
='-G' ;;
10318 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10320 if test "x$supports_anon_versioning" = xyes
; then
10321 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10322 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10323 echo "local: *; };" >> $output_objdir/$libname.ver~
10324 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10327 case $cc_basename in
10328 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10329 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10330 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10331 hardcode_libdir_flag_spec
=
10332 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10333 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10334 if test "x$supports_anon_versioning" = xyes
; then
10335 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10336 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10337 echo "local: *; };" >> $output_objdir/$libname.ver~
10338 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10348 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10349 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10352 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10353 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10358 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10363 *** create shared libraries on Solaris systems. Therefore, libtool
10364 *** is disabling shared libraries support. We urge you to upgrade GNU
10365 *** binutils to release 2.9.1 or newer. Another option is to modify
10366 *** your PATH or compiler configuration so that the native linker is
10367 *** used, and then restart.
10370 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10371 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10372 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10378 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10379 case `$LD -v 2>&1` in
10380 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10384 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10385 *** reliably create shared libraries on SCO systems. Therefore, libtool
10386 *** is disabling shared libraries support. We urge you to upgrade GNU
10387 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10388 *** your PATH or compiler configuration so that the native linker is
10389 *** used, and then restart.
10394 # For security reasons, it is highly recommended that you always
10395 # use absolute paths for naming shared libraries, and exclude the
10396 # DT_RUNPATH tag from executables and libraries. But doing so
10397 # requires that you compile everything twice, which is a pain.
10398 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10399 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
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'
10410 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_direct
=yes
10413 hardcode_shlibpath_var
=no
10417 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10418 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10419 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10426 if test "$ld_shlibs" = no
; then
10428 hardcode_libdir_flag_spec
=
10429 export_dynamic_flag_spec
=
10430 whole_archive_flag_spec
=
10433 # PORTME fill in a description of your system's linker (not GNU ld)
10436 allow_undefined_flag
=unsupported
10437 always_export_symbols
=yes
10438 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'
10439 # Note: this linker hardcodes the directories in LIBPATH if there
10440 # are no directories specified by -L.
10441 hardcode_minus_L
=yes
10442 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10443 # Neither direct hardcoding nor static linking is supported with a
10445 hardcode_direct
=unsupported
10450 if test "$host_cpu" = ia64
; then
10451 # On IA64, the linker does run time linking by default, so we don't
10452 # have to do anything special.
10453 aix_use_runtimelinking
=no
10454 exp_sym_flag
='-Bexport'
10457 # If we're using GNU nm, then we don't want the "-C" option.
10458 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10459 # Also, AIX nm treats weak defined symbols like other global
10460 # defined symbols, whereas GNU nm marks them as "W".
10461 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10462 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'
10464 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'
10466 aix_use_runtimelinking
=no
10468 # Test if we are trying to use run time linking or normal
10469 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10470 # need to do runtime linking.
10471 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10472 for ld_flag
in $LDFLAGS; do
10473 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10474 aix_use_runtimelinking
=yes
10481 exp_sym_flag
='-bexport'
10482 no_entry_flag
='-bnoentry'
10485 # When large executables or shared objects are built, AIX ld can
10486 # have problems creating the table of contents. If linking a library
10487 # or program results in "error TOC overflow" add -mminimal-toc to
10488 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10489 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10492 hardcode_direct
=yes
10493 hardcode_direct_absolute
=yes
10494 hardcode_libdir_separator
=':'
10495 link_all_deplibs
=yes
10496 file_list_spec
='${wl}-f,'
10498 if test "$GCC" = yes; then
10499 case $host_os in aix4.
[012]|aix4.
[012].
*)
10500 # We only want to do this on AIX 4.2 and lower, the check
10501 # below for broken collect2 doesn't work under 4.3+
10502 collect2name
=`${CC} -print-prog-name=collect2`
10503 if test -f "$collect2name" &&
10504 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10506 # We have reworked collect2
10509 # We have old collect2
10510 hardcode_direct
=unsupported
10511 # It fails to find uninstalled libraries when the uninstalled
10512 # path is not listed in the libpath. Setting hardcode_minus_L
10513 # to unsupported forces relinking
10514 hardcode_minus_L
=yes
10515 hardcode_libdir_flag_spec
='-L$libdir'
10516 hardcode_libdir_separator
=
10520 shared_flag
='-shared'
10521 if test "$aix_use_runtimelinking" = yes; then
10522 shared_flag
="$shared_flag "'${wl}-G'
10526 if test "$host_cpu" = ia64
; then
10527 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10528 # chokes on -Wl,-G. The following line is correct:
10531 if test "$aix_use_runtimelinking" = yes; then
10532 shared_flag
='${wl}-G'
10534 shared_flag
='${wl}-bM:SRE'
10539 export_dynamic_flag_spec
='${wl}-bexpall'
10540 # It seems that -bexpall does not export symbols beginning with
10541 # underscore (_), so it is better to generate a list of symbols to export.
10542 always_export_symbols
=yes
10543 if test "$aix_use_runtimelinking" = yes; then
10544 # Warning - without using the other runtime loading flags (-brtl),
10545 # -berok will link without error, but may produce a broken library.
10546 allow_undefined_flag
='-berok'
10547 # Determine the default libpath from the value encoded in an
10548 # empty executable.
10549 if test x
$gcc_no_link = xyes
; then
10550 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10563 if ac_fn_c_try_link
"$LINENO"; then :
10565 lt_aix_libpath_sed
='
10566 /Import File Strings/,/^$/ {
10572 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10573 # Check for a 64-bit object if we didn't find anything.
10574 if test -z "$aix_libpath"; then
10575 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10578 rm -f core conftest.err conftest.
$ac_objext \
10579 conftest
$ac_exeext conftest.
$ac_ext
10580 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10582 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10583 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"
10585 if test "$host_cpu" = ia64
; then
10586 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10587 allow_undefined_flag
="-z nodefs"
10588 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"
10590 # Determine the default libpath from the value encoded in an
10591 # empty executable.
10592 if test x
$gcc_no_link = xyes
; then
10593 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10606 if ac_fn_c_try_link
"$LINENO"; then :
10608 lt_aix_libpath_sed
='
10609 /Import File Strings/,/^$/ {
10615 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10616 # Check for a 64-bit object if we didn't find anything.
10617 if test -z "$aix_libpath"; then
10618 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10621 rm -f core conftest.err conftest.
$ac_objext \
10622 conftest
$ac_exeext conftest.
$ac_ext
10623 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10625 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10626 # Warning - without using the other run time loading flags,
10627 # -berok will link without error, but may produce a broken library.
10628 no_undefined_flag
=' ${wl}-bernotok'
10629 allow_undefined_flag
=' ${wl}-berok'
10630 if test "$with_gnu_ld" = yes; then
10631 # We only use this code for GNU lds that support --whole-archive.
10632 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10634 # Exported symbols can be pulled into shared objects from archives
10635 whole_archive_flag_spec
='$convenience'
10637 archive_cmds_need_lc
=yes
10638 # This is similar to how AIX traditionally builds its shared libraries.
10639 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'
10647 # see comment about AmigaOS4 .so support
10648 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10649 archive_expsym_cmds
=''
10652 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)'
10653 hardcode_libdir_flag_spec
='-L$libdir'
10654 hardcode_minus_L
=yes
10660 export_dynamic_flag_spec
=-rdynamic
10663 cygwin
* | mingw
* | pw32
* | cegcc
*)
10664 # When not using gcc, we currently assume that we are using
10665 # Microsoft Visual C++.
10666 # hardcode_libdir_flag_spec is actually meaningless, as there is
10667 # no search path for DLLs.
10668 hardcode_libdir_flag_spec
=' '
10669 allow_undefined_flag
=unsupported
10670 # Tell ltmain to make .lib files, not .a files.
10672 # Tell ltmain to make .dll files, not .so files.
10674 # FIXME: Setting linknames here is a bad hack.
10675 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10676 # The linker will automatically build a .lib file if we build a DLL.
10677 old_archive_from_new_cmds
='true'
10678 # FIXME: Should let the user specify the lib program.
10679 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10680 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10681 enable_shared_with_static_runtimes
=yes
10684 darwin
* | rhapsody
*)
10687 archive_cmds_need_lc
=no
10689 hardcode_automatic
=yes
10690 hardcode_shlibpath_var
=unsupported
10691 if test "$lt_cv_ld_force_load" = "yes"; then
10692 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\"`'
10694 whole_archive_flag_spec
=''
10696 link_all_deplibs
=yes
10697 allow_undefined_flag
="$_lt_dar_allow_undefined"
10698 case $cc_basename in
10699 ifort
*) _lt_dar_can_shared
=yes ;;
10700 *) _lt_dar_can_shared
=$GCC ;;
10702 if test "$_lt_dar_can_shared" = "yes"; then
10703 output_verbose_link_cmd
=func_echo_all
10704 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10705 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10706 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}"
10707 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}"
10716 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10717 hardcode_libdir_flag_spec
='-L$libdir'
10718 hardcode_shlibpath_var
=no
10721 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10722 # support. Future versions do this automatically, but an explicit c++rt0.o
10723 # does not break anything, and helps significantly (at the cost of a little
10726 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10727 hardcode_libdir_flag_spec
='-R$libdir'
10728 hardcode_direct
=yes
10729 hardcode_shlibpath_var
=no
10732 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10734 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_direct
=yes
10736 hardcode_minus_L
=yes
10737 hardcode_shlibpath_var
=no
10740 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10741 freebsd
* | dragonfly
*)
10742 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10743 hardcode_libdir_flag_spec
='-R$libdir'
10744 hardcode_direct
=yes
10745 hardcode_shlibpath_var
=no
10749 if test "$GCC" = yes; then
10750 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'
10752 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'
10754 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10755 hardcode_libdir_separator
=:
10756 hardcode_direct
=yes
10758 # hardcode_minus_L: Not really in the search PATH,
10759 # but as the default location of the library.
10760 hardcode_minus_L
=yes
10761 export_dynamic_flag_spec
='${wl}-E'
10765 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10766 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10768 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10770 if test "$with_gnu_ld" = no
; then
10771 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10772 hardcode_libdir_flag_spec_ld
='+b $libdir'
10773 hardcode_libdir_separator
=:
10774 hardcode_direct
=yes
10775 hardcode_direct_absolute
=yes
10776 export_dynamic_flag_spec
='${wl}-E'
10777 # hardcode_minus_L: Not really in the search PATH,
10778 # but as the default location of the library.
10779 hardcode_minus_L
=yes
10784 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10787 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10790 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10793 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10799 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10802 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10806 # Older versions of the 11.00 compiler do not understand -b yet
10807 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10809 $as_echo_n "checking if $CC understands -b... " >&6; }
10810 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10811 $as_echo_n "(cached) " >&6
10813 lt_cv_prog_compiler__b
=no
10814 save_LDFLAGS
="$LDFLAGS"
10815 LDFLAGS
="$LDFLAGS -b"
10816 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10817 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10818 # The linker can only warn and ignore the option if not recognized
10819 # So say no if there are warnings
10820 if test -s conftest.err
; then
10821 # Append any errors to the config.log.
10822 cat conftest.err
1>&5
10823 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10824 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10825 if diff conftest.exp conftest.er2
>/dev
/null
; then
10826 lt_cv_prog_compiler__b
=yes
10829 lt_cv_prog_compiler__b
=yes
10833 LDFLAGS
="$save_LDFLAGS"
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10837 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10839 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10840 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10842 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10848 if test "$with_gnu_ld" = no
; then
10849 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10850 hardcode_libdir_separator
=:
10855 hardcode_shlibpath_var
=no
10858 hardcode_direct
=yes
10859 hardcode_direct_absolute
=yes
10860 export_dynamic_flag_spec
='${wl}-E'
10862 # hardcode_minus_L: Not really in the search PATH,
10863 # but as the default location of the library.
10864 hardcode_minus_L
=yes
10870 irix5
* | irix6
* | nonstopux
*)
10871 if test "$GCC" = yes; then
10872 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'
10873 # Try to use the -exported_symbol ld option, if it does not
10874 # work, assume that -exports_file does not work either and
10875 # implicitly export all symbols.
10876 save_LDFLAGS
="$LDFLAGS"
10877 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10878 if test x
$gcc_no_link = xyes
; then
10879 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10885 if ac_fn_c_try_link
"$LINENO"; then :
10886 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'
10889 rm -f core conftest.err conftest.
$ac_objext \
10890 conftest
$ac_exeext conftest.
$ac_ext
10891 LDFLAGS
="$save_LDFLAGS"
10893 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'
10894 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'
10896 archive_cmds_need_lc
='no'
10897 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10898 hardcode_libdir_separator
=:
10900 link_all_deplibs
=yes
10904 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10905 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10907 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10909 hardcode_libdir_flag_spec
='-R$libdir'
10910 hardcode_direct
=yes
10911 hardcode_shlibpath_var
=no
10915 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10916 hardcode_direct
=yes
10917 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10918 hardcode_libdir_separator
=:
10919 hardcode_shlibpath_var
=no
10926 if test -f /usr
/libexec
/ld.so
; then
10927 hardcode_direct
=yes
10928 hardcode_shlibpath_var
=no
10929 hardcode_direct_absolute
=yes
10930 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10931 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10932 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10933 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10934 export_dynamic_flag_spec
='${wl}-E'
10937 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10938 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10939 hardcode_libdir_flag_spec
='-R$libdir'
10942 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10943 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10953 hardcode_libdir_flag_spec
='-L$libdir'
10954 hardcode_minus_L
=yes
10955 allow_undefined_flag
=unsupported
10956 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'
10957 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10961 if test "$GCC" = yes; then
10962 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10963 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'
10965 allow_undefined_flag
=' -expect_unresolved \*'
10966 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'
10968 archive_cmds_need_lc
='no'
10969 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10970 hardcode_libdir_separator
=:
10973 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10974 if test "$GCC" = yes; then
10975 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10976 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'
10977 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10979 allow_undefined_flag
=' -expect_unresolved \*'
10980 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'
10981 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~
10982 $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'
10984 # Both c and cxx compiler support -rpath directly
10985 hardcode_libdir_flag_spec
='-rpath $libdir'
10987 archive_cmds_need_lc
='no'
10988 hardcode_libdir_separator
=:
10992 no_undefined_flag
=' -z defs'
10993 if test "$GCC" = yes; then
10995 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10996 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10997 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10999 case `$CC -V 2>&1` in
11002 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11003 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11004 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11008 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11009 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11010 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11014 hardcode_libdir_flag_spec
='-R$libdir'
11015 hardcode_shlibpath_var
=no
11017 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11019 # The compiler driver will combine and reorder linker options,
11020 # but understands `-z linker_flag'. GCC discards it without `$wl',
11021 # but is careful enough not to reorder.
11022 # Supported since Solaris 2.6 (maybe 2.5.1?)
11023 if test "$GCC" = yes; then
11024 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11026 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11030 link_all_deplibs
=yes
11034 if test "x$host_vendor" = xsequent
; then
11035 # Use $CC to link under sequent, because it throws in some extra .o
11036 # files that make .init and .fini sections work.
11037 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11039 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11041 hardcode_libdir_flag_spec
='-L$libdir'
11042 hardcode_direct
=yes
11043 hardcode_minus_L
=yes
11044 hardcode_shlibpath_var
=no
11048 case $host_vendor in
11050 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11051 hardcode_direct
=yes # is this really true???
11054 ## LD is ld it makes a PLAMLIB
11055 ## CC just makes a GrossModule.
11056 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11057 reload_cmds
='$CC -r -o $output$reload_objs'
11061 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11062 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11065 runpath_var
='LD_RUN_PATH'
11066 hardcode_shlibpath_var
=no
11070 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11071 hardcode_shlibpath_var
=no
11072 export_dynamic_flag_spec
='-Bexport'
11076 if test -d /usr
/nec
; then
11077 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11078 hardcode_shlibpath_var
=no
11079 runpath_var
=LD_RUN_PATH
11080 hardcode_runpath_var
=yes
11085 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11086 no_undefined_flag
='${wl}-z,text'
11087 archive_cmds_need_lc
=no
11088 hardcode_shlibpath_var
=no
11089 runpath_var
='LD_RUN_PATH'
11091 if test "$GCC" = yes; then
11092 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11093 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11095 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11096 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11100 sysv5
* | sco3.2v5
* | sco5v6
*)
11101 # Note: We can NOT use -z defs as we might desire, because we do not
11102 # link with -lc, and that would cause any symbols used from libc to
11103 # always be unresolved, which means just about no library would
11104 # ever link correctly. If we're not using GNU ld we use -z text
11105 # though, which does catch some bad symbols but isn't as heavy-handed
11107 no_undefined_flag
='${wl}-z,text'
11108 allow_undefined_flag
='${wl}-z,nodefs'
11109 archive_cmds_need_lc
=no
11110 hardcode_shlibpath_var
=no
11111 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11112 hardcode_libdir_separator
=':'
11113 link_all_deplibs
=yes
11114 export_dynamic_flag_spec
='${wl}-Bexport'
11115 runpath_var
='LD_RUN_PATH'
11117 if test "$GCC" = yes; then
11118 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11119 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11121 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11122 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11127 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11128 hardcode_libdir_flag_spec
='-L$libdir'
11129 hardcode_shlibpath_var
=no
11137 if test x
$host_vendor = xsni
; then
11139 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11140 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11147 $as_echo "$ld_shlibs" >&6; }
11148 test "$ld_shlibs" = no
&& can_build_shared
=no
11150 with_gnu_ld
=$with_gnu_ld
11167 # Do we need to explicitly link libc?
11169 case "x$archive_cmds_need_lc" in
11171 # Assume -lc should be added
11172 archive_cmds_need_lc
=yes
11174 if test "$enable_shared" = yes && test "$GCC" = yes; then
11175 case $archive_cmds in
11177 # FIXME: we may have to deal with multi-command sequences.
11180 # Test whether the compiler implicitly links with -lc since on some
11181 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11182 # to ld, don't add -lc before -lgcc.
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11184 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11185 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11186 $as_echo_n "(cached) " >&6
11189 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11192 (eval $ac_compile) 2>&5
11194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11195 test $ac_status = 0; } 2>conftest.err
; then
11198 libobjs
=conftest.
$ac_objext
11200 wl
=$lt_prog_compiler_wl
11201 pic_flag
=$lt_prog_compiler_pic
11207 lt_save_allow_undefined_flag
=$allow_undefined_flag
11208 allow_undefined_flag
=
11209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11210 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11213 test $ac_status = 0; }
11215 lt_cv_archive_cmds_need_lc
=no
11217 lt_cv_archive_cmds_need_lc
=yes
11219 allow_undefined_flag
=$lt_save_allow_undefined_flag
11221 cat conftest.err
1>&5
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11227 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11228 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11392 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11394 if test "$GCC" = yes; then
11396 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11397 *) lt_awk_arg
="/^libraries:/" ;;
11400 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11401 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11403 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11404 case $lt_search_path_spec in
11406 # if the path contains ";" then we assume it to be the separator
11407 # otherwise default to the standard path separator (i.e. ":") - it is
11408 # assumed that no part of a normal pathname contains ";" but that should
11409 # okay in the real world where ";" in dirpaths is itself problematic.
11410 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11413 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11416 # Ok, now we have the path, separated by spaces, we can step through it
11417 # and add multilib dir if necessary.
11418 lt_tmp_lt_search_path_spec
=
11419 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11420 for lt_sys_path
in $lt_search_path_spec; do
11421 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11422 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11424 test -d "$lt_sys_path" && \
11425 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11428 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11429 BEGIN {RS=" "; FS="/|\n";} {
11432 for (lt_i = NF; lt_i > 0; lt_i--) {
11433 if ($lt_i != "" && $lt_i != ".") {
11434 if ($lt_i == "..") {
11437 if (lt_count == 0) {
11438 lt_foo="/" $lt_i lt_foo;
11445 if (lt_foo != "") { lt_freq[lt_foo]++; }
11446 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11448 # AWK program above erroneously prepends '/' to C:/dos/paths
11451 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11452 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11454 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11456 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11458 library_names_spec
=
11459 libname_spec
='lib$name'
11463 postuninstall_cmds
=
11467 shlibpath_overrides_runpath
=unknown
11469 dynamic_linker
="$host_os ld.so"
11470 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11471 need_lib_prefix
=unknown
11472 hardcode_into_libs
=no
11474 # when you set need_version to no, make sure it does not cause -set_version
11475 # flags to be left without arguments
11476 need_version
=unknown
11481 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11482 shlibpath_var
=LIBPATH
11484 # AIX 3 has no versioning support, so we append a major version to the name.
11485 soname_spec
='${libname}${release}${shared_ext}$major'
11492 hardcode_into_libs
=yes
11493 if test "$host_cpu" = ia64
; then
11494 # AIX 5 supports IA64
11495 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11496 shlibpath_var
=LD_LIBRARY_PATH
11498 # With GCC up to 2.95.x, collect2 would create an import file
11499 # for dependence libraries. The import file would start with
11500 # the line `#! .'. This would cause the generated library to
11501 # depend on `.', always an invalid library. This was fixed in
11502 # development snapshots of GCC prior to 3.0.
11504 aix4 | aix4.
[01] | aix4.
[01].
*)
11505 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11507 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11510 can_build_shared
=no
11514 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11515 # soname into executable. Probably we can add versioning support to
11516 # collect2, so additional links can be useful in future.
11517 if test "$aix_use_runtimelinking" = yes; then
11518 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11519 # instead of lib<name>.a to let people know that these are not
11520 # typical AIX shared libraries.
11521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11523 # We preserve .a as extension for shared libraries through AIX4.2
11524 # and later when we are not doing run time linking.
11525 library_names_spec
='${libname}${release}.a $libname.a'
11526 soname_spec
='${libname}${release}${shared_ext}$major'
11528 shlibpath_var
=LIBPATH
11535 # Since July 2007 AmigaOS4 officially supports .so libraries.
11536 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11540 library_names_spec
='$libname.ixlibrary $libname.a'
11541 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11542 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'
11548 library_names_spec
='${libname}${shared_ext}'
11549 dynamic_linker
="$host_os ld.so"
11550 shlibpath_var
=LIBRARY_PATH
11556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557 soname_spec
='${libname}${release}${shared_ext}$major'
11558 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11559 shlibpath_var
=LD_LIBRARY_PATH
11560 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11561 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11562 # the default ld.so.conf also contains /usr/contrib/lib and
11563 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11564 # libtool to hard-code these into programs
11567 cygwin
* | mingw
* | pw32
* | cegcc
*)
11568 version_type
=windows
11573 case $GCC,$host_os in
11574 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11575 library_names_spec
='$libname.dll.a'
11576 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11577 postinstall_cmds
='base_file=`basename \${file}`~
11578 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11579 dldir=$destdir/`dirname \$dlpath`~
11580 test -d \$dldir || mkdir -p \$dldir~
11581 $install_prog $dir/$dlname \$dldir/$dlname~
11582 chmod a+x \$dldir/$dlname~
11583 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11584 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11586 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11587 dlpath=$dir/\$dldll~
11589 shlibpath_overrides_runpath
=yes
11593 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11594 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11596 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11599 # MinGW DLLs use traditional 'lib' prefix
11600 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11603 # pw32 DLLs use 'pw' prefix rather than 'lib'
11604 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11610 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11613 dynamic_linker
='Win32 ld.exe'
11614 # FIXME: first we should search . and the directory the executable is in
11618 darwin
* | rhapsody
*)
11619 dynamic_linker
="$host_os dyld"
11620 version_type
=darwin
11623 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11624 soname_spec
='${libname}${release}${major}$shared_ext'
11625 shlibpath_overrides_runpath
=yes
11626 shlibpath_var
=DYLD_LIBRARY_PATH
11627 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11629 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11630 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11638 soname_spec
='${libname}${release}${shared_ext}$major'
11639 shlibpath_var
=LD_LIBRARY_PATH
11642 freebsd
* | dragonfly
*)
11643 # DragonFly does not have aout. When/if they implement a new
11644 # versioning mechanism, adjust this.
11645 if test -x /usr
/bin
/objformat
; then
11646 objformat
=`/usr/bin/objformat`
11649 freebsd
[23].
*) objformat
=aout
;;
11650 *) objformat
=elf
;;
11653 version_type
=freebsd-
$objformat
11654 case $version_type in
11656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11661 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11665 shlibpath_var
=LD_LIBRARY_PATH
11668 shlibpath_overrides_runpath
=yes
11670 freebsd3.
[01]* | freebsdelf3.
[01]*)
11671 shlibpath_overrides_runpath
=yes
11672 hardcode_into_libs
=yes
11674 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11675 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11676 shlibpath_overrides_runpath
=no
11677 hardcode_into_libs
=yes
11679 *) # from 4.6 on, and DragonFly
11680 shlibpath_overrides_runpath
=yes
11681 hardcode_into_libs
=yes
11690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11691 soname_spec
='${libname}${release}${shared_ext}$major'
11692 shlibpath_var
=LD_LIBRARY_PATH
11693 hardcode_into_libs
=yes
11700 dynamic_linker
="$host_os runtime_loader"
11701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11702 soname_spec
='${libname}${release}${shared_ext}$major'
11703 shlibpath_var
=LIBRARY_PATH
11704 shlibpath_overrides_runpath
=yes
11705 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11706 hardcode_into_libs
=yes
11709 hpux9
* | hpux10
* | hpux11
*)
11710 # Give a soname corresponding to the major version so that dld.sl refuses to
11711 # link against other versions.
11718 hardcode_into_libs
=yes
11719 dynamic_linker
="$host_os dld.so"
11720 shlibpath_var
=LD_LIBRARY_PATH
11721 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11723 soname_spec
='${libname}${release}${shared_ext}$major'
11724 if test "X$HPUX_IA64_MODE" = X32
; then
11725 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11727 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11729 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11733 hardcode_into_libs
=yes
11734 dynamic_linker
="$host_os dld.sl"
11735 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11736 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11738 soname_spec
='${libname}${release}${shared_ext}$major'
11739 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11740 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11744 dynamic_linker
="$host_os dld.sl"
11745 shlibpath_var
=SHLIB_PATH
11746 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11748 soname_spec
='${libname}${release}${shared_ext}$major'
11751 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11752 postinstall_cmds
='chmod 555 $lib'
11753 # or fails outright, so override atomically:
11754 install_override_mode
=555
11761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11762 soname_spec
='${libname}${release}${shared_ext}$major'
11763 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11764 shlibpath_var
=LD_LIBRARY_PATH
11765 shlibpath_overrides_runpath
=no
11766 hardcode_into_libs
=yes
11769 irix5
* | irix6
* | nonstopux
*)
11771 nonstopux
*) version_type
=nonstopux
;;
11773 if test "$lt_cv_prog_gnu_ld" = yes; then
11781 soname_spec
='${libname}${release}${shared_ext}$major'
11782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11784 irix5
* | nonstopux
*)
11785 libsuff
= shlibsuff
=
11788 case $LD in # libtool.m4 will add one of these switches to LD
11789 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11790 libsuff
= shlibsuff
= libmagic
=32-bit;;
11791 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11792 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11793 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11794 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11795 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11799 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11800 shlibpath_overrides_runpath
=no
11801 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11802 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11803 hardcode_into_libs
=yes
11806 # No shared lib support for Linux oldld, aout, or coff.
11807 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11811 # This must be Linux ELF.
11812 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817 soname_spec
='${libname}${release}${shared_ext}$major'
11818 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11819 shlibpath_var
=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath
=no
11822 # Some binutils ld are patched to set DT_RUNPATH
11823 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11824 $as_echo_n "(cached) " >&6
11826 lt_cv_shlibpath_overrides_runpath
=no
11827 save_LDFLAGS
=$LDFLAGS
11828 save_libdir
=$libdir
11829 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11830 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11831 if test x
$gcc_no_link = xyes
; then
11832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11845 if ac_fn_c_try_link
"$LINENO"; then :
11846 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11847 lt_cv_shlibpath_overrides_runpath
=yes
11850 rm -f core conftest.err conftest.
$ac_objext \
11851 conftest
$ac_exeext conftest.
$ac_ext
11852 LDFLAGS
=$save_LDFLAGS
11853 libdir
=$save_libdir
11857 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11859 # This implies no fast_install, which is unacceptable.
11860 # Some rework will be needed to allow for fast_install
11861 # before this can be enabled.
11862 hardcode_into_libs
=yes
11864 # Append ld.so.conf contents to the search path
11865 if test -f /etc
/ld.so.conf
; then
11866 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' ' '`
11867 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11870 # We used to test for /lib/ld.so.1 and disable shared libraries on
11871 # powerpc, because MkLinux only supported shared libraries with the
11872 # GNU dynamic linker. Since this was broken with cross compilers,
11873 # most powerpc-linux boxes support dynamic linking these days and
11874 # people can always --disable-shared, the test was removed, and we
11875 # assume the GNU/Linux dynamic linker is in use.
11876 dynamic_linker
='GNU/Linux ld.so'
11883 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11885 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11886 dynamic_linker
='NetBSD (a.out) ld.so'
11888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11889 soname_spec
='${libname}${release}${shared_ext}$major'
11890 dynamic_linker
='NetBSD ld.elf_so'
11892 shlibpath_var
=LD_LIBRARY_PATH
11893 shlibpath_overrides_runpath
=yes
11894 hardcode_into_libs
=yes
11899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11900 shlibpath_var
=LD_LIBRARY_PATH
11901 shlibpath_overrides_runpath
=yes
11908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11909 soname_spec
='${libname}${release}${shared_ext}$major'
11910 shlibpath_var
=LD_LIBRARY_PATH
11911 shlibpath_overrides_runpath
=no
11912 hardcode_into_libs
=yes
11913 dynamic_linker
='ldqnx.so'
11918 sys_lib_dlsearch_path_spec
="/usr/lib"
11920 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11922 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11923 *) need_version
=no
;;
11925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11926 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11927 shlibpath_var
=LD_LIBRARY_PATH
11928 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11930 openbsd2.
[89] | openbsd2.
[89].
*)
11931 shlibpath_overrides_runpath
=no
11934 shlibpath_overrides_runpath
=yes
11938 shlibpath_overrides_runpath
=yes
11943 libname_spec
='$name'
11946 library_names_spec
='$libname${shared_ext} $libname.a'
11947 dynamic_linker
='OS/2 ld.exe'
11948 shlibpath_var
=LIBPATH
11951 osf3
* | osf4
* | osf5
*)
11955 soname_spec
='${libname}${release}${shared_ext}$major'
11956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11957 shlibpath_var
=LD_LIBRARY_PATH
11958 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11959 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11971 soname_spec
='${libname}${release}${shared_ext}$major'
11972 shlibpath_var
=LD_LIBRARY_PATH
11973 shlibpath_overrides_runpath
=yes
11974 hardcode_into_libs
=yes
11975 # ldd complains unless libraries are executable
11976 postinstall_cmds
='chmod +x $lib'
11981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11982 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11983 shlibpath_var
=LD_LIBRARY_PATH
11984 shlibpath_overrides_runpath
=yes
11985 if test "$with_gnu_ld" = yes; then
11993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11994 soname_spec
='${libname}${release}${shared_ext}$major'
11995 shlibpath_var
=LD_LIBRARY_PATH
11996 case $host_vendor in
11998 shlibpath_overrides_runpath
=no
12000 runpath_var
=LD_RUN_PATH
12008 shlibpath_overrides_runpath
=no
12009 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12015 if test -d /usr
/nec
;then
12017 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12018 soname_spec
='$libname${shared_ext}.$major'
12019 shlibpath_var
=LD_LIBRARY_PATH
12023 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12024 version_type
=freebsd-elf
12027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12028 soname_spec
='${libname}${release}${shared_ext}$major'
12029 shlibpath_var
=LD_LIBRARY_PATH
12030 shlibpath_overrides_runpath
=yes
12031 hardcode_into_libs
=yes
12032 if test "$with_gnu_ld" = yes; then
12033 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12035 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12038 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12042 sys_lib_dlsearch_path_spec
='/usr/lib'
12046 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12051 shlibpath_var
=LD_LIBRARY_PATH
12052 shlibpath_overrides_runpath
=no
12053 hardcode_into_libs
=yes
12058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12059 soname_spec
='${libname}${release}${shared_ext}$major'
12060 shlibpath_var
=LD_LIBRARY_PATH
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12068 $as_echo "$dynamic_linker" >&6; }
12069 test "$dynamic_linker" = no
&& can_build_shared
=no
12071 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12072 if test "$GCC" = yes; then
12073 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12076 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12077 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12079 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12080 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12175 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12177 if test -n "$hardcode_libdir_flag_spec" ||
12178 test -n "$runpath_var" ||
12179 test "X$hardcode_automatic" = "Xyes" ; then
12181 # We can hardcode non-existent directories.
12182 if test "$hardcode_direct" != no
&&
12183 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12184 # have to relink, otherwise we might link with an installed library
12185 # when we should be linking with a yet-to-be-installed one
12186 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12187 test "$hardcode_minus_L" != no
; then
12188 # Linking always hardcodes the temporary library directory.
12189 hardcode_action
=relink
12191 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12192 hardcode_action
=immediate
12195 # We cannot hardcode anything, or else we can only hardcode existing
12197 hardcode_action
=unsupported
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12200 $as_echo "$hardcode_action" >&6; }
12202 if test "$hardcode_action" = relink ||
12203 test "$inherit_rpath" = yes; then
12204 # Fast installation is not supported
12205 enable_fast_install
=no
12206 elif test "$shlibpath_overrides_runpath" = yes ||
12207 test "$enable_shared" = no
; then
12208 # Fast installation is not necessary
12209 enable_fast_install
=needless
12217 if test "x$enable_dlopen" != xyes
; then
12218 enable_dlopen
=unknown
12219 enable_dlopen_self
=unknown
12220 enable_dlopen_self_static
=unknown
12227 lt_cv_dlopen
="load_add_on"
12229 lt_cv_dlopen_self
=yes
12232 mingw
* | pw32
* | cegcc
*)
12233 lt_cv_dlopen
="LoadLibrary"
12238 lt_cv_dlopen
="dlopen"
12243 # if libdl is installed we need to link against it
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12245 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12246 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12247 $as_echo_n "(cached) " >&6
12249 ac_check_lib_save_LIBS
=$LIBS
12251 if test x
$gcc_no_link = xyes
; then
12252 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12272 if ac_fn_c_try_link
"$LINENO"; then :
12273 ac_cv_lib_dl_dlopen
=yes
12275 ac_cv_lib_dl_dlopen
=no
12277 rm -f core conftest.err conftest.
$ac_objext \
12278 conftest
$ac_exeext conftest.
$ac_ext
12279 LIBS
=$ac_check_lib_save_LIBS
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12282 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12283 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12284 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12287 lt_cv_dlopen
="dyld"
12289 lt_cv_dlopen_self
=yes
12296 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12297 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12298 lt_cv_dlopen
="shl_load"
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12301 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12302 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12303 $as_echo_n "(cached) " >&6
12305 ac_check_lib_save_LIBS
=$LIBS
12307 if test x
$gcc_no_link = xyes
; then
12308 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12323 return shl_load ();
12328 if ac_fn_c_try_link
"$LINENO"; then :
12329 ac_cv_lib_dld_shl_load
=yes
12331 ac_cv_lib_dld_shl_load
=no
12333 rm -f core conftest.err conftest.
$ac_objext \
12334 conftest
$ac_exeext conftest.
$ac_ext
12335 LIBS
=$ac_check_lib_save_LIBS
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12338 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12339 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12340 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12342 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12343 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12344 lt_cv_dlopen
="dlopen"
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12347 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12348 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12349 $as_echo_n "(cached) " >&6
12351 ac_check_lib_save_LIBS
=$LIBS
12353 if test x
$gcc_no_link = xyes
; then
12354 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12359 /* Override any GCC internal prototype to avoid an error.
12360 Use char because int might match the return type of a GCC
12361 builtin and then its argument prototype would still apply. */
12374 if ac_fn_c_try_link
"$LINENO"; then :
12375 ac_cv_lib_dl_dlopen
=yes
12377 ac_cv_lib_dl_dlopen
=no
12379 rm -f core conftest.err conftest.
$ac_objext \
12380 conftest
$ac_exeext conftest.
$ac_ext
12381 LIBS
=$ac_check_lib_save_LIBS
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12384 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12385 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12386 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12389 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12390 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12391 $as_echo_n "(cached) " >&6
12393 ac_check_lib_save_LIBS
=$LIBS
12394 LIBS
="-lsvld $LIBS"
12395 if test x
$gcc_no_link = xyes
; then
12396 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12416 if ac_fn_c_try_link
"$LINENO"; then :
12417 ac_cv_lib_svld_dlopen
=yes
12419 ac_cv_lib_svld_dlopen
=no
12421 rm -f core conftest.err conftest.
$ac_objext \
12422 conftest
$ac_exeext conftest.
$ac_ext
12423 LIBS
=$ac_check_lib_save_LIBS
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12426 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12427 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12428 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12431 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12432 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12433 $as_echo_n "(cached) " >&6
12435 ac_check_lib_save_LIBS
=$LIBS
12437 if test x
$gcc_no_link = xyes
; then
12438 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12441 /* end confdefs.h. */
12443 /* Override any GCC internal prototype to avoid an error.
12444 Use char because int might match the return type of a GCC
12445 builtin and then its argument prototype would still apply. */
12453 return dld_link ();
12458 if ac_fn_c_try_link
"$LINENO"; then :
12459 ac_cv_lib_dld_dld_link
=yes
12461 ac_cv_lib_dld_dld_link
=no
12463 rm -f core conftest.err conftest.
$ac_objext \
12464 conftest
$ac_exeext conftest.
$ac_ext
12465 LIBS
=$ac_check_lib_save_LIBS
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12468 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12469 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12470 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12491 if test "x$lt_cv_dlopen" != xno
; then
12497 case $lt_cv_dlopen in
12499 save_CPPFLAGS
="$CPPFLAGS"
12500 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12502 save_LDFLAGS
="$LDFLAGS"
12503 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12506 LIBS
="$lt_cv_dlopen_libs $LIBS"
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12509 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12510 if test "${lt_cv_dlopen_self+set}" = set; then :
12511 $as_echo_n "(cached) " >&6
12513 if test "$cross_compiling" = yes; then :
12514 lt_cv_dlopen_self
=cross
12516 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12517 lt_status
=$lt_dlunknown
12518 cat > conftest.
$ac_ext <<_LT_EOF
12519 #line 12519 "configure"
12520 #include "confdefs.h"
12529 # define LT_DLGLOBAL RTLD_GLOBAL
12532 # define LT_DLGLOBAL DL_GLOBAL
12534 # define LT_DLGLOBAL 0
12538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12539 find out it does not work in some platform. */
12540 #ifndef LT_DLLAZY_OR_NOW
12542 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12545 # define LT_DLLAZY_OR_NOW DL_LAZY
12548 # define LT_DLLAZY_OR_NOW RTLD_NOW
12551 # define LT_DLLAZY_OR_NOW DL_NOW
12553 # define LT_DLLAZY_OR_NOW 0
12560 /* When -fvisbility=hidden is used, assume the code has been annotated
12561 correspondingly for the symbols needed. */
12562 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12563 void fnord () __attribute__((visibility("default")));
12566 void fnord () { int i=42; }
12569 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12570 int status = $lt_dlunknown;
12574 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12577 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12578 else puts (dlerror ());
12580 /* dlclose (self); */
12588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12589 (eval $ac_link) 2>&5
12591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12592 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12593 (.
/conftest
; exit; ) >&5 2>/dev
/null
12595 case x
$lt_status in
12596 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12597 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12598 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12601 # compilation failed
12602 lt_cv_dlopen_self
=no
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12610 $as_echo "$lt_cv_dlopen_self" >&6; }
12612 if test "x$lt_cv_dlopen_self" = xyes
; then
12613 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12615 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12616 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12617 $as_echo_n "(cached) " >&6
12619 if test "$cross_compiling" = yes; then :
12620 lt_cv_dlopen_self_static
=cross
12622 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12623 lt_status
=$lt_dlunknown
12624 cat > conftest.
$ac_ext <<_LT_EOF
12625 #line 12625 "configure"
12626 #include "confdefs.h"
12635 # define LT_DLGLOBAL RTLD_GLOBAL
12638 # define LT_DLGLOBAL DL_GLOBAL
12640 # define LT_DLGLOBAL 0
12644 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12645 find out it does not work in some platform. */
12646 #ifndef LT_DLLAZY_OR_NOW
12648 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12651 # define LT_DLLAZY_OR_NOW DL_LAZY
12654 # define LT_DLLAZY_OR_NOW RTLD_NOW
12657 # define LT_DLLAZY_OR_NOW DL_NOW
12659 # define LT_DLLAZY_OR_NOW 0
12666 /* When -fvisbility=hidden is used, assume the code has been annotated
12667 correspondingly for the symbols needed. */
12668 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12669 void fnord () __attribute__((visibility("default")));
12672 void fnord () { int i=42; }
12675 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12676 int status = $lt_dlunknown;
12680 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12683 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12684 else puts (dlerror ());
12686 /* dlclose (self); */
12694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12695 (eval $ac_link) 2>&5
12697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12698 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12699 (.
/conftest
; exit; ) >&5 2>/dev
/null
12701 case x
$lt_status in
12702 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12703 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12704 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12707 # compilation failed
12708 lt_cv_dlopen_self_static
=no
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12716 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12719 CPPFLAGS
="$save_CPPFLAGS"
12720 LDFLAGS
="$save_LDFLAGS"
12725 case $lt_cv_dlopen_self in
12726 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12727 *) enable_dlopen_self
=unknown
;;
12730 case $lt_cv_dlopen_self_static in
12731 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12732 *) enable_dlopen_self_static
=unknown
;;
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12755 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12756 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12757 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12758 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12760 $as_echo "yes" >&6; }
12762 # FIXME - insert some real tests, host_os isn't really good enough
12765 if test -n "$STRIP" ; then
12766 striplib
="$STRIP -x"
12767 old_striplib
="$STRIP -S"
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12769 $as_echo "yes" >&6; }
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12772 $as_echo "no" >&6; }
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12777 $as_echo "no" >&6; }
12793 # Report which library types will actually be built
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12795 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12797 $as_echo "$can_build_shared" >&6; }
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12800 $as_echo_n "checking whether to build shared libraries... " >&6; }
12801 test "$can_build_shared" = "no" && enable_shared
=no
12803 # On AIX, shared libraries and static libraries use the same namespace, and
12804 # are all built from PIC.
12807 test "$enable_shared" = yes && enable_static
=no
12808 if test -n "$RANLIB"; then
12809 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12810 postinstall_cmds
='$RANLIB $lib'
12815 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12816 test "$enable_shared" = yes && enable_static
=no
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12821 $as_echo "$enable_shared" >&6; }
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12824 $as_echo_n "checking whether to build static libraries... " >&6; }
12825 # Make sure either enable_shared or enable_static is yes.
12826 test "$enable_shared" = yes || enable_static
=yes
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12828 $as_echo "$enable_static" >&6; }
12835 ac_cpp
='$CPP $CPPFLAGS'
12836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12854 ac_config_commands
="$ac_config_commands libtool"
12859 # Only expand once:
12866 *-cygwin* |
*-mingw*)
12867 # 'host' will be top-level target in the case of a target lib,
12868 # we must compare to with_cross_host to decide if this is a native
12869 # or cross-compiler and select where to install dlls appropriately.
12870 if test -n "$with_cross_host" &&
12871 test x
"$with_cross_host" != x
"no"; then
12872 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12874 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12886 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12888 # We need gfortran to compile parts of the library
12889 #AC_PROG_FC(gfortran)
12891 ac_ext
=${ac_fc_srcext-f}
12892 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12893 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12894 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12895 if test -n "$ac_tool_prefix"; then
12896 for ac_prog
in gfortran
12898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12899 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12901 $as_echo_n "checking for $ac_word... " >&6; }
12902 if test "${ac_cv_prog_FC+set}" = set; then :
12903 $as_echo_n "(cached) " >&6
12905 if test -n "$FC"; then
12906 ac_cv_prog_FC
="$FC" # Let the user override the test.
12908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12909 for as_dir
in $PATH
12912 test -z "$as_dir" && as_dir
=.
12913 for ac_exec_ext
in '' $ac_executable_extensions; do
12914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12915 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12926 if test -n "$FC"; then
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12928 $as_echo "$FC" >&6; }
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12931 $as_echo "no" >&6; }
12935 test -n "$FC" && break
12938 if test -z "$FC"; then
12940 for ac_prog
in gfortran
12942 # Extract the first word of "$ac_prog", so it can be a program name with args.
12943 set dummy
$ac_prog; ac_word
=$2
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12945 $as_echo_n "checking for $ac_word... " >&6; }
12946 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12947 $as_echo_n "(cached) " >&6
12949 if test -n "$ac_ct_FC"; then
12950 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12953 for as_dir
in $PATH
12956 test -z "$as_dir" && as_dir
=.
12957 for ac_exec_ext
in '' $ac_executable_extensions; do
12958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12959 ac_cv_prog_ac_ct_FC
="$ac_prog"
12960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12969 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12970 if test -n "$ac_ct_FC"; then
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12972 $as_echo "$ac_ct_FC" >&6; }
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12979 test -n "$ac_ct_FC" && break
12982 if test "x$ac_ct_FC" = x
; then
12985 case $cross_compiling:$ac_tool_warned in
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12989 ac_tool_warned
=yes ;;
12996 # Provide some information about the compiler.
12997 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13000 for ac_option
in --version -v -V -qversion; do
13001 { { ac_try
="$ac_compiler $ac_option >&5"
13002 case "(($ac_try" in
13003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13004 *) ac_try_echo=$ac_try;;
13006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13007 $as_echo "$ac_try_echo"; } >&5
13008 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13010 if test -s conftest.err; then
13012 ... rest of stderr output deleted ...
13013 10q' conftest.err >conftest.er1
13014 cat conftest.er1 >&5
13015 rm -f conftest.er1 conftest.err
13017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13018 test $ac_status = 0; }
13022 # If we don't use `.F
' as extension, the preprocessor is not run on the
13023 # input file. (Note that this only needs to work for GNU compilers.)
13024 ac_save_ext=$ac_ext
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13027 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13028 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
13029 $as_echo_n "(cached) " >&6
13031 cat > conftest.$ac_ext <<_ACEOF
13039 if ac_fn_fc_try_compile "$LINENO"; then :
13040 ac_compiler_gnu=yes
13044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13045 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13049 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13050 ac_ext=$ac_save_ext
13051 ac_test_FCFLAGS=${FCFLAGS+set}
13052 ac_save_FCFLAGS=$FCFLAGS
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13055 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13056 if test "${ac_cv_prog_fc_g+set}" = set; then :
13057 $as_echo_n "(cached) " >&6
13060 cat > conftest.$ac_ext <<_ACEOF
13065 if ac_fn_fc_try_compile "$LINENO"; then :
13066 ac_cv_prog_fc_g=yes
13070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13074 $as_echo "$ac_cv_prog_fc_g" >&6; }
13075 if test "$ac_test_FCFLAGS" = set; then
13076 FCFLAGS=$ac_save_FCFLAGS
13077 elif test $ac_cv_prog_fc_g = yes; then
13078 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13084 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13092 ac_cpp='$CPP $CPPFLAGS'
13093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13094 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13097 ac_ext=${ac_fc_srcext-f}
13098 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13099 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13100 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13103 if test -z "$FC" || test "X$FC" = "Xno"; then
13107 archive_cmds_need_lc_FC=no
13108 allow_undefined_flag_FC=
13109 always_export_symbols_FC=no
13110 archive_expsym_cmds_FC=
13111 export_dynamic_flag_spec_FC=
13112 hardcode_direct_FC=no
13113 hardcode_direct_absolute_FC=no
13114 hardcode_libdir_flag_spec_FC=
13115 hardcode_libdir_flag_spec_ld_FC=
13116 hardcode_libdir_separator_FC=
13117 hardcode_minus_L_FC=no
13118 hardcode_automatic_FC=no
13119 inherit_rpath_FC=no
13121 module_expsym_cmds_FC=
13122 link_all_deplibs_FC=unknown
13123 old_archive_cmds_FC=$old_archive_cmds
13124 reload_flag_FC=$reload_flag
13125 reload_cmds_FC=$reload_cmds
13126 no_undefined_flag_FC=
13127 whole_archive_flag_spec_FC=
13128 enable_shared_with_static_runtimes_FC=no
13130 # Source file extension for fc test sources.
13131 ac_ext=${ac_fc_srcext-f}
13133 # Object file extension for compiled fc test sources.
13137 # No sense in running all these tests if we already determined that
13138 # the FC compiler isn't working. Some variables
(like enable_shared
)
13139 # are currently assumed to apply to all compilers on this platform,
13140 # and will be corrupted by setting them based on a non-working compiler.
13141 if test "$_lt_disable_FC" != yes; then
13142 # Code to be used in simple compile tests
13143 lt_simple_compile_test_code
="\
13149 # Code to be used in simple link tests
13150 lt_simple_link_test_code
="\
13155 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13162 # If no C compiler was specified, use CC.
13165 # If no C compiler flags were specified, use CFLAGS.
13166 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13168 # Allow CC to be a program name with arguments.
13172 # save warnings/boilerplate of simple test code
13173 ac_outfile
=conftest.
$ac_objext
13174 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13175 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13176 _lt_compiler_boilerplate
=`cat conftest.err`
13179 ac_outfile
=conftest.
$ac_objext
13180 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13181 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13182 _lt_linker_boilerplate
=`cat conftest.err`
13186 # Allow CC to be a program name with arguments.
13191 GCC
=$ac_cv_fc_compiler_gnu
13194 for cc_temp
in $compiler""; do
13196 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13197 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13202 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13205 if test -n "$compiler"; then
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13207 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13209 $as_echo "$can_build_shared" >&6; }
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13212 $as_echo_n "checking whether to build shared libraries... " >&6; }
13213 test "$can_build_shared" = "no" && enable_shared
=no
13215 # On AIX, shared libraries and static libraries use the same namespace, and
13216 # are all built from PIC.
13219 test "$enable_shared" = yes && enable_static
=no
13220 if test -n "$RANLIB"; then
13221 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13222 postinstall_cmds
='$RANLIB $lib'
13226 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13227 test "$enable_shared" = yes && enable_static
=no
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13232 $as_echo "$enable_shared" >&6; }
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13235 $as_echo_n "checking whether to build static libraries... " >&6; }
13236 # Make sure either enable_shared or enable_static is yes.
13237 test "$enable_shared" = yes || enable_static
=yes
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13239 $as_echo "$enable_static" >&6; }
13241 GCC_FC
="$ac_cv_fc_compiler_gnu"
13245 ## There is no encapsulation within the following macros, do not change
13246 ## the running order or otherwise move them around unless you know exactly
13247 ## what you are doing...
13248 # Dependencies to place before and after the object being linked:
13250 postdep_objects_FC
=
13253 compiler_lib_search_path_FC
=
13255 cat > conftest.
$ac_ext <<_LT_EOF
13264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13265 (eval $ac_compile) 2>&5
13267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13268 test $ac_status = 0; }; then
13269 # Parse the compiler output and extract the necessary
13270 # objects, libraries and library flags.
13272 # Sentinel used to keep track of whether or not we are before
13273 # the conftest object file.
13274 pre_test_object_deps_done
=no
13276 for p
in `eval "$output_verbose_link_cmd"`; do
13280 # Some compilers place space between "-{L,R}" and the path.
13281 # Remove the space.
13282 if test $p = "-L" ||
13283 test $p = "-R"; then
13290 if test "$pre_test_object_deps_done" = no
; then
13293 # Internal compiler library paths should come after those
13294 # provided the user. The postdeps already come after the
13295 # user supplied libs so there is no need to process them.
13296 if test -z "$compiler_lib_search_path_FC"; then
13297 compiler_lib_search_path_FC
="${prev}${p}"
13299 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13302 # The "-l" case would never come before the object being
13303 # linked, so don't bother handling this case.
13306 if test -z "$postdeps_FC"; then
13307 postdeps_FC
="${prev}${p}"
13309 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13315 # This assumes that the test object file only shows up
13316 # once in the compiler output.
13317 if test "$p" = "conftest.$objext"; then
13318 pre_test_object_deps_done
=yes
13322 if test "$pre_test_object_deps_done" = no
; then
13323 if test -z "$predep_objects_FC"; then
13324 predep_objects_FC
="$p"
13326 predep_objects_FC
="$predep_objects_FC $p"
13329 if test -z "$postdep_objects_FC"; then
13330 postdep_objects_FC
="$p"
13332 postdep_objects_FC
="$postdep_objects_FC $p"
13337 *) ;; # Ignore the rest.
13345 echo "libtool.m4: error: problem compiling FC test program"
13348 $RM -f confest.
$objext
13350 # PORTME: override above test on systems where it is broken
13353 case " $postdeps_FC " in
13354 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13356 compiler_lib_search_dirs_FC
=
13357 if test -n "${compiler_lib_search_path_FC}"; then
13358 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13391 lt_prog_compiler_wl_FC
=
13392 lt_prog_compiler_pic_FC
=
13393 lt_prog_compiler_static_FC
=
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13396 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13398 if test "$GCC" = yes; then
13399 lt_prog_compiler_wl_FC
='-Wl,'
13400 lt_prog_compiler_static_FC
='-static'
13404 # All AIX code is PIC.
13405 if test "$host_cpu" = ia64
; then
13406 # AIX 5 now supports IA64 processor
13407 lt_prog_compiler_static_FC
='-Bstatic'
13409 lt_prog_compiler_pic_FC
='-fPIC'
13415 # see comment about AmigaOS4 .so support
13416 lt_prog_compiler_pic_FC
='-fPIC'
13419 # FIXME: we need at least 68020 code to build shared libraries, but
13420 # adding the `-m68020' flag to GCC prevents building anything better,
13422 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13427 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13428 # PIC is the default for these OSes.
13431 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13432 # This hack is so that the source file can tell whether it is being
13433 # built for inclusion in a dll (and should export symbols for example).
13434 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13435 # (--disable-auto-import) libraries
13436 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13439 darwin
* | rhapsody
*)
13440 # PIC is the default on this platform
13441 # Common symbols not allowed in MH_DYLIB files
13442 lt_prog_compiler_pic_FC
='-fno-common'
13446 # PIC is the default for Haiku.
13447 # The "-static" flag exists, but is broken.
13448 lt_prog_compiler_static_FC
=
13452 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13453 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13454 # sets the default TLS model and affects inlining.
13460 lt_prog_compiler_pic_FC
='-fPIC'
13466 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13467 # Instead, we relocate shared libraries at runtime.
13471 # Just because we use GCC doesn't mean we suddenly get shared libraries
13472 # on systems that don't support them.
13473 lt_prog_compiler_can_build_shared_FC
=no
13478 # QNX uses GNU C++, but need to define -shared option too, otherwise
13479 # it will coredump.
13480 lt_prog_compiler_pic_FC
='-fPIC -shared'
13484 if test -d /usr
/nec
; then
13485 lt_prog_compiler_pic_FC
=-Kconform_pic
13490 lt_prog_compiler_pic_FC
='-fPIC'
13494 case $cc_basename in
13495 nvcc
*) # Cuda Compiler Driver 2.2
13496 lt_prog_compiler_wl_FC
='-Xlinker '
13497 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13501 # PORTME Check for flag to pass linker flags through the system compiler.
13504 lt_prog_compiler_wl_FC
='-Wl,'
13505 if test "$host_cpu" = ia64
; then
13506 # AIX 5 now supports IA64 processor
13507 lt_prog_compiler_static_FC
='-Bstatic'
13509 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13513 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13514 # This hack is so that the source file can tell whether it is being
13515 # built for inclusion in a dll (and should export symbols for example).
13516 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13519 hpux9
* | hpux10
* | hpux11
*)
13520 lt_prog_compiler_wl_FC
='-Wl,'
13521 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13522 # not for PA HP-UX.
13528 lt_prog_compiler_pic_FC
='+Z'
13531 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13532 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13535 irix5
* | irix6
* | nonstopux
*)
13536 lt_prog_compiler_wl_FC
='-Wl,'
13537 # PIC (with -KPIC) is the default.
13538 lt_prog_compiler_static_FC
='-non_shared'
13541 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13542 case $cc_basename in
13543 # old Intel for x86_64 which still supported -KPIC.
13545 lt_prog_compiler_wl_FC
='-Wl,'
13546 lt_prog_compiler_pic_FC
='-KPIC'
13547 lt_prog_compiler_static_FC
='-static'
13549 # icc used to be incompatible with GCC.
13550 # ICC 10 doesn't accept -KPIC any more.
13552 lt_prog_compiler_wl_FC
='-Wl,'
13553 lt_prog_compiler_pic_FC
='-fPIC'
13554 lt_prog_compiler_static_FC
='-static'
13556 # Lahey Fortran 8.1.
13558 lt_prog_compiler_wl_FC
='-Wl,'
13559 lt_prog_compiler_pic_FC
='--shared'
13560 lt_prog_compiler_static_FC
='--static'
13562 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13563 # Portland Group compilers (*not* the Pentium gcc compiler,
13564 # which looks to be a dead project)
13565 lt_prog_compiler_wl_FC
='-Wl,'
13566 lt_prog_compiler_pic_FC
='-fpic'
13567 lt_prog_compiler_static_FC
='-Bstatic'
13570 lt_prog_compiler_wl_FC
='-Wl,'
13571 # All Alpha code is PIC.
13572 lt_prog_compiler_static_FC
='-non_shared'
13574 xl
* | bgxl
* | bgf
* | mpixl
*)
13575 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13576 lt_prog_compiler_wl_FC
='-Wl,'
13577 lt_prog_compiler_pic_FC
='-qpic'
13578 lt_prog_compiler_static_FC
='-qstaticlink'
13581 case `$CC -V 2>&1 | sed 5q` in
13582 *Sun\ F
* |
*Sun
*Fortran
*)
13583 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13584 lt_prog_compiler_pic_FC
='-KPIC'
13585 lt_prog_compiler_static_FC
='-Bstatic'
13586 lt_prog_compiler_wl_FC
=''
13590 lt_prog_compiler_pic_FC
='-KPIC'
13591 lt_prog_compiler_static_FC
='-Bstatic'
13592 lt_prog_compiler_wl_FC
='-Wl,'
13600 lt_prog_compiler_pic_FC
='-KPIC'
13601 lt_prog_compiler_static_FC
='-Bstatic'
13605 # QNX uses GNU C++, but need to define -shared option too, otherwise
13606 # it will coredump.
13607 lt_prog_compiler_pic_FC
='-fPIC -shared'
13610 osf3
* | osf4
* | osf5
*)
13611 lt_prog_compiler_wl_FC
='-Wl,'
13612 # All OSF/1 code is PIC.
13613 lt_prog_compiler_static_FC
='-non_shared'
13617 lt_prog_compiler_static_FC
='-non_shared'
13621 lt_prog_compiler_pic_FC
='-KPIC'
13622 lt_prog_compiler_static_FC
='-Bstatic'
13623 case $cc_basename in
13624 f77
* | f90
* | f95
*)
13625 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13627 lt_prog_compiler_wl_FC
='-Wl,';;
13632 lt_prog_compiler_wl_FC
='-Qoption ld '
13633 lt_prog_compiler_pic_FC
='-PIC'
13634 lt_prog_compiler_static_FC
='-Bstatic'
13637 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13638 lt_prog_compiler_wl_FC
='-Wl,'
13639 lt_prog_compiler_pic_FC
='-KPIC'
13640 lt_prog_compiler_static_FC
='-Bstatic'
13644 if test -d /usr
/nec
;then
13645 lt_prog_compiler_pic_FC
='-Kconform_pic'
13646 lt_prog_compiler_static_FC
='-Bstatic'
13650 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13651 lt_prog_compiler_wl_FC
='-Wl,'
13652 lt_prog_compiler_pic_FC
='-KPIC'
13653 lt_prog_compiler_static_FC
='-Bstatic'
13657 lt_prog_compiler_wl_FC
='-Wl,'
13658 lt_prog_compiler_can_build_shared_FC
=no
13662 lt_prog_compiler_pic_FC
='-pic'
13663 lt_prog_compiler_static_FC
='-Bstatic'
13667 lt_prog_compiler_can_build_shared_FC
=no
13673 # For platforms which do not support PIC, -DPIC is meaningless:
13675 lt_prog_compiler_pic_FC
=
13678 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13682 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13687 # Check to make sure the PIC flag actually works.
13689 if test -n "$lt_prog_compiler_pic_FC"; then
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13691 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13692 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13693 $as_echo_n "(cached) " >&6
13695 lt_cv_prog_compiler_pic_works_FC
=no
13696 ac_outfile
=conftest.
$ac_objext
13697 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13698 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13699 # Insert the option either (1) after the last *FLAGS variable, or
13700 # (2) before a word containing "conftest.", or (3) at the end.
13701 # Note that $ac_compile itself does not contain backslashes and begins
13702 # with a dollar sign (not a hyphen), so the echo should work correctly.
13703 # The option is referenced via a variable to avoid confusing sed.
13704 lt_compile
=`echo "$ac_compile" | $SED \
13705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13707 -e 's:$: $lt_compiler_flag:'`
13708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13709 (eval "$lt_compile" 2>conftest.err
)
13711 cat conftest.err
>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 if (exit $ac_status) && test -s "$ac_outfile"; then
13714 # The compiler can only warn and ignore the option if not recognized
13715 # So say no if there are warnings other than the usual output.
13716 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13717 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13718 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13719 lt_cv_prog_compiler_pic_works_FC
=yes
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13726 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13728 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13729 case $lt_prog_compiler_pic_FC in
13731 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13734 lt_prog_compiler_pic_FC
=
13735 lt_prog_compiler_can_build_shared_FC
=no
13743 # Check to make sure the static flag actually works.
13745 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13747 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13748 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13749 $as_echo_n "(cached) " >&6
13751 lt_cv_prog_compiler_static_works_FC
=no
13752 save_LDFLAGS
="$LDFLAGS"
13753 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13754 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13755 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13756 # The linker can only warn and ignore the option if not recognized
13757 # So say no if there are warnings
13758 if test -s conftest.err
; then
13759 # Append any errors to the config.log.
13760 cat conftest.err
1>&5
13761 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13762 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13763 if diff conftest.exp conftest.er2
>/dev
/null
; then
13764 lt_cv_prog_compiler_static_works_FC
=yes
13767 lt_cv_prog_compiler_static_works_FC
=yes
13771 LDFLAGS
="$save_LDFLAGS"
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13775 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13777 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13780 lt_prog_compiler_static_FC
=
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13787 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13788 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13789 $as_echo_n "(cached) " >&6
13791 lt_cv_prog_compiler_c_o_FC
=no
13792 $RM -r conftest
2>/dev
/null
13796 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13798 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13799 # Insert the option either (1) after the last *FLAGS variable, or
13800 # (2) before a word containing "conftest.", or (3) at the end.
13801 # Note that $ac_compile itself does not contain backslashes and begins
13802 # with a dollar sign (not a hyphen), so the echo should work correctly.
13803 lt_compile
=`echo "$ac_compile" | $SED \
13804 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13805 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13806 -e 's:$: $lt_compiler_flag:'`
13807 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13808 (eval "$lt_compile" 2>out
/conftest.err
)
13810 cat out
/conftest.err
>&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13814 # The compiler can only warn and ignore the option if not recognized
13815 # So say no if there are warnings
13816 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13817 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13818 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13819 lt_cv_prog_compiler_c_o_FC
=yes
13824 # SGI C++ compiler will create directory out/ii_files/ for
13825 # template instantiation
13826 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13827 $RM out
/* && rmdir out
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13834 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13843 lt_cv_prog_compiler_c_o_FC
=no
13844 $RM -r conftest
2>/dev
/null
13848 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13850 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile
=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out
/conftest.err
)
13862 cat out
/conftest.err
>&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13870 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13871 lt_cv_prog_compiler_c_o_FC
=yes
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13879 $RM out
/* && rmdir out
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13891 hard_links
="nottested"
13892 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13893 # do not overwrite the value of need_locks provided by the user
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13895 $as_echo_n "checking if we can lock with hard links... " >&6; }
13898 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13900 ln conftest.a conftest.b
2>&5 || hard_links
=no
13901 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13903 $as_echo "$hard_links" >&6; }
13904 if test "$hard_links" = no
; then
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13906 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13916 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13919 allow_undefined_flag_FC
=
13920 always_export_symbols_FC
=no
13922 archive_expsym_cmds_FC
=
13923 compiler_needs_object_FC
=no
13924 enable_shared_with_static_runtimes_FC
=no
13925 export_dynamic_flag_spec_FC
=
13926 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13927 hardcode_automatic_FC
=no
13928 hardcode_direct_FC
=no
13929 hardcode_direct_absolute_FC
=no
13930 hardcode_libdir_flag_spec_FC
=
13931 hardcode_libdir_flag_spec_ld_FC
=
13932 hardcode_libdir_separator_FC
=
13933 hardcode_minus_L_FC
=no
13934 hardcode_shlibpath_var_FC
=unsupported
13935 inherit_rpath_FC
=no
13936 link_all_deplibs_FC
=unknown
13938 module_expsym_cmds_FC
=
13939 old_archive_from_new_cmds_FC
=
13940 old_archive_from_expsyms_cmds_FC
=
13941 thread_safe_flag_spec_FC
=
13942 whole_archive_flag_spec_FC
=
13943 # include_expsyms should be a list of space-separated symbols to be *always*
13944 # included in the symbol list
13945 include_expsyms_FC
=
13946 # exclude_expsyms can be an extended regexp of symbols to exclude
13947 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13948 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13949 # as well as any symbol that contains `d'.
13950 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13951 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13952 # platforms (ab)use it in PIC code, but their linkers get confused if
13953 # the symbol is explicitly referenced. Since portable code cannot
13954 # rely on this symbol name, it's probably fine to never include it in
13955 # preloaded symbol tables.
13956 # Exclude shared library initialization/finalization symbols.
13957 extract_expsyms_cmds
=
13960 cygwin
* | mingw
* | pw32
* | cegcc
*)
13961 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13962 # When not using gcc, we currently assume that we are using
13963 # Microsoft Visual C++.
13964 if test "$GCC" != yes; then
13969 # we just hope/assume this is gcc and not c89 (= MSVC++)
13979 # On some targets, GNU ld is compatible enough with the native linker
13980 # that we're better off using the native interface for both.
13981 lt_use_gnu_ld_interface
=no
13982 if test "$with_gnu_ld" = yes; then
13985 # The AIX port of GNU ld has always aspired to compatibility
13986 # with the native linker. However, as the warning in the GNU ld
13987 # block says, versions before 2.19.5* couldn't really create working
13988 # shared libraries, regardless of the interface used.
13989 case `$LD -v 2>&1` in
13990 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13991 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13992 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13994 lt_use_gnu_ld_interface
=yes
13999 lt_use_gnu_ld_interface
=yes
14004 if test "$lt_use_gnu_ld_interface" = yes; then
14005 # If archive_cmds runs LD, not CC, wlarc should be empty
14008 # Set some defaults for GNU ld with shared library support. These
14009 # are reset later if shared libraries are not supported. Putting them
14010 # here allows them to be overridden if necessary.
14011 runpath_var
=LD_RUN_PATH
14012 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14013 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14014 # ancient GNU ld didn't support --whole-archive et. al.
14015 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14016 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14018 whole_archive_flag_spec_FC
=
14020 supports_anon_versioning
=no
14021 case `$LD -v 2>&1` in
14022 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14023 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14024 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14025 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14026 *\
2.11.
*) ;; # other 2.11 versions
14027 *) supports_anon_versioning
=yes ;;
14030 # See if GNU ld supports shared libraries.
14033 # On AIX/PPC, the GNU linker is very broken
14034 if test "$host_cpu" != ia64
; then
14038 *** Warning: the GNU linker, at least up to release 2.19, is reported
14039 *** to be unable to reliably create shared libraries on AIX.
14040 *** Therefore, libtool is disabling shared libraries support. If you
14041 *** really care for shared libraries, you may want to install binutils
14042 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14043 *** You will then need to restart the configuration process.
14052 # see comment about AmigaOS4 .so support
14053 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14054 archive_expsym_cmds_FC
=''
14057 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)'
14058 hardcode_libdir_flag_spec_FC
='-L$libdir'
14059 hardcode_minus_L_FC
=yes
14065 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14066 allow_undefined_flag_FC
=unsupported
14067 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14068 # support --undefined. This deserves some investigation. FIXME
14069 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14075 cygwin
* | mingw
* | pw32
* | cegcc
*)
14076 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14077 # as there is no search path for DLLs.
14078 hardcode_libdir_flag_spec_FC
='-L$libdir'
14079 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14080 allow_undefined_flag_FC
=unsupported
14081 always_export_symbols_FC
=no
14082 enable_shared_with_static_runtimes_FC
=yes
14083 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14085 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14086 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14087 # If the export-symbols file already is a .def file (1st line
14088 # is EXPORTS), use it as is; otherwise, prepend...
14089 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14090 cp $export_symbols $output_objdir/$soname.def;
14092 echo EXPORTS > $output_objdir/$soname.def;
14093 cat $export_symbols >> $output_objdir/$soname.def;
14095 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14102 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14103 link_all_deplibs_FC
=yes
14107 hardcode_direct_FC
=no
14108 hardcode_shlibpath_var_FC
=no
14109 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14110 export_dynamic_flag_spec_FC
='${wl}-E'
14111 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14112 # Instead, shared libraries are loaded at an image base (0x10000000 by
14113 # default) and relocated if they conflict, which is a slow very memory
14114 # consuming and fragmenting process. To avoid this, we pick a random,
14115 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14116 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14117 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'
14118 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'
14121 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14123 if test "$host_os" = linux-dietlibc
; then
14124 case $cc_basename in
14125 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14128 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14129 && test "$tmp_diet" = no
14131 tmp_addflag
=' $pic_flag'
14132 tmp_sharedflag
='-shared'
14133 case $cc_basename,$host_cpu in
14134 pgcc
*) # Portland Group C compiler
14135 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'
14136 tmp_addflag
=' $pic_flag'
14138 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14139 # Portland Group f77 and f90 compilers
14140 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'
14141 tmp_addflag
=' $pic_flag -Mnomain' ;;
14142 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14143 tmp_addflag
=' -i_dynamic' ;;
14144 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14145 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14146 ifc
* | ifort
*) # Intel Fortran compiler
14147 tmp_addflag
=' -nofor_main' ;;
14148 lf95
*) # Lahey Fortran 8.1
14149 whole_archive_flag_spec_FC
=
14150 tmp_sharedflag
='--shared' ;;
14151 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14152 tmp_sharedflag
='-qmkshrobj'
14154 nvcc
*) # Cuda Compiler Driver 2.2
14155 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'
14156 compiler_needs_object_FC
=yes
14159 case `$CC -V 2>&1 | sed 5q` in
14160 *Sun\ C
*) # Sun C 5.9
14161 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'
14162 compiler_needs_object_FC
=yes
14163 tmp_sharedflag
='-G' ;;
14164 *Sun\ F
*) # Sun Fortran 8.3
14165 tmp_sharedflag
='-G' ;;
14167 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14169 if test "x$supports_anon_versioning" = xyes
; then
14170 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14171 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14172 echo "local: *; };" >> $output_objdir/$libname.ver~
14173 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14176 case $cc_basename in
14177 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14178 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14179 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14180 hardcode_libdir_flag_spec_FC
=
14181 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14182 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14183 if test "x$supports_anon_versioning" = xyes
; then
14184 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14185 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14186 echo "local: *; };" >> $output_objdir/$libname.ver~
14187 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14197 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14198 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14201 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14202 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14207 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14211 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14212 *** create shared libraries on Solaris systems. Therefore, libtool
14213 *** is disabling shared libraries support. We urge you to upgrade GNU
14214 *** binutils to release 2.9.1 or newer. Another option is to modify
14215 *** your PATH or compiler configuration so that the native linker is
14216 *** used, and then restart.
14219 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14220 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14221 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14227 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14228 case `$LD -v 2>&1` in
14229 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14233 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14234 *** reliably create shared libraries on SCO systems. Therefore, libtool
14235 *** is disabling shared libraries support. We urge you to upgrade GNU
14236 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14237 *** your PATH or compiler configuration so that the native linker is
14238 *** used, and then restart.
14243 # For security reasons, it is highly recommended that you always
14244 # use absolute paths for naming shared libraries, and exclude the
14245 # DT_RUNPATH tag from executables and libraries. But doing so
14246 # requires that you compile everything twice, which is a pain.
14247 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14248 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
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'
14259 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14261 hardcode_direct_FC
=yes
14262 hardcode_shlibpath_var_FC
=no
14266 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14267 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14268 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14275 if test "$ld_shlibs_FC" = no
; then
14277 hardcode_libdir_flag_spec_FC
=
14278 export_dynamic_flag_spec_FC
=
14279 whole_archive_flag_spec_FC
=
14282 # PORTME fill in a description of your system's linker (not GNU ld)
14285 allow_undefined_flag_FC
=unsupported
14286 always_export_symbols_FC
=yes
14287 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'
14288 # Note: this linker hardcodes the directories in LIBPATH if there
14289 # are no directories specified by -L.
14290 hardcode_minus_L_FC
=yes
14291 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14292 # Neither direct hardcoding nor static linking is supported with a
14294 hardcode_direct_FC
=unsupported
14299 if test "$host_cpu" = ia64
; then
14300 # On IA64, the linker does run time linking by default, so we don't
14301 # have to do anything special.
14302 aix_use_runtimelinking
=no
14303 exp_sym_flag
='-Bexport'
14306 # If we're using GNU nm, then we don't want the "-C" option.
14307 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14308 # Also, AIX nm treats weak defined symbols like other global
14309 # defined symbols, whereas GNU nm marks them as "W".
14310 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14311 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'
14313 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'
14315 aix_use_runtimelinking
=no
14317 # Test if we are trying to use run time linking or normal
14318 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14319 # need to do runtime linking.
14320 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14321 for ld_flag
in $LDFLAGS; do
14322 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14323 aix_use_runtimelinking
=yes
14330 exp_sym_flag
='-bexport'
14331 no_entry_flag
='-bnoentry'
14334 # When large executables or shared objects are built, AIX ld can
14335 # have problems creating the table of contents. If linking a library
14336 # or program results in "error TOC overflow" add -mminimal-toc to
14337 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14338 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14341 hardcode_direct_FC
=yes
14342 hardcode_direct_absolute_FC
=yes
14343 hardcode_libdir_separator_FC
=':'
14344 link_all_deplibs_FC
=yes
14345 file_list_spec_FC
='${wl}-f,'
14347 if test "$GCC" = yes; then
14348 case $host_os in aix4.
[012]|aix4.
[012].
*)
14349 # We only want to do this on AIX 4.2 and lower, the check
14350 # below for broken collect2 doesn't work under 4.3+
14351 collect2name
=`${CC} -print-prog-name=collect2`
14352 if test -f "$collect2name" &&
14353 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14355 # We have reworked collect2
14358 # We have old collect2
14359 hardcode_direct_FC
=unsupported
14360 # It fails to find uninstalled libraries when the uninstalled
14361 # path is not listed in the libpath. Setting hardcode_minus_L
14362 # to unsupported forces relinking
14363 hardcode_minus_L_FC
=yes
14364 hardcode_libdir_flag_spec_FC
='-L$libdir'
14365 hardcode_libdir_separator_FC
=
14369 shared_flag
='-shared'
14370 if test "$aix_use_runtimelinking" = yes; then
14371 shared_flag
="$shared_flag "'${wl}-G'
14375 if test "$host_cpu" = ia64
; then
14376 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14377 # chokes on -Wl,-G. The following line is correct:
14380 if test "$aix_use_runtimelinking" = yes; then
14381 shared_flag
='${wl}-G'
14383 shared_flag
='${wl}-bM:SRE'
14388 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14389 # It seems that -bexpall does not export symbols beginning with
14390 # underscore (_), so it is better to generate a list of symbols to export.
14391 always_export_symbols_FC
=yes
14392 if test "$aix_use_runtimelinking" = yes; then
14393 # Warning - without using the other runtime loading flags (-brtl),
14394 # -berok will link without error, but may produce a broken library.
14395 allow_undefined_flag_FC
='-berok'
14396 # Determine the default libpath from the value encoded in an
14397 # empty executable.
14398 if test x
$gcc_no_link = xyes
; then
14399 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14401 cat > conftest.
$ac_ext <<_ACEOF
14406 if ac_fn_fc_try_link
"$LINENO"; then :
14408 lt_aix_libpath_sed
='
14409 /Import File Strings/,/^$/ {
14415 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14416 # Check for a 64-bit object if we didn't find anything.
14417 if test -z "$aix_libpath"; then
14418 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14421 rm -f core conftest.err conftest.
$ac_objext \
14422 conftest
$ac_exeext conftest.
$ac_ext
14423 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14425 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14426 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"
14428 if test "$host_cpu" = ia64
; then
14429 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14430 allow_undefined_flag_FC
="-z nodefs"
14431 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"
14433 # Determine the default libpath from the value encoded in an
14434 # empty executable.
14435 if test x
$gcc_no_link = xyes
; then
14436 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14438 cat > conftest.
$ac_ext <<_ACEOF
14443 if ac_fn_fc_try_link
"$LINENO"; then :
14445 lt_aix_libpath_sed
='
14446 /Import File Strings/,/^$/ {
14452 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14453 # Check for a 64-bit object if we didn't find anything.
14454 if test -z "$aix_libpath"; then
14455 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14458 rm -f core conftest.err conftest.
$ac_objext \
14459 conftest
$ac_exeext conftest.
$ac_ext
14460 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14462 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14463 # Warning - without using the other run time loading flags,
14464 # -berok will link without error, but may produce a broken library.
14465 no_undefined_flag_FC
=' ${wl}-bernotok'
14466 allow_undefined_flag_FC
=' ${wl}-berok'
14467 if test "$with_gnu_ld" = yes; then
14468 # We only use this code for GNU lds that support --whole-archive.
14469 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14471 # Exported symbols can be pulled into shared objects from archives
14472 whole_archive_flag_spec_FC
='$convenience'
14474 archive_cmds_need_lc_FC
=yes
14475 # This is similar to how AIX traditionally builds its shared libraries.
14476 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'
14484 # see comment about AmigaOS4 .so support
14485 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14486 archive_expsym_cmds_FC
=''
14489 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)'
14490 hardcode_libdir_flag_spec_FC
='-L$libdir'
14491 hardcode_minus_L_FC
=yes
14497 export_dynamic_flag_spec_FC
=-rdynamic
14500 cygwin
* | mingw
* | pw32
* | cegcc
*)
14501 # When not using gcc, we currently assume that we are using
14502 # Microsoft Visual C++.
14503 # hardcode_libdir_flag_spec is actually meaningless, as there is
14504 # no search path for DLLs.
14505 hardcode_libdir_flag_spec_FC
=' '
14506 allow_undefined_flag_FC
=unsupported
14507 # Tell ltmain to make .lib files, not .a files.
14509 # Tell ltmain to make .dll files, not .so files.
14511 # FIXME: Setting linknames here is a bad hack.
14512 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14513 # The linker will automatically build a .lib file if we build a DLL.
14514 old_archive_from_new_cmds_FC
='true'
14515 # FIXME: Should let the user specify the lib program.
14516 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14517 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14518 enable_shared_with_static_runtimes_FC
=yes
14521 darwin
* | rhapsody
*)
14524 archive_cmds_need_lc_FC
=no
14525 hardcode_direct_FC
=no
14526 hardcode_automatic_FC
=yes
14527 hardcode_shlibpath_var_FC
=unsupported
14528 if test "$lt_cv_ld_force_load" = "yes"; then
14529 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\"`'
14531 whole_archive_flag_spec_FC
=''
14533 link_all_deplibs_FC
=yes
14534 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14535 case $cc_basename in
14536 ifort
*) _lt_dar_can_shared
=yes ;;
14537 *) _lt_dar_can_shared
=$GCC ;;
14539 if test "$_lt_dar_can_shared" = "yes"; then
14540 output_verbose_link_cmd
=func_echo_all
14541 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}"
14542 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14543 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}"
14544 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}"
14553 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14554 hardcode_libdir_flag_spec_FC
='-L$libdir'
14555 hardcode_shlibpath_var_FC
=no
14558 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14559 # support. Future versions do this automatically, but an explicit c++rt0.o
14560 # does not break anything, and helps significantly (at the cost of a little
14563 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14564 hardcode_libdir_flag_spec_FC
='-R$libdir'
14565 hardcode_direct_FC
=yes
14566 hardcode_shlibpath_var_FC
=no
14569 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14571 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14572 hardcode_direct_FC
=yes
14573 hardcode_minus_L_FC
=yes
14574 hardcode_shlibpath_var_FC
=no
14577 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14578 freebsd
* | dragonfly
*)
14579 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14580 hardcode_libdir_flag_spec_FC
='-R$libdir'
14581 hardcode_direct_FC
=yes
14582 hardcode_shlibpath_var_FC
=no
14586 if test "$GCC" = yes; then
14587 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'
14589 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'
14591 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14592 hardcode_libdir_separator_FC
=:
14593 hardcode_direct_FC
=yes
14595 # hardcode_minus_L: Not really in the search PATH,
14596 # but as the default location of the library.
14597 hardcode_minus_L_FC
=yes
14598 export_dynamic_flag_spec_FC
='${wl}-E'
14602 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14603 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14605 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14607 if test "$with_gnu_ld" = no
; then
14608 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14609 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14610 hardcode_libdir_separator_FC
=:
14611 hardcode_direct_FC
=yes
14612 hardcode_direct_absolute_FC
=yes
14613 export_dynamic_flag_spec_FC
='${wl}-E'
14614 # hardcode_minus_L: Not really in the search PATH,
14615 # but as the default location of the library.
14616 hardcode_minus_L_FC
=yes
14621 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14624 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14630 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14636 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14639 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14642 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14646 if test "$with_gnu_ld" = no
; then
14647 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14648 hardcode_libdir_separator_FC
=:
14652 hardcode_direct_FC
=no
14653 hardcode_shlibpath_var_FC
=no
14656 hardcode_direct_FC
=yes
14657 hardcode_direct_absolute_FC
=yes
14658 export_dynamic_flag_spec_FC
='${wl}-E'
14660 # hardcode_minus_L: Not really in the search PATH,
14661 # but as the default location of the library.
14662 hardcode_minus_L_FC
=yes
14668 irix5
* | irix6
* | nonstopux
*)
14669 if test "$GCC" = yes; then
14670 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'
14671 # Try to use the -exported_symbol ld option, if it does not
14672 # work, assume that -exports_file does not work either and
14673 # implicitly export all symbols.
14674 save_LDFLAGS
="$LDFLAGS"
14675 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14676 if test x
$gcc_no_link = xyes
; then
14677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14679 cat > conftest.
$ac_ext <<_ACEOF
14682 if ac_fn_fc_try_link
"$LINENO"; then :
14683 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'
14686 rm -f core conftest.err conftest.
$ac_objext \
14687 conftest
$ac_exeext conftest.
$ac_ext
14688 LDFLAGS
="$save_LDFLAGS"
14690 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'
14691 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'
14693 archive_cmds_need_lc_FC
='no'
14694 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14695 hardcode_libdir_separator_FC
=:
14696 inherit_rpath_FC
=yes
14697 link_all_deplibs_FC
=yes
14701 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14702 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14704 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14706 hardcode_libdir_flag_spec_FC
='-R$libdir'
14707 hardcode_direct_FC
=yes
14708 hardcode_shlibpath_var_FC
=no
14712 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14713 hardcode_direct_FC
=yes
14714 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14715 hardcode_libdir_separator_FC
=:
14716 hardcode_shlibpath_var_FC
=no
14723 if test -f /usr
/libexec
/ld.so
; then
14724 hardcode_direct_FC
=yes
14725 hardcode_shlibpath_var_FC
=no
14726 hardcode_direct_absolute_FC
=yes
14727 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14728 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14729 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14730 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14731 export_dynamic_flag_spec_FC
='${wl}-E'
14734 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14735 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14736 hardcode_libdir_flag_spec_FC
='-R$libdir'
14739 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14740 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14750 hardcode_libdir_flag_spec_FC
='-L$libdir'
14751 hardcode_minus_L_FC
=yes
14752 allow_undefined_flag_FC
=unsupported
14753 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'
14754 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14758 if test "$GCC" = yes; then
14759 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14760 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'
14762 allow_undefined_flag_FC
=' -expect_unresolved \*'
14763 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'
14765 archive_cmds_need_lc_FC
='no'
14766 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14767 hardcode_libdir_separator_FC
=:
14770 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14771 if test "$GCC" = yes; then
14772 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14773 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'
14774 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14776 allow_undefined_flag_FC
=' -expect_unresolved \*'
14777 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'
14778 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~
14779 $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'
14781 # Both c and cxx compiler support -rpath directly
14782 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14784 archive_cmds_need_lc_FC
='no'
14785 hardcode_libdir_separator_FC
=:
14789 no_undefined_flag_FC
=' -z defs'
14790 if test "$GCC" = yes; then
14792 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14793 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14794 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14796 case `$CC -V 2>&1` in
14799 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14800 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14801 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14805 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14806 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14807 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14811 hardcode_libdir_flag_spec_FC
='-R$libdir'
14812 hardcode_shlibpath_var_FC
=no
14814 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14816 # The compiler driver will combine and reorder linker options,
14817 # but understands `-z linker_flag'. GCC discards it without `$wl',
14818 # but is careful enough not to reorder.
14819 # Supported since Solaris 2.6 (maybe 2.5.1?)
14820 if test "$GCC" = yes; then
14821 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14823 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14827 link_all_deplibs_FC
=yes
14831 if test "x$host_vendor" = xsequent
; then
14832 # Use $CC to link under sequent, because it throws in some extra .o
14833 # files that make .init and .fini sections work.
14834 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14836 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14838 hardcode_libdir_flag_spec_FC
='-L$libdir'
14839 hardcode_direct_FC
=yes
14840 hardcode_minus_L_FC
=yes
14841 hardcode_shlibpath_var_FC
=no
14845 case $host_vendor in
14847 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14848 hardcode_direct_FC
=yes # is this really true???
14851 ## LD is ld it makes a PLAMLIB
14852 ## CC just makes a GrossModule.
14853 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14854 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14855 hardcode_direct_FC
=no
14858 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14859 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14862 runpath_var
='LD_RUN_PATH'
14863 hardcode_shlibpath_var_FC
=no
14867 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14868 hardcode_shlibpath_var_FC
=no
14869 export_dynamic_flag_spec_FC
='-Bexport'
14873 if test -d /usr
/nec
; then
14874 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14875 hardcode_shlibpath_var_FC
=no
14876 runpath_var
=LD_RUN_PATH
14877 hardcode_runpath_var
=yes
14882 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14883 no_undefined_flag_FC
='${wl}-z,text'
14884 archive_cmds_need_lc_FC
=no
14885 hardcode_shlibpath_var_FC
=no
14886 runpath_var
='LD_RUN_PATH'
14888 if test "$GCC" = yes; then
14889 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14890 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14892 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14893 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14897 sysv5
* | sco3.2v5
* | sco5v6
*)
14898 # Note: We can NOT use -z defs as we might desire, because we do not
14899 # link with -lc, and that would cause any symbols used from libc to
14900 # always be unresolved, which means just about no library would
14901 # ever link correctly. If we're not using GNU ld we use -z text
14902 # though, which does catch some bad symbols but isn't as heavy-handed
14904 no_undefined_flag_FC
='${wl}-z,text'
14905 allow_undefined_flag_FC
='${wl}-z,nodefs'
14906 archive_cmds_need_lc_FC
=no
14907 hardcode_shlibpath_var_FC
=no
14908 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14909 hardcode_libdir_separator_FC
=':'
14910 link_all_deplibs_FC
=yes
14911 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14912 runpath_var
='LD_RUN_PATH'
14914 if test "$GCC" = yes; then
14915 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14916 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14918 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14919 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14924 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14925 hardcode_libdir_flag_spec_FC
='-L$libdir'
14926 hardcode_shlibpath_var_FC
=no
14934 if test x
$host_vendor = xsni
; then
14936 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14937 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14944 $as_echo "$ld_shlibs_FC" >&6; }
14945 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14947 with_gnu_ld_FC
=$with_gnu_ld
14955 # Do we need to explicitly link libc?
14957 case "x$archive_cmds_need_lc_FC" in
14959 # Assume -lc should be added
14960 archive_cmds_need_lc_FC
=yes
14962 if test "$enable_shared" = yes && test "$GCC" = yes; then
14963 case $archive_cmds_FC in
14965 # FIXME: we may have to deal with multi-command sequences.
14968 # Test whether the compiler implicitly links with -lc since on some
14969 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14970 # to ld, don't add -lc before -lgcc.
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14972 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14973 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14974 $as_echo_n "(cached) " >&6
14977 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14980 (eval $ac_compile) 2>&5
14982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14983 test $ac_status = 0; } 2>conftest.err
; then
14986 libobjs
=conftest.
$ac_objext
14988 wl
=$lt_prog_compiler_wl_FC
14989 pic_flag
=$lt_prog_compiler_pic_FC
14995 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14996 allow_undefined_flag_FC
=
14997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14998 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15001 test $ac_status = 0; }
15003 lt_cv_archive_cmds_need_lc_FC
=no
15005 lt_cv_archive_cmds_need_lc_FC
=yes
15007 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15009 cat conftest.err
1>&5
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15015 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15016 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15087 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15089 library_names_spec
=
15090 libname_spec
='lib$name'
15094 postuninstall_cmds
=
15098 shlibpath_overrides_runpath
=unknown
15100 dynamic_linker
="$host_os ld.so"
15101 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15102 need_lib_prefix
=unknown
15103 hardcode_into_libs
=no
15105 # when you set need_version to no, make sure it does not cause -set_version
15106 # flags to be left without arguments
15107 need_version
=unknown
15112 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15113 shlibpath_var
=LIBPATH
15115 # AIX 3 has no versioning support, so we append a major version to the name.
15116 soname_spec
='${libname}${release}${shared_ext}$major'
15123 hardcode_into_libs
=yes
15124 if test "$host_cpu" = ia64
; then
15125 # AIX 5 supports IA64
15126 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15127 shlibpath_var
=LD_LIBRARY_PATH
15129 # With GCC up to 2.95.x, collect2 would create an import file
15130 # for dependence libraries. The import file would start with
15131 # the line `#! .'. This would cause the generated library to
15132 # depend on `.', always an invalid library. This was fixed in
15133 # development snapshots of GCC prior to 3.0.
15135 aix4 | aix4.
[01] | aix4.
[01].
*)
15136 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15138 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15141 can_build_shared
=no
15145 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15146 # soname into executable. Probably we can add versioning support to
15147 # collect2, so additional links can be useful in future.
15148 if test "$aix_use_runtimelinking" = yes; then
15149 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15150 # instead of lib<name>.a to let people know that these are not
15151 # typical AIX shared libraries.
15152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15154 # We preserve .a as extension for shared libraries through AIX4.2
15155 # and later when we are not doing run time linking.
15156 library_names_spec
='${libname}${release}.a $libname.a'
15157 soname_spec
='${libname}${release}${shared_ext}$major'
15159 shlibpath_var
=LIBPATH
15166 # Since July 2007 AmigaOS4 officially supports .so libraries.
15167 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15171 library_names_spec
='$libname.ixlibrary $libname.a'
15172 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15173 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'
15179 library_names_spec
='${libname}${shared_ext}'
15180 dynamic_linker
="$host_os ld.so"
15181 shlibpath_var
=LIBRARY_PATH
15187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15188 soname_spec
='${libname}${release}${shared_ext}$major'
15189 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15190 shlibpath_var
=LD_LIBRARY_PATH
15191 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15192 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15193 # the default ld.so.conf also contains /usr/contrib/lib and
15194 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15195 # libtool to hard-code these into programs
15198 cygwin
* | mingw
* | pw32
* | cegcc
*)
15199 version_type
=windows
15204 case $GCC,$host_os in
15205 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15206 library_names_spec
='$libname.dll.a'
15207 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15208 postinstall_cmds
='base_file=`basename \${file}`~
15209 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15210 dldir=$destdir/`dirname \$dlpath`~
15211 test -d \$dldir || mkdir -p \$dldir~
15212 $install_prog $dir/$dlname \$dldir/$dlname~
15213 chmod a+x \$dldir/$dlname~
15214 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15215 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15217 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15218 dlpath=$dir/\$dldll~
15220 shlibpath_overrides_runpath
=yes
15224 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15225 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15229 # MinGW DLLs use traditional 'lib' prefix
15230 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15233 # pw32 DLLs use 'pw' prefix rather than 'lib'
15234 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15240 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15243 dynamic_linker
='Win32 ld.exe'
15244 # FIXME: first we should search . and the directory the executable is in
15248 darwin
* | rhapsody
*)
15249 dynamic_linker
="$host_os dyld"
15250 version_type
=darwin
15253 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15254 soname_spec
='${libname}${release}${major}$shared_ext'
15255 shlibpath_overrides_runpath
=yes
15256 shlibpath_var
=DYLD_LIBRARY_PATH
15257 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15259 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15267 soname_spec
='${libname}${release}${shared_ext}$major'
15268 shlibpath_var
=LD_LIBRARY_PATH
15271 freebsd
* | dragonfly
*)
15272 # DragonFly does not have aout. When/if they implement a new
15273 # versioning mechanism, adjust this.
15274 if test -x /usr
/bin
/objformat
; then
15275 objformat
=`/usr/bin/objformat`
15278 freebsd
[23].
*) objformat
=aout
;;
15279 *) objformat
=elf
;;
15282 version_type
=freebsd-
$objformat
15283 case $version_type in
15285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15290 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15294 shlibpath_var
=LD_LIBRARY_PATH
15297 shlibpath_overrides_runpath
=yes
15299 freebsd3.
[01]* | freebsdelf3.
[01]*)
15300 shlibpath_overrides_runpath
=yes
15301 hardcode_into_libs
=yes
15303 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15304 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15305 shlibpath_overrides_runpath
=no
15306 hardcode_into_libs
=yes
15308 *) # from 4.6 on, and DragonFly
15309 shlibpath_overrides_runpath
=yes
15310 hardcode_into_libs
=yes
15319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15320 soname_spec
='${libname}${release}${shared_ext}$major'
15321 shlibpath_var
=LD_LIBRARY_PATH
15322 hardcode_into_libs
=yes
15329 dynamic_linker
="$host_os runtime_loader"
15330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15331 soname_spec
='${libname}${release}${shared_ext}$major'
15332 shlibpath_var
=LIBRARY_PATH
15333 shlibpath_overrides_runpath
=yes
15334 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15335 hardcode_into_libs
=yes
15338 hpux9
* | hpux10
* | hpux11
*)
15339 # Give a soname corresponding to the major version so that dld.sl refuses to
15340 # link against other versions.
15347 hardcode_into_libs
=yes
15348 dynamic_linker
="$host_os dld.so"
15349 shlibpath_var
=LD_LIBRARY_PATH
15350 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15352 soname_spec
='${libname}${release}${shared_ext}$major'
15353 if test "X$HPUX_IA64_MODE" = X32
; then
15354 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15356 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15358 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15362 hardcode_into_libs
=yes
15363 dynamic_linker
="$host_os dld.sl"
15364 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15365 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367 soname_spec
='${libname}${release}${shared_ext}$major'
15368 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15369 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15373 dynamic_linker
="$host_os dld.sl"
15374 shlibpath_var
=SHLIB_PATH
15375 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15377 soname_spec
='${libname}${release}${shared_ext}$major'
15380 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15381 postinstall_cmds
='chmod 555 $lib'
15382 # or fails outright, so override atomically:
15383 install_override_mode
=555
15390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15391 soname_spec
='${libname}${release}${shared_ext}$major'
15392 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15393 shlibpath_var
=LD_LIBRARY_PATH
15394 shlibpath_overrides_runpath
=no
15395 hardcode_into_libs
=yes
15398 irix5
* | irix6
* | nonstopux
*)
15400 nonstopux
*) version_type
=nonstopux
;;
15402 if test "$lt_cv_prog_gnu_ld" = yes; then
15410 soname_spec
='${libname}${release}${shared_ext}$major'
15411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15413 irix5
* | nonstopux
*)
15414 libsuff
= shlibsuff
=
15417 case $LD in # libtool.m4 will add one of these switches to LD
15418 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15419 libsuff
= shlibsuff
= libmagic
=32-bit;;
15420 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15421 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15422 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15423 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15424 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15428 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15429 shlibpath_overrides_runpath
=no
15430 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15431 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15432 hardcode_into_libs
=yes
15435 # No shared lib support for Linux oldld, aout, or coff.
15436 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15440 # This must be Linux ELF.
15441 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15446 soname_spec
='${libname}${release}${shared_ext}$major'
15447 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15448 shlibpath_var
=LD_LIBRARY_PATH
15449 shlibpath_overrides_runpath
=no
15451 # Some binutils ld are patched to set DT_RUNPATH
15452 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15453 $as_echo_n "(cached) " >&6
15455 lt_cv_shlibpath_overrides_runpath
=no
15456 save_LDFLAGS
=$LDFLAGS
15457 save_libdir
=$libdir
15458 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15459 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15460 if test x
$gcc_no_link = xyes
; then
15461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15463 cat > conftest.
$ac_ext <<_ACEOF
15468 if ac_fn_fc_try_link
"$LINENO"; then :
15469 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15470 lt_cv_shlibpath_overrides_runpath
=yes
15473 rm -f core conftest.err conftest.
$ac_objext \
15474 conftest
$ac_exeext conftest.
$ac_ext
15475 LDFLAGS
=$save_LDFLAGS
15476 libdir
=$save_libdir
15480 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15482 # This implies no fast_install, which is unacceptable.
15483 # Some rework will be needed to allow for fast_install
15484 # before this can be enabled.
15485 hardcode_into_libs
=yes
15487 # Append ld.so.conf contents to the search path
15488 if test -f /etc
/ld.so.conf
; then
15489 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' ' '`
15490 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15493 # We used to test for /lib/ld.so.1 and disable shared libraries on
15494 # powerpc, because MkLinux only supported shared libraries with the
15495 # GNU dynamic linker. Since this was broken with cross compilers,
15496 # most powerpc-linux boxes support dynamic linking these days and
15497 # people can always --disable-shared, the test was removed, and we
15498 # assume the GNU/Linux dynamic linker is in use.
15499 dynamic_linker
='GNU/Linux ld.so'
15506 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15508 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15509 dynamic_linker
='NetBSD (a.out) ld.so'
15511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15512 soname_spec
='${libname}${release}${shared_ext}$major'
15513 dynamic_linker
='NetBSD ld.elf_so'
15515 shlibpath_var
=LD_LIBRARY_PATH
15516 shlibpath_overrides_runpath
=yes
15517 hardcode_into_libs
=yes
15522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15523 shlibpath_var
=LD_LIBRARY_PATH
15524 shlibpath_overrides_runpath
=yes
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15532 soname_spec
='${libname}${release}${shared_ext}$major'
15533 shlibpath_var
=LD_LIBRARY_PATH
15534 shlibpath_overrides_runpath
=no
15535 hardcode_into_libs
=yes
15536 dynamic_linker
='ldqnx.so'
15541 sys_lib_dlsearch_path_spec
="/usr/lib"
15543 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15545 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15546 *) need_version
=no
;;
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15549 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15550 shlibpath_var
=LD_LIBRARY_PATH
15551 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15553 openbsd2.
[89] | openbsd2.
[89].
*)
15554 shlibpath_overrides_runpath
=no
15557 shlibpath_overrides_runpath
=yes
15561 shlibpath_overrides_runpath
=yes
15566 libname_spec
='$name'
15569 library_names_spec
='$libname${shared_ext} $libname.a'
15570 dynamic_linker
='OS/2 ld.exe'
15571 shlibpath_var
=LIBPATH
15574 osf3
* | osf4
* | osf5
*)
15578 soname_spec
='${libname}${release}${shared_ext}$major'
15579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15580 shlibpath_var
=LD_LIBRARY_PATH
15581 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15582 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15594 soname_spec
='${libname}${release}${shared_ext}$major'
15595 shlibpath_var
=LD_LIBRARY_PATH
15596 shlibpath_overrides_runpath
=yes
15597 hardcode_into_libs
=yes
15598 # ldd complains unless libraries are executable
15599 postinstall_cmds
='chmod +x $lib'
15604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15605 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15606 shlibpath_var
=LD_LIBRARY_PATH
15607 shlibpath_overrides_runpath
=yes
15608 if test "$with_gnu_ld" = yes; then
15616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15617 soname_spec
='${libname}${release}${shared_ext}$major'
15618 shlibpath_var
=LD_LIBRARY_PATH
15619 case $host_vendor in
15621 shlibpath_overrides_runpath
=no
15623 runpath_var
=LD_RUN_PATH
15631 shlibpath_overrides_runpath
=no
15632 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15638 if test -d /usr
/nec
;then
15640 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15641 soname_spec
='$libname${shared_ext}.$major'
15642 shlibpath_var
=LD_LIBRARY_PATH
15646 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15647 version_type
=freebsd-elf
15650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15651 soname_spec
='${libname}${release}${shared_ext}$major'
15652 shlibpath_var
=LD_LIBRARY_PATH
15653 shlibpath_overrides_runpath
=yes
15654 hardcode_into_libs
=yes
15655 if test "$with_gnu_ld" = yes; then
15656 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15658 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15661 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15665 sys_lib_dlsearch_path_spec
='/usr/lib'
15669 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15674 shlibpath_var
=LD_LIBRARY_PATH
15675 shlibpath_overrides_runpath
=no
15676 hardcode_into_libs
=yes
15681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15682 soname_spec
='${libname}${release}${shared_ext}$major'
15683 shlibpath_var
=LD_LIBRARY_PATH
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15691 $as_echo "$dynamic_linker" >&6; }
15692 test "$dynamic_linker" = no
&& can_build_shared
=no
15694 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15695 if test "$GCC" = yes; then
15696 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15699 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15700 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15702 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15703 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15744 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15745 hardcode_action_FC
=
15746 if test -n "$hardcode_libdir_flag_spec_FC" ||
15747 test -n "$runpath_var_FC" ||
15748 test "X$hardcode_automatic_FC" = "Xyes" ; then
15750 # We can hardcode non-existent directories.
15751 if test "$hardcode_direct_FC" != no
&&
15752 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15753 # have to relink, otherwise we might link with an installed library
15754 # when we should be linking with a yet-to-be-installed one
15755 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15756 test "$hardcode_minus_L_FC" != no
; then
15757 # Linking always hardcodes the temporary library directory.
15758 hardcode_action_FC
=relink
15760 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15761 hardcode_action_FC
=immediate
15764 # We cannot hardcode anything, or else we can only hardcode existing
15766 hardcode_action_FC
=unsupported
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15769 $as_echo "$hardcode_action_FC" >&6; }
15771 if test "$hardcode_action_FC" = relink ||
15772 test "$inherit_rpath_FC" = yes; then
15773 # Fast installation is not supported
15774 enable_fast_install
=no
15775 elif test "$shlibpath_overrides_runpath" = yes ||
15776 test "$enable_shared" = no
; then
15777 # Fast installation is not necessary
15778 enable_fast_install
=needless
15787 fi # test -n "$compiler"
15791 fi # test "$_lt_disable_FC" != yes
15794 ac_cpp
='$CPP $CPPFLAGS'
15795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15801 # extra LD Flags which are required for targets
15804 # Darwin needs -single_module when linking libgfortran
15805 extra_ldflags_libgfortran
=-Wl,-single_module
15810 # We need a working compiler at that point, otherwise give a clear
15811 # error message and bail out.
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15814 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15815 ac_ext
=${ac_fc_srcext-f}
15816 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15817 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15818 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15820 cat > conftest.
$ac_ext <<_ACEOF
15823 real, parameter :: bar = sin (12.34 / 2.5)
15826 if ac_fn_fc_try_compile
"$LINENO"; then :
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15828 $as_echo "yes" >&6; }
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15831 $as_echo "no" >&6; }
15832 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15837 ac_cpp
='$CPP $CPPFLAGS'
15838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15844 # Check whether --enable-largefile was given.
15845 if test "${enable_largefile+set}" = set; then :
15846 enableval
=$enable_largefile;
15849 if test "$enable_largefile" != no
; then
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15852 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15853 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15854 $as_echo_n "(cached) " >&6
15856 ac_cv_sys_largefile_CC
=no
15857 if test "$GCC" != yes; then
15860 # IRIX 6.2 and later do not support large files by default,
15861 # so use the C compiler's -n32 option if that helps.
15862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15864 #include <sys/types.h>
15865 /* Check that off_t can represent 2**63 - 1 correctly.
15866 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15867 since some C++ compilers masquerading as C compilers
15868 incorrectly reject 9223372036854775807. */
15869 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15870 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15871 && LARGE_OFF_T % 2147483647 == 1)
15881 if ac_fn_c_try_compile
"$LINENO"; then :
15884 rm -f core conftest.err conftest.
$ac_objext
15886 if ac_fn_c_try_compile
"$LINENO"; then :
15887 ac_cv_sys_largefile_CC
=' -n32'; break
15889 rm -f core conftest.err conftest.
$ac_objext
15893 rm -f conftest.
$ac_ext
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15897 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15898 if test "$ac_cv_sys_largefile_CC" != no
; then
15899 CC
=$CC$ac_cv_sys_largefile_CC
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15903 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15904 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15905 $as_echo_n "(cached) " >&6
15908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15910 #include <sys/types.h>
15911 /* Check that off_t can represent 2**63 - 1 correctly.
15912 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15913 since some C++ compilers masquerading as C compilers
15914 incorrectly reject 9223372036854775807. */
15915 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15916 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15917 && LARGE_OFF_T % 2147483647 == 1)
15927 if ac_fn_c_try_compile
"$LINENO"; then :
15928 ac_cv_sys_file_offset_bits
=no
; break
15930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15933 #define _FILE_OFFSET_BITS 64
15934 #include <sys/types.h>
15935 /* Check that off_t can represent 2**63 - 1 correctly.
15936 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15937 since some C++ compilers masquerading as C compilers
15938 incorrectly reject 9223372036854775807. */
15939 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15940 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15941 && LARGE_OFF_T % 2147483647 == 1)
15951 if ac_fn_c_try_compile
"$LINENO"; then :
15952 ac_cv_sys_file_offset_bits
=64; break
15954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15955 ac_cv_sys_file_offset_bits
=unknown
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15960 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15961 case $ac_cv_sys_file_offset_bits in #(
15964 cat >>confdefs.h
<<_ACEOF
15965 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15970 if test $ac_cv_sys_file_offset_bits = unknown
; then
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15972 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15973 if test "${ac_cv_sys_large_files+set}" = set; then :
15974 $as_echo_n "(cached) " >&6
15977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15978 /* end confdefs.h. */
15979 #include <sys/types.h>
15980 /* Check that off_t can represent 2**63 - 1 correctly.
15981 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15982 since some C++ compilers masquerading as C compilers
15983 incorrectly reject 9223372036854775807. */
15984 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15985 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15986 && LARGE_OFF_T % 2147483647 == 1)
15996 if ac_fn_c_try_compile
"$LINENO"; then :
15997 ac_cv_sys_large_files
=no
; break
15999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16001 /* end confdefs.h. */
16002 #define _LARGE_FILES 1
16003 #include <sys/types.h>
16004 /* Check that off_t can represent 2**63 - 1 correctly.
16005 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16006 since some C++ compilers masquerading as C compilers
16007 incorrectly reject 9223372036854775807. */
16008 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16009 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16010 && LARGE_OFF_T % 2147483647 == 1)
16020 if ac_fn_c_try_compile
"$LINENO"; then :
16021 ac_cv_sys_large_files
=1; break
16023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16024 ac_cv_sys_large_files
=unknown
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16029 $as_echo "$ac_cv_sys_large_files" >&6; }
16030 case $ac_cv_sys_large_files in #(
16033 cat >>confdefs.h
<<_ACEOF
16034 #define _LARGE_FILES $ac_cv_sys_large_files
16044 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16045 if test "x$ac_cv_type_off_t" = x
""yes; then :
16049 cat >>confdefs.h
<<_ACEOF
16050 #define off_t long int
16056 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16057 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
16059 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16062 for ac_type
in 'int' 'long int' 'long long int'; do
16063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h. */
16065 $ac_includes_default
16069 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16076 if ac_fn_c_try_compile
"$LINENO"; then :
16078 cat >>confdefs.h
<<_ACEOF
16079 #define intptr_t $ac_type
16084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16085 test -z "$ac_type" && break
16091 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16092 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16094 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16097 for ac_type
in 'unsigned int' 'unsigned long int' \
16098 'unsigned long long int'; do
16099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16100 /* end confdefs.h. */
16101 $ac_includes_default
16105 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16112 if ac_fn_c_try_compile
"$LINENO"; then :
16114 cat >>confdefs.h
<<_ACEOF
16115 #define uintptr_t $ac_type
16120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16121 test -z "$ac_type" && break
16126 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16127 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
16129 cat >>confdefs.h
<<_ACEOF
16130 #define HAVE_PTRDIFF_T 1
16137 # check header files (we assume C89 is available, so don't check for that)
16141 for ac_header
in $ac_header_list
16143 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16144 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16146 eval as_val
=\$
$as_ac_Header
16147 if test "x$as_val" = x
""yes; then :
16148 cat >>confdefs.h
<<_ACEOF
16149 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16194 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16196 acx_cv_header_stdint
=stddef.h
16197 acx_cv_header_stdint_kind
="(already complete)"
16198 for i
in stdint.h
$inttype_headers; do
16199 unset ac_cv_type_uintptr_t
16200 unset ac_cv_type_uintmax_t
16201 unset ac_cv_type_int_least32_t
16202 unset ac_cv_type_int_fast32_t
16203 unset ac_cv_type_uint64_t
16204 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16205 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16208 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16209 acx_cv_header_stdint
=$i
16214 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16217 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16220 acx_cv_header_stdint_kind
="(mostly complete)"
16223 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16226 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16229 acx_cv_header_stdint_kind
="(mostly complete)"
16232 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16235 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16238 acx_cv_header_stdint_kind
="(mostly complete)"
16241 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16244 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16247 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16252 if test "$acx_cv_header_stdint" = stddef.h
; then
16253 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16254 for i
in stdint.h
$inttype_headers; do
16255 unset ac_cv_type_uintptr_t
16256 unset ac_cv_type_uint32_t
16257 unset ac_cv_type_uint64_t
16258 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16259 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16262 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16263 acx_cv_header_stdint
=$i
16268 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16271 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16275 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16278 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16285 if test "$acx_cv_header_stdint" = stddef.h
; then
16286 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16287 for i
in sys
/types.h
$inttype_headers; do
16288 unset ac_cv_type_u_int32_t
16289 unset ac_cv_type_u_int64_t
16290 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16291 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16294 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16295 acx_cv_header_stdint
=$i
16300 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16303 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16310 if test "$acx_cv_header_stdint" = stddef.h
; then
16311 acx_cv_header_stdint_kind
="(using manual detection)"
16314 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16315 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16316 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16317 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16318 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16320 # ----------------- Summarize what we found so far
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16323 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16325 case `$as_basename -- gstdint.h ||
16326 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16327 Xgstdint.h : 'X\(//\)$' \| \
16328 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16329 $as_echo X/gstdint.h |
16330 sed '/^.*\/\([^/][^/]*\)\/*$/{
16343 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16344 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16345 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16346 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16351 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16353 # ----------------- done included file, check C basic types --------
16355 # Lacking an uintptr_t? Test size of void *
16356 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16357 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16360 # This bug is HP SR number 8606223364.
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16362 $as_echo_n "checking size of void *... " >&6; }
16363 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16364 $as_echo_n "(cached) " >&6
16366 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16369 if test "$ac_cv_type_void_p" = yes; then
16370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16372 { as_fn_set_status
77
16373 as_fn_error
"cannot compute sizeof (void *)
16374 See \`config.log' for more details." "$LINENO" 5; }; }
16376 ac_cv_sizeof_void_p
=0
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16382 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16386 cat >>confdefs.h
<<_ACEOF
16387 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16393 # Lacking an uint64_t? Test size of long
16394 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16395 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16397 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16398 # This bug is HP SR number 8606223364.
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16400 $as_echo_n "checking size of long... " >&6; }
16401 if test "${ac_cv_sizeof_long+set}" = set; then :
16402 $as_echo_n "(cached) " >&6
16404 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16407 if test "$ac_cv_type_long" = yes; then
16408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16410 { as_fn_set_status
77
16411 as_fn_error
"cannot compute sizeof (long)
16412 See \`config.log' for more details." "$LINENO" 5; }; }
16414 ac_cv_sizeof_long
=0
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16420 $as_echo "$ac_cv_sizeof_long" >&6; }
16424 cat >>confdefs.h
<<_ACEOF
16425 #define SIZEOF_LONG $ac_cv_sizeof_long
16431 if test $acx_cv_header_stdint = stddef.h
; then
16432 # Lacking a good header? Test size of everything and deduce all types.
16433 # The cast to long int works around a bug in the HP C Compiler
16434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16436 # This bug is HP SR number 8606223364.
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16438 $as_echo_n "checking size of int... " >&6; }
16439 if test "${ac_cv_sizeof_int+set}" = set; then :
16440 $as_echo_n "(cached) " >&6
16442 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16445 if test "$ac_cv_type_int" = yes; then
16446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16448 { as_fn_set_status
77
16449 as_fn_error
"cannot compute sizeof (int)
16450 See \`config.log' for more details." "$LINENO" 5; }; }
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16458 $as_echo "$ac_cv_sizeof_int" >&6; }
16462 cat >>confdefs.h
<<_ACEOF
16463 #define SIZEOF_INT $ac_cv_sizeof_int
16467 # The cast to long int works around a bug in the HP C Compiler
16468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16470 # This bug is HP SR number 8606223364.
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16472 $as_echo_n "checking size of short... " >&6; }
16473 if test "${ac_cv_sizeof_short+set}" = set; then :
16474 $as_echo_n "(cached) " >&6
16476 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16479 if test "$ac_cv_type_short" = yes; then
16480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16482 { as_fn_set_status
77
16483 as_fn_error
"cannot compute sizeof (short)
16484 See \`config.log' for more details." "$LINENO" 5; }; }
16486 ac_cv_sizeof_short
=0
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16492 $as_echo "$ac_cv_sizeof_short" >&6; }
16496 cat >>confdefs.h
<<_ACEOF
16497 #define SIZEOF_SHORT $ac_cv_sizeof_short
16501 # The cast to long int works around a bug in the HP C Compiler
16502 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16503 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16504 # This bug is HP SR number 8606223364.
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16506 $as_echo_n "checking size of char... " >&6; }
16507 if test "${ac_cv_sizeof_char+set}" = set; then :
16508 $as_echo_n "(cached) " >&6
16510 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16513 if test "$ac_cv_type_char" = yes; then
16514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16516 { as_fn_set_status
77
16517 as_fn_error
"cannot compute sizeof (char)
16518 See \`config.log' for more details." "$LINENO" 5; }; }
16520 ac_cv_sizeof_char
=0
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16526 $as_echo "$ac_cv_sizeof_char" >&6; }
16530 cat >>confdefs.h
<<_ACEOF
16531 #define SIZEOF_CHAR $ac_cv_sizeof_char
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16537 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16538 case "$ac_cv_sizeof_char" in
16539 1) acx_cv_type_int8_t
=char
;;
16540 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16543 $as_echo "$acx_cv_type_int8_t" >&6; }
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16546 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16547 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16548 2:*) acx_cv_type_int16_t
=int
;;
16549 *:2) acx_cv_type_int16_t
=short
;;
16550 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16553 $as_echo "$acx_cv_type_int16_t" >&6; }
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16556 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16557 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16558 4:*) acx_cv_type_int32_t
=int
;;
16559 *:4) acx_cv_type_int32_t
=long
;;
16560 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16563 $as_echo "$acx_cv_type_int32_t" >&6; }
16566 # These tests are here to make the output prettier
16568 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16569 case "$ac_cv_sizeof_long" in
16570 8) acx_cv_type_int64_t
=long
;;
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16573 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16575 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16578 # Now we can use the above types
16580 if test "$ac_cv_type_uintptr_t" != yes; then
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16582 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16583 case $ac_cv_sizeof_void_p in
16584 2) acx_cv_type_intptr_t
=int16_t
;;
16585 4) acx_cv_type_intptr_t
=int32_t
;;
16586 8) acx_cv_type_intptr_t
=int64_t
;;
16587 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16590 $as_echo "$acx_cv_type_intptr_t" >&6; }
16593 # ----------------- done all checks, emit header -------------
16594 ac_config_commands
="$ac_config_commands gstdint.h"
16599 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16600 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16602 cat >>confdefs.h
<<_ACEOF
16603 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16608 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16609 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16611 cat >>confdefs.h
<<_ACEOF
16612 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16617 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16618 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16620 cat >>confdefs.h
<<_ACEOF
16621 #define HAVE_STRUCT_STAT_ST_RDEV 1
16628 case "${host}--x${with_newlib}" in
16630 hardwire_newlib
=1;;
16632 hardwire_newlib
=1;;
16635 # Check for library functions.
16636 if test "${hardwire_newlib:-0}" -eq 1; then
16637 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16638 # may not work correctly, because the compiler may not be able to
16639 # link executables.
16641 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16644 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16647 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16650 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16653 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16656 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16659 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16662 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16665 # At some point, we should differentiate between architectures
16666 # like x86, which have long double versions, and alpha/powerpc/etc.,
16667 # which don't. For the time being, punt.
16668 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16670 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16677 for ac_func
in $ac_func_list
16679 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16680 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16681 eval as_val
=\$
$as_ac_var
16682 if test "x$as_val" = x
""yes; then :
16683 cat >>confdefs.h
<<_ACEOF
16684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16795 # Check strerror_r, cannot be above as versions with two and three arguments exist
16797 ac_save_CFLAGS
="$CFLAGS"
16798 CFLAGS
="-Wimplicit-function-declaration -Werror"
16799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16800 /* end confdefs.h. */
16801 #define _GNU_SOURCE 1
16802 #include <string.h>
16803 #include <locale.h>
16807 char s[128]; strerror_r(5, s, 128);
16812 if ac_fn_c_try_compile
"$LINENO"; then :
16814 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16818 CFLAGS
="$ac_save_CFLAGS"
16820 ac_save_CFLAGS
="$CFLAGS"
16821 CFLAGS
="-Wimplicit-function-declaration -Werror"
16822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16824 #define _GNU_SOURCE 1
16825 #include <string.h>
16826 #include <locale.h>
16830 char s[128]; strerror_r(5, s);
16835 if ac_fn_c_try_compile
"$LINENO"; then :
16837 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16841 CFLAGS
="$ac_save_CFLAGS"
16844 # Check for C99 (and other IEEE) math functions
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16846 $as_echo_n "checking for sin in -lm... " >&6; }
16847 if test "${ac_cv_lib_m_sin+set}" = set; then :
16848 $as_echo_n "(cached) " >&6
16850 ac_check_lib_save_LIBS
=$LIBS
16852 if test x
$gcc_no_link = xyes
; then
16853 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16858 /* Override any GCC internal prototype to avoid an error.
16859 Use char because int might match the return type of a GCC
16860 builtin and then its argument prototype would still apply. */
16873 if ac_fn_c_try_link
"$LINENO"; then :
16874 ac_cv_lib_m_sin
=yes
16878 rm -f core conftest.err conftest.
$ac_objext \
16879 conftest
$ac_exeext conftest.
$ac_ext
16880 LIBS
=$ac_check_lib_save_LIBS
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16883 $as_echo "$ac_cv_lib_m_sin" >&6; }
16884 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16885 cat >>confdefs.h
<<_ACEOF
16886 #define HAVE_LIBM 1
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16900 $as_echo_n "checking for acosf... " >&6; }
16901 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16902 $as_echo_n "(cached) " >&6
16904 if test x
$gcc_no_link = xyes
; then
16905 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16910 #ifdef HAVE_COMPLEX_H
16911 #include <complex.h>
16917 int (*ptr)() = (int (*)())acosf;
16926 if ac_fn_c_try_link
"$LINENO"; then :
16927 gcc_cv_math_func_acosf
=yes
16929 gcc_cv_math_func_acosf
=no
16931 rm -f core conftest.err conftest.
$ac_objext \
16932 conftest
$ac_exeext conftest.
$ac_ext
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16935 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16936 if test $gcc_cv_math_func_acosf = yes; then
16938 cat >>confdefs.h
<<_ACEOF
16939 #define HAVE_ACOSF 1
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16948 $as_echo_n "checking for acos... " >&6; }
16949 if test "${gcc_cv_math_func_acos+set}" = set; then :
16950 $as_echo_n "(cached) " >&6
16952 if test x
$gcc_no_link = xyes
; then
16953 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16958 #ifdef HAVE_COMPLEX_H
16959 #include <complex.h>
16965 int (*ptr)() = (int (*)())acos;
16974 if ac_fn_c_try_link
"$LINENO"; then :
16975 gcc_cv_math_func_acos
=yes
16977 gcc_cv_math_func_acos
=no
16979 rm -f core conftest.err conftest.
$ac_objext \
16980 conftest
$ac_exeext conftest.
$ac_ext
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16983 $as_echo "$gcc_cv_math_func_acos" >&6; }
16984 if test $gcc_cv_math_func_acos = yes; then
16986 cat >>confdefs.h
<<_ACEOF
16987 #define HAVE_ACOS 1
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16996 $as_echo_n "checking for acosl... " >&6; }
16997 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16998 $as_echo_n "(cached) " >&6
17000 if test x
$gcc_no_link = xyes
; then
17001 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17006 #ifdef HAVE_COMPLEX_H
17007 #include <complex.h>
17013 int (*ptr)() = (int (*)())acosl;
17022 if ac_fn_c_try_link
"$LINENO"; then :
17023 gcc_cv_math_func_acosl
=yes
17025 gcc_cv_math_func_acosl
=no
17027 rm -f core conftest.err conftest.
$ac_objext \
17028 conftest
$ac_exeext conftest.
$ac_ext
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17031 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17032 if test $gcc_cv_math_func_acosl = yes; then
17034 cat >>confdefs.h
<<_ACEOF
17035 #define HAVE_ACOSL 1
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17044 $as_echo_n "checking for acoshf... " >&6; }
17045 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
17046 $as_echo_n "(cached) " >&6
17048 if test x
$gcc_no_link = xyes
; then
17049 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17054 #ifdef HAVE_COMPLEX_H
17055 #include <complex.h>
17061 int (*ptr)() = (int (*)())acoshf;
17070 if ac_fn_c_try_link
"$LINENO"; then :
17071 gcc_cv_math_func_acoshf
=yes
17073 gcc_cv_math_func_acoshf
=no
17075 rm -f core conftest.err conftest.
$ac_objext \
17076 conftest
$ac_exeext conftest.
$ac_ext
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17079 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17080 if test $gcc_cv_math_func_acoshf = yes; then
17082 cat >>confdefs.h
<<_ACEOF
17083 #define HAVE_ACOSHF 1
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17092 $as_echo_n "checking for acosh... " >&6; }
17093 if test "${gcc_cv_math_func_acosh+set}" = set; then :
17094 $as_echo_n "(cached) " >&6
17096 if test x
$gcc_no_link = xyes
; then
17097 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17102 #ifdef HAVE_COMPLEX_H
17103 #include <complex.h>
17109 int (*ptr)() = (int (*)())acosh;
17118 if ac_fn_c_try_link
"$LINENO"; then :
17119 gcc_cv_math_func_acosh
=yes
17121 gcc_cv_math_func_acosh
=no
17123 rm -f core conftest.err conftest.
$ac_objext \
17124 conftest
$ac_exeext conftest.
$ac_ext
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17127 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17128 if test $gcc_cv_math_func_acosh = yes; then
17130 cat >>confdefs.h
<<_ACEOF
17131 #define HAVE_ACOSH 1
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17140 $as_echo_n "checking for acoshl... " >&6; }
17141 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
17142 $as_echo_n "(cached) " >&6
17144 if test x
$gcc_no_link = xyes
; then
17145 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17150 #ifdef HAVE_COMPLEX_H
17151 #include <complex.h>
17157 int (*ptr)() = (int (*)())acoshl;
17166 if ac_fn_c_try_link
"$LINENO"; then :
17167 gcc_cv_math_func_acoshl
=yes
17169 gcc_cv_math_func_acoshl
=no
17171 rm -f core conftest.err conftest.
$ac_objext \
17172 conftest
$ac_exeext conftest.
$ac_ext
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17175 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17176 if test $gcc_cv_math_func_acoshl = yes; then
17178 cat >>confdefs.h
<<_ACEOF
17179 #define HAVE_ACOSHL 1
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17188 $as_echo_n "checking for asinf... " >&6; }
17189 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17190 $as_echo_n "(cached) " >&6
17192 if test x
$gcc_no_link = xyes
; then
17193 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17198 #ifdef HAVE_COMPLEX_H
17199 #include <complex.h>
17205 int (*ptr)() = (int (*)())asinf;
17214 if ac_fn_c_try_link
"$LINENO"; then :
17215 gcc_cv_math_func_asinf
=yes
17217 gcc_cv_math_func_asinf
=no
17219 rm -f core conftest.err conftest.
$ac_objext \
17220 conftest
$ac_exeext conftest.
$ac_ext
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17223 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17224 if test $gcc_cv_math_func_asinf = yes; then
17226 cat >>confdefs.h
<<_ACEOF
17227 #define HAVE_ASINF 1
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17236 $as_echo_n "checking for asin... " >&6; }
17237 if test "${gcc_cv_math_func_asin+set}" = set; then :
17238 $as_echo_n "(cached) " >&6
17240 if test x
$gcc_no_link = xyes
; then
17241 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17246 #ifdef HAVE_COMPLEX_H
17247 #include <complex.h>
17253 int (*ptr)() = (int (*)())asin;
17262 if ac_fn_c_try_link
"$LINENO"; then :
17263 gcc_cv_math_func_asin
=yes
17265 gcc_cv_math_func_asin
=no
17267 rm -f core conftest.err conftest.
$ac_objext \
17268 conftest
$ac_exeext conftest.
$ac_ext
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17271 $as_echo "$gcc_cv_math_func_asin" >&6; }
17272 if test $gcc_cv_math_func_asin = yes; then
17274 cat >>confdefs.h
<<_ACEOF
17275 #define HAVE_ASIN 1
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17284 $as_echo_n "checking for asinl... " >&6; }
17285 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17286 $as_echo_n "(cached) " >&6
17288 if test x
$gcc_no_link = xyes
; then
17289 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17294 #ifdef HAVE_COMPLEX_H
17295 #include <complex.h>
17301 int (*ptr)() = (int (*)())asinl;
17310 if ac_fn_c_try_link
"$LINENO"; then :
17311 gcc_cv_math_func_asinl
=yes
17313 gcc_cv_math_func_asinl
=no
17315 rm -f core conftest.err conftest.
$ac_objext \
17316 conftest
$ac_exeext conftest.
$ac_ext
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17319 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17320 if test $gcc_cv_math_func_asinl = yes; then
17322 cat >>confdefs.h
<<_ACEOF
17323 #define HAVE_ASINL 1
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17332 $as_echo_n "checking for asinhf... " >&6; }
17333 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17334 $as_echo_n "(cached) " >&6
17336 if test x
$gcc_no_link = xyes
; then
17337 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17342 #ifdef HAVE_COMPLEX_H
17343 #include <complex.h>
17349 int (*ptr)() = (int (*)())asinhf;
17358 if ac_fn_c_try_link
"$LINENO"; then :
17359 gcc_cv_math_func_asinhf
=yes
17361 gcc_cv_math_func_asinhf
=no
17363 rm -f core conftest.err conftest.
$ac_objext \
17364 conftest
$ac_exeext conftest.
$ac_ext
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17367 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17368 if test $gcc_cv_math_func_asinhf = yes; then
17370 cat >>confdefs.h
<<_ACEOF
17371 #define HAVE_ASINHF 1
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17380 $as_echo_n "checking for asinh... " >&6; }
17381 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17382 $as_echo_n "(cached) " >&6
17384 if test x
$gcc_no_link = xyes
; then
17385 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17390 #ifdef HAVE_COMPLEX_H
17391 #include <complex.h>
17397 int (*ptr)() = (int (*)())asinh;
17406 if ac_fn_c_try_link
"$LINENO"; then :
17407 gcc_cv_math_func_asinh
=yes
17409 gcc_cv_math_func_asinh
=no
17411 rm -f core conftest.err conftest.
$ac_objext \
17412 conftest
$ac_exeext conftest.
$ac_ext
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17415 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17416 if test $gcc_cv_math_func_asinh = yes; then
17418 cat >>confdefs.h
<<_ACEOF
17419 #define HAVE_ASINH 1
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17428 $as_echo_n "checking for asinhl... " >&6; }
17429 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17430 $as_echo_n "(cached) " >&6
17432 if test x
$gcc_no_link = xyes
; then
17433 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17438 #ifdef HAVE_COMPLEX_H
17439 #include <complex.h>
17445 int (*ptr)() = (int (*)())asinhl;
17454 if ac_fn_c_try_link
"$LINENO"; then :
17455 gcc_cv_math_func_asinhl
=yes
17457 gcc_cv_math_func_asinhl
=no
17459 rm -f core conftest.err conftest.
$ac_objext \
17460 conftest
$ac_exeext conftest.
$ac_ext
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17463 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17464 if test $gcc_cv_math_func_asinhl = yes; then
17466 cat >>confdefs.h
<<_ACEOF
17467 #define HAVE_ASINHL 1
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17476 $as_echo_n "checking for atan2f... " >&6; }
17477 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17478 $as_echo_n "(cached) " >&6
17480 if test x
$gcc_no_link = xyes
; then
17481 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17486 #ifdef HAVE_COMPLEX_H
17487 #include <complex.h>
17493 int (*ptr)() = (int (*)())atan2f;
17502 if ac_fn_c_try_link
"$LINENO"; then :
17503 gcc_cv_math_func_atan2f
=yes
17505 gcc_cv_math_func_atan2f
=no
17507 rm -f core conftest.err conftest.
$ac_objext \
17508 conftest
$ac_exeext conftest.
$ac_ext
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17511 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17512 if test $gcc_cv_math_func_atan2f = yes; then
17514 cat >>confdefs.h
<<_ACEOF
17515 #define HAVE_ATAN2F 1
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17524 $as_echo_n "checking for atan2... " >&6; }
17525 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17526 $as_echo_n "(cached) " >&6
17528 if test x
$gcc_no_link = xyes
; then
17529 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17534 #ifdef HAVE_COMPLEX_H
17535 #include <complex.h>
17541 int (*ptr)() = (int (*)())atan2;
17550 if ac_fn_c_try_link
"$LINENO"; then :
17551 gcc_cv_math_func_atan2
=yes
17553 gcc_cv_math_func_atan2
=no
17555 rm -f core conftest.err conftest.
$ac_objext \
17556 conftest
$ac_exeext conftest.
$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17559 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17560 if test $gcc_cv_math_func_atan2 = yes; then
17562 cat >>confdefs.h
<<_ACEOF
17563 #define HAVE_ATAN2 1
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17572 $as_echo_n "checking for atan2l... " >&6; }
17573 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17574 $as_echo_n "(cached) " >&6
17576 if test x
$gcc_no_link = xyes
; then
17577 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17582 #ifdef HAVE_COMPLEX_H
17583 #include <complex.h>
17589 int (*ptr)() = (int (*)())atan2l;
17598 if ac_fn_c_try_link
"$LINENO"; then :
17599 gcc_cv_math_func_atan2l
=yes
17601 gcc_cv_math_func_atan2l
=no
17603 rm -f core conftest.err conftest.
$ac_objext \
17604 conftest
$ac_exeext conftest.
$ac_ext
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17607 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17608 if test $gcc_cv_math_func_atan2l = yes; then
17610 cat >>confdefs.h
<<_ACEOF
17611 #define HAVE_ATAN2L 1
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17620 $as_echo_n "checking for atanf... " >&6; }
17621 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17622 $as_echo_n "(cached) " >&6
17624 if test x
$gcc_no_link = xyes
; then
17625 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17630 #ifdef HAVE_COMPLEX_H
17631 #include <complex.h>
17637 int (*ptr)() = (int (*)())atanf;
17646 if ac_fn_c_try_link
"$LINENO"; then :
17647 gcc_cv_math_func_atanf
=yes
17649 gcc_cv_math_func_atanf
=no
17651 rm -f core conftest.err conftest.
$ac_objext \
17652 conftest
$ac_exeext conftest.
$ac_ext
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17655 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17656 if test $gcc_cv_math_func_atanf = yes; then
17658 cat >>confdefs.h
<<_ACEOF
17659 #define HAVE_ATANF 1
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17668 $as_echo_n "checking for atan... " >&6; }
17669 if test "${gcc_cv_math_func_atan+set}" = set; then :
17670 $as_echo_n "(cached) " >&6
17672 if test x
$gcc_no_link = xyes
; then
17673 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17678 #ifdef HAVE_COMPLEX_H
17679 #include <complex.h>
17685 int (*ptr)() = (int (*)())atan;
17694 if ac_fn_c_try_link
"$LINENO"; then :
17695 gcc_cv_math_func_atan
=yes
17697 gcc_cv_math_func_atan
=no
17699 rm -f core conftest.err conftest.
$ac_objext \
17700 conftest
$ac_exeext conftest.
$ac_ext
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17703 $as_echo "$gcc_cv_math_func_atan" >&6; }
17704 if test $gcc_cv_math_func_atan = yes; then
17706 cat >>confdefs.h
<<_ACEOF
17707 #define HAVE_ATAN 1
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17716 $as_echo_n "checking for atanl... " >&6; }
17717 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17718 $as_echo_n "(cached) " >&6
17720 if test x
$gcc_no_link = xyes
; then
17721 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17726 #ifdef HAVE_COMPLEX_H
17727 #include <complex.h>
17733 int (*ptr)() = (int (*)())atanl;
17742 if ac_fn_c_try_link
"$LINENO"; then :
17743 gcc_cv_math_func_atanl
=yes
17745 gcc_cv_math_func_atanl
=no
17747 rm -f core conftest.err conftest.
$ac_objext \
17748 conftest
$ac_exeext conftest.
$ac_ext
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17751 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17752 if test $gcc_cv_math_func_atanl = yes; then
17754 cat >>confdefs.h
<<_ACEOF
17755 #define HAVE_ATANL 1
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17764 $as_echo_n "checking for atanhf... " >&6; }
17765 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17766 $as_echo_n "(cached) " >&6
17768 if test x
$gcc_no_link = xyes
; then
17769 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17774 #ifdef HAVE_COMPLEX_H
17775 #include <complex.h>
17781 int (*ptr)() = (int (*)())atanhf;
17790 if ac_fn_c_try_link
"$LINENO"; then :
17791 gcc_cv_math_func_atanhf
=yes
17793 gcc_cv_math_func_atanhf
=no
17795 rm -f core conftest.err conftest.
$ac_objext \
17796 conftest
$ac_exeext conftest.
$ac_ext
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17799 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17800 if test $gcc_cv_math_func_atanhf = yes; then
17802 cat >>confdefs.h
<<_ACEOF
17803 #define HAVE_ATANHF 1
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17812 $as_echo_n "checking for atanh... " >&6; }
17813 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17814 $as_echo_n "(cached) " >&6
17816 if test x
$gcc_no_link = xyes
; then
17817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17822 #ifdef HAVE_COMPLEX_H
17823 #include <complex.h>
17829 int (*ptr)() = (int (*)())atanh;
17838 if ac_fn_c_try_link
"$LINENO"; then :
17839 gcc_cv_math_func_atanh
=yes
17841 gcc_cv_math_func_atanh
=no
17843 rm -f core conftest.err conftest.
$ac_objext \
17844 conftest
$ac_exeext conftest.
$ac_ext
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17847 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17848 if test $gcc_cv_math_func_atanh = yes; then
17850 cat >>confdefs.h
<<_ACEOF
17851 #define HAVE_ATANH 1
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17860 $as_echo_n "checking for atanhl... " >&6; }
17861 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17862 $as_echo_n "(cached) " >&6
17864 if test x
$gcc_no_link = xyes
; then
17865 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17870 #ifdef HAVE_COMPLEX_H
17871 #include <complex.h>
17877 int (*ptr)() = (int (*)())atanhl;
17886 if ac_fn_c_try_link
"$LINENO"; then :
17887 gcc_cv_math_func_atanhl
=yes
17889 gcc_cv_math_func_atanhl
=no
17891 rm -f core conftest.err conftest.
$ac_objext \
17892 conftest
$ac_exeext conftest.
$ac_ext
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17895 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17896 if test $gcc_cv_math_func_atanhl = yes; then
17898 cat >>confdefs.h
<<_ACEOF
17899 #define HAVE_ATANHL 1
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17908 $as_echo_n "checking for cargf... " >&6; }
17909 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17910 $as_echo_n "(cached) " >&6
17912 if test x
$gcc_no_link = xyes
; then
17913 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17918 #ifdef HAVE_COMPLEX_H
17919 #include <complex.h>
17925 int (*ptr)() = (int (*)())cargf;
17934 if ac_fn_c_try_link
"$LINENO"; then :
17935 gcc_cv_math_func_cargf
=yes
17937 gcc_cv_math_func_cargf
=no
17939 rm -f core conftest.err conftest.
$ac_objext \
17940 conftest
$ac_exeext conftest.
$ac_ext
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17943 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17944 if test $gcc_cv_math_func_cargf = yes; then
17946 cat >>confdefs.h
<<_ACEOF
17947 #define HAVE_CARGF 1
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17956 $as_echo_n "checking for carg... " >&6; }
17957 if test "${gcc_cv_math_func_carg+set}" = set; then :
17958 $as_echo_n "(cached) " >&6
17960 if test x
$gcc_no_link = xyes
; then
17961 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h. */
17966 #ifdef HAVE_COMPLEX_H
17967 #include <complex.h>
17973 int (*ptr)() = (int (*)())carg;
17982 if ac_fn_c_try_link
"$LINENO"; then :
17983 gcc_cv_math_func_carg
=yes
17985 gcc_cv_math_func_carg
=no
17987 rm -f core conftest.err conftest.
$ac_objext \
17988 conftest
$ac_exeext conftest.
$ac_ext
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17991 $as_echo "$gcc_cv_math_func_carg" >&6; }
17992 if test $gcc_cv_math_func_carg = yes; then
17994 cat >>confdefs.h
<<_ACEOF
17995 #define HAVE_CARG 1
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18004 $as_echo_n "checking for cargl... " >&6; }
18005 if test "${gcc_cv_math_func_cargl+set}" = set; then :
18006 $as_echo_n "(cached) " >&6
18008 if test x
$gcc_no_link = xyes
; then
18009 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18014 #ifdef HAVE_COMPLEX_H
18015 #include <complex.h>
18021 int (*ptr)() = (int (*)())cargl;
18030 if ac_fn_c_try_link
"$LINENO"; then :
18031 gcc_cv_math_func_cargl
=yes
18033 gcc_cv_math_func_cargl
=no
18035 rm -f core conftest.err conftest.
$ac_objext \
18036 conftest
$ac_exeext conftest.
$ac_ext
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18039 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18040 if test $gcc_cv_math_func_cargl = yes; then
18042 cat >>confdefs.h
<<_ACEOF
18043 #define HAVE_CARGL 1
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18052 $as_echo_n "checking for ceilf... " >&6; }
18053 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
18054 $as_echo_n "(cached) " >&6
18056 if test x
$gcc_no_link = xyes
; then
18057 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18062 #ifdef HAVE_COMPLEX_H
18063 #include <complex.h>
18069 int (*ptr)() = (int (*)())ceilf;
18078 if ac_fn_c_try_link
"$LINENO"; then :
18079 gcc_cv_math_func_ceilf
=yes
18081 gcc_cv_math_func_ceilf
=no
18083 rm -f core conftest.err conftest.
$ac_objext \
18084 conftest
$ac_exeext conftest.
$ac_ext
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18087 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18088 if test $gcc_cv_math_func_ceilf = yes; then
18090 cat >>confdefs.h
<<_ACEOF
18091 #define HAVE_CEILF 1
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18100 $as_echo_n "checking for ceil... " >&6; }
18101 if test "${gcc_cv_math_func_ceil+set}" = set; then :
18102 $as_echo_n "(cached) " >&6
18104 if test x
$gcc_no_link = xyes
; then
18105 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18108 /* end confdefs.h. */
18110 #ifdef HAVE_COMPLEX_H
18111 #include <complex.h>
18117 int (*ptr)() = (int (*)())ceil;
18126 if ac_fn_c_try_link
"$LINENO"; then :
18127 gcc_cv_math_func_ceil
=yes
18129 gcc_cv_math_func_ceil
=no
18131 rm -f core conftest.err conftest.
$ac_objext \
18132 conftest
$ac_exeext conftest.
$ac_ext
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18135 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18136 if test $gcc_cv_math_func_ceil = yes; then
18138 cat >>confdefs.h
<<_ACEOF
18139 #define HAVE_CEIL 1
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18148 $as_echo_n "checking for ceill... " >&6; }
18149 if test "${gcc_cv_math_func_ceill+set}" = set; then :
18150 $as_echo_n "(cached) " >&6
18152 if test x
$gcc_no_link = xyes
; then
18153 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18158 #ifdef HAVE_COMPLEX_H
18159 #include <complex.h>
18165 int (*ptr)() = (int (*)())ceill;
18174 if ac_fn_c_try_link
"$LINENO"; then :
18175 gcc_cv_math_func_ceill
=yes
18177 gcc_cv_math_func_ceill
=no
18179 rm -f core conftest.err conftest.
$ac_objext \
18180 conftest
$ac_exeext conftest.
$ac_ext
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18183 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18184 if test $gcc_cv_math_func_ceill = yes; then
18186 cat >>confdefs.h
<<_ACEOF
18187 #define HAVE_CEILL 1
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18196 $as_echo_n "checking for copysignf... " >&6; }
18197 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18198 $as_echo_n "(cached) " >&6
18200 if test x
$gcc_no_link = xyes
; then
18201 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18206 #ifdef HAVE_COMPLEX_H
18207 #include <complex.h>
18213 int (*ptr)() = (int (*)())copysignf;
18222 if ac_fn_c_try_link
"$LINENO"; then :
18223 gcc_cv_math_func_copysignf
=yes
18225 gcc_cv_math_func_copysignf
=no
18227 rm -f core conftest.err conftest.
$ac_objext \
18228 conftest
$ac_exeext conftest.
$ac_ext
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18231 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18232 if test $gcc_cv_math_func_copysignf = yes; then
18234 cat >>confdefs.h
<<_ACEOF
18235 #define HAVE_COPYSIGNF 1
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18244 $as_echo_n "checking for copysign... " >&6; }
18245 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18246 $as_echo_n "(cached) " >&6
18248 if test x
$gcc_no_link = xyes
; then
18249 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 #ifdef HAVE_COMPLEX_H
18255 #include <complex.h>
18261 int (*ptr)() = (int (*)())copysign;
18270 if ac_fn_c_try_link
"$LINENO"; then :
18271 gcc_cv_math_func_copysign
=yes
18273 gcc_cv_math_func_copysign
=no
18275 rm -f core conftest.err conftest.
$ac_objext \
18276 conftest
$ac_exeext conftest.
$ac_ext
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18279 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18280 if test $gcc_cv_math_func_copysign = yes; then
18282 cat >>confdefs.h
<<_ACEOF
18283 #define HAVE_COPYSIGN 1
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18292 $as_echo_n "checking for copysignl... " >&6; }
18293 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18294 $as_echo_n "(cached) " >&6
18296 if test x
$gcc_no_link = xyes
; then
18297 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18302 #ifdef HAVE_COMPLEX_H
18303 #include <complex.h>
18309 int (*ptr)() = (int (*)())copysignl;
18318 if ac_fn_c_try_link
"$LINENO"; then :
18319 gcc_cv_math_func_copysignl
=yes
18321 gcc_cv_math_func_copysignl
=no
18323 rm -f core conftest.err conftest.
$ac_objext \
18324 conftest
$ac_exeext conftest.
$ac_ext
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18327 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18328 if test $gcc_cv_math_func_copysignl = yes; then
18330 cat >>confdefs.h
<<_ACEOF
18331 #define HAVE_COPYSIGNL 1
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18340 $as_echo_n "checking for cosf... " >&6; }
18341 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18342 $as_echo_n "(cached) " >&6
18344 if test x
$gcc_no_link = xyes
; then
18345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18350 #ifdef HAVE_COMPLEX_H
18351 #include <complex.h>
18357 int (*ptr)() = (int (*)())cosf;
18366 if ac_fn_c_try_link
"$LINENO"; then :
18367 gcc_cv_math_func_cosf
=yes
18369 gcc_cv_math_func_cosf
=no
18371 rm -f core conftest.err conftest.
$ac_objext \
18372 conftest
$ac_exeext conftest.
$ac_ext
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18375 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18376 if test $gcc_cv_math_func_cosf = yes; then
18378 cat >>confdefs.h
<<_ACEOF
18379 #define HAVE_COSF 1
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18388 $as_echo_n "checking for cos... " >&6; }
18389 if test "${gcc_cv_math_func_cos+set}" = set; then :
18390 $as_echo_n "(cached) " >&6
18392 if test x
$gcc_no_link = xyes
; then
18393 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18398 #ifdef HAVE_COMPLEX_H
18399 #include <complex.h>
18405 int (*ptr)() = (int (*)())cos;
18414 if ac_fn_c_try_link
"$LINENO"; then :
18415 gcc_cv_math_func_cos
=yes
18417 gcc_cv_math_func_cos
=no
18419 rm -f core conftest.err conftest.
$ac_objext \
18420 conftest
$ac_exeext conftest.
$ac_ext
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18423 $as_echo "$gcc_cv_math_func_cos" >&6; }
18424 if test $gcc_cv_math_func_cos = yes; then
18426 cat >>confdefs.h
<<_ACEOF
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18436 $as_echo_n "checking for cosl... " >&6; }
18437 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18438 $as_echo_n "(cached) " >&6
18440 if test x
$gcc_no_link = xyes
; then
18441 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18446 #ifdef HAVE_COMPLEX_H
18447 #include <complex.h>
18453 int (*ptr)() = (int (*)())cosl;
18462 if ac_fn_c_try_link
"$LINENO"; then :
18463 gcc_cv_math_func_cosl
=yes
18465 gcc_cv_math_func_cosl
=no
18467 rm -f core conftest.err conftest.
$ac_objext \
18468 conftest
$ac_exeext conftest.
$ac_ext
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18471 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18472 if test $gcc_cv_math_func_cosl = yes; then
18474 cat >>confdefs.h
<<_ACEOF
18475 #define HAVE_COSL 1
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18484 $as_echo_n "checking for ccosf... " >&6; }
18485 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18486 $as_echo_n "(cached) " >&6
18488 if test x
$gcc_no_link = xyes
; then
18489 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18494 #ifdef HAVE_COMPLEX_H
18495 #include <complex.h>
18501 int (*ptr)() = (int (*)())ccosf;
18510 if ac_fn_c_try_link
"$LINENO"; then :
18511 gcc_cv_math_func_ccosf
=yes
18513 gcc_cv_math_func_ccosf
=no
18515 rm -f core conftest.err conftest.
$ac_objext \
18516 conftest
$ac_exeext conftest.
$ac_ext
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18519 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18520 if test $gcc_cv_math_func_ccosf = yes; then
18522 cat >>confdefs.h
<<_ACEOF
18523 #define HAVE_CCOSF 1
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18532 $as_echo_n "checking for ccos... " >&6; }
18533 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18534 $as_echo_n "(cached) " >&6
18536 if test x
$gcc_no_link = xyes
; then
18537 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18540 /* end confdefs.h. */
18542 #ifdef HAVE_COMPLEX_H
18543 #include <complex.h>
18549 int (*ptr)() = (int (*)())ccos;
18558 if ac_fn_c_try_link
"$LINENO"; then :
18559 gcc_cv_math_func_ccos
=yes
18561 gcc_cv_math_func_ccos
=no
18563 rm -f core conftest.err conftest.
$ac_objext \
18564 conftest
$ac_exeext conftest.
$ac_ext
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18567 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18568 if test $gcc_cv_math_func_ccos = yes; then
18570 cat >>confdefs.h
<<_ACEOF
18571 #define HAVE_CCOS 1
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18580 $as_echo_n "checking for ccosl... " >&6; }
18581 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18582 $as_echo_n "(cached) " >&6
18584 if test x
$gcc_no_link = xyes
; then
18585 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18590 #ifdef HAVE_COMPLEX_H
18591 #include <complex.h>
18597 int (*ptr)() = (int (*)())ccosl;
18606 if ac_fn_c_try_link
"$LINENO"; then :
18607 gcc_cv_math_func_ccosl
=yes
18609 gcc_cv_math_func_ccosl
=no
18611 rm -f core conftest.err conftest.
$ac_objext \
18612 conftest
$ac_exeext conftest.
$ac_ext
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18615 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18616 if test $gcc_cv_math_func_ccosl = yes; then
18618 cat >>confdefs.h
<<_ACEOF
18619 #define HAVE_CCOSL 1
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18628 $as_echo_n "checking for coshf... " >&6; }
18629 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18630 $as_echo_n "(cached) " >&6
18632 if test x
$gcc_no_link = xyes
; then
18633 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18638 #ifdef HAVE_COMPLEX_H
18639 #include <complex.h>
18645 int (*ptr)() = (int (*)())coshf;
18654 if ac_fn_c_try_link
"$LINENO"; then :
18655 gcc_cv_math_func_coshf
=yes
18657 gcc_cv_math_func_coshf
=no
18659 rm -f core conftest.err conftest.
$ac_objext \
18660 conftest
$ac_exeext conftest.
$ac_ext
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18663 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18664 if test $gcc_cv_math_func_coshf = yes; then
18666 cat >>confdefs.h
<<_ACEOF
18667 #define HAVE_COSHF 1
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18676 $as_echo_n "checking for cosh... " >&6; }
18677 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18678 $as_echo_n "(cached) " >&6
18680 if test x
$gcc_no_link = xyes
; then
18681 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18684 /* end confdefs.h. */
18686 #ifdef HAVE_COMPLEX_H
18687 #include <complex.h>
18693 int (*ptr)() = (int (*)())cosh;
18702 if ac_fn_c_try_link
"$LINENO"; then :
18703 gcc_cv_math_func_cosh
=yes
18705 gcc_cv_math_func_cosh
=no
18707 rm -f core conftest.err conftest.
$ac_objext \
18708 conftest
$ac_exeext conftest.
$ac_ext
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18711 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18712 if test $gcc_cv_math_func_cosh = yes; then
18714 cat >>confdefs.h
<<_ACEOF
18715 #define HAVE_COSH 1
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18724 $as_echo_n "checking for coshl... " >&6; }
18725 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18726 $as_echo_n "(cached) " >&6
18728 if test x
$gcc_no_link = xyes
; then
18729 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18734 #ifdef HAVE_COMPLEX_H
18735 #include <complex.h>
18741 int (*ptr)() = (int (*)())coshl;
18750 if ac_fn_c_try_link
"$LINENO"; then :
18751 gcc_cv_math_func_coshl
=yes
18753 gcc_cv_math_func_coshl
=no
18755 rm -f core conftest.err conftest.
$ac_objext \
18756 conftest
$ac_exeext conftest.
$ac_ext
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18759 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18760 if test $gcc_cv_math_func_coshl = yes; then
18762 cat >>confdefs.h
<<_ACEOF
18763 #define HAVE_COSHL 1
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18772 $as_echo_n "checking for ccoshf... " >&6; }
18773 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18774 $as_echo_n "(cached) " >&6
18776 if test x
$gcc_no_link = xyes
; then
18777 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18782 #ifdef HAVE_COMPLEX_H
18783 #include <complex.h>
18789 int (*ptr)() = (int (*)())ccoshf;
18798 if ac_fn_c_try_link
"$LINENO"; then :
18799 gcc_cv_math_func_ccoshf
=yes
18801 gcc_cv_math_func_ccoshf
=no
18803 rm -f core conftest.err conftest.
$ac_objext \
18804 conftest
$ac_exeext conftest.
$ac_ext
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18807 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18808 if test $gcc_cv_math_func_ccoshf = yes; then
18810 cat >>confdefs.h
<<_ACEOF
18811 #define HAVE_CCOSHF 1
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18820 $as_echo_n "checking for ccosh... " >&6; }
18821 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18822 $as_echo_n "(cached) " >&6
18824 if test x
$gcc_no_link = xyes
; then
18825 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18830 #ifdef HAVE_COMPLEX_H
18831 #include <complex.h>
18837 int (*ptr)() = (int (*)())ccosh;
18846 if ac_fn_c_try_link
"$LINENO"; then :
18847 gcc_cv_math_func_ccosh
=yes
18849 gcc_cv_math_func_ccosh
=no
18851 rm -f core conftest.err conftest.
$ac_objext \
18852 conftest
$ac_exeext conftest.
$ac_ext
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18855 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18856 if test $gcc_cv_math_func_ccosh = yes; then
18858 cat >>confdefs.h
<<_ACEOF
18859 #define HAVE_CCOSH 1
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18868 $as_echo_n "checking for ccoshl... " >&6; }
18869 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18870 $as_echo_n "(cached) " >&6
18872 if test x
$gcc_no_link = xyes
; then
18873 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18878 #ifdef HAVE_COMPLEX_H
18879 #include <complex.h>
18885 int (*ptr)() = (int (*)())ccoshl;
18894 if ac_fn_c_try_link
"$LINENO"; then :
18895 gcc_cv_math_func_ccoshl
=yes
18897 gcc_cv_math_func_ccoshl
=no
18899 rm -f core conftest.err conftest.
$ac_objext \
18900 conftest
$ac_exeext conftest.
$ac_ext
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18903 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18904 if test $gcc_cv_math_func_ccoshl = yes; then
18906 cat >>confdefs.h
<<_ACEOF
18907 #define HAVE_CCOSHL 1
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18916 $as_echo_n "checking for expf... " >&6; }
18917 if test "${gcc_cv_math_func_expf+set}" = set; then :
18918 $as_echo_n "(cached) " >&6
18920 if test x
$gcc_no_link = xyes
; then
18921 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18924 /* end confdefs.h. */
18926 #ifdef HAVE_COMPLEX_H
18927 #include <complex.h>
18933 int (*ptr)() = (int (*)())expf;
18942 if ac_fn_c_try_link
"$LINENO"; then :
18943 gcc_cv_math_func_expf
=yes
18945 gcc_cv_math_func_expf
=no
18947 rm -f core conftest.err conftest.
$ac_objext \
18948 conftest
$ac_exeext conftest.
$ac_ext
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18951 $as_echo "$gcc_cv_math_func_expf" >&6; }
18952 if test $gcc_cv_math_func_expf = yes; then
18954 cat >>confdefs.h
<<_ACEOF
18955 #define HAVE_EXPF 1
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18964 $as_echo_n "checking for exp... " >&6; }
18965 if test "${gcc_cv_math_func_exp+set}" = set; then :
18966 $as_echo_n "(cached) " >&6
18968 if test x
$gcc_no_link = xyes
; then
18969 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18974 #ifdef HAVE_COMPLEX_H
18975 #include <complex.h>
18981 int (*ptr)() = (int (*)())exp;
18990 if ac_fn_c_try_link
"$LINENO"; then :
18991 gcc_cv_math_func_exp
=yes
18993 gcc_cv_math_func_exp
=no
18995 rm -f core conftest.err conftest.
$ac_objext \
18996 conftest
$ac_exeext conftest.
$ac_ext
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18999 $as_echo "$gcc_cv_math_func_exp" >&6; }
19000 if test $gcc_cv_math_func_exp = yes; then
19002 cat >>confdefs.h
<<_ACEOF
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19012 $as_echo_n "checking for expl... " >&6; }
19013 if test "${gcc_cv_math_func_expl+set}" = set; then :
19014 $as_echo_n "(cached) " >&6
19016 if test x
$gcc_no_link = xyes
; then
19017 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19022 #ifdef HAVE_COMPLEX_H
19023 #include <complex.h>
19029 int (*ptr)() = (int (*)())expl;
19038 if ac_fn_c_try_link
"$LINENO"; then :
19039 gcc_cv_math_func_expl
=yes
19041 gcc_cv_math_func_expl
=no
19043 rm -f core conftest.err conftest.
$ac_objext \
19044 conftest
$ac_exeext conftest.
$ac_ext
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19047 $as_echo "$gcc_cv_math_func_expl" >&6; }
19048 if test $gcc_cv_math_func_expl = yes; then
19050 cat >>confdefs.h
<<_ACEOF
19051 #define HAVE_EXPL 1
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19060 $as_echo_n "checking for cexpf... " >&6; }
19061 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
19062 $as_echo_n "(cached) " >&6
19064 if test x
$gcc_no_link = xyes
; then
19065 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h. */
19070 #ifdef HAVE_COMPLEX_H
19071 #include <complex.h>
19077 int (*ptr)() = (int (*)())cexpf;
19086 if ac_fn_c_try_link
"$LINENO"; then :
19087 gcc_cv_math_func_cexpf
=yes
19089 gcc_cv_math_func_cexpf
=no
19091 rm -f core conftest.err conftest.
$ac_objext \
19092 conftest
$ac_exeext conftest.
$ac_ext
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19095 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19096 if test $gcc_cv_math_func_cexpf = yes; then
19098 cat >>confdefs.h
<<_ACEOF
19099 #define HAVE_CEXPF 1
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19108 $as_echo_n "checking for cexp... " >&6; }
19109 if test "${gcc_cv_math_func_cexp+set}" = set; then :
19110 $as_echo_n "(cached) " >&6
19112 if test x
$gcc_no_link = xyes
; then
19113 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19118 #ifdef HAVE_COMPLEX_H
19119 #include <complex.h>
19125 int (*ptr)() = (int (*)())cexp;
19134 if ac_fn_c_try_link
"$LINENO"; then :
19135 gcc_cv_math_func_cexp
=yes
19137 gcc_cv_math_func_cexp
=no
19139 rm -f core conftest.err conftest.
$ac_objext \
19140 conftest
$ac_exeext conftest.
$ac_ext
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19143 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19144 if test $gcc_cv_math_func_cexp = yes; then
19146 cat >>confdefs.h
<<_ACEOF
19147 #define HAVE_CEXP 1
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19156 $as_echo_n "checking for cexpl... " >&6; }
19157 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
19158 $as_echo_n "(cached) " >&6
19160 if test x
$gcc_no_link = xyes
; then
19161 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19164 /* end confdefs.h. */
19166 #ifdef HAVE_COMPLEX_H
19167 #include <complex.h>
19173 int (*ptr)() = (int (*)())cexpl;
19182 if ac_fn_c_try_link
"$LINENO"; then :
19183 gcc_cv_math_func_cexpl
=yes
19185 gcc_cv_math_func_cexpl
=no
19187 rm -f core conftest.err conftest.
$ac_objext \
19188 conftest
$ac_exeext conftest.
$ac_ext
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19191 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19192 if test $gcc_cv_math_func_cexpl = yes; then
19194 cat >>confdefs.h
<<_ACEOF
19195 #define HAVE_CEXPL 1
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19204 $as_echo_n "checking for fabsf... " >&6; }
19205 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19206 $as_echo_n "(cached) " >&6
19208 if test x
$gcc_no_link = xyes
; then
19209 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19214 #ifdef HAVE_COMPLEX_H
19215 #include <complex.h>
19221 int (*ptr)() = (int (*)())fabsf;
19230 if ac_fn_c_try_link
"$LINENO"; then :
19231 gcc_cv_math_func_fabsf
=yes
19233 gcc_cv_math_func_fabsf
=no
19235 rm -f core conftest.err conftest.
$ac_objext \
19236 conftest
$ac_exeext conftest.
$ac_ext
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19239 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19240 if test $gcc_cv_math_func_fabsf = yes; then
19242 cat >>confdefs.h
<<_ACEOF
19243 #define HAVE_FABSF 1
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19252 $as_echo_n "checking for fabs... " >&6; }
19253 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19254 $as_echo_n "(cached) " >&6
19256 if test x
$gcc_no_link = xyes
; then
19257 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h. */
19262 #ifdef HAVE_COMPLEX_H
19263 #include <complex.h>
19269 int (*ptr)() = (int (*)())fabs;
19278 if ac_fn_c_try_link
"$LINENO"; then :
19279 gcc_cv_math_func_fabs
=yes
19281 gcc_cv_math_func_fabs
=no
19283 rm -f core conftest.err conftest.
$ac_objext \
19284 conftest
$ac_exeext conftest.
$ac_ext
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19287 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19288 if test $gcc_cv_math_func_fabs = yes; then
19290 cat >>confdefs.h
<<_ACEOF
19291 #define HAVE_FABS 1
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19300 $as_echo_n "checking for fabsl... " >&6; }
19301 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19302 $as_echo_n "(cached) " >&6
19304 if test x
$gcc_no_link = xyes
; then
19305 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19310 #ifdef HAVE_COMPLEX_H
19311 #include <complex.h>
19317 int (*ptr)() = (int (*)())fabsl;
19326 if ac_fn_c_try_link
"$LINENO"; then :
19327 gcc_cv_math_func_fabsl
=yes
19329 gcc_cv_math_func_fabsl
=no
19331 rm -f core conftest.err conftest.
$ac_objext \
19332 conftest
$ac_exeext conftest.
$ac_ext
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19335 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19336 if test $gcc_cv_math_func_fabsl = yes; then
19338 cat >>confdefs.h
<<_ACEOF
19339 #define HAVE_FABSL 1
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19348 $as_echo_n "checking for cabsf... " >&6; }
19349 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19350 $as_echo_n "(cached) " >&6
19352 if test x
$gcc_no_link = xyes
; then
19353 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19358 #ifdef HAVE_COMPLEX_H
19359 #include <complex.h>
19365 int (*ptr)() = (int (*)())cabsf;
19374 if ac_fn_c_try_link
"$LINENO"; then :
19375 gcc_cv_math_func_cabsf
=yes
19377 gcc_cv_math_func_cabsf
=no
19379 rm -f core conftest.err conftest.
$ac_objext \
19380 conftest
$ac_exeext conftest.
$ac_ext
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19383 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19384 if test $gcc_cv_math_func_cabsf = yes; then
19386 cat >>confdefs.h
<<_ACEOF
19387 #define HAVE_CABSF 1
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19396 $as_echo_n "checking for cabs... " >&6; }
19397 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19398 $as_echo_n "(cached) " >&6
19400 if test x
$gcc_no_link = xyes
; then
19401 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19404 /* end confdefs.h. */
19406 #ifdef HAVE_COMPLEX_H
19407 #include <complex.h>
19413 int (*ptr)() = (int (*)())cabs;
19422 if ac_fn_c_try_link
"$LINENO"; then :
19423 gcc_cv_math_func_cabs
=yes
19425 gcc_cv_math_func_cabs
=no
19427 rm -f core conftest.err conftest.
$ac_objext \
19428 conftest
$ac_exeext conftest.
$ac_ext
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19431 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19432 if test $gcc_cv_math_func_cabs = yes; then
19434 cat >>confdefs.h
<<_ACEOF
19435 #define HAVE_CABS 1
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19444 $as_echo_n "checking for cabsl... " >&6; }
19445 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19446 $as_echo_n "(cached) " >&6
19448 if test x
$gcc_no_link = xyes
; then
19449 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19454 #ifdef HAVE_COMPLEX_H
19455 #include <complex.h>
19461 int (*ptr)() = (int (*)())cabsl;
19470 if ac_fn_c_try_link
"$LINENO"; then :
19471 gcc_cv_math_func_cabsl
=yes
19473 gcc_cv_math_func_cabsl
=no
19475 rm -f core conftest.err conftest.
$ac_objext \
19476 conftest
$ac_exeext conftest.
$ac_ext
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19479 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19480 if test $gcc_cv_math_func_cabsl = yes; then
19482 cat >>confdefs.h
<<_ACEOF
19483 #define HAVE_CABSL 1
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19492 $as_echo_n "checking for floorf... " >&6; }
19493 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19494 $as_echo_n "(cached) " >&6
19496 if test x
$gcc_no_link = xyes
; then
19497 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19500 /* end confdefs.h. */
19502 #ifdef HAVE_COMPLEX_H
19503 #include <complex.h>
19509 int (*ptr)() = (int (*)())floorf;
19518 if ac_fn_c_try_link
"$LINENO"; then :
19519 gcc_cv_math_func_floorf
=yes
19521 gcc_cv_math_func_floorf
=no
19523 rm -f core conftest.err conftest.
$ac_objext \
19524 conftest
$ac_exeext conftest.
$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19527 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19528 if test $gcc_cv_math_func_floorf = yes; then
19530 cat >>confdefs.h
<<_ACEOF
19531 #define HAVE_FLOORF 1
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19540 $as_echo_n "checking for floor... " >&6; }
19541 if test "${gcc_cv_math_func_floor+set}" = set; then :
19542 $as_echo_n "(cached) " >&6
19544 if test x
$gcc_no_link = xyes
; then
19545 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19550 #ifdef HAVE_COMPLEX_H
19551 #include <complex.h>
19557 int (*ptr)() = (int (*)())floor;
19566 if ac_fn_c_try_link
"$LINENO"; then :
19567 gcc_cv_math_func_floor
=yes
19569 gcc_cv_math_func_floor
=no
19571 rm -f core conftest.err conftest.
$ac_objext \
19572 conftest
$ac_exeext conftest.
$ac_ext
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19575 $as_echo "$gcc_cv_math_func_floor" >&6; }
19576 if test $gcc_cv_math_func_floor = yes; then
19578 cat >>confdefs.h
<<_ACEOF
19579 #define HAVE_FLOOR 1
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19588 $as_echo_n "checking for floorl... " >&6; }
19589 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19590 $as_echo_n "(cached) " >&6
19592 if test x
$gcc_no_link = xyes
; then
19593 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19598 #ifdef HAVE_COMPLEX_H
19599 #include <complex.h>
19605 int (*ptr)() = (int (*)())floorl;
19614 if ac_fn_c_try_link
"$LINENO"; then :
19615 gcc_cv_math_func_floorl
=yes
19617 gcc_cv_math_func_floorl
=no
19619 rm -f core conftest.err conftest.
$ac_objext \
19620 conftest
$ac_exeext conftest.
$ac_ext
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19623 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19624 if test $gcc_cv_math_func_floorl = yes; then
19626 cat >>confdefs.h
<<_ACEOF
19627 #define HAVE_FLOORL 1
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19636 $as_echo_n "checking for fmodf... " >&6; }
19637 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19638 $as_echo_n "(cached) " >&6
19640 if test x
$gcc_no_link = xyes
; then
19641 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19646 #ifdef HAVE_COMPLEX_H
19647 #include <complex.h>
19653 int (*ptr)() = (int (*)())fmodf;
19662 if ac_fn_c_try_link
"$LINENO"; then :
19663 gcc_cv_math_func_fmodf
=yes
19665 gcc_cv_math_func_fmodf
=no
19667 rm -f core conftest.err conftest.
$ac_objext \
19668 conftest
$ac_exeext conftest.
$ac_ext
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19671 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19672 if test $gcc_cv_math_func_fmodf = yes; then
19674 cat >>confdefs.h
<<_ACEOF
19675 #define HAVE_FMODF 1
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19684 $as_echo_n "checking for fmod... " >&6; }
19685 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19686 $as_echo_n "(cached) " >&6
19688 if test x
$gcc_no_link = xyes
; then
19689 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19694 #ifdef HAVE_COMPLEX_H
19695 #include <complex.h>
19701 int (*ptr)() = (int (*)())fmod;
19710 if ac_fn_c_try_link
"$LINENO"; then :
19711 gcc_cv_math_func_fmod
=yes
19713 gcc_cv_math_func_fmod
=no
19715 rm -f core conftest.err conftest.
$ac_objext \
19716 conftest
$ac_exeext conftest.
$ac_ext
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19719 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19720 if test $gcc_cv_math_func_fmod = yes; then
19722 cat >>confdefs.h
<<_ACEOF
19723 #define HAVE_FMOD 1
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19732 $as_echo_n "checking for fmodl... " >&6; }
19733 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19734 $as_echo_n "(cached) " >&6
19736 if test x
$gcc_no_link = xyes
; then
19737 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19742 #ifdef HAVE_COMPLEX_H
19743 #include <complex.h>
19749 int (*ptr)() = (int (*)())fmodl;
19758 if ac_fn_c_try_link
"$LINENO"; then :
19759 gcc_cv_math_func_fmodl
=yes
19761 gcc_cv_math_func_fmodl
=no
19763 rm -f core conftest.err conftest.
$ac_objext \
19764 conftest
$ac_exeext conftest.
$ac_ext
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19767 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19768 if test $gcc_cv_math_func_fmodl = yes; then
19770 cat >>confdefs.h
<<_ACEOF
19771 #define HAVE_FMODL 1
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19780 $as_echo_n "checking for frexpf... " >&6; }
19781 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19782 $as_echo_n "(cached) " >&6
19784 if test x
$gcc_no_link = xyes
; then
19785 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19790 #ifdef HAVE_COMPLEX_H
19791 #include <complex.h>
19797 int (*ptr)() = (int (*)())frexpf;
19806 if ac_fn_c_try_link
"$LINENO"; then :
19807 gcc_cv_math_func_frexpf
=yes
19809 gcc_cv_math_func_frexpf
=no
19811 rm -f core conftest.err conftest.
$ac_objext \
19812 conftest
$ac_exeext conftest.
$ac_ext
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19815 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19816 if test $gcc_cv_math_func_frexpf = yes; then
19818 cat >>confdefs.h
<<_ACEOF
19819 #define HAVE_FREXPF 1
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19828 $as_echo_n "checking for frexp... " >&6; }
19829 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19830 $as_echo_n "(cached) " >&6
19832 if test x
$gcc_no_link = xyes
; then
19833 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19838 #ifdef HAVE_COMPLEX_H
19839 #include <complex.h>
19845 int (*ptr)() = (int (*)())frexp;
19854 if ac_fn_c_try_link
"$LINENO"; then :
19855 gcc_cv_math_func_frexp
=yes
19857 gcc_cv_math_func_frexp
=no
19859 rm -f core conftest.err conftest.
$ac_objext \
19860 conftest
$ac_exeext conftest.
$ac_ext
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19863 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19864 if test $gcc_cv_math_func_frexp = yes; then
19866 cat >>confdefs.h
<<_ACEOF
19867 #define HAVE_FREXP 1
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19876 $as_echo_n "checking for frexpl... " >&6; }
19877 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19878 $as_echo_n "(cached) " >&6
19880 if test x
$gcc_no_link = xyes
; then
19881 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19886 #ifdef HAVE_COMPLEX_H
19887 #include <complex.h>
19893 int (*ptr)() = (int (*)())frexpl;
19902 if ac_fn_c_try_link
"$LINENO"; then :
19903 gcc_cv_math_func_frexpl
=yes
19905 gcc_cv_math_func_frexpl
=no
19907 rm -f core conftest.err conftest.
$ac_objext \
19908 conftest
$ac_exeext conftest.
$ac_ext
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19911 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19912 if test $gcc_cv_math_func_frexpl = yes; then
19914 cat >>confdefs.h
<<_ACEOF
19915 #define HAVE_FREXPL 1
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19924 $as_echo_n "checking for hypotf... " >&6; }
19925 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19926 $as_echo_n "(cached) " >&6
19928 if test x
$gcc_no_link = xyes
; then
19929 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19934 #ifdef HAVE_COMPLEX_H
19935 #include <complex.h>
19941 int (*ptr)() = (int (*)())hypotf;
19950 if ac_fn_c_try_link
"$LINENO"; then :
19951 gcc_cv_math_func_hypotf
=yes
19953 gcc_cv_math_func_hypotf
=no
19955 rm -f core conftest.err conftest.
$ac_objext \
19956 conftest
$ac_exeext conftest.
$ac_ext
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19959 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19960 if test $gcc_cv_math_func_hypotf = yes; then
19962 cat >>confdefs.h
<<_ACEOF
19963 #define HAVE_HYPOTF 1
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19972 $as_echo_n "checking for hypot... " >&6; }
19973 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19974 $as_echo_n "(cached) " >&6
19976 if test x
$gcc_no_link = xyes
; then
19977 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19982 #ifdef HAVE_COMPLEX_H
19983 #include <complex.h>
19989 int (*ptr)() = (int (*)())hypot;
19998 if ac_fn_c_try_link
"$LINENO"; then :
19999 gcc_cv_math_func_hypot
=yes
20001 gcc_cv_math_func_hypot
=no
20003 rm -f core conftest.err conftest.
$ac_objext \
20004 conftest
$ac_exeext conftest.
$ac_ext
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20007 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20008 if test $gcc_cv_math_func_hypot = yes; then
20010 cat >>confdefs.h
<<_ACEOF
20011 #define HAVE_HYPOT 1
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20020 $as_echo_n "checking for hypotl... " >&6; }
20021 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
20022 $as_echo_n "(cached) " >&6
20024 if test x
$gcc_no_link = xyes
; then
20025 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20030 #ifdef HAVE_COMPLEX_H
20031 #include <complex.h>
20037 int (*ptr)() = (int (*)())hypotl;
20046 if ac_fn_c_try_link
"$LINENO"; then :
20047 gcc_cv_math_func_hypotl
=yes
20049 gcc_cv_math_func_hypotl
=no
20051 rm -f core conftest.err conftest.
$ac_objext \
20052 conftest
$ac_exeext conftest.
$ac_ext
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20055 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20056 if test $gcc_cv_math_func_hypotl = yes; then
20058 cat >>confdefs.h
<<_ACEOF
20059 #define HAVE_HYPOTL 1
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20068 $as_echo_n "checking for ldexpf... " >&6; }
20069 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
20070 $as_echo_n "(cached) " >&6
20072 if test x
$gcc_no_link = xyes
; then
20073 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h. */
20078 #ifdef HAVE_COMPLEX_H
20079 #include <complex.h>
20085 int (*ptr)() = (int (*)())ldexpf;
20094 if ac_fn_c_try_link
"$LINENO"; then :
20095 gcc_cv_math_func_ldexpf
=yes
20097 gcc_cv_math_func_ldexpf
=no
20099 rm -f core conftest.err conftest.
$ac_objext \
20100 conftest
$ac_exeext conftest.
$ac_ext
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20103 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20104 if test $gcc_cv_math_func_ldexpf = yes; then
20106 cat >>confdefs.h
<<_ACEOF
20107 #define HAVE_LDEXPF 1
20115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20116 $as_echo_n "checking for ldexp... " >&6; }
20117 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
20118 $as_echo_n "(cached) " >&6
20120 if test x
$gcc_no_link = xyes
; then
20121 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h. */
20126 #ifdef HAVE_COMPLEX_H
20127 #include <complex.h>
20133 int (*ptr)() = (int (*)())ldexp;
20142 if ac_fn_c_try_link
"$LINENO"; then :
20143 gcc_cv_math_func_ldexp
=yes
20145 gcc_cv_math_func_ldexp
=no
20147 rm -f core conftest.err conftest.
$ac_objext \
20148 conftest
$ac_exeext conftest.
$ac_ext
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20151 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20152 if test $gcc_cv_math_func_ldexp = yes; then
20154 cat >>confdefs.h
<<_ACEOF
20155 #define HAVE_LDEXP 1
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20164 $as_echo_n "checking for ldexpl... " >&6; }
20165 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20166 $as_echo_n "(cached) " >&6
20168 if test x
$gcc_no_link = xyes
; then
20169 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20172 /* end confdefs.h. */
20174 #ifdef HAVE_COMPLEX_H
20175 #include <complex.h>
20181 int (*ptr)() = (int (*)())ldexpl;
20190 if ac_fn_c_try_link
"$LINENO"; then :
20191 gcc_cv_math_func_ldexpl
=yes
20193 gcc_cv_math_func_ldexpl
=no
20195 rm -f core conftest.err conftest.
$ac_objext \
20196 conftest
$ac_exeext conftest.
$ac_ext
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20199 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20200 if test $gcc_cv_math_func_ldexpl = yes; then
20202 cat >>confdefs.h
<<_ACEOF
20203 #define HAVE_LDEXPL 1
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20212 $as_echo_n "checking for logf... " >&6; }
20213 if test "${gcc_cv_math_func_logf+set}" = set; then :
20214 $as_echo_n "(cached) " >&6
20216 if test x
$gcc_no_link = xyes
; then
20217 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20220 /* end confdefs.h. */
20222 #ifdef HAVE_COMPLEX_H
20223 #include <complex.h>
20229 int (*ptr)() = (int (*)())logf;
20238 if ac_fn_c_try_link
"$LINENO"; then :
20239 gcc_cv_math_func_logf
=yes
20241 gcc_cv_math_func_logf
=no
20243 rm -f core conftest.err conftest.
$ac_objext \
20244 conftest
$ac_exeext conftest.
$ac_ext
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20247 $as_echo "$gcc_cv_math_func_logf" >&6; }
20248 if test $gcc_cv_math_func_logf = yes; then
20250 cat >>confdefs.h
<<_ACEOF
20251 #define HAVE_LOGF 1
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20260 $as_echo_n "checking for log... " >&6; }
20261 if test "${gcc_cv_math_func_log+set}" = set; then :
20262 $as_echo_n "(cached) " >&6
20264 if test x
$gcc_no_link = xyes
; then
20265 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20268 /* end confdefs.h. */
20270 #ifdef HAVE_COMPLEX_H
20271 #include <complex.h>
20277 int (*ptr)() = (int (*)())log;
20286 if ac_fn_c_try_link
"$LINENO"; then :
20287 gcc_cv_math_func_log
=yes
20289 gcc_cv_math_func_log
=no
20291 rm -f core conftest.err conftest.
$ac_objext \
20292 conftest
$ac_exeext conftest.
$ac_ext
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20295 $as_echo "$gcc_cv_math_func_log" >&6; }
20296 if test $gcc_cv_math_func_log = yes; then
20298 cat >>confdefs.h
<<_ACEOF
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20308 $as_echo_n "checking for logl... " >&6; }
20309 if test "${gcc_cv_math_func_logl+set}" = set; then :
20310 $as_echo_n "(cached) " >&6
20312 if test x
$gcc_no_link = xyes
; then
20313 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20316 /* end confdefs.h. */
20318 #ifdef HAVE_COMPLEX_H
20319 #include <complex.h>
20325 int (*ptr)() = (int (*)())logl;
20334 if ac_fn_c_try_link
"$LINENO"; then :
20335 gcc_cv_math_func_logl
=yes
20337 gcc_cv_math_func_logl
=no
20339 rm -f core conftest.err conftest.
$ac_objext \
20340 conftest
$ac_exeext conftest.
$ac_ext
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20343 $as_echo "$gcc_cv_math_func_logl" >&6; }
20344 if test $gcc_cv_math_func_logl = yes; then
20346 cat >>confdefs.h
<<_ACEOF
20347 #define HAVE_LOGL 1
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20356 $as_echo_n "checking for clogf... " >&6; }
20357 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20358 $as_echo_n "(cached) " >&6
20360 if test x
$gcc_no_link = xyes
; then
20361 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20364 /* end confdefs.h. */
20366 #ifdef HAVE_COMPLEX_H
20367 #include <complex.h>
20373 int (*ptr)() = (int (*)())clogf;
20382 if ac_fn_c_try_link
"$LINENO"; then :
20383 gcc_cv_math_func_clogf
=yes
20385 gcc_cv_math_func_clogf
=no
20387 rm -f core conftest.err conftest.
$ac_objext \
20388 conftest
$ac_exeext conftest.
$ac_ext
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20391 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20392 if test $gcc_cv_math_func_clogf = yes; then
20394 cat >>confdefs.h
<<_ACEOF
20395 #define HAVE_CLOGF 1
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20404 $as_echo_n "checking for clog... " >&6; }
20405 if test "${gcc_cv_math_func_clog+set}" = set; then :
20406 $as_echo_n "(cached) " >&6
20408 if test x
$gcc_no_link = xyes
; then
20409 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20414 #ifdef HAVE_COMPLEX_H
20415 #include <complex.h>
20421 int (*ptr)() = (int (*)())clog;
20430 if ac_fn_c_try_link
"$LINENO"; then :
20431 gcc_cv_math_func_clog
=yes
20433 gcc_cv_math_func_clog
=no
20435 rm -f core conftest.err conftest.
$ac_objext \
20436 conftest
$ac_exeext conftest.
$ac_ext
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20439 $as_echo "$gcc_cv_math_func_clog" >&6; }
20440 if test $gcc_cv_math_func_clog = yes; then
20442 cat >>confdefs.h
<<_ACEOF
20443 #define HAVE_CLOG 1
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20452 $as_echo_n "checking for clogl... " >&6; }
20453 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20454 $as_echo_n "(cached) " >&6
20456 if test x
$gcc_no_link = xyes
; then
20457 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20460 /* end confdefs.h. */
20462 #ifdef HAVE_COMPLEX_H
20463 #include <complex.h>
20469 int (*ptr)() = (int (*)())clogl;
20478 if ac_fn_c_try_link
"$LINENO"; then :
20479 gcc_cv_math_func_clogl
=yes
20481 gcc_cv_math_func_clogl
=no
20483 rm -f core conftest.err conftest.
$ac_objext \
20484 conftest
$ac_exeext conftest.
$ac_ext
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20487 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20488 if test $gcc_cv_math_func_clogl = yes; then
20490 cat >>confdefs.h
<<_ACEOF
20491 #define HAVE_CLOGL 1
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20500 $as_echo_n "checking for log10f... " >&6; }
20501 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20502 $as_echo_n "(cached) " >&6
20504 if test x
$gcc_no_link = xyes
; then
20505 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20508 /* end confdefs.h. */
20510 #ifdef HAVE_COMPLEX_H
20511 #include <complex.h>
20517 int (*ptr)() = (int (*)())log10f;
20526 if ac_fn_c_try_link
"$LINENO"; then :
20527 gcc_cv_math_func_log10f
=yes
20529 gcc_cv_math_func_log10f
=no
20531 rm -f core conftest.err conftest.
$ac_objext \
20532 conftest
$ac_exeext conftest.
$ac_ext
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20535 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20536 if test $gcc_cv_math_func_log10f = yes; then
20538 cat >>confdefs.h
<<_ACEOF
20539 #define HAVE_LOG10F 1
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20548 $as_echo_n "checking for log10... " >&6; }
20549 if test "${gcc_cv_math_func_log10+set}" = set; then :
20550 $as_echo_n "(cached) " >&6
20552 if test x
$gcc_no_link = xyes
; then
20553 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20556 /* end confdefs.h. */
20558 #ifdef HAVE_COMPLEX_H
20559 #include <complex.h>
20565 int (*ptr)() = (int (*)())log10;
20574 if ac_fn_c_try_link
"$LINENO"; then :
20575 gcc_cv_math_func_log10
=yes
20577 gcc_cv_math_func_log10
=no
20579 rm -f core conftest.err conftest.
$ac_objext \
20580 conftest
$ac_exeext conftest.
$ac_ext
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20583 $as_echo "$gcc_cv_math_func_log10" >&6; }
20584 if test $gcc_cv_math_func_log10 = yes; then
20586 cat >>confdefs.h
<<_ACEOF
20587 #define HAVE_LOG10 1
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20596 $as_echo_n "checking for log10l... " >&6; }
20597 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20598 $as_echo_n "(cached) " >&6
20600 if test x
$gcc_no_link = xyes
; then
20601 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20606 #ifdef HAVE_COMPLEX_H
20607 #include <complex.h>
20613 int (*ptr)() = (int (*)())log10l;
20622 if ac_fn_c_try_link
"$LINENO"; then :
20623 gcc_cv_math_func_log10l
=yes
20625 gcc_cv_math_func_log10l
=no
20627 rm -f core conftest.err conftest.
$ac_objext \
20628 conftest
$ac_exeext conftest.
$ac_ext
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20631 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20632 if test $gcc_cv_math_func_log10l = yes; then
20634 cat >>confdefs.h
<<_ACEOF
20635 #define HAVE_LOG10L 1
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20644 $as_echo_n "checking for clog10f... " >&6; }
20645 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20648 if test x
$gcc_no_link = xyes
; then
20649 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 #ifdef HAVE_COMPLEX_H
20655 #include <complex.h>
20661 int (*ptr)() = (int (*)())clog10f;
20670 if ac_fn_c_try_link
"$LINENO"; then :
20671 gcc_cv_math_func_clog10f
=yes
20673 gcc_cv_math_func_clog10f
=no
20675 rm -f core conftest.err conftest.
$ac_objext \
20676 conftest
$ac_exeext conftest.
$ac_ext
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20679 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20680 if test $gcc_cv_math_func_clog10f = yes; then
20682 cat >>confdefs.h
<<_ACEOF
20683 #define HAVE_CLOG10F 1
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20692 $as_echo_n "checking for clog10... " >&6; }
20693 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20694 $as_echo_n "(cached) " >&6
20696 if test x
$gcc_no_link = xyes
; then
20697 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20700 /* end confdefs.h. */
20702 #ifdef HAVE_COMPLEX_H
20703 #include <complex.h>
20709 int (*ptr)() = (int (*)())clog10;
20718 if ac_fn_c_try_link
"$LINENO"; then :
20719 gcc_cv_math_func_clog10
=yes
20721 gcc_cv_math_func_clog10
=no
20723 rm -f core conftest.err conftest.
$ac_objext \
20724 conftest
$ac_exeext conftest.
$ac_ext
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20727 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20728 if test $gcc_cv_math_func_clog10 = yes; then
20730 cat >>confdefs.h
<<_ACEOF
20731 #define HAVE_CLOG10 1
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20740 $as_echo_n "checking for clog10l... " >&6; }
20741 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20742 $as_echo_n "(cached) " >&6
20744 if test x
$gcc_no_link = xyes
; then
20745 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20750 #ifdef HAVE_COMPLEX_H
20751 #include <complex.h>
20757 int (*ptr)() = (int (*)())clog10l;
20766 if ac_fn_c_try_link
"$LINENO"; then :
20767 gcc_cv_math_func_clog10l
=yes
20769 gcc_cv_math_func_clog10l
=no
20771 rm -f core conftest.err conftest.
$ac_objext \
20772 conftest
$ac_exeext conftest.
$ac_ext
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20775 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20776 if test $gcc_cv_math_func_clog10l = yes; then
20778 cat >>confdefs.h
<<_ACEOF
20779 #define HAVE_CLOG10L 1
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20788 $as_echo_n "checking for nextafterf... " >&6; }
20789 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20790 $as_echo_n "(cached) " >&6
20792 if test x
$gcc_no_link = xyes
; then
20793 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h. */
20798 #ifdef HAVE_COMPLEX_H
20799 #include <complex.h>
20805 int (*ptr)() = (int (*)())nextafterf;
20814 if ac_fn_c_try_link
"$LINENO"; then :
20815 gcc_cv_math_func_nextafterf
=yes
20817 gcc_cv_math_func_nextafterf
=no
20819 rm -f core conftest.err conftest.
$ac_objext \
20820 conftest
$ac_exeext conftest.
$ac_ext
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20823 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20824 if test $gcc_cv_math_func_nextafterf = yes; then
20826 cat >>confdefs.h
<<_ACEOF
20827 #define HAVE_NEXTAFTERF 1
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20836 $as_echo_n "checking for nextafter... " >&6; }
20837 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20838 $as_echo_n "(cached) " >&6
20840 if test x
$gcc_no_link = xyes
; then
20841 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20844 /* end confdefs.h. */
20846 #ifdef HAVE_COMPLEX_H
20847 #include <complex.h>
20853 int (*ptr)() = (int (*)())nextafter;
20862 if ac_fn_c_try_link
"$LINENO"; then :
20863 gcc_cv_math_func_nextafter
=yes
20865 gcc_cv_math_func_nextafter
=no
20867 rm -f core conftest.err conftest.
$ac_objext \
20868 conftest
$ac_exeext conftest.
$ac_ext
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20871 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20872 if test $gcc_cv_math_func_nextafter = yes; then
20874 cat >>confdefs.h
<<_ACEOF
20875 #define HAVE_NEXTAFTER 1
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20884 $as_echo_n "checking for nextafterl... " >&6; }
20885 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20886 $as_echo_n "(cached) " >&6
20888 if test x
$gcc_no_link = xyes
; then
20889 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20892 /* end confdefs.h. */
20894 #ifdef HAVE_COMPLEX_H
20895 #include <complex.h>
20901 int (*ptr)() = (int (*)())nextafterl;
20910 if ac_fn_c_try_link
"$LINENO"; then :
20911 gcc_cv_math_func_nextafterl
=yes
20913 gcc_cv_math_func_nextafterl
=no
20915 rm -f core conftest.err conftest.
$ac_objext \
20916 conftest
$ac_exeext conftest.
$ac_ext
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20919 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20920 if test $gcc_cv_math_func_nextafterl = yes; then
20922 cat >>confdefs.h
<<_ACEOF
20923 #define HAVE_NEXTAFTERL 1
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20932 $as_echo_n "checking for powf... " >&6; }
20933 if test "${gcc_cv_math_func_powf+set}" = set; then :
20934 $as_echo_n "(cached) " >&6
20936 if test x
$gcc_no_link = xyes
; then
20937 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20940 /* end confdefs.h. */
20942 #ifdef HAVE_COMPLEX_H
20943 #include <complex.h>
20949 int (*ptr)() = (int (*)())powf;
20958 if ac_fn_c_try_link
"$LINENO"; then :
20959 gcc_cv_math_func_powf
=yes
20961 gcc_cv_math_func_powf
=no
20963 rm -f core conftest.err conftest.
$ac_objext \
20964 conftest
$ac_exeext conftest.
$ac_ext
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20967 $as_echo "$gcc_cv_math_func_powf" >&6; }
20968 if test $gcc_cv_math_func_powf = yes; then
20970 cat >>confdefs.h
<<_ACEOF
20971 #define HAVE_POWF 1
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20980 $as_echo_n "checking for pow... " >&6; }
20981 if test "${gcc_cv_math_func_pow+set}" = set; then :
20982 $as_echo_n "(cached) " >&6
20984 if test x
$gcc_no_link = xyes
; then
20985 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20990 #ifdef HAVE_COMPLEX_H
20991 #include <complex.h>
20997 int (*ptr)() = (int (*)())pow;
21006 if ac_fn_c_try_link
"$LINENO"; then :
21007 gcc_cv_math_func_pow
=yes
21009 gcc_cv_math_func_pow
=no
21011 rm -f core conftest.err conftest.
$ac_objext \
21012 conftest
$ac_exeext conftest.
$ac_ext
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21015 $as_echo "$gcc_cv_math_func_pow" >&6; }
21016 if test $gcc_cv_math_func_pow = yes; then
21018 cat >>confdefs.h
<<_ACEOF
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21028 $as_echo_n "checking for cpowf... " >&6; }
21029 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
21030 $as_echo_n "(cached) " >&6
21032 if test x
$gcc_no_link = xyes
; then
21033 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21036 /* end confdefs.h. */
21038 #ifdef HAVE_COMPLEX_H
21039 #include <complex.h>
21045 int (*ptr)() = (int (*)())cpowf;
21054 if ac_fn_c_try_link
"$LINENO"; then :
21055 gcc_cv_math_func_cpowf
=yes
21057 gcc_cv_math_func_cpowf
=no
21059 rm -f core conftest.err conftest.
$ac_objext \
21060 conftest
$ac_exeext conftest.
$ac_ext
21062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21063 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21064 if test $gcc_cv_math_func_cpowf = yes; then
21066 cat >>confdefs.h
<<_ACEOF
21067 #define HAVE_CPOWF 1
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21076 $as_echo_n "checking for cpow... " >&6; }
21077 if test "${gcc_cv_math_func_cpow+set}" = set; then :
21078 $as_echo_n "(cached) " >&6
21080 if test x
$gcc_no_link = xyes
; then
21081 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21084 /* end confdefs.h. */
21086 #ifdef HAVE_COMPLEX_H
21087 #include <complex.h>
21093 int (*ptr)() = (int (*)())cpow;
21102 if ac_fn_c_try_link
"$LINENO"; then :
21103 gcc_cv_math_func_cpow
=yes
21105 gcc_cv_math_func_cpow
=no
21107 rm -f core conftest.err conftest.
$ac_objext \
21108 conftest
$ac_exeext conftest.
$ac_ext
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21111 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21112 if test $gcc_cv_math_func_cpow = yes; then
21114 cat >>confdefs.h
<<_ACEOF
21115 #define HAVE_CPOW 1
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21124 $as_echo_n "checking for cpowl... " >&6; }
21125 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21126 $as_echo_n "(cached) " >&6
21128 if test x
$gcc_no_link = xyes
; then
21129 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21132 /* end confdefs.h. */
21134 #ifdef HAVE_COMPLEX_H
21135 #include <complex.h>
21141 int (*ptr)() = (int (*)())cpowl;
21150 if ac_fn_c_try_link
"$LINENO"; then :
21151 gcc_cv_math_func_cpowl
=yes
21153 gcc_cv_math_func_cpowl
=no
21155 rm -f core conftest.err conftest.
$ac_objext \
21156 conftest
$ac_exeext conftest.
$ac_ext
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21159 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21160 if test $gcc_cv_math_func_cpowl = yes; then
21162 cat >>confdefs.h
<<_ACEOF
21163 #define HAVE_CPOWL 1
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21172 $as_echo_n "checking for roundf... " >&6; }
21173 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21176 if test x
$gcc_no_link = xyes
; then
21177 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h. */
21182 #ifdef HAVE_COMPLEX_H
21183 #include <complex.h>
21189 int (*ptr)() = (int (*)())roundf;
21198 if ac_fn_c_try_link
"$LINENO"; then :
21199 gcc_cv_math_func_roundf
=yes
21201 gcc_cv_math_func_roundf
=no
21203 rm -f core conftest.err conftest.
$ac_objext \
21204 conftest
$ac_exeext conftest.
$ac_ext
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21207 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21208 if test $gcc_cv_math_func_roundf = yes; then
21210 cat >>confdefs.h
<<_ACEOF
21211 #define HAVE_ROUNDF 1
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21220 $as_echo_n "checking for round... " >&6; }
21221 if test "${gcc_cv_math_func_round+set}" = set; then :
21222 $as_echo_n "(cached) " >&6
21224 if test x
$gcc_no_link = xyes
; then
21225 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21228 /* end confdefs.h. */
21230 #ifdef HAVE_COMPLEX_H
21231 #include <complex.h>
21237 int (*ptr)() = (int (*)())round;
21246 if ac_fn_c_try_link
"$LINENO"; then :
21247 gcc_cv_math_func_round
=yes
21249 gcc_cv_math_func_round
=no
21251 rm -f core conftest.err conftest.
$ac_objext \
21252 conftest
$ac_exeext conftest.
$ac_ext
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21255 $as_echo "$gcc_cv_math_func_round" >&6; }
21256 if test $gcc_cv_math_func_round = yes; then
21258 cat >>confdefs.h
<<_ACEOF
21259 #define HAVE_ROUND 1
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21268 $as_echo_n "checking for roundl... " >&6; }
21269 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21270 $as_echo_n "(cached) " >&6
21272 if test x
$gcc_no_link = xyes
; then
21273 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21276 /* end confdefs.h. */
21278 #ifdef HAVE_COMPLEX_H
21279 #include <complex.h>
21285 int (*ptr)() = (int (*)())roundl;
21294 if ac_fn_c_try_link
"$LINENO"; then :
21295 gcc_cv_math_func_roundl
=yes
21297 gcc_cv_math_func_roundl
=no
21299 rm -f core conftest.err conftest.
$ac_objext \
21300 conftest
$ac_exeext conftest.
$ac_ext
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21303 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21304 if test $gcc_cv_math_func_roundl = yes; then
21306 cat >>confdefs.h
<<_ACEOF
21307 #define HAVE_ROUNDL 1
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21316 $as_echo_n "checking for lroundf... " >&6; }
21317 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21318 $as_echo_n "(cached) " >&6
21320 if test x
$gcc_no_link = xyes
; then
21321 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21324 /* end confdefs.h. */
21326 #ifdef HAVE_COMPLEX_H
21327 #include <complex.h>
21333 int (*ptr)() = (int (*)())lroundf;
21342 if ac_fn_c_try_link
"$LINENO"; then :
21343 gcc_cv_math_func_lroundf
=yes
21345 gcc_cv_math_func_lroundf
=no
21347 rm -f core conftest.err conftest.
$ac_objext \
21348 conftest
$ac_exeext conftest.
$ac_ext
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21351 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21352 if test $gcc_cv_math_func_lroundf = yes; then
21354 cat >>confdefs.h
<<_ACEOF
21355 #define HAVE_LROUNDF 1
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21364 $as_echo_n "checking for lround... " >&6; }
21365 if test "${gcc_cv_math_func_lround+set}" = set; then :
21366 $as_echo_n "(cached) " >&6
21368 if test x
$gcc_no_link = xyes
; then
21369 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21372 /* end confdefs.h. */
21374 #ifdef HAVE_COMPLEX_H
21375 #include <complex.h>
21381 int (*ptr)() = (int (*)())lround;
21390 if ac_fn_c_try_link
"$LINENO"; then :
21391 gcc_cv_math_func_lround
=yes
21393 gcc_cv_math_func_lround
=no
21395 rm -f core conftest.err conftest.
$ac_objext \
21396 conftest
$ac_exeext conftest.
$ac_ext
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21399 $as_echo "$gcc_cv_math_func_lround" >&6; }
21400 if test $gcc_cv_math_func_lround = yes; then
21402 cat >>confdefs.h
<<_ACEOF
21403 #define HAVE_LROUND 1
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21412 $as_echo_n "checking for lroundl... " >&6; }
21413 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21414 $as_echo_n "(cached) " >&6
21416 if test x
$gcc_no_link = xyes
; then
21417 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21420 /* end confdefs.h. */
21422 #ifdef HAVE_COMPLEX_H
21423 #include <complex.h>
21429 int (*ptr)() = (int (*)())lroundl;
21438 if ac_fn_c_try_link
"$LINENO"; then :
21439 gcc_cv_math_func_lroundl
=yes
21441 gcc_cv_math_func_lroundl
=no
21443 rm -f core conftest.err conftest.
$ac_objext \
21444 conftest
$ac_exeext conftest.
$ac_ext
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21447 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21448 if test $gcc_cv_math_func_lroundl = yes; then
21450 cat >>confdefs.h
<<_ACEOF
21451 #define HAVE_LROUNDL 1
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21460 $as_echo_n "checking for llroundf... " >&6; }
21461 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21462 $as_echo_n "(cached) " >&6
21464 if test x
$gcc_no_link = xyes
; then
21465 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21468 /* end confdefs.h. */
21470 #ifdef HAVE_COMPLEX_H
21471 #include <complex.h>
21477 int (*ptr)() = (int (*)())llroundf;
21486 if ac_fn_c_try_link
"$LINENO"; then :
21487 gcc_cv_math_func_llroundf
=yes
21489 gcc_cv_math_func_llroundf
=no
21491 rm -f core conftest.err conftest.
$ac_objext \
21492 conftest
$ac_exeext conftest.
$ac_ext
21494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21495 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21496 if test $gcc_cv_math_func_llroundf = yes; then
21498 cat >>confdefs.h
<<_ACEOF
21499 #define HAVE_LLROUNDF 1
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21508 $as_echo_n "checking for llround... " >&6; }
21509 if test "${gcc_cv_math_func_llround+set}" = set; then :
21510 $as_echo_n "(cached) " >&6
21512 if test x
$gcc_no_link = xyes
; then
21513 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21516 /* end confdefs.h. */
21518 #ifdef HAVE_COMPLEX_H
21519 #include <complex.h>
21525 int (*ptr)() = (int (*)())llround;
21534 if ac_fn_c_try_link
"$LINENO"; then :
21535 gcc_cv_math_func_llround
=yes
21537 gcc_cv_math_func_llround
=no
21539 rm -f core conftest.err conftest.
$ac_objext \
21540 conftest
$ac_exeext conftest.
$ac_ext
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21543 $as_echo "$gcc_cv_math_func_llround" >&6; }
21544 if test $gcc_cv_math_func_llround = yes; then
21546 cat >>confdefs.h
<<_ACEOF
21547 #define HAVE_LLROUND 1
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21556 $as_echo_n "checking for llroundl... " >&6; }
21557 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21558 $as_echo_n "(cached) " >&6
21560 if test x
$gcc_no_link = xyes
; then
21561 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21566 #ifdef HAVE_COMPLEX_H
21567 #include <complex.h>
21573 int (*ptr)() = (int (*)())llroundl;
21582 if ac_fn_c_try_link
"$LINENO"; then :
21583 gcc_cv_math_func_llroundl
=yes
21585 gcc_cv_math_func_llroundl
=no
21587 rm -f core conftest.err conftest.
$ac_objext \
21588 conftest
$ac_exeext conftest.
$ac_ext
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21591 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21592 if test $gcc_cv_math_func_llroundl = yes; then
21594 cat >>confdefs.h
<<_ACEOF
21595 #define HAVE_LLROUNDL 1
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21604 $as_echo_n "checking for scalbnf... " >&6; }
21605 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21606 $as_echo_n "(cached) " >&6
21608 if test x
$gcc_no_link = xyes
; then
21609 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21612 /* end confdefs.h. */
21614 #ifdef HAVE_COMPLEX_H
21615 #include <complex.h>
21621 int (*ptr)() = (int (*)())scalbnf;
21630 if ac_fn_c_try_link
"$LINENO"; then :
21631 gcc_cv_math_func_scalbnf
=yes
21633 gcc_cv_math_func_scalbnf
=no
21635 rm -f core conftest.err conftest.
$ac_objext \
21636 conftest
$ac_exeext conftest.
$ac_ext
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21639 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21640 if test $gcc_cv_math_func_scalbnf = yes; then
21642 cat >>confdefs.h
<<_ACEOF
21643 #define HAVE_SCALBNF 1
21651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21652 $as_echo_n "checking for scalbn... " >&6; }
21653 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21654 $as_echo_n "(cached) " >&6
21656 if test x
$gcc_no_link = xyes
; then
21657 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21662 #ifdef HAVE_COMPLEX_H
21663 #include <complex.h>
21669 int (*ptr)() = (int (*)())scalbn;
21678 if ac_fn_c_try_link
"$LINENO"; then :
21679 gcc_cv_math_func_scalbn
=yes
21681 gcc_cv_math_func_scalbn
=no
21683 rm -f core conftest.err conftest.
$ac_objext \
21684 conftest
$ac_exeext conftest.
$ac_ext
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21687 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21688 if test $gcc_cv_math_func_scalbn = yes; then
21690 cat >>confdefs.h
<<_ACEOF
21691 #define HAVE_SCALBN 1
21699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21700 $as_echo_n "checking for scalbnl... " >&6; }
21701 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21702 $as_echo_n "(cached) " >&6
21704 if test x
$gcc_no_link = xyes
; then
21705 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21708 /* end confdefs.h. */
21710 #ifdef HAVE_COMPLEX_H
21711 #include <complex.h>
21717 int (*ptr)() = (int (*)())scalbnl;
21726 if ac_fn_c_try_link
"$LINENO"; then :
21727 gcc_cv_math_func_scalbnl
=yes
21729 gcc_cv_math_func_scalbnl
=no
21731 rm -f core conftest.err conftest.
$ac_objext \
21732 conftest
$ac_exeext conftest.
$ac_ext
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21735 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21736 if test $gcc_cv_math_func_scalbnl = yes; then
21738 cat >>confdefs.h
<<_ACEOF
21739 #define HAVE_SCALBNL 1
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21748 $as_echo_n "checking for sinf... " >&6; }
21749 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21750 $as_echo_n "(cached) " >&6
21752 if test x
$gcc_no_link = xyes
; then
21753 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21758 #ifdef HAVE_COMPLEX_H
21759 #include <complex.h>
21765 int (*ptr)() = (int (*)())sinf;
21774 if ac_fn_c_try_link
"$LINENO"; then :
21775 gcc_cv_math_func_sinf
=yes
21777 gcc_cv_math_func_sinf
=no
21779 rm -f core conftest.err conftest.
$ac_objext \
21780 conftest
$ac_exeext conftest.
$ac_ext
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21783 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21784 if test $gcc_cv_math_func_sinf = yes; then
21786 cat >>confdefs.h
<<_ACEOF
21787 #define HAVE_SINF 1
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21796 $as_echo_n "checking for sin... " >&6; }
21797 if test "${gcc_cv_math_func_sin+set}" = set; then :
21798 $as_echo_n "(cached) " >&6
21800 if test x
$gcc_no_link = xyes
; then
21801 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21804 /* end confdefs.h. */
21806 #ifdef HAVE_COMPLEX_H
21807 #include <complex.h>
21813 int (*ptr)() = (int (*)())sin;
21822 if ac_fn_c_try_link
"$LINENO"; then :
21823 gcc_cv_math_func_sin
=yes
21825 gcc_cv_math_func_sin
=no
21827 rm -f core conftest.err conftest.
$ac_objext \
21828 conftest
$ac_exeext conftest.
$ac_ext
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21831 $as_echo "$gcc_cv_math_func_sin" >&6; }
21832 if test $gcc_cv_math_func_sin = yes; then
21834 cat >>confdefs.h
<<_ACEOF
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21844 $as_echo_n "checking for sinl... " >&6; }
21845 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21846 $as_echo_n "(cached) " >&6
21848 if test x
$gcc_no_link = xyes
; then
21849 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21852 /* end confdefs.h. */
21854 #ifdef HAVE_COMPLEX_H
21855 #include <complex.h>
21861 int (*ptr)() = (int (*)())sinl;
21870 if ac_fn_c_try_link
"$LINENO"; then :
21871 gcc_cv_math_func_sinl
=yes
21873 gcc_cv_math_func_sinl
=no
21875 rm -f core conftest.err conftest.
$ac_objext \
21876 conftest
$ac_exeext conftest.
$ac_ext
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21879 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21880 if test $gcc_cv_math_func_sinl = yes; then
21882 cat >>confdefs.h
<<_ACEOF
21883 #define HAVE_SINL 1
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21892 $as_echo_n "checking for csinf... " >&6; }
21893 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21894 $as_echo_n "(cached) " >&6
21896 if test x
$gcc_no_link = xyes
; then
21897 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21900 /* end confdefs.h. */
21902 #ifdef HAVE_COMPLEX_H
21903 #include <complex.h>
21909 int (*ptr)() = (int (*)())csinf;
21918 if ac_fn_c_try_link
"$LINENO"; then :
21919 gcc_cv_math_func_csinf
=yes
21921 gcc_cv_math_func_csinf
=no
21923 rm -f core conftest.err conftest.
$ac_objext \
21924 conftest
$ac_exeext conftest.
$ac_ext
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21927 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21928 if test $gcc_cv_math_func_csinf = yes; then
21930 cat >>confdefs.h
<<_ACEOF
21931 #define HAVE_CSINF 1
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21940 $as_echo_n "checking for csin... " >&6; }
21941 if test "${gcc_cv_math_func_csin+set}" = set; then :
21942 $as_echo_n "(cached) " >&6
21944 if test x
$gcc_no_link = xyes
; then
21945 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21948 /* end confdefs.h. */
21950 #ifdef HAVE_COMPLEX_H
21951 #include <complex.h>
21957 int (*ptr)() = (int (*)())csin;
21966 if ac_fn_c_try_link
"$LINENO"; then :
21967 gcc_cv_math_func_csin
=yes
21969 gcc_cv_math_func_csin
=no
21971 rm -f core conftest.err conftest.
$ac_objext \
21972 conftest
$ac_exeext conftest.
$ac_ext
21974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21975 $as_echo "$gcc_cv_math_func_csin" >&6; }
21976 if test $gcc_cv_math_func_csin = yes; then
21978 cat >>confdefs.h
<<_ACEOF
21979 #define HAVE_CSIN 1
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21988 $as_echo_n "checking for csinl... " >&6; }
21989 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21990 $as_echo_n "(cached) " >&6
21992 if test x
$gcc_no_link = xyes
; then
21993 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21996 /* end confdefs.h. */
21998 #ifdef HAVE_COMPLEX_H
21999 #include <complex.h>
22005 int (*ptr)() = (int (*)())csinl;
22014 if ac_fn_c_try_link
"$LINENO"; then :
22015 gcc_cv_math_func_csinl
=yes
22017 gcc_cv_math_func_csinl
=no
22019 rm -f core conftest.err conftest.
$ac_objext \
22020 conftest
$ac_exeext conftest.
$ac_ext
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22023 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22024 if test $gcc_cv_math_func_csinl = yes; then
22026 cat >>confdefs.h
<<_ACEOF
22027 #define HAVE_CSINL 1
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22036 $as_echo_n "checking for sinhf... " >&6; }
22037 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
22038 $as_echo_n "(cached) " >&6
22040 if test x
$gcc_no_link = xyes
; then
22041 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22044 /* end confdefs.h. */
22046 #ifdef HAVE_COMPLEX_H
22047 #include <complex.h>
22053 int (*ptr)() = (int (*)())sinhf;
22062 if ac_fn_c_try_link
"$LINENO"; then :
22063 gcc_cv_math_func_sinhf
=yes
22065 gcc_cv_math_func_sinhf
=no
22067 rm -f core conftest.err conftest.
$ac_objext \
22068 conftest
$ac_exeext conftest.
$ac_ext
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22071 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22072 if test $gcc_cv_math_func_sinhf = yes; then
22074 cat >>confdefs.h
<<_ACEOF
22075 #define HAVE_SINHF 1
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22084 $as_echo_n "checking for sinh... " >&6; }
22085 if test "${gcc_cv_math_func_sinh+set}" = set; then :
22086 $as_echo_n "(cached) " >&6
22088 if test x
$gcc_no_link = xyes
; then
22089 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22092 /* end confdefs.h. */
22094 #ifdef HAVE_COMPLEX_H
22095 #include <complex.h>
22101 int (*ptr)() = (int (*)())sinh;
22110 if ac_fn_c_try_link
"$LINENO"; then :
22111 gcc_cv_math_func_sinh
=yes
22113 gcc_cv_math_func_sinh
=no
22115 rm -f core conftest.err conftest.
$ac_objext \
22116 conftest
$ac_exeext conftest.
$ac_ext
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22119 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22120 if test $gcc_cv_math_func_sinh = yes; then
22122 cat >>confdefs.h
<<_ACEOF
22123 #define HAVE_SINH 1
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22132 $as_echo_n "checking for sinhl... " >&6; }
22133 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22134 $as_echo_n "(cached) " >&6
22136 if test x
$gcc_no_link = xyes
; then
22137 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h. */
22142 #ifdef HAVE_COMPLEX_H
22143 #include <complex.h>
22149 int (*ptr)() = (int (*)())sinhl;
22158 if ac_fn_c_try_link
"$LINENO"; then :
22159 gcc_cv_math_func_sinhl
=yes
22161 gcc_cv_math_func_sinhl
=no
22163 rm -f core conftest.err conftest.
$ac_objext \
22164 conftest
$ac_exeext conftest.
$ac_ext
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22167 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22168 if test $gcc_cv_math_func_sinhl = yes; then
22170 cat >>confdefs.h
<<_ACEOF
22171 #define HAVE_SINHL 1
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22180 $as_echo_n "checking for csinhf... " >&6; }
22181 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22182 $as_echo_n "(cached) " >&6
22184 if test x
$gcc_no_link = xyes
; then
22185 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22188 /* end confdefs.h. */
22190 #ifdef HAVE_COMPLEX_H
22191 #include <complex.h>
22197 int (*ptr)() = (int (*)())csinhf;
22206 if ac_fn_c_try_link
"$LINENO"; then :
22207 gcc_cv_math_func_csinhf
=yes
22209 gcc_cv_math_func_csinhf
=no
22211 rm -f core conftest.err conftest.
$ac_objext \
22212 conftest
$ac_exeext conftest.
$ac_ext
22214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22215 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22216 if test $gcc_cv_math_func_csinhf = yes; then
22218 cat >>confdefs.h
<<_ACEOF
22219 #define HAVE_CSINHF 1
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22228 $as_echo_n "checking for csinh... " >&6; }
22229 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22230 $as_echo_n "(cached) " >&6
22232 if test x
$gcc_no_link = xyes
; then
22233 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22236 /* end confdefs.h. */
22238 #ifdef HAVE_COMPLEX_H
22239 #include <complex.h>
22245 int (*ptr)() = (int (*)())csinh;
22254 if ac_fn_c_try_link
"$LINENO"; then :
22255 gcc_cv_math_func_csinh
=yes
22257 gcc_cv_math_func_csinh
=no
22259 rm -f core conftest.err conftest.
$ac_objext \
22260 conftest
$ac_exeext conftest.
$ac_ext
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22263 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22264 if test $gcc_cv_math_func_csinh = yes; then
22266 cat >>confdefs.h
<<_ACEOF
22267 #define HAVE_CSINH 1
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22276 $as_echo_n "checking for csinhl... " >&6; }
22277 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22278 $as_echo_n "(cached) " >&6
22280 if test x
$gcc_no_link = xyes
; then
22281 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h. */
22286 #ifdef HAVE_COMPLEX_H
22287 #include <complex.h>
22293 int (*ptr)() = (int (*)())csinhl;
22302 if ac_fn_c_try_link
"$LINENO"; then :
22303 gcc_cv_math_func_csinhl
=yes
22305 gcc_cv_math_func_csinhl
=no
22307 rm -f core conftest.err conftest.
$ac_objext \
22308 conftest
$ac_exeext conftest.
$ac_ext
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22311 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22312 if test $gcc_cv_math_func_csinhl = yes; then
22314 cat >>confdefs.h
<<_ACEOF
22315 #define HAVE_CSINHL 1
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22324 $as_echo_n "checking for sqrtf... " >&6; }
22325 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22326 $as_echo_n "(cached) " >&6
22328 if test x
$gcc_no_link = xyes
; then
22329 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22332 /* end confdefs.h. */
22334 #ifdef HAVE_COMPLEX_H
22335 #include <complex.h>
22341 int (*ptr)() = (int (*)())sqrtf;
22350 if ac_fn_c_try_link
"$LINENO"; then :
22351 gcc_cv_math_func_sqrtf
=yes
22353 gcc_cv_math_func_sqrtf
=no
22355 rm -f core conftest.err conftest.
$ac_objext \
22356 conftest
$ac_exeext conftest.
$ac_ext
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22359 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22360 if test $gcc_cv_math_func_sqrtf = yes; then
22362 cat >>confdefs.h
<<_ACEOF
22363 #define HAVE_SQRTF 1
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22372 $as_echo_n "checking for sqrt... " >&6; }
22373 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22374 $as_echo_n "(cached) " >&6
22376 if test x
$gcc_no_link = xyes
; then
22377 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22380 /* end confdefs.h. */
22382 #ifdef HAVE_COMPLEX_H
22383 #include <complex.h>
22389 int (*ptr)() = (int (*)())sqrt;
22398 if ac_fn_c_try_link
"$LINENO"; then :
22399 gcc_cv_math_func_sqrt
=yes
22401 gcc_cv_math_func_sqrt
=no
22403 rm -f core conftest.err conftest.
$ac_objext \
22404 conftest
$ac_exeext conftest.
$ac_ext
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22407 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22408 if test $gcc_cv_math_func_sqrt = yes; then
22410 cat >>confdefs.h
<<_ACEOF
22411 #define HAVE_SQRT 1
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22420 $as_echo_n "checking for sqrtl... " >&6; }
22421 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22422 $as_echo_n "(cached) " >&6
22424 if test x
$gcc_no_link = xyes
; then
22425 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22428 /* end confdefs.h. */
22430 #ifdef HAVE_COMPLEX_H
22431 #include <complex.h>
22437 int (*ptr)() = (int (*)())sqrtl;
22446 if ac_fn_c_try_link
"$LINENO"; then :
22447 gcc_cv_math_func_sqrtl
=yes
22449 gcc_cv_math_func_sqrtl
=no
22451 rm -f core conftest.err conftest.
$ac_objext \
22452 conftest
$ac_exeext conftest.
$ac_ext
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22455 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22456 if test $gcc_cv_math_func_sqrtl = yes; then
22458 cat >>confdefs.h
<<_ACEOF
22459 #define HAVE_SQRTL 1
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22468 $as_echo_n "checking for csqrtf... " >&6; }
22469 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22470 $as_echo_n "(cached) " >&6
22472 if test x
$gcc_no_link = xyes
; then
22473 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22476 /* end confdefs.h. */
22478 #ifdef HAVE_COMPLEX_H
22479 #include <complex.h>
22485 int (*ptr)() = (int (*)())csqrtf;
22494 if ac_fn_c_try_link
"$LINENO"; then :
22495 gcc_cv_math_func_csqrtf
=yes
22497 gcc_cv_math_func_csqrtf
=no
22499 rm -f core conftest.err conftest.
$ac_objext \
22500 conftest
$ac_exeext conftest.
$ac_ext
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22503 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22504 if test $gcc_cv_math_func_csqrtf = yes; then
22506 cat >>confdefs.h
<<_ACEOF
22507 #define HAVE_CSQRTF 1
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22516 $as_echo_n "checking for csqrt... " >&6; }
22517 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22518 $as_echo_n "(cached) " >&6
22520 if test x
$gcc_no_link = xyes
; then
22521 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h. */
22526 #ifdef HAVE_COMPLEX_H
22527 #include <complex.h>
22533 int (*ptr)() = (int (*)())csqrt;
22542 if ac_fn_c_try_link
"$LINENO"; then :
22543 gcc_cv_math_func_csqrt
=yes
22545 gcc_cv_math_func_csqrt
=no
22547 rm -f core conftest.err conftest.
$ac_objext \
22548 conftest
$ac_exeext conftest.
$ac_ext
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22551 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22552 if test $gcc_cv_math_func_csqrt = yes; then
22554 cat >>confdefs.h
<<_ACEOF
22555 #define HAVE_CSQRT 1
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22564 $as_echo_n "checking for csqrtl... " >&6; }
22565 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22566 $as_echo_n "(cached) " >&6
22568 if test x
$gcc_no_link = xyes
; then
22569 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22572 /* end confdefs.h. */
22574 #ifdef HAVE_COMPLEX_H
22575 #include <complex.h>
22581 int (*ptr)() = (int (*)())csqrtl;
22590 if ac_fn_c_try_link
"$LINENO"; then :
22591 gcc_cv_math_func_csqrtl
=yes
22593 gcc_cv_math_func_csqrtl
=no
22595 rm -f core conftest.err conftest.
$ac_objext \
22596 conftest
$ac_exeext conftest.
$ac_ext
22598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22599 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22600 if test $gcc_cv_math_func_csqrtl = yes; then
22602 cat >>confdefs.h
<<_ACEOF
22603 #define HAVE_CSQRTL 1
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22612 $as_echo_n "checking for tanf... " >&6; }
22613 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22614 $as_echo_n "(cached) " >&6
22616 if test x
$gcc_no_link = xyes
; then
22617 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22620 /* end confdefs.h. */
22622 #ifdef HAVE_COMPLEX_H
22623 #include <complex.h>
22629 int (*ptr)() = (int (*)())tanf;
22638 if ac_fn_c_try_link
"$LINENO"; then :
22639 gcc_cv_math_func_tanf
=yes
22641 gcc_cv_math_func_tanf
=no
22643 rm -f core conftest.err conftest.
$ac_objext \
22644 conftest
$ac_exeext conftest.
$ac_ext
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22647 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22648 if test $gcc_cv_math_func_tanf = yes; then
22650 cat >>confdefs.h
<<_ACEOF
22651 #define HAVE_TANF 1
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22660 $as_echo_n "checking for tan... " >&6; }
22661 if test "${gcc_cv_math_func_tan+set}" = set; then :
22662 $as_echo_n "(cached) " >&6
22664 if test x
$gcc_no_link = xyes
; then
22665 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22668 /* end confdefs.h. */
22670 #ifdef HAVE_COMPLEX_H
22671 #include <complex.h>
22677 int (*ptr)() = (int (*)())tan;
22686 if ac_fn_c_try_link
"$LINENO"; then :
22687 gcc_cv_math_func_tan
=yes
22689 gcc_cv_math_func_tan
=no
22691 rm -f core conftest.err conftest.
$ac_objext \
22692 conftest
$ac_exeext conftest.
$ac_ext
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22695 $as_echo "$gcc_cv_math_func_tan" >&6; }
22696 if test $gcc_cv_math_func_tan = yes; then
22698 cat >>confdefs.h
<<_ACEOF
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22708 $as_echo_n "checking for tanl... " >&6; }
22709 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22710 $as_echo_n "(cached) " >&6
22712 if test x
$gcc_no_link = xyes
; then
22713 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22716 /* end confdefs.h. */
22718 #ifdef HAVE_COMPLEX_H
22719 #include <complex.h>
22725 int (*ptr)() = (int (*)())tanl;
22734 if ac_fn_c_try_link
"$LINENO"; then :
22735 gcc_cv_math_func_tanl
=yes
22737 gcc_cv_math_func_tanl
=no
22739 rm -f core conftest.err conftest.
$ac_objext \
22740 conftest
$ac_exeext conftest.
$ac_ext
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22743 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22744 if test $gcc_cv_math_func_tanl = yes; then
22746 cat >>confdefs.h
<<_ACEOF
22747 #define HAVE_TANL 1
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22756 $as_echo_n "checking for ctanf... " >&6; }
22757 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22758 $as_echo_n "(cached) " >&6
22760 if test x
$gcc_no_link = xyes
; then
22761 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22764 /* end confdefs.h. */
22766 #ifdef HAVE_COMPLEX_H
22767 #include <complex.h>
22773 int (*ptr)() = (int (*)())ctanf;
22782 if ac_fn_c_try_link
"$LINENO"; then :
22783 gcc_cv_math_func_ctanf
=yes
22785 gcc_cv_math_func_ctanf
=no
22787 rm -f core conftest.err conftest.
$ac_objext \
22788 conftest
$ac_exeext conftest.
$ac_ext
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22791 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22792 if test $gcc_cv_math_func_ctanf = yes; then
22794 cat >>confdefs.h
<<_ACEOF
22795 #define HAVE_CTANF 1
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22804 $as_echo_n "checking for ctan... " >&6; }
22805 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22806 $as_echo_n "(cached) " >&6
22808 if test x
$gcc_no_link = xyes
; then
22809 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22812 /* end confdefs.h. */
22814 #ifdef HAVE_COMPLEX_H
22815 #include <complex.h>
22821 int (*ptr)() = (int (*)())ctan;
22830 if ac_fn_c_try_link
"$LINENO"; then :
22831 gcc_cv_math_func_ctan
=yes
22833 gcc_cv_math_func_ctan
=no
22835 rm -f core conftest.err conftest.
$ac_objext \
22836 conftest
$ac_exeext conftest.
$ac_ext
22838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22839 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22840 if test $gcc_cv_math_func_ctan = yes; then
22842 cat >>confdefs.h
<<_ACEOF
22843 #define HAVE_CTAN 1
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22852 $as_echo_n "checking for ctanl... " >&6; }
22853 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22854 $as_echo_n "(cached) " >&6
22856 if test x
$gcc_no_link = xyes
; then
22857 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h. */
22862 #ifdef HAVE_COMPLEX_H
22863 #include <complex.h>
22869 int (*ptr)() = (int (*)())ctanl;
22878 if ac_fn_c_try_link
"$LINENO"; then :
22879 gcc_cv_math_func_ctanl
=yes
22881 gcc_cv_math_func_ctanl
=no
22883 rm -f core conftest.err conftest.
$ac_objext \
22884 conftest
$ac_exeext conftest.
$ac_ext
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22887 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22888 if test $gcc_cv_math_func_ctanl = yes; then
22890 cat >>confdefs.h
<<_ACEOF
22891 #define HAVE_CTANL 1
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22900 $as_echo_n "checking for tanhf... " >&6; }
22901 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22902 $as_echo_n "(cached) " >&6
22904 if test x
$gcc_no_link = xyes
; then
22905 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22908 /* end confdefs.h. */
22910 #ifdef HAVE_COMPLEX_H
22911 #include <complex.h>
22917 int (*ptr)() = (int (*)())tanhf;
22926 if ac_fn_c_try_link
"$LINENO"; then :
22927 gcc_cv_math_func_tanhf
=yes
22929 gcc_cv_math_func_tanhf
=no
22931 rm -f core conftest.err conftest.
$ac_objext \
22932 conftest
$ac_exeext conftest.
$ac_ext
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22935 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22936 if test $gcc_cv_math_func_tanhf = yes; then
22938 cat >>confdefs.h
<<_ACEOF
22939 #define HAVE_TANHF 1
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22948 $as_echo_n "checking for tanh... " >&6; }
22949 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22950 $as_echo_n "(cached) " >&6
22952 if test x
$gcc_no_link = xyes
; then
22953 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h. */
22958 #ifdef HAVE_COMPLEX_H
22959 #include <complex.h>
22965 int (*ptr)() = (int (*)())tanh;
22974 if ac_fn_c_try_link
"$LINENO"; then :
22975 gcc_cv_math_func_tanh
=yes
22977 gcc_cv_math_func_tanh
=no
22979 rm -f core conftest.err conftest.
$ac_objext \
22980 conftest
$ac_exeext conftest.
$ac_ext
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22983 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22984 if test $gcc_cv_math_func_tanh = yes; then
22986 cat >>confdefs.h
<<_ACEOF
22987 #define HAVE_TANH 1
22995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22996 $as_echo_n "checking for tanhl... " >&6; }
22997 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22998 $as_echo_n "(cached) " >&6
23000 if test x
$gcc_no_link = xyes
; then
23001 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23004 /* end confdefs.h. */
23006 #ifdef HAVE_COMPLEX_H
23007 #include <complex.h>
23013 int (*ptr)() = (int (*)())tanhl;
23022 if ac_fn_c_try_link
"$LINENO"; then :
23023 gcc_cv_math_func_tanhl
=yes
23025 gcc_cv_math_func_tanhl
=no
23027 rm -f core conftest.err conftest.
$ac_objext \
23028 conftest
$ac_exeext conftest.
$ac_ext
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23031 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23032 if test $gcc_cv_math_func_tanhl = yes; then
23034 cat >>confdefs.h
<<_ACEOF
23035 #define HAVE_TANHL 1
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23044 $as_echo_n "checking for ctanhf... " >&6; }
23045 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
23046 $as_echo_n "(cached) " >&6
23048 if test x
$gcc_no_link = xyes
; then
23049 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23052 /* end confdefs.h. */
23054 #ifdef HAVE_COMPLEX_H
23055 #include <complex.h>
23061 int (*ptr)() = (int (*)())ctanhf;
23070 if ac_fn_c_try_link
"$LINENO"; then :
23071 gcc_cv_math_func_ctanhf
=yes
23073 gcc_cv_math_func_ctanhf
=no
23075 rm -f core conftest.err conftest.
$ac_objext \
23076 conftest
$ac_exeext conftest.
$ac_ext
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23079 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23080 if test $gcc_cv_math_func_ctanhf = yes; then
23082 cat >>confdefs.h
<<_ACEOF
23083 #define HAVE_CTANHF 1
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23092 $as_echo_n "checking for ctanh... " >&6; }
23093 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
23094 $as_echo_n "(cached) " >&6
23096 if test x
$gcc_no_link = xyes
; then
23097 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h. */
23102 #ifdef HAVE_COMPLEX_H
23103 #include <complex.h>
23109 int (*ptr)() = (int (*)())ctanh;
23118 if ac_fn_c_try_link
"$LINENO"; then :
23119 gcc_cv_math_func_ctanh
=yes
23121 gcc_cv_math_func_ctanh
=no
23123 rm -f core conftest.err conftest.
$ac_objext \
23124 conftest
$ac_exeext conftest.
$ac_ext
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23127 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23128 if test $gcc_cv_math_func_ctanh = yes; then
23130 cat >>confdefs.h
<<_ACEOF
23131 #define HAVE_CTANH 1
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23140 $as_echo_n "checking for ctanhl... " >&6; }
23141 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23142 $as_echo_n "(cached) " >&6
23144 if test x
$gcc_no_link = xyes
; then
23145 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23148 /* end confdefs.h. */
23150 #ifdef HAVE_COMPLEX_H
23151 #include <complex.h>
23157 int (*ptr)() = (int (*)())ctanhl;
23166 if ac_fn_c_try_link
"$LINENO"; then :
23167 gcc_cv_math_func_ctanhl
=yes
23169 gcc_cv_math_func_ctanhl
=no
23171 rm -f core conftest.err conftest.
$ac_objext \
23172 conftest
$ac_exeext conftest.
$ac_ext
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23175 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23176 if test $gcc_cv_math_func_ctanhl = yes; then
23178 cat >>confdefs.h
<<_ACEOF
23179 #define HAVE_CTANHL 1
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23188 $as_echo_n "checking for truncf... " >&6; }
23189 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23190 $as_echo_n "(cached) " >&6
23192 if test x
$gcc_no_link = xyes
; then
23193 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23196 /* end confdefs.h. */
23198 #ifdef HAVE_COMPLEX_H
23199 #include <complex.h>
23205 int (*ptr)() = (int (*)())truncf;
23214 if ac_fn_c_try_link
"$LINENO"; then :
23215 gcc_cv_math_func_truncf
=yes
23217 gcc_cv_math_func_truncf
=no
23219 rm -f core conftest.err conftest.
$ac_objext \
23220 conftest
$ac_exeext conftest.
$ac_ext
23222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23223 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23224 if test $gcc_cv_math_func_truncf = yes; then
23226 cat >>confdefs.h
<<_ACEOF
23227 #define HAVE_TRUNCF 1
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23236 $as_echo_n "checking for trunc... " >&6; }
23237 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23238 $as_echo_n "(cached) " >&6
23240 if test x
$gcc_no_link = xyes
; then
23241 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h. */
23246 #ifdef HAVE_COMPLEX_H
23247 #include <complex.h>
23253 int (*ptr)() = (int (*)())trunc;
23262 if ac_fn_c_try_link
"$LINENO"; then :
23263 gcc_cv_math_func_trunc
=yes
23265 gcc_cv_math_func_trunc
=no
23267 rm -f core conftest.err conftest.
$ac_objext \
23268 conftest
$ac_exeext conftest.
$ac_ext
23270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23271 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23272 if test $gcc_cv_math_func_trunc = yes; then
23274 cat >>confdefs.h
<<_ACEOF
23275 #define HAVE_TRUNC 1
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23284 $as_echo_n "checking for truncl... " >&6; }
23285 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23286 $as_echo_n "(cached) " >&6
23288 if test x
$gcc_no_link = xyes
; then
23289 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23292 /* end confdefs.h. */
23294 #ifdef HAVE_COMPLEX_H
23295 #include <complex.h>
23301 int (*ptr)() = (int (*)())truncl;
23310 if ac_fn_c_try_link
"$LINENO"; then :
23311 gcc_cv_math_func_truncl
=yes
23313 gcc_cv_math_func_truncl
=no
23315 rm -f core conftest.err conftest.
$ac_objext \
23316 conftest
$ac_exeext conftest.
$ac_ext
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23319 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23320 if test $gcc_cv_math_func_truncl = yes; then
23322 cat >>confdefs.h
<<_ACEOF
23323 #define HAVE_TRUNCL 1
23331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23332 $as_echo_n "checking for erff... " >&6; }
23333 if test "${gcc_cv_math_func_erff+set}" = set; then :
23334 $as_echo_n "(cached) " >&6
23336 if test x
$gcc_no_link = xyes
; then
23337 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h. */
23342 #ifdef HAVE_COMPLEX_H
23343 #include <complex.h>
23349 int (*ptr)() = (int (*)())erff;
23358 if ac_fn_c_try_link
"$LINENO"; then :
23359 gcc_cv_math_func_erff
=yes
23361 gcc_cv_math_func_erff
=no
23363 rm -f core conftest.err conftest.
$ac_objext \
23364 conftest
$ac_exeext conftest.
$ac_ext
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23367 $as_echo "$gcc_cv_math_func_erff" >&6; }
23368 if test $gcc_cv_math_func_erff = yes; then
23370 cat >>confdefs.h
<<_ACEOF
23371 #define HAVE_ERFF 1
23379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23380 $as_echo_n "checking for erf... " >&6; }
23381 if test "${gcc_cv_math_func_erf+set}" = set; then :
23382 $as_echo_n "(cached) " >&6
23384 if test x
$gcc_no_link = xyes
; then
23385 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23388 /* end confdefs.h. */
23390 #ifdef HAVE_COMPLEX_H
23391 #include <complex.h>
23397 int (*ptr)() = (int (*)())erf;
23406 if ac_fn_c_try_link
"$LINENO"; then :
23407 gcc_cv_math_func_erf
=yes
23409 gcc_cv_math_func_erf
=no
23411 rm -f core conftest.err conftest.
$ac_objext \
23412 conftest
$ac_exeext conftest.
$ac_ext
23414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23415 $as_echo "$gcc_cv_math_func_erf" >&6; }
23416 if test $gcc_cv_math_func_erf = yes; then
23418 cat >>confdefs.h
<<_ACEOF
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23428 $as_echo_n "checking for erfcf... " >&6; }
23429 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23430 $as_echo_n "(cached) " >&6
23432 if test x
$gcc_no_link = xyes
; then
23433 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23436 /* end confdefs.h. */
23438 #ifdef HAVE_COMPLEX_H
23439 #include <complex.h>
23445 int (*ptr)() = (int (*)())erfcf;
23454 if ac_fn_c_try_link
"$LINENO"; then :
23455 gcc_cv_math_func_erfcf
=yes
23457 gcc_cv_math_func_erfcf
=no
23459 rm -f core conftest.err conftest.
$ac_objext \
23460 conftest
$ac_exeext conftest.
$ac_ext
23462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23463 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23464 if test $gcc_cv_math_func_erfcf = yes; then
23466 cat >>confdefs.h
<<_ACEOF
23467 #define HAVE_ERFCF 1
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23476 $as_echo_n "checking for erfc... " >&6; }
23477 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23478 $as_echo_n "(cached) " >&6
23480 if test x
$gcc_no_link = xyes
; then
23481 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23484 /* end confdefs.h. */
23486 #ifdef HAVE_COMPLEX_H
23487 #include <complex.h>
23493 int (*ptr)() = (int (*)())erfc;
23502 if ac_fn_c_try_link
"$LINENO"; then :
23503 gcc_cv_math_func_erfc
=yes
23505 gcc_cv_math_func_erfc
=no
23507 rm -f core conftest.err conftest.
$ac_objext \
23508 conftest
$ac_exeext conftest.
$ac_ext
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23511 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23512 if test $gcc_cv_math_func_erfc = yes; then
23514 cat >>confdefs.h
<<_ACEOF
23515 #define HAVE_ERFC 1
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23524 $as_echo_n "checking for erfcl... " >&6; }
23525 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23526 $as_echo_n "(cached) " >&6
23528 if test x
$gcc_no_link = xyes
; then
23529 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23532 /* end confdefs.h. */
23534 #ifdef HAVE_COMPLEX_H
23535 #include <complex.h>
23541 int (*ptr)() = (int (*)())erfcl;
23550 if ac_fn_c_try_link
"$LINENO"; then :
23551 gcc_cv_math_func_erfcl
=yes
23553 gcc_cv_math_func_erfcl
=no
23555 rm -f core conftest.err conftest.
$ac_objext \
23556 conftest
$ac_exeext conftest.
$ac_ext
23558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23559 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23560 if test $gcc_cv_math_func_erfcl = yes; then
23562 cat >>confdefs.h
<<_ACEOF
23563 #define HAVE_ERFCL 1
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23572 $as_echo_n "checking for j0f... " >&6; }
23573 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23576 if test x
$gcc_no_link = xyes
; then
23577 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23580 /* end confdefs.h. */
23582 #ifdef HAVE_COMPLEX_H
23583 #include <complex.h>
23589 int (*ptr)() = (int (*)())j0f;
23598 if ac_fn_c_try_link
"$LINENO"; then :
23599 gcc_cv_math_func_j0f
=yes
23601 gcc_cv_math_func_j0f
=no
23603 rm -f core conftest.err conftest.
$ac_objext \
23604 conftest
$ac_exeext conftest.
$ac_ext
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23607 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23608 if test $gcc_cv_math_func_j0f = yes; then
23610 cat >>confdefs.h
<<_ACEOF
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23620 $as_echo_n "checking for j0... " >&6; }
23621 if test "${gcc_cv_math_func_j0+set}" = set; then :
23622 $as_echo_n "(cached) " >&6
23624 if test x
$gcc_no_link = xyes
; then
23625 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23628 /* end confdefs.h. */
23630 #ifdef HAVE_COMPLEX_H
23631 #include <complex.h>
23637 int (*ptr)() = (int (*)())j0;
23646 if ac_fn_c_try_link
"$LINENO"; then :
23647 gcc_cv_math_func_j0
=yes
23649 gcc_cv_math_func_j0
=no
23651 rm -f core conftest.err conftest.
$ac_objext \
23652 conftest
$ac_exeext conftest.
$ac_ext
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23655 $as_echo "$gcc_cv_math_func_j0" >&6; }
23656 if test $gcc_cv_math_func_j0 = yes; then
23658 cat >>confdefs.h
<<_ACEOF
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23668 $as_echo_n "checking for j1f... " >&6; }
23669 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23670 $as_echo_n "(cached) " >&6
23672 if test x
$gcc_no_link = xyes
; then
23673 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23676 /* end confdefs.h. */
23678 #ifdef HAVE_COMPLEX_H
23679 #include <complex.h>
23685 int (*ptr)() = (int (*)())j1f;
23694 if ac_fn_c_try_link
"$LINENO"; then :
23695 gcc_cv_math_func_j1f
=yes
23697 gcc_cv_math_func_j1f
=no
23699 rm -f core conftest.err conftest.
$ac_objext \
23700 conftest
$ac_exeext conftest.
$ac_ext
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23703 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23704 if test $gcc_cv_math_func_j1f = yes; then
23706 cat >>confdefs.h
<<_ACEOF
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23716 $as_echo_n "checking for j1... " >&6; }
23717 if test "${gcc_cv_math_func_j1+set}" = set; then :
23718 $as_echo_n "(cached) " >&6
23720 if test x
$gcc_no_link = xyes
; then
23721 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23724 /* end confdefs.h. */
23726 #ifdef HAVE_COMPLEX_H
23727 #include <complex.h>
23733 int (*ptr)() = (int (*)())j1;
23742 if ac_fn_c_try_link
"$LINENO"; then :
23743 gcc_cv_math_func_j1
=yes
23745 gcc_cv_math_func_j1
=no
23747 rm -f core conftest.err conftest.
$ac_objext \
23748 conftest
$ac_exeext conftest.
$ac_ext
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23751 $as_echo "$gcc_cv_math_func_j1" >&6; }
23752 if test $gcc_cv_math_func_j1 = yes; then
23754 cat >>confdefs.h
<<_ACEOF
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23764 $as_echo_n "checking for jnf... " >&6; }
23765 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23766 $as_echo_n "(cached) " >&6
23768 if test x
$gcc_no_link = xyes
; then
23769 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23772 /* end confdefs.h. */
23774 #ifdef HAVE_COMPLEX_H
23775 #include <complex.h>
23781 int (*ptr)() = (int (*)())jnf;
23790 if ac_fn_c_try_link
"$LINENO"; then :
23791 gcc_cv_math_func_jnf
=yes
23793 gcc_cv_math_func_jnf
=no
23795 rm -f core conftest.err conftest.
$ac_objext \
23796 conftest
$ac_exeext conftest.
$ac_ext
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23799 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23800 if test $gcc_cv_math_func_jnf = yes; then
23802 cat >>confdefs.h
<<_ACEOF
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23812 $as_echo_n "checking for jn... " >&6; }
23813 if test "${gcc_cv_math_func_jn+set}" = set; then :
23814 $as_echo_n "(cached) " >&6
23816 if test x
$gcc_no_link = xyes
; then
23817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23820 /* end confdefs.h. */
23822 #ifdef HAVE_COMPLEX_H
23823 #include <complex.h>
23829 int (*ptr)() = (int (*)())jn;
23838 if ac_fn_c_try_link
"$LINENO"; then :
23839 gcc_cv_math_func_jn
=yes
23841 gcc_cv_math_func_jn
=no
23843 rm -f core conftest.err conftest.
$ac_objext \
23844 conftest
$ac_exeext conftest.
$ac_ext
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23847 $as_echo "$gcc_cv_math_func_jn" >&6; }
23848 if test $gcc_cv_math_func_jn = yes; then
23850 cat >>confdefs.h
<<_ACEOF
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23860 $as_echo_n "checking for jnl... " >&6; }
23861 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23862 $as_echo_n "(cached) " >&6
23864 if test x
$gcc_no_link = xyes
; then
23865 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h. */
23870 #ifdef HAVE_COMPLEX_H
23871 #include <complex.h>
23877 int (*ptr)() = (int (*)())jnl;
23886 if ac_fn_c_try_link
"$LINENO"; then :
23887 gcc_cv_math_func_jnl
=yes
23889 gcc_cv_math_func_jnl
=no
23891 rm -f core conftest.err conftest.
$ac_objext \
23892 conftest
$ac_exeext conftest.
$ac_ext
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23895 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23896 if test $gcc_cv_math_func_jnl = yes; then
23898 cat >>confdefs.h
<<_ACEOF
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23908 $as_echo_n "checking for y0f... " >&6; }
23909 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23910 $as_echo_n "(cached) " >&6
23912 if test x
$gcc_no_link = xyes
; then
23913 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23918 #ifdef HAVE_COMPLEX_H
23919 #include <complex.h>
23925 int (*ptr)() = (int (*)())y0f;
23934 if ac_fn_c_try_link
"$LINENO"; then :
23935 gcc_cv_math_func_y0f
=yes
23937 gcc_cv_math_func_y0f
=no
23939 rm -f core conftest.err conftest.
$ac_objext \
23940 conftest
$ac_exeext conftest.
$ac_ext
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23943 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23944 if test $gcc_cv_math_func_y0f = yes; then
23946 cat >>confdefs.h
<<_ACEOF
23955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23956 $as_echo_n "checking for y0... " >&6; }
23957 if test "${gcc_cv_math_func_y0+set}" = set; then :
23958 $as_echo_n "(cached) " >&6
23960 if test x
$gcc_no_link = xyes
; then
23961 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23966 #ifdef HAVE_COMPLEX_H
23967 #include <complex.h>
23973 int (*ptr)() = (int (*)())y0;
23982 if ac_fn_c_try_link
"$LINENO"; then :
23983 gcc_cv_math_func_y0
=yes
23985 gcc_cv_math_func_y0
=no
23987 rm -f core conftest.err conftest.
$ac_objext \
23988 conftest
$ac_exeext conftest.
$ac_ext
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23991 $as_echo "$gcc_cv_math_func_y0" >&6; }
23992 if test $gcc_cv_math_func_y0 = yes; then
23994 cat >>confdefs.h
<<_ACEOF
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24004 $as_echo_n "checking for y1f... " >&6; }
24005 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24006 $as_echo_n "(cached) " >&6
24008 if test x
$gcc_no_link = xyes
; then
24009 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24012 /* end confdefs.h. */
24014 #ifdef HAVE_COMPLEX_H
24015 #include <complex.h>
24021 int (*ptr)() = (int (*)())y1f;
24030 if ac_fn_c_try_link
"$LINENO"; then :
24031 gcc_cv_math_func_y1f
=yes
24033 gcc_cv_math_func_y1f
=no
24035 rm -f core conftest.err conftest.
$ac_objext \
24036 conftest
$ac_exeext conftest.
$ac_ext
24038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24039 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24040 if test $gcc_cv_math_func_y1f = yes; then
24042 cat >>confdefs.h
<<_ACEOF
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24052 $as_echo_n "checking for y1... " >&6; }
24053 if test "${gcc_cv_math_func_y1+set}" = set; then :
24054 $as_echo_n "(cached) " >&6
24056 if test x
$gcc_no_link = xyes
; then
24057 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24060 /* end confdefs.h. */
24062 #ifdef HAVE_COMPLEX_H
24063 #include <complex.h>
24069 int (*ptr)() = (int (*)())y1;
24078 if ac_fn_c_try_link
"$LINENO"; then :
24079 gcc_cv_math_func_y1
=yes
24081 gcc_cv_math_func_y1
=no
24083 rm -f core conftest.err conftest.
$ac_objext \
24084 conftest
$ac_exeext conftest.
$ac_ext
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24087 $as_echo "$gcc_cv_math_func_y1" >&6; }
24088 if test $gcc_cv_math_func_y1 = yes; then
24090 cat >>confdefs.h
<<_ACEOF
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24100 $as_echo_n "checking for ynf... " >&6; }
24101 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24102 $as_echo_n "(cached) " >&6
24104 if test x
$gcc_no_link = xyes
; then
24105 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24108 /* end confdefs.h. */
24110 #ifdef HAVE_COMPLEX_H
24111 #include <complex.h>
24117 int (*ptr)() = (int (*)())ynf;
24126 if ac_fn_c_try_link
"$LINENO"; then :
24127 gcc_cv_math_func_ynf
=yes
24129 gcc_cv_math_func_ynf
=no
24131 rm -f core conftest.err conftest.
$ac_objext \
24132 conftest
$ac_exeext conftest.
$ac_ext
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24135 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24136 if test $gcc_cv_math_func_ynf = yes; then
24138 cat >>confdefs.h
<<_ACEOF
24147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24148 $as_echo_n "checking for yn... " >&6; }
24149 if test "${gcc_cv_math_func_yn+set}" = set; then :
24150 $as_echo_n "(cached) " >&6
24152 if test x
$gcc_no_link = xyes
; then
24153 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h. */
24158 #ifdef HAVE_COMPLEX_H
24159 #include <complex.h>
24165 int (*ptr)() = (int (*)())yn;
24174 if ac_fn_c_try_link
"$LINENO"; then :
24175 gcc_cv_math_func_yn
=yes
24177 gcc_cv_math_func_yn
=no
24179 rm -f core conftest.err conftest.
$ac_objext \
24180 conftest
$ac_exeext conftest.
$ac_ext
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24183 $as_echo "$gcc_cv_math_func_yn" >&6; }
24184 if test $gcc_cv_math_func_yn = yes; then
24186 cat >>confdefs.h
<<_ACEOF
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24196 $as_echo_n "checking for ynl... " >&6; }
24197 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24198 $as_echo_n "(cached) " >&6
24200 if test x
$gcc_no_link = xyes
; then
24201 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24204 /* end confdefs.h. */
24206 #ifdef HAVE_COMPLEX_H
24207 #include <complex.h>
24213 int (*ptr)() = (int (*)())ynl;
24222 if ac_fn_c_try_link
"$LINENO"; then :
24223 gcc_cv_math_func_ynl
=yes
24225 gcc_cv_math_func_ynl
=no
24227 rm -f core conftest.err conftest.
$ac_objext \
24228 conftest
$ac_exeext conftest.
$ac_ext
24230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24231 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24232 if test $gcc_cv_math_func_ynl = yes; then
24234 cat >>confdefs.h
<<_ACEOF
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24244 $as_echo_n "checking for tgamma... " >&6; }
24245 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24246 $as_echo_n "(cached) " >&6
24248 if test x
$gcc_no_link = xyes
; then
24249 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24252 /* end confdefs.h. */
24254 #ifdef HAVE_COMPLEX_H
24255 #include <complex.h>
24261 int (*ptr)() = (int (*)())tgamma;
24270 if ac_fn_c_try_link
"$LINENO"; then :
24271 gcc_cv_math_func_tgamma
=yes
24273 gcc_cv_math_func_tgamma
=no
24275 rm -f core conftest.err conftest.
$ac_objext \
24276 conftest
$ac_exeext conftest.
$ac_ext
24278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24279 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24280 if test $gcc_cv_math_func_tgamma = yes; then
24282 cat >>confdefs.h
<<_ACEOF
24283 #define HAVE_TGAMMA 1
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24292 $as_echo_n "checking for tgammaf... " >&6; }
24293 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24294 $as_echo_n "(cached) " >&6
24296 if test x
$gcc_no_link = xyes
; then
24297 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24300 /* end confdefs.h. */
24302 #ifdef HAVE_COMPLEX_H
24303 #include <complex.h>
24309 int (*ptr)() = (int (*)())tgammaf;
24318 if ac_fn_c_try_link
"$LINENO"; then :
24319 gcc_cv_math_func_tgammaf
=yes
24321 gcc_cv_math_func_tgammaf
=no
24323 rm -f core conftest.err conftest.
$ac_objext \
24324 conftest
$ac_exeext conftest.
$ac_ext
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24327 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24328 if test $gcc_cv_math_func_tgammaf = yes; then
24330 cat >>confdefs.h
<<_ACEOF
24331 #define HAVE_TGAMMAF 1
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24340 $as_echo_n "checking for lgamma... " >&6; }
24341 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24342 $as_echo_n "(cached) " >&6
24344 if test x
$gcc_no_link = xyes
; then
24345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24348 /* end confdefs.h. */
24350 #ifdef HAVE_COMPLEX_H
24351 #include <complex.h>
24357 int (*ptr)() = (int (*)())lgamma;
24366 if ac_fn_c_try_link
"$LINENO"; then :
24367 gcc_cv_math_func_lgamma
=yes
24369 gcc_cv_math_func_lgamma
=no
24371 rm -f core conftest.err conftest.
$ac_objext \
24372 conftest
$ac_exeext conftest.
$ac_ext
24374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24375 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24376 if test $gcc_cv_math_func_lgamma = yes; then
24378 cat >>confdefs.h
<<_ACEOF
24379 #define HAVE_LGAMMA 1
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24388 $as_echo_n "checking for lgammaf... " >&6; }
24389 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24390 $as_echo_n "(cached) " >&6
24392 if test x
$gcc_no_link = xyes
; then
24393 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24396 /* end confdefs.h. */
24398 #ifdef HAVE_COMPLEX_H
24399 #include <complex.h>
24405 int (*ptr)() = (int (*)())lgammaf;
24414 if ac_fn_c_try_link
"$LINENO"; then :
24415 gcc_cv_math_func_lgammaf
=yes
24417 gcc_cv_math_func_lgammaf
=no
24419 rm -f core conftest.err conftest.
$ac_objext \
24420 conftest
$ac_exeext conftest.
$ac_ext
24422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24423 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24424 if test $gcc_cv_math_func_lgammaf = yes; then
24426 cat >>confdefs.h
<<_ACEOF
24427 #define HAVE_LGAMMAF 1
24433 # Check for GFORTRAN_C99_1.1 funcs
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24438 $as_echo_n "checking for cacos... " >&6; }
24439 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24440 $as_echo_n "(cached) " >&6
24442 if test x
$gcc_no_link = xyes
; then
24443 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24446 /* end confdefs.h. */
24448 #ifdef HAVE_COMPLEX_H
24449 #include <complex.h>
24455 int (*ptr)() = (int (*)())cacos;
24464 if ac_fn_c_try_link
"$LINENO"; then :
24465 gcc_cv_math_func_cacos
=yes
24467 gcc_cv_math_func_cacos
=no
24469 rm -f core conftest.err conftest.
$ac_objext \
24470 conftest
$ac_exeext conftest.
$ac_ext
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24473 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24474 if test $gcc_cv_math_func_cacos = yes; then
24476 cat >>confdefs.h
<<_ACEOF
24477 #define HAVE_CACOS 1
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24486 $as_echo_n "checking for cacosf... " >&6; }
24487 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24488 $as_echo_n "(cached) " >&6
24490 if test x
$gcc_no_link = xyes
; then
24491 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24494 /* end confdefs.h. */
24496 #ifdef HAVE_COMPLEX_H
24497 #include <complex.h>
24503 int (*ptr)() = (int (*)())cacosf;
24512 if ac_fn_c_try_link
"$LINENO"; then :
24513 gcc_cv_math_func_cacosf
=yes
24515 gcc_cv_math_func_cacosf
=no
24517 rm -f core conftest.err conftest.
$ac_objext \
24518 conftest
$ac_exeext conftest.
$ac_ext
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24521 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24522 if test $gcc_cv_math_func_cacosf = yes; then
24524 cat >>confdefs.h
<<_ACEOF
24525 #define HAVE_CACOSF 1
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24534 $as_echo_n "checking for cacosh... " >&6; }
24535 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24536 $as_echo_n "(cached) " >&6
24538 if test x
$gcc_no_link = xyes
; then
24539 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24542 /* end confdefs.h. */
24544 #ifdef HAVE_COMPLEX_H
24545 #include <complex.h>
24551 int (*ptr)() = (int (*)())cacosh;
24560 if ac_fn_c_try_link
"$LINENO"; then :
24561 gcc_cv_math_func_cacosh
=yes
24563 gcc_cv_math_func_cacosh
=no
24565 rm -f core conftest.err conftest.
$ac_objext \
24566 conftest
$ac_exeext conftest.
$ac_ext
24568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24569 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24570 if test $gcc_cv_math_func_cacosh = yes; then
24572 cat >>confdefs.h
<<_ACEOF
24573 #define HAVE_CACOSH 1
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24582 $as_echo_n "checking for cacoshf... " >&6; }
24583 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24584 $as_echo_n "(cached) " >&6
24586 if test x
$gcc_no_link = xyes
; then
24587 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24590 /* end confdefs.h. */
24592 #ifdef HAVE_COMPLEX_H
24593 #include <complex.h>
24599 int (*ptr)() = (int (*)())cacoshf;
24608 if ac_fn_c_try_link
"$LINENO"; then :
24609 gcc_cv_math_func_cacoshf
=yes
24611 gcc_cv_math_func_cacoshf
=no
24613 rm -f core conftest.err conftest.
$ac_objext \
24614 conftest
$ac_exeext conftest.
$ac_ext
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24617 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24618 if test $gcc_cv_math_func_cacoshf = yes; then
24620 cat >>confdefs.h
<<_ACEOF
24621 #define HAVE_CACOSHF 1
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24630 $as_echo_n "checking for cacoshl... " >&6; }
24631 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24632 $as_echo_n "(cached) " >&6
24634 if test x
$gcc_no_link = xyes
; then
24635 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24638 /* end confdefs.h. */
24640 #ifdef HAVE_COMPLEX_H
24641 #include <complex.h>
24647 int (*ptr)() = (int (*)())cacoshl;
24656 if ac_fn_c_try_link
"$LINENO"; then :
24657 gcc_cv_math_func_cacoshl
=yes
24659 gcc_cv_math_func_cacoshl
=no
24661 rm -f core conftest.err conftest.
$ac_objext \
24662 conftest
$ac_exeext conftest.
$ac_ext
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24665 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24666 if test $gcc_cv_math_func_cacoshl = yes; then
24668 cat >>confdefs.h
<<_ACEOF
24669 #define HAVE_CACOSHL 1
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24678 $as_echo_n "checking for cacosl... " >&6; }
24679 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24680 $as_echo_n "(cached) " >&6
24682 if test x
$gcc_no_link = xyes
; then
24683 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24686 /* end confdefs.h. */
24688 #ifdef HAVE_COMPLEX_H
24689 #include <complex.h>
24695 int (*ptr)() = (int (*)())cacosl;
24704 if ac_fn_c_try_link
"$LINENO"; then :
24705 gcc_cv_math_func_cacosl
=yes
24707 gcc_cv_math_func_cacosl
=no
24709 rm -f core conftest.err conftest.
$ac_objext \
24710 conftest
$ac_exeext conftest.
$ac_ext
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24713 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24714 if test $gcc_cv_math_func_cacosl = yes; then
24716 cat >>confdefs.h
<<_ACEOF
24717 #define HAVE_CACOSL 1
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24726 $as_echo_n "checking for casin... " >&6; }
24727 if test "${gcc_cv_math_func_casin+set}" = set; then :
24728 $as_echo_n "(cached) " >&6
24730 if test x
$gcc_no_link = xyes
; then
24731 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24734 /* end confdefs.h. */
24736 #ifdef HAVE_COMPLEX_H
24737 #include <complex.h>
24743 int (*ptr)() = (int (*)())casin;
24752 if ac_fn_c_try_link
"$LINENO"; then :
24753 gcc_cv_math_func_casin
=yes
24755 gcc_cv_math_func_casin
=no
24757 rm -f core conftest.err conftest.
$ac_objext \
24758 conftest
$ac_exeext conftest.
$ac_ext
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24761 $as_echo "$gcc_cv_math_func_casin" >&6; }
24762 if test $gcc_cv_math_func_casin = yes; then
24764 cat >>confdefs.h
<<_ACEOF
24765 #define HAVE_CASIN 1
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24774 $as_echo_n "checking for casinf... " >&6; }
24775 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24776 $as_echo_n "(cached) " >&6
24778 if test x
$gcc_no_link = xyes
; then
24779 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24782 /* end confdefs.h. */
24784 #ifdef HAVE_COMPLEX_H
24785 #include <complex.h>
24791 int (*ptr)() = (int (*)())casinf;
24800 if ac_fn_c_try_link
"$LINENO"; then :
24801 gcc_cv_math_func_casinf
=yes
24803 gcc_cv_math_func_casinf
=no
24805 rm -f core conftest.err conftest.
$ac_objext \
24806 conftest
$ac_exeext conftest.
$ac_ext
24808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24809 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24810 if test $gcc_cv_math_func_casinf = yes; then
24812 cat >>confdefs.h
<<_ACEOF
24813 #define HAVE_CASINF 1
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24822 $as_echo_n "checking for casinh... " >&6; }
24823 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24824 $as_echo_n "(cached) " >&6
24826 if test x
$gcc_no_link = xyes
; then
24827 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24830 /* end confdefs.h. */
24832 #ifdef HAVE_COMPLEX_H
24833 #include <complex.h>
24839 int (*ptr)() = (int (*)())casinh;
24848 if ac_fn_c_try_link
"$LINENO"; then :
24849 gcc_cv_math_func_casinh
=yes
24851 gcc_cv_math_func_casinh
=no
24853 rm -f core conftest.err conftest.
$ac_objext \
24854 conftest
$ac_exeext conftest.
$ac_ext
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
24857 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24858 if test $gcc_cv_math_func_casinh = yes; then
24860 cat >>confdefs.h
<<_ACEOF
24861 #define HAVE_CASINH 1
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
24870 $as_echo_n "checking for casinhf... " >&6; }
24871 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
24872 $as_echo_n "(cached) " >&6
24874 if test x
$gcc_no_link = xyes
; then
24875 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24878 /* end confdefs.h. */
24880 #ifdef HAVE_COMPLEX_H
24881 #include <complex.h>
24887 int (*ptr)() = (int (*)())casinhf;
24896 if ac_fn_c_try_link
"$LINENO"; then :
24897 gcc_cv_math_func_casinhf
=yes
24899 gcc_cv_math_func_casinhf
=no
24901 rm -f core conftest.err conftest.
$ac_objext \
24902 conftest
$ac_exeext conftest.
$ac_ext
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
24905 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
24906 if test $gcc_cv_math_func_casinhf = yes; then
24908 cat >>confdefs.h
<<_ACEOF
24909 #define HAVE_CASINHF 1
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
24918 $as_echo_n "checking for casinhl... " >&6; }
24919 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
24920 $as_echo_n "(cached) " >&6
24922 if test x
$gcc_no_link = xyes
; then
24923 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24926 /* end confdefs.h. */
24928 #ifdef HAVE_COMPLEX_H
24929 #include <complex.h>
24935 int (*ptr)() = (int (*)())casinhl;
24944 if ac_fn_c_try_link
"$LINENO"; then :
24945 gcc_cv_math_func_casinhl
=yes
24947 gcc_cv_math_func_casinhl
=no
24949 rm -f core conftest.err conftest.
$ac_objext \
24950 conftest
$ac_exeext conftest.
$ac_ext
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
24953 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
24954 if test $gcc_cv_math_func_casinhl = yes; then
24956 cat >>confdefs.h
<<_ACEOF
24957 #define HAVE_CASINHL 1
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
24966 $as_echo_n "checking for casinl... " >&6; }
24967 if test "${gcc_cv_math_func_casinl+set}" = set; then :
24968 $as_echo_n "(cached) " >&6
24970 if test x
$gcc_no_link = xyes
; then
24971 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24974 /* end confdefs.h. */
24976 #ifdef HAVE_COMPLEX_H
24977 #include <complex.h>
24983 int (*ptr)() = (int (*)())casinl;
24992 if ac_fn_c_try_link
"$LINENO"; then :
24993 gcc_cv_math_func_casinl
=yes
24995 gcc_cv_math_func_casinl
=no
24997 rm -f core conftest.err conftest.
$ac_objext \
24998 conftest
$ac_exeext conftest.
$ac_ext
25000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25001 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25002 if test $gcc_cv_math_func_casinl = yes; then
25004 cat >>confdefs.h
<<_ACEOF
25005 #define HAVE_CASINL 1
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25014 $as_echo_n "checking for catan... " >&6; }
25015 if test "${gcc_cv_math_func_catan+set}" = set; then :
25016 $as_echo_n "(cached) " >&6
25018 if test x
$gcc_no_link = xyes
; then
25019 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25022 /* end confdefs.h. */
25024 #ifdef HAVE_COMPLEX_H
25025 #include <complex.h>
25031 int (*ptr)() = (int (*)())catan;
25040 if ac_fn_c_try_link
"$LINENO"; then :
25041 gcc_cv_math_func_catan
=yes
25043 gcc_cv_math_func_catan
=no
25045 rm -f core conftest.err conftest.
$ac_objext \
25046 conftest
$ac_exeext conftest.
$ac_ext
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25049 $as_echo "$gcc_cv_math_func_catan" >&6; }
25050 if test $gcc_cv_math_func_catan = yes; then
25052 cat >>confdefs.h
<<_ACEOF
25053 #define HAVE_CATAN 1
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25062 $as_echo_n "checking for catanf... " >&6; }
25063 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25064 $as_echo_n "(cached) " >&6
25066 if test x
$gcc_no_link = xyes
; then
25067 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25070 /* end confdefs.h. */
25072 #ifdef HAVE_COMPLEX_H
25073 #include <complex.h>
25079 int (*ptr)() = (int (*)())catanf;
25088 if ac_fn_c_try_link
"$LINENO"; then :
25089 gcc_cv_math_func_catanf
=yes
25091 gcc_cv_math_func_catanf
=no
25093 rm -f core conftest.err conftest.
$ac_objext \
25094 conftest
$ac_exeext conftest.
$ac_ext
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25097 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25098 if test $gcc_cv_math_func_catanf = yes; then
25100 cat >>confdefs.h
<<_ACEOF
25101 #define HAVE_CATANF 1
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25110 $as_echo_n "checking for catanh... " >&6; }
25111 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25112 $as_echo_n "(cached) " >&6
25114 if test x
$gcc_no_link = xyes
; then
25115 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25118 /* end confdefs.h. */
25120 #ifdef HAVE_COMPLEX_H
25121 #include <complex.h>
25127 int (*ptr)() = (int (*)())catanh;
25136 if ac_fn_c_try_link
"$LINENO"; then :
25137 gcc_cv_math_func_catanh
=yes
25139 gcc_cv_math_func_catanh
=no
25141 rm -f core conftest.err conftest.
$ac_objext \
25142 conftest
$ac_exeext conftest.
$ac_ext
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25145 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25146 if test $gcc_cv_math_func_catanh = yes; then
25148 cat >>confdefs.h
<<_ACEOF
25149 #define HAVE_CATANH 1
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25158 $as_echo_n "checking for catanhf... " >&6; }
25159 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25160 $as_echo_n "(cached) " >&6
25162 if test x
$gcc_no_link = xyes
; then
25163 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25166 /* end confdefs.h. */
25168 #ifdef HAVE_COMPLEX_H
25169 #include <complex.h>
25175 int (*ptr)() = (int (*)())catanhf;
25184 if ac_fn_c_try_link
"$LINENO"; then :
25185 gcc_cv_math_func_catanhf
=yes
25187 gcc_cv_math_func_catanhf
=no
25189 rm -f core conftest.err conftest.
$ac_objext \
25190 conftest
$ac_exeext conftest.
$ac_ext
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25193 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25194 if test $gcc_cv_math_func_catanhf = yes; then
25196 cat >>confdefs.h
<<_ACEOF
25197 #define HAVE_CATANHF 1
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25206 $as_echo_n "checking for catanhl... " >&6; }
25207 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25208 $as_echo_n "(cached) " >&6
25210 if test x
$gcc_no_link = xyes
; then
25211 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25214 /* end confdefs.h. */
25216 #ifdef HAVE_COMPLEX_H
25217 #include <complex.h>
25223 int (*ptr)() = (int (*)())catanhl;
25232 if ac_fn_c_try_link
"$LINENO"; then :
25233 gcc_cv_math_func_catanhl
=yes
25235 gcc_cv_math_func_catanhl
=no
25237 rm -f core conftest.err conftest.
$ac_objext \
25238 conftest
$ac_exeext conftest.
$ac_ext
25240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25241 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25242 if test $gcc_cv_math_func_catanhl = yes; then
25244 cat >>confdefs.h
<<_ACEOF
25245 #define HAVE_CATANHL 1
25253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25254 $as_echo_n "checking for catanl... " >&6; }
25255 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25256 $as_echo_n "(cached) " >&6
25258 if test x
$gcc_no_link = xyes
; then
25259 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25262 /* end confdefs.h. */
25264 #ifdef HAVE_COMPLEX_H
25265 #include <complex.h>
25271 int (*ptr)() = (int (*)())catanl;
25280 if ac_fn_c_try_link
"$LINENO"; then :
25281 gcc_cv_math_func_catanl
=yes
25283 gcc_cv_math_func_catanl
=no
25285 rm -f core conftest.err conftest.
$ac_objext \
25286 conftest
$ac_exeext conftest.
$ac_ext
25288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25289 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25290 if test $gcc_cv_math_func_catanl = yes; then
25292 cat >>confdefs.h
<<_ACEOF
25293 #define HAVE_CATANL 1
25299 # On AIX, clog is present in libm as __clog
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25301 $as_echo_n "checking for __clog in -lm... " >&6; }
25302 if test "${ac_cv_lib_m___clog+set}" = set; then :
25303 $as_echo_n "(cached) " >&6
25305 ac_check_lib_save_LIBS
=$LIBS
25307 if test x
$gcc_no_link = xyes
; then
25308 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25311 /* end confdefs.h. */
25313 /* Override any GCC internal prototype to avoid an error.
25314 Use char because int might match the return type of a GCC
25315 builtin and then its argument prototype would still apply. */
25328 if ac_fn_c_try_link
"$LINENO"; then :
25329 ac_cv_lib_m___clog
=yes
25331 ac_cv_lib_m___clog
=no
25333 rm -f core conftest.err conftest.
$ac_objext \
25334 conftest
$ac_exeext conftest.
$ac_ext
25335 LIBS
=$ac_check_lib_save_LIBS
25337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25338 $as_echo "$ac_cv_lib_m___clog" >&6; }
25339 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25341 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25346 # Check whether the system has a working stat()
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25349 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25350 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25351 $as_echo_n "(cached) " >&6
25354 if test "$cross_compiling" = yes; then :
25356 case "${target}" in
25357 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25358 *) libgfor_cv_have_working_stat
=yes;;
25361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25362 /* end confdefs.h. */
25365 #include <sys/types.h>
25366 #include <sys/stat.h>
25367 #include <unistd.h>
25372 struct stat st1, st2;
25374 f = fopen ("foo", "w");
25375 g = fopen ("bar", "w");
25376 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25378 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25385 if ac_fn_c_try_run
"$LINENO"; then :
25386 libgfor_cv_have_working_stat
=yes
25388 libgfor_cv_have_working_stat
=no
25390 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25391 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25396 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25397 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25399 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25403 # Check whether __mingw_snprintf() is present
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25406 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25407 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25408 $as_echo_n "(cached) " >&6
25411 if test x
$gcc_no_link = xyes
; then
25412 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25415 /* end confdefs.h. */
25418 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25424 __mingw_snprintf (NULL, 0, "%d\n", 1);
25430 if ac_fn_c_try_link
"$LINENO"; then :
25431 eval "libgfor_cv_have_mingw_snprintf=yes"
25433 eval "libgfor_cv_have_mingw_snprintf=no"
25435 rm -f core conftest.err conftest.
$ac_objext \
25436 conftest
$ac_exeext conftest.
$ac_ext
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25440 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25441 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25443 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25448 # Check whether libquadmath should be used
25449 # Check whether --enable-libquadmath-support was given.
25450 if test "${enable_libquadmath_support+set}" = set; then :
25451 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25453 ENABLE_LIBQUADMATH_SUPPORT
=yes
25456 enable_libquadmath_support
=
25457 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25458 enable_libquadmath_support
=no
25461 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25465 if test "x$enable_libquadmath_support" != xno
; then
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25468 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25469 if test "${libgfor_cv_have_float128+set}" = set; then :
25470 $as_echo_n "(cached) " >&6
25473 if test x
$gcc_no_link = xyes
; then
25474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25475 /* end confdefs.h. */
25477 typedef _Complex float __attribute__((mode(TC))) __complex128;
25479 __float128 foo (__float128 x)
25482 __complex128 z1, z2;
25488 return (__float128) z2;
25491 __float128 bar (__float128 x)
25493 return x * __builtin_huge_valq ();
25507 if ac_fn_c_try_compile
"$LINENO"; then :
25509 libgfor_cv_have_float128
=yes
25513 libgfor_cv_have_float128
=no
25516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25518 if test x
$gcc_no_link = xyes
; then
25519 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25522 /* end confdefs.h. */
25524 typedef _Complex float __attribute__((mode(TC))) __complex128;
25526 __float128 foo (__float128 x)
25529 __complex128 z1, z2;
25535 return (__float128) z2;
25538 __float128 bar (__float128 x)
25540 return x * __builtin_huge_valq ();
25554 if ac_fn_c_try_link
"$LINENO"; then :
25556 libgfor_cv_have_float128
=yes
25560 libgfor_cv_have_float128
=no
25563 rm -f core conftest.err conftest.
$ac_objext \
25564 conftest
$ac_exeext conftest.
$ac_ext
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25568 $as_echo "$libgfor_cv_have_float128" >&6; }
25570 if test "x$libgfor_cv_have_float128" = xyes
; then
25572 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25575 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25577 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25578 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25579 $as_echo_n "(cached) " >&6
25582 # Test for native Solaris options first.
25583 # No whitespace after -z to pass it through -Wl.
25584 libgfor_cv_as_needed_option
="-zignore"
25585 libgfor_cv_no_as_needed_option
="-zrecord"
25586 save_LDFLAGS
="$LDFLAGS"
25587 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25588 libgfor_cv_have_as_needed
=no
25590 ac_c_werror_flag
=yes
25591 if test x
$gcc_no_link = xyes
; then
25592 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25595 /* end confdefs.h. */
25605 if ac_fn_c_try_link
"$LINENO"; then :
25606 libgfor_cv_have_as_needed
=yes
25608 libgfor_cv_have_as_needed
=no
25610 rm -f core conftest.err conftest.
$ac_objext \
25611 conftest
$ac_exeext conftest.
$ac_ext
25612 LDFLAGS
="$save_LDFLAGS"
25613 if test "x$libgfor_cv_have_as_needed" = xno
; then
25614 libgfor_cv_as_needed_option
="--as-needed"
25615 libgfor_cv_no_as_needed_option
="--no-as-needed"
25616 save_LDFLAGS
="$LDFLAGS"
25617 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25618 libgfor_cv_have_as_needed
=no
25620 ac_c_werror_flag
=yes
25621 if test x
$gcc_no_link = xyes
; then
25622 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25625 /* end confdefs.h. */
25635 if ac_fn_c_try_link
"$LINENO"; then :
25636 libgfor_cv_have_as_needed
=yes
25638 libgfor_cv_have_as_needed
=no
25640 rm -f core conftest.err conftest.
$ac_objext \
25641 conftest
$ac_exeext conftest.
$ac_ext
25642 LDFLAGS
="$save_LDFLAGS"
25644 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25648 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25650 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25651 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25653 LIBQUADSPEC
="-lquadmath"
25655 if test -f ..
/libquadmath
/libquadmath.la
; then
25656 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25657 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25658 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25660 LIBQUADLIB
="-lquadmath"
25666 # for --disable-quadmath
25677 if test "x$libgfor_cv_have_float128" = xyes
; then
25678 LIBGFOR_BUILD_QUAD_TRUE
=
25679 LIBGFOR_BUILD_QUAD_FALSE
='#'
25681 LIBGFOR_BUILD_QUAD_TRUE
='#'
25682 LIBGFOR_BUILD_QUAD_FALSE
=
25687 # Check for GNU libc feenableexcept
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25689 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25690 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25691 $as_echo_n "(cached) " >&6
25693 ac_check_lib_save_LIBS
=$LIBS
25695 if test x
$gcc_no_link = xyes
; then
25696 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25699 /* end confdefs.h. */
25701 /* Override any GCC internal prototype to avoid an error.
25702 Use char because int might match the return type of a GCC
25703 builtin and then its argument prototype would still apply. */
25707 char feenableexcept ();
25711 return feenableexcept ();
25716 if ac_fn_c_try_link
"$LINENO"; then :
25717 ac_cv_lib_m_feenableexcept
=yes
25719 ac_cv_lib_m_feenableexcept
=no
25721 rm -f core conftest.err conftest.
$ac_objext \
25722 conftest
$ac_exeext conftest.
$ac_ext
25723 LIBS
=$ac_check_lib_save_LIBS
25725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25726 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25727 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25728 have_feenableexcept
=yes
25729 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25734 # At least for glibc, clock_gettime is in librt. But don't
25735 # pull that in if it still doesn't give us the function we want. This
25736 # test is copied from libgomp, and modified to not link in -lrt as
25737 # libgfortran calls clock_gettime via a weak reference if it's found
25739 if test "$ac_cv_func_clock_gettime" = no
; then
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25741 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25742 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25743 $as_echo_n "(cached) " >&6
25745 ac_check_lib_save_LIBS
=$LIBS
25747 if test x
$gcc_no_link = xyes
; then
25748 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25751 /* end confdefs.h. */
25753 /* Override any GCC internal prototype to avoid an error.
25754 Use char because int might match the return type of a GCC
25755 builtin and then its argument prototype would still apply. */
25759 char clock_gettime ();
25763 return clock_gettime ();
25768 if ac_fn_c_try_link
"$LINENO"; then :
25769 ac_cv_lib_rt_clock_gettime
=yes
25771 ac_cv_lib_rt_clock_gettime
=no
25773 rm -f core conftest.err conftest.
$ac_objext \
25774 conftest
$ac_exeext conftest.
$ac_ext
25775 LIBS
=$ac_check_lib_save_LIBS
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25778 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25779 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25781 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25787 # Check for SysV fpsetmask
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25790 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25791 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25792 $as_echo_n "(cached) " >&6
25795 if test x
$gcc_no_link = xyes
; then
25796 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25799 /* end confdefs.h. */
25801 #if HAVE_FLOATINGPOINT_H
25802 # include <floatingpoint.h>
25803 #endif /* HAVE_FLOATINGPOINT_H */
25805 # include <ieeefp.h>
25806 #endif /* HAVE_IEEEFP_H */
25815 if ac_fn_c_try_link
"$LINENO"; then :
25816 eval "libgfor_cv_have_fpsetmask=yes"
25818 eval "libgfor_cv_have_fpsetmask=no"
25820 rm -f core conftest.err conftest.
$ac_objext \
25821 conftest
$ac_exeext conftest.
$ac_ext
25824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25825 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25826 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25829 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25833 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
25834 #ifdef HAVE_IEEEFP_H
25835 #include <ieeefp.h>
25840 if test "x$ac_cv_type_fp_except" = x
""yes; then :
25842 cat >>confdefs.h
<<_ACEOF
25843 #define HAVE_FP_EXCEPT 1
25848 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
25849 #ifdef HAVE_IEEEFP_H
25850 #include <ieeefp.h>
25855 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
25857 cat >>confdefs.h
<<_ACEOF
25858 #define HAVE_FP_EXCEPT_T 1
25864 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
25865 #ifdef HAVE_IEEEFP_H
25866 #include <ieeefp.h>
25871 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
25873 cat >>confdefs.h
<<_ACEOF
25874 #define HAVE_FP_RND 1
25879 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
25880 #ifdef HAVE_IEEEFP_H
25881 #include <ieeefp.h>
25886 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
25888 cat >>confdefs.h
<<_ACEOF
25889 #define HAVE_FP_RND_T 1
25896 # Check whether we have fpsetsticky or fpresetsticky
25897 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
25898 if test "x$ac_cv_func_fpsetsticky" = x
""yes; then :
25899 have_fpsetsticky
=yes
25900 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
25904 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
25905 if test "x$ac_cv_func_fpresetsticky" = x
""yes; then :
25906 have_fpresetsticky
=yes
25907 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
25912 # Check for AIX fp_trap and fp_enable
25913 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25914 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25916 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25920 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25921 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25923 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25928 # Check if _SOFT_FLOAT is defined
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
25931 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
25932 if test "${ac_cv_defined__SOFT_FLOAT+set}" = set; then :
25933 $as_echo_n "(cached) " >&6
25935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25936 /* end confdefs.h. */
25952 if ac_fn_c_try_compile
"$LINENO"; then :
25953 ac_cv_defined__SOFT_FLOAT
=yes
25955 ac_cv_defined__SOFT_FLOAT
=no
25957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
25960 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
25961 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
25962 have_soft_float
=yes
25965 # Runs configure.host to set up necessary host-dependent shell variables.
25966 # We then display a message about it, and propagate them through the
25968 .
${srcdir}/configure.
host
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25970 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25971 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
25972 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
25973 FPU_HOST_HEADER
=config
/${fpu_host}.h
25976 # Whether we will build the IEEE modules
25977 if test x
${ieee_support} = xyes
; then
25979 IEEE_SUPPORT_FALSE
='#'
25981 IEEE_SUPPORT_TRUE
='#'
25982 IEEE_SUPPORT_FALSE
=
25987 # Some targets require additional compiler options for IEEE compatibility.
25988 IEEE_FLAGS
="${ieee_flags}"
25992 # Check for POSIX getpwuid_r
25994 # There are two versions of getpwuid_r, the POSIX one with 5
25995 # arguments, and another one with 4 arguments used by at least HP-UX
25997 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25999 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26000 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26001 $as_echo_n "(cached) " >&6
26004 if test x
$gcc_no_link = xyes
; then
26005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26008 /* end confdefs.h. */
26011 #include <sys/types.h>
26017 getpwuid_r(0, NULL, NULL, 0, NULL);
26023 if ac_fn_c_try_link
"$LINENO"; then :
26024 libgfor_cv_posix_getpwuid_r
="yes"
26026 libgfor_cv_posix_getpwuid_r
="no"
26028 rm -f core conftest.err conftest.
$ac_objext \
26029 conftest
$ac_exeext conftest.
$ac_ext
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26032 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26034 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26036 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26041 # Check out attribute support.
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26044 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26045 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26046 $as_echo_n "(cached) " >&6
26049 save_CFLAGS
="$CFLAGS"
26050 CFLAGS
="$CFLAGS -Werror"
26051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26052 /* end confdefs.h. */
26053 void __attribute__((visibility("hidden"))) foo(void) { }
26062 if ac_fn_c_try_compile
"$LINENO"; then :
26063 libgfor_cv_have_attribute_visibility
=yes
26065 libgfor_cv_have_attribute_visibility
=no
26067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26068 CFLAGS
="$save_CFLAGS"
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26071 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26072 if test $libgfor_cv_have_attribute_visibility = yes; then
26074 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26079 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26080 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26081 $as_echo_n "(cached) " >&6
26084 if test x
$gcc_no_link = xyes
; then
26085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26088 /* end confdefs.h. */
26091 extern void bar(void) __attribute__((alias("foo")));
26100 if ac_fn_c_try_link
"$LINENO"; then :
26101 libgfor_cv_have_attribute_alias
=yes
26103 libgfor_cv_have_attribute_alias
=no
26105 rm -f core conftest.err conftest.
$ac_objext \
26106 conftest
$ac_exeext conftest.
$ac_ext
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26109 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26110 if test $libgfor_cv_have_attribute_alias = yes; then
26112 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26116 # Check out sync builtins support.
26118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26119 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26120 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26121 $as_echo_n "(cached) " >&6
26124 if test x
$gcc_no_link = xyes
; then
26125 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26128 /* end confdefs.h. */
26134 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26135 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26140 if ac_fn_c_try_link
"$LINENO"; then :
26141 libgfor_cv_have_sync_fetch_and_add
=yes
26143 libgfor_cv_have_sync_fetch_and_add
=no
26145 rm -f core conftest.err conftest.
$ac_objext \
26146 conftest
$ac_exeext conftest.
$ac_ext
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26149 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26150 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26152 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26156 # Check out #pragma weak.
26158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26159 $as_echo_n "checking whether pragma weak works... " >&6; }
26160 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26161 $as_echo_n "(cached) " >&6
26164 gfor_save_CFLAGS
="$CFLAGS"
26165 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26167 /* end confdefs.h. */
26180 if ac_fn_c_try_compile
"$LINENO"; then :
26181 libgfor_cv_have_pragma_weak
=yes
26183 libgfor_cv_have_pragma_weak
=no
26185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26188 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26189 if test $libgfor_cv_have_pragma_weak = yes; then
26191 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26195 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26197 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26202 # Check out weakref support.
26204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26205 $as_echo_n "checking whether the target supports weakref... " >&6; }
26206 if test "${libgfor_cv_have_weakref+set}" = set; then :
26207 $as_echo_n "(cached) " >&6
26210 save_CFLAGS
="$CFLAGS"
26211 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26212 if test x
$gcc_no_link = xyes
; then
26213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26216 /* end confdefs.h. */
26218 static int mytoto (int) __attribute__((__weakref__("toto")));
26223 return (mytoto != 0);
26228 if ac_fn_c_try_link
"$LINENO"; then :
26229 libgfor_cv_have_weakref
=yes
26231 libgfor_cv_have_weakref
=no
26233 rm -f core conftest.err conftest.
$ac_objext \
26234 conftest
$ac_exeext conftest.
$ac_ext
26235 CFLAGS
="$save_CFLAGS"
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26238 $as_echo "$libgfor_cv_have_weakref" >&6; }
26239 if test $libgfor_cv_have_weakref = yes; then
26241 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26245 # Various other checks on target
26247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26248 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26249 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26250 $as_echo_n "(cached) " >&6
26253 if test "$cross_compiling" = yes; then :
26255 case "${target}" in
26256 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26257 *) libgfor_cv_have_unlink_open_file
=yes;;
26260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26261 /* end confdefs.h. */
26265 #include <unistd.h>
26266 #include <sys/stat.h>
26272 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26275 if (unlink ("testfile") == -1)
26277 write (fd, "This is a test\n", 15);
26280 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26286 if ac_fn_c_try_run
"$LINENO"; then :
26287 libgfor_cv_have_unlink_open_file
=yes
26289 libgfor_cv_have_unlink_open_file
=no
26291 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26292 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26297 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26298 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26300 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26304 # Check whether line terminator is LF or CRLF
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26307 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26308 if test "${libgfor_cv_have_crlf+set}" = set; then :
26309 $as_echo_n "(cached) " >&6
26312 if test "$cross_compiling" = yes; then :
26314 case "${target}" in
26315 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26316 *) libgfor_cv_have_crlf
=no
;;
26319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26320 /* end confdefs.h. */
26322 /* This test program should exit with status 0 if system uses a CRLF as
26323 line terminator, and status 1 otherwise.
26324 Since it is used to check for mingw systems, and should return 0 in any
26325 other case, in case of a failure we will not use CRLF. */
26326 #include <sys/stat.h>
26327 #include <stdlib.h>
26339 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26342 if (write (fd, "\n", 1) < 0)
26347 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26349 bytes = read (fd, buff, 5);
26350 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26357 if ac_fn_c_try_run
"$LINENO"; then :
26358 libgfor_cv_have_crlf
=yes
26360 libgfor_cv_have_crlf
=no
26362 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26363 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26368 $as_echo "$libgfor_cv_have_crlf" >&6; }
26369 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26371 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26375 # Check whether we support AVX extensions
26377 ac_save_CFLAGS
="$CFLAGS"
26379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h. */
26382 void _mm256_zeroall (void)
26384 __builtin_ia32_vzeroall ();
26394 if ac_fn_c_try_compile
"$LINENO"; then :
26396 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26400 CFLAGS
="$ac_save_CFLAGS"
26403 # Check wether we support AVX2 extensions
26405 ac_save_CFLAGS
="$CFLAGS"
26406 CFLAGS
="-O2 -mavx2"
26407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26408 /* end confdefs.h. */
26410 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26412 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26414 return __builtin_ia32_andnotsi256 (__X, __Y);
26424 if ac_fn_c_try_compile
"$LINENO"; then :
26426 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26430 CFLAGS
="$ac_save_CFLAGS"
26433 # Check wether we support AVX512f extensions
26435 ac_save_CFLAGS
="$CFLAGS"
26436 CFLAGS
="-O2 -mavx512f"
26437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26438 /* end confdefs.h. */
26440 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26441 __m512d _mm512_add (__m512d a)
26443 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26444 /* For -m64/-mx32 also verify that code will work even if
26445 the target uses call saved zmm16+ and needs to emit
26446 unwind info for them (e.g. on mingw). See PR79127. */
26448 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26460 if ac_fn_c_try_compile
"$LINENO"; then :
26462 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26466 CFLAGS
="$ac_save_CFLAGS"
26469 # Check for FMA3 extensions
26471 ac_save_CFLAGS
="$CFLAGS"
26472 CFLAGS
="-O2 -mfma -mno-fma4"
26473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26474 /* end confdefs.h. */
26476 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26477 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26478 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26480 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26492 if ac_fn_c_try_compile
"$LINENO"; then :
26494 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26498 CFLAGS
="$ac_save_CFLAGS"
26501 # Check for FMA4 extensions
26503 ac_save_CFLAGS
="$CFLAGS"
26504 CFLAGS
="-O2 -mfma4 -mno-fma"
26505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26506 /* end confdefs.h. */
26508 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26509 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26510 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26512 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26524 if ac_fn_c_try_compile
"$LINENO"; then :
26526 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26530 CFLAGS
="$ac_save_CFLAGS"
26533 # Check if AVX128 works
26535 ac_save_CFLAGS
="$CFLAGS"
26536 CFLAGS
="-O2 -mavx -mprefer-avx128"
26537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26538 /* end confdefs.h. */
26551 if ac_fn_c_try_compile
"$LINENO"; then :
26553 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26557 HAVE_AVX128_FALSE
='#'
26559 HAVE_AVX128_TRUE
='#'
26566 HAVE_AVX128_FALSE
='#'
26568 HAVE_AVX128_TRUE
='#'
26573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26574 CFLAGS
="$ac_save_CFLAGS"
26577 # Determine what GCC version number to use in filesystem paths.
26579 get_gcc_base_ver
="cat"
26581 # Check whether --with-gcc-major-version-only was given.
26582 if test "${with_gcc_major_version_only+set}" = set; then :
26583 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
26584 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
26592 cat >confcache
<<\_ACEOF
26593 # This file is a shell script that caches the results of configure
26594 # tests run on this system so they can be shared between configure
26595 # scripts and configure runs, see configure's option --config-cache.
26596 # It is not useful on other systems. If it contains results you don't
26597 # want to keep, you may remove or edit it.
26599 # config.status only pays attention to the cache file if you give it
26600 # the --recheck option to rerun configure.
26602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26604 # following values.
26608 # The following way of writing the cache mishandles newlines in values,
26609 # but we know of no workaround that is simple, portable, and efficient.
26610 # So, we kill variables containing newlines.
26611 # Ultrix sh set writes to stderr and can't be redirected directly,
26612 # and sets the high bit in the cache file unless we assign to the vars.
26614 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26615 eval ac_val
=\$
$ac_var
26619 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26620 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26623 _ | IFS | as_nl
) ;; #(
26624 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26625 *) { eval $ac_var=; unset $ac_var;} ;;
26631 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26632 *${as_nl}ac_space
=\
*)
26633 # `set' does not quote correctly, so add quotes: double-quote
26634 # substitution turns \\\\ into \\, and sed turns \\ into \.
26637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26640 # `set' quotes correctly as required by POSIX, so do not add quotes.
26641 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26650 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26652 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26654 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26655 if test -w "$cache_file"; then
26656 test "x$cache_file" != "x/dev/null" &&
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26658 $as_echo "$as_me: updating cache $cache_file" >&6;}
26659 cat confcache
>$cache_file
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26662 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26667 if test ${multilib} = yes; then
26668 multilib_arg
="--enable-multilib"
26673 # Write our Makefile and spec file.
26674 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26676 cat >confcache
<<\_ACEOF
26677 # This file is a shell script that caches the results of configure
26678 # tests run on this system so they can be shared between configure
26679 # scripts and configure runs, see configure's option --config-cache.
26680 # It is not useful on other systems. If it contains results you don't
26681 # want to keep, you may remove or edit it.
26683 # config.status only pays attention to the cache file if you give it
26684 # the --recheck option to rerun configure.
26686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26688 # following values.
26692 # The following way of writing the cache mishandles newlines in values,
26693 # but we know of no workaround that is simple, portable, and efficient.
26694 # So, we kill variables containing newlines.
26695 # Ultrix sh set writes to stderr and can't be redirected directly,
26696 # and sets the high bit in the cache file unless we assign to the vars.
26698 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26699 eval ac_val
=\$
$ac_var
26703 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26704 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26707 _ | IFS | as_nl
) ;; #(
26708 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26709 *) { eval $ac_var=; unset $ac_var;} ;;
26715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26716 *${as_nl}ac_space
=\
*)
26717 # `set' does not quote correctly, so add quotes: double-quote
26718 # substitution turns \\\\ into \\, and sed turns \\ into \.
26721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26724 # `set' quotes correctly as required by POSIX, so do not add quotes.
26725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26738 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26739 if test -w "$cache_file"; then
26740 test "x$cache_file" != "x/dev/null" &&
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26742 $as_echo "$as_me: updating cache $cache_file" >&6;}
26743 cat confcache
>$cache_file
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26746 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26751 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26752 # Let make expand exec_prefix.
26753 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26755 DEFS
=-DHAVE_CONFIG_H
26759 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26760 # 1. Remove the extension, and $U if already installed.
26761 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26762 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26763 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26764 # will be set to the directory where LIBOBJS objects are built.
26765 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26766 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26768 LIBOBJS
=$ac_libobjs
26770 LTLIBOBJS
=$ac_ltlibobjs
26773 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26774 as_fn_error
"conditional \"onestep\" was never defined.
26775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26777 if test -n "$EXEEXT"; then
26779 am__EXEEXT_FALSE
='#'
26781 am__EXEEXT_TRUE
='#'
26785 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26786 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26789 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26790 as_fn_error
"conditional \"AMDEP\" was never defined.
26791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26793 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26794 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26797 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26798 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26801 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26802 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26805 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26806 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26809 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26810 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26813 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
26814 as_fn_error
"conditional \"LIBGFOR_MINIMAL\" was never defined.
26815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26817 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
26818 as_fn_error
"conditional \"HAVE_HWCAP\" was never defined.
26819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26821 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26822 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26825 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26826 as_fn_error
"conditional \"IEEE_SUPPORT\" was never defined.
26827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26829 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
26830 as_fn_error
"conditional \"HAVE_AVX128\" was never defined.
26831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26833 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
26834 as_fn_error
"conditional \"HAVE_AVX128\" was never defined.
26835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26838 : ${CONFIG_STATUS=./config.status}
26840 ac_clean_files_save
=$ac_clean_files
26841 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26842 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26843 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26845 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26847 # Generated by $as_me.
26848 # Run this file to recreate the current configuration.
26849 # Compiler output produced by configure, useful for debugging
26850 # configure, is in config.log if it exists.
26853 ac_cs_recheck=false
26856 SHELL=\${CONFIG_SHELL-$SHELL}
26859 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26860 ## -------------------- ##
26861 ## M4sh Initialization. ##
26862 ## -------------------- ##
26864 # Be more Bourne compatible
26865 DUALCASE
=1; export DUALCASE
# for MKS sh
26866 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26869 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26870 # is contrary to our usage. Disable this feature.
26871 alias -g '${1+"$@"}'='"$@"'
26872 setopt NO_GLOB_SUBST
26874 case `(set -o) 2>/dev/null` in #(
26886 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26887 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26888 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26889 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26890 # Prefer a ksh shell builtin over an external printf program on Solaris,
26891 # but without wasting forks for bash or zsh.
26892 if test -z "$BASH_VERSION$ZSH_VERSION" \
26893 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26894 as_echo='print
-r --'
26895 as_echo_n='print
-rn --'
26896 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26897 as_echo='printf %s
\n'
26898 as_echo_n='printf %s
'
26900 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26901 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26902 as_echo_n='/usr
/ucb
/echo -n'
26904 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26905 as_echo_n_body='eval
26909 expr "X$arg" : "X\\(.*\\)$as_nl";
26910 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26912 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26914 export as_echo_n_body
26915 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26917 export as_echo_body
26918 as_echo='sh
-c $as_echo_body as_echo
'
26921 # The user is always right.
26922 if test "${PATH_SEPARATOR+set}" != set; then
26924 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26925 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26932 # We need space, tab and new line, in precisely that order. Quoting is
26933 # there to prevent editors from complaining about space-tab.
26934 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26935 # splitting by setting IFS to empty value.)
26938 # Find who we are. Look in the path if we contain no directory separator.
26940 *[\\/]* ) as_myself=$0 ;;
26941 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26942 for as_dir in $PATH
26945 test -z "$as_dir" && as_dir=.
26946 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26952 # We did not find ourselves, most probably we were run as `sh COMMAND'
26953 # in which case we are not to be found in the path.
26954 if test "x$as_myself" = x
; then
26957 if test ! -f "$as_myself"; then
26958 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26962 # Unset variables that we do not need and which cause bugs (e.g. in
26963 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26964 # suppresses any "Segmentation fault" message there. '((' could
26965 # trigger a bug in pdksh 5.2.14.
26966 for as_var
in BASH_ENV ENV MAIL MAILPATH
26967 do eval test x\
${$as_var+set} = xset \
26968 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26981 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26984 # as_fn_error ERROR [LINENO LOG_FD]
26985 # ---------------------------------
26986 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26987 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26988 # script with status $?, using 1 if that was 0.
26991 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26993 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26994 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26996 $as_echo "$as_me: error: $1" >&2
26997 as_fn_exit
$as_status
27001 # as_fn_set_status STATUS
27002 # -----------------------
27003 # Set $? to STATUS, without forking.
27004 as_fn_set_status
()
27007 } # as_fn_set_status
27009 # as_fn_exit STATUS
27010 # -----------------
27011 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27015 as_fn_set_status
$1
27021 # Portably unset VAR.
27024 { eval $1=; unset $1;}
27026 as_unset
=as_fn_unset
27027 # as_fn_append VAR VALUE
27028 # ----------------------
27029 # Append the text in VALUE to the end of the definition contained in VAR. Take
27030 # advantage of any shell optimizations that allow amortized linear growth over
27031 # repeated appends, instead of the typical quadratic growth present in naive
27033 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27034 eval 'as_fn_append ()
27045 # as_fn_arith ARG...
27046 # ------------------
27047 # Perform arithmetic evaluation on the ARGs, and store the result in the
27048 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27049 # must be portable across $(()) and expr.
27050 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27051 eval 'as_fn_arith ()
27058 as_val
=`expr "$@" || test $? -eq 1`
27063 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27064 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27070 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27071 as_basename
=basename
27076 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27082 as_me
=`$as_basename -- "$0" ||
27083 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27084 X"$0" : 'X\(//\)$' \| \
27085 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27087 sed '/^.*\/\([^/][^/]*\)\/*$/{
27101 # Avoid depending upon Character Ranges.
27102 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27103 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27104 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27105 as_cr_digits
='0123456789'
27106 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27108 ECHO_C
= ECHO_N
= ECHO_T
=
27109 case `echo -n x` in #(((((
27111 case `echo 'xy\c'` in
27112 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27114 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27121 rm -f conf$$ conf$$.exe conf$$.
file
27122 if test -d conf$$.dir
; then
27123 rm -f conf$$.dir
/conf$$.
file
27126 mkdir conf$$.dir
2>/dev
/null
27128 if (echo >conf$$.
file) 2>/dev
/null
; then
27129 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27131 # ... but there are two gotchas:
27132 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27133 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27134 # In both cases, we have to default to `cp -p'.
27135 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27137 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27145 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27146 rmdir conf$$.dir
2>/dev
/null
27151 # Create "$as_dir" as a directory, including parents if necessary.
27156 -*) as_dir
=.
/$as_dir;;
27158 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27162 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27163 *) as_qdir
=$as_dir;;
27165 as_dirs
="'$as_qdir' $as_dirs"
27166 as_dir
=`$as_dirname -- "$as_dir" ||
27167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27168 X"$as_dir" : 'X\(//\)[^/]' \| \
27169 X"$as_dir" : 'X\(//\)$' \| \
27170 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27171 $as_echo X"$as_dir" |
27172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27176 /^X\(\/\/\)[^/].*/{
27189 test -d "$as_dir" && break
27191 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27192 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27196 if mkdir
-p .
2>/dev
/null
; then
27197 as_mkdir_p
='mkdir -p "$as_dir"'
27199 test -d .
/-p && rmdir .
/-p
27203 if test -x / >/dev
/null
2>&1; then
27204 as_test_x
='test -x'
27206 if ls -dL / >/dev
/null
2>&1; then
27213 if test -d "$1"; then
27219 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27220 ???[sx]*):;;*)false;;esac;fi
27224 as_executable_p
=$as_test_x
27226 # Sed expression to map a string onto a valid CPP name.
27227 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27229 # Sed expression to map a string onto a valid variable name.
27230 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27234 ## ----------------------------------- ##
27235 ## Main body of $CONFIG_STATUS script. ##
27236 ## ----------------------------------- ##
27238 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27241 # Save the log message, to keep $0 and so on meaningful, and to
27242 # report actual input values of CONFIG_FILES etc. instead of their
27243 # values after options handling.
27245 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27246 generated by GNU Autoconf 2.64. Invocation command line was
27248 CONFIG_FILES = $CONFIG_FILES
27249 CONFIG_HEADERS = $CONFIG_HEADERS
27250 CONFIG_LINKS = $CONFIG_LINKS
27251 CONFIG_COMMANDS = $CONFIG_COMMANDS
27254 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27259 case $ac_config_files in *"
27260 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27263 case $ac_config_headers in *"
27264 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27269 # Files that config.status was made for.
27270 config_files="$ac_config_files"
27271 config_headers="$ac_config_headers"
27272 config_commands="$ac_config_commands"
27276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27278 \`$as_me' instantiates files and other configuration actions
27279 from templates according to the current configuration. Unless the files
27280 and actions are specified as TAGs, all are instantiated by default.
27282 Usage: $0 [OPTION]... [TAG]...
27284 -h, --help print this help, then exit
27285 -V, --version print version number and configuration settings, then exit
27286 -q, --quiet, --silent
27287 do not print progress messages
27288 -d, --debug don't remove temporary files
27289 --recheck update $as_me by reconfiguring in the same conditions
27290 --file=FILE[:TEMPLATE]
27291 instantiate the configuration file FILE
27292 --header=FILE[:TEMPLATE]
27293 instantiate the configuration header FILE
27295 Configuration files:
27298 Configuration headers:
27301 Configuration commands:
27304 Report bugs to the package provider.
27305 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27306 General help using GNU software: <http://www.gnu.org/gethelp/>."
27309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27311 GNU Fortran Runtime Library config.status 0.3
27312 configured by $0, generated by GNU Autoconf 2.64,
27313 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27315 Copyright (C) 2009 Free Software Foundation, Inc.
27316 This config.status script is free software; the Free Software Foundation
27317 gives unlimited permission to copy, distribute and modify it."
27324 test -n "\$AWK" || AWK=awk
27327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27328 # The default lists apply if the user does not specify any file.
27334 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27335 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27346 # Handling of the options.
27347 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27349 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27350 $as_echo "$ac_cs_version"; exit ;;
27351 --debug |
--debu |
--deb |
--de |
--d |
-d )
27353 --file |
--fil |
--fi |
--f )
27356 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27358 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27359 ac_need_defaults
=false
;;
27360 --header |
--heade |
--head |
--hea )
27363 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27365 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27366 ac_need_defaults
=false
;;
27368 # Conflict between --help and --header
27369 as_fn_error
"ambiguous option: \`$1'
27370 Try \`$0 --help' for more information.";;
27371 --help |
--hel |
-h )
27372 $as_echo "$ac_cs_usage"; exit ;;
27373 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27374 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27377 # This is an error.
27378 -*) as_fn_error
"unrecognized option: \`$1'
27379 Try \`$0 --help' for more information." ;;
27381 *) as_fn_append ac_config_targets
" $1"
27382 ac_need_defaults
=false
;;
27388 ac_configure_extra_args
=
27390 if $ac_cs_silent; then
27392 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27397 if \$ac_cs_recheck; then
27398 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27400 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27401 CONFIG_SHELL='$SHELL'
27402 export CONFIG_SHELL
27407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27411 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27412 ## Running $as_me. ##
27418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27426 with_multisubdir="$with_multisubdir"
27427 with_multisrctop="$with_multisrctop"
27428 with_target_subdir="$with_target_subdir"
27429 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27430 multi_basedir="$multi_basedir"
27431 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27434 GFORTRAN="$GFORTRAN"
27435 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27438 # The HP-UX ksh and POSIX shell print the target directory to stdout
27439 # if CDPATH is set.
27440 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27442 sed_quote_subst='$sed_quote_subst'
27443 double_quote_subst='$double_quote_subst'
27444 delay_variable_subst='$delay_variable_subst'
27445 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27446 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27447 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27448 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27449 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27450 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27451 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27452 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27453 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27454 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27455 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27456 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27457 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27458 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27459 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27460 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27461 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27462 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27463 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27464 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27465 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27466 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27467 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27468 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27469 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27470 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27471 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27472 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27473 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27474 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27475 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27476 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27477 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27478 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27479 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27480 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27481 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27482 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27483 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27484 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27485 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27486 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27487 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27488 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27489 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27490 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27491 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27492 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27493 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"`'
27494 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27495 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27496 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27497 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27498 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27499 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27500 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27501 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27502 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27503 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27504 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27505 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27506 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27507 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27508 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27509 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27510 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27511 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27512 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27513 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27514 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27515 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27516 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27517 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27518 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27519 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27520 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27521 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27522 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27523 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27524 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27525 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27526 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27527 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27528 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27529 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27530 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27531 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27532 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27533 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27534 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27535 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27536 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27537 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27538 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27539 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27540 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27541 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27542 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27543 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27544 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27545 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27546 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27547 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27548 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27549 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27550 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27551 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27552 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27553 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27554 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27555 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27556 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27557 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27558 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27559 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27560 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27561 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27562 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27563 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27564 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27565 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27566 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27567 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27568 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27569 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27570 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27571 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27572 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27573 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27574 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27575 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27576 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27577 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27578 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27579 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27580 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27581 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27582 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27583 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27584 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27585 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27586 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27587 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27588 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27589 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27590 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27591 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27592 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27593 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27594 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27595 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27596 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27597 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27598 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27599 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27600 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27601 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27602 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27603 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27604 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27605 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27606 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27607 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27608 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27609 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27610 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27611 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27612 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27613 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27614 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27615 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27616 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27617 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27618 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27619 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27622 LTCFLAGS='$LTCFLAGS'
27623 compiler='$compiler_DEFAULT'
27625 # A function that is used when there is no print builtin or printf.
27626 func_fallback_echo ()
27628 eval 'cat <<_LTECHO_EOF
27633 # Quote evaled strings.
27647 deplibs_check_method \
27656 lt_cv_sys_global_symbol_pipe \
27657 lt_cv_sys_global_symbol_to_cdecl \
27658 lt_cv_sys_global_symbol_to_c_name_address \
27659 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27660 lt_prog_compiler_no_builtin_flag \
27661 lt_prog_compiler_wl \
27662 lt_prog_compiler_pic \
27663 lt_prog_compiler_static \
27664 lt_cv_prog_compiler_c_o \
27672 export_dynamic_flag_spec \
27673 whole_archive_flag_spec \
27674 compiler_needs_object \
27676 allow_undefined_flag \
27677 no_undefined_flag \
27678 hardcode_libdir_flag_spec \
27679 hardcode_libdir_flag_spec_ld \
27680 hardcode_libdir_separator \
27685 variables_saved_for_relink \
27687 library_names_spec \
27689 install_override_mode \
27693 compiler_lib_search_dirs \
27698 compiler_lib_search_path \
27702 lt_prog_compiler_no_builtin_flag_FC \
27703 lt_prog_compiler_wl_FC \
27704 lt_prog_compiler_pic_FC \
27705 lt_prog_compiler_static_FC \
27706 lt_cv_prog_compiler_c_o_FC \
27707 export_dynamic_flag_spec_FC \
27708 whole_archive_flag_spec_FC \
27709 compiler_needs_object_FC \
27711 allow_undefined_flag_FC \
27712 no_undefined_flag_FC \
27713 hardcode_libdir_flag_spec_FC \
27714 hardcode_libdir_flag_spec_ld_FC \
27715 hardcode_libdir_separator_FC \
27716 fix_srcfile_path_FC \
27717 exclude_expsyms_FC \
27718 include_expsyms_FC \
27719 file_list_spec_FC \
27720 compiler_lib_search_dirs_FC \
27721 predep_objects_FC \
27722 postdep_objects_FC \
27725 compiler_lib_search_path_FC; do
27726 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27727 *[\\\\\\\`\\"\\\$]*)
27728 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27731 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27736 # Double-quote double-evaled strings.
27737 for var in reload_cmds \
27738 old_postinstall_cmds \
27739 old_postuninstall_cmds \
27741 extract_expsyms_cmds \
27742 old_archive_from_new_cmds \
27743 old_archive_from_expsyms_cmds \
27745 archive_expsym_cmds \
27747 module_expsym_cmds \
27748 export_symbols_cmds \
27751 postuninstall_cmds \
27753 sys_lib_search_path_spec \
27754 sys_lib_dlsearch_path_spec \
27756 old_archive_cmds_FC \
27757 old_archive_from_new_cmds_FC \
27758 old_archive_from_expsyms_cmds_FC \
27760 archive_expsym_cmds_FC \
27762 module_expsym_cmds_FC \
27763 export_symbols_cmds_FC \
27764 prelink_cmds_FC; do
27765 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27766 *[\\\\\\\`\\"\\\$]*)
27767 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27770 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27775 ac_aux_dir='$ac_aux_dir'
27776 xsi_shell='$xsi_shell'
27777 lt_shell_append='$lt_shell_append'
27779 # See if we are running on zsh, and set the options which allow our
27780 # commands through without removal of \ escapes INIT.
27781 if test -n "\${ZSH_VERSION+set}" ; then
27782 setopt NO_GLOB_SUBST
27788 TIMESTAMP='$TIMESTAMP'
27799 acx_cv_header_stdint="$acx_cv_header_stdint"
27800 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27801 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27802 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27803 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27804 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27805 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27806 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27807 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27808 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27809 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27810 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27811 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27812 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27819 # Handling of arguments.
27820 for ac_config_target
in $ac_config_targets
27822 case $ac_config_target in
27823 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27824 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27825 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27826 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27827 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27828 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27829 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27831 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27836 # If the user did not use the arguments to specify the items to instantiate,
27837 # then the envvar interface is used. Set only those that are not.
27838 # We use the long form for the default assignment because of an extremely
27839 # bizarre bug on SunOS 4.1.3.
27840 if $ac_need_defaults; then
27841 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27842 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27843 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27846 # Have a temporary directory for convenience. Make it in the build tree
27847 # simply because there is no reason against having it here, and in addition,
27848 # creating and moving files from /tmp can sometimes cause problems.
27849 # Hook for its removal unless debugging.
27850 # Note that there is a small window in which the directory will not be cleaned:
27851 # after its creation but before its name has been assigned to `$tmp'.
27855 trap 'exit_status=$?
27856 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27858 trap 'as_fn_exit 1' 1 2 13 15
27860 # Create a (secure) tmp directory for tmp files.
27863 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27864 test -n "$tmp" && test -d "$tmp"
27867 tmp
=.
/conf$$
-$RANDOM
27868 (umask 077 && mkdir
"$tmp")
27869 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27871 # Set up the scripts for CONFIG_FILES section.
27872 # No need to generate them if there are no CONFIG_FILES.
27873 # This happens for instance with `./config.status config.h'.
27874 if test -n "$CONFIG_FILES"; then
27877 ac_cr
=`echo X | tr X '\015'`
27878 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27879 # But we know of no other shell where ac_cr would be empty at this
27880 # point, so we can use a bashism as a fallback.
27881 if test "x$ac_cr" = x
; then
27882 eval ac_cr
=\$
\'\\r
\'
27884 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27885 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27888 ac_cs_awk_cr
=$ac_cr
27891 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27896 echo "cat >conf$$subs.awk <<_ACEOF" &&
27897 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27899 } >conf$$subs.sh ||
27900 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27901 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27903 for ac_last_try in false false false false false :; do
27904 . ./conf$$subs.sh ||
27905 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27907 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27908 if test $ac_delim_n = $ac_delim_num; then
27910 elif $ac_last_try; then
27911 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27913 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27916 rm -f conf$$subs.sh
27918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27919 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27923 s/^/S["/; s
/!.
*/"]=/
27933 s/\(.\{148\}\).*/\1/
27935 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27940 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27947 s/\(.\{148\}\).*/\1/
27949 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27953 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27958 ' <conf$$subs.awk | sed '
27963 ' >>$CONFIG_STATUS || ac_write_fail=1
27964 rm -f conf$$subs.awk
27965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27967 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27968 for (key in S) S_is_set[key] = 1
27974 nfields = split(line, field, "@
")
27976 len = length(field[1])
27977 for (i = 2; i < nfields; i++) {
27979 keylen = length(key)
27980 if (S_is_set[key]) {
27982 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27983 len += length(value) + length(field[++i])
27994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27995 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27996 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27999 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
28000 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
28003 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28004 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
28005 # trailing colons and then remove the whole line if VPATH becomes empty
28006 # (actually we leave an empty line to preserve line numbers).
28007 if test "x
$srcdir" = x.; then
28008 ac_vpsub='/^[ ]*VPATH[ ]*=/{
28009 s/:*\$(srcdir):*/:/
28010 s/:*\${srcdir}:*/:/
28012 s/^\([^=]*=[ ]*\):*/\1/
28018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28019 fi # test -n "$CONFIG_FILES"
28021 # Set up the scripts for CONFIG_HEADERS section.
28022 # No need to generate them if there are no CONFIG_HEADERS.
28023 # This happens for instance with `./config.status Makefile'.
28024 if test -n "$CONFIG_HEADERS"; then
28025 cat >"$tmp/defines.
awk" <<\_ACAWK ||
28029 # Transform confdefs.h into an awk script `defines.awk', embedded as
28030 # here-document in config.status, that substitutes the proper values into
28031 # config.h.in to produce config.h.
28033 # Create a delimiter string that does not exist in confdefs.h, to ease
28034 # handling of long lines.
28036 for ac_last_try in false false :; do
28037 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
28038 if test -z "$ac_t"; then
28040 elif $ac_last_try; then
28041 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
28043 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28047 # For the awk script, D is an array of macro values keyed by name,
28048 # likewise P contains macro parameters if any. Preserve backslash
28049 # newline sequences.
28051 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28053 s/.\{148\}/&'"$ac_delim"'/g
28056 s/^[ ]*#[ ]*define[ ][ ]*/ /
28063 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28065 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28069 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28070 D["\
1"]=" \
3\\\\\\n
"\\/p
28072 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28077 s/.\{148\}/&'"$ac_delim"'/g
28082 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28085 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28087 ' <confdefs.h | sed '
28088 s/'"$ac_delim"'/"\\\
28089 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28092 for (key in D) D_is_set[key] = 1
28095 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28097 split(line, arg, " ")
28098 if (arg[1] == "#") {
28102 defundef
= substr
(arg
[1], 2)
28105 split(mac1
, mac2
, "(") #)
28107 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28108 if (D_is_set
[macro
]) {
28109 # Preserve the white space surrounding the "#".
28110 print prefix
"define", macro P
[macro
] D
[macro
]
28113 # Replace #undef with comments. This is necessary, for example,
28114 # in the case of _POSIX_SOURCE, which is predefined and required
28115 # on some systems where configure will not decide to define it.
28116 if (defundef
== "undef") {
28117 print
"/*", prefix defundef
, macro
, "*/"
28125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28126 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28127 fi # test -n "$CONFIG_HEADERS"
28130 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28135 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28137 case $ac_mode$ac_tag in
28139 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28140 :[FH
]-) ac_tag
=-:-;;
28141 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28158 -) ac_f
="$tmp/stdin";;
28159 *) # Look for the file first in the build tree, then in the source tree
28160 # (if the path is not absolute). The absolute path cannot be DOS-style,
28161 # because $ac_f cannot contain `:'.
28165 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28167 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28169 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28170 as_fn_append ac_file_inputs
" '$ac_f'"
28173 # Let's still pretend it is `configure' which instantiates (i.e., don't
28174 # use $as_me), people would be surprised to read:
28175 # /* config.h. Generated by config.status. */
28176 configure_input
='Generated from '`
28177 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28179 if test x
"$ac_file" != x-
; then
28180 configure_input
="$ac_file. $configure_input"
28181 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28182 $as_echo "$as_me: creating $ac_file" >&6;}
28184 # Neutralize special characters interpreted by sed in replacement strings.
28185 case $configure_input in #(
28186 *\
&* |
*\|
* |
*\\* )
28187 ac_sed_conf_input
=`$as_echo "$configure_input" |
28188 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28189 *) ac_sed_conf_input
=$configure_input;;
28193 *:-:* |
*:-) cat >"$tmp/stdin" \
28194 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28199 ac_dir
=`$as_dirname -- "$ac_file" ||
28200 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28201 X"$ac_file" : 'X\(//\)[^/]' \| \
28202 X"$ac_file" : 'X\(//\)$' \| \
28203 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28204 $as_echo X"$ac_file" |
28205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28209 /^X\(\/\/\)[^/].*/{
28222 as_dir
="$ac_dir"; as_fn_mkdir_p
28226 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28228 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28229 # A ".." for each directory in $ac_dir_suffix.
28230 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28231 case $ac_top_builddir_sub in
28232 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28233 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28236 ac_abs_top_builddir
=$ac_pwd
28237 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28238 # for backward compatibility:
28239 ac_top_builddir
=$ac_top_build_prefix
28242 .
) # We are building in place.
28244 ac_top_srcdir
=$ac_top_builddir_sub
28245 ac_abs_top_srcdir
=$ac_pwd ;;
28246 [\\/]* | ?
:[\\/]* ) # Absolute name.
28247 ac_srcdir
=$srcdir$ac_dir_suffix;
28248 ac_top_srcdir
=$srcdir
28249 ac_abs_top_srcdir
=$srcdir ;;
28250 *) # Relative name.
28251 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28252 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28253 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28255 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28265 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28266 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28268 ac_MKDIR_P
=$MKDIR_P
28270 [\\/$
]* | ?
:[\\/]* ) ;;
28271 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28276 # If the template does not know about datarootdir, expand it.
28277 # FIXME: This hack should be removed a few years after 2.60.
28278 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28289 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28290 *datarootdir
*) ac_datarootdir_seen
=yes;;
28291 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28293 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28296 ac_datarootdir_hack='
28297 s&@datadir@&$datadir&g
28298 s&@docdir@&$docdir&g
28299 s&@infodir@&$infodir&g
28300 s&@localedir@&$localedir&g
28301 s&@mandir@&$mandir&g
28302 s&\\\${datarootdir}&$datarootdir&g' ;;
28306 # Neutralize VPATH when `$srcdir' = `.'.
28307 # Shell code in configure.ac might set extrasub.
28308 # FIXME: do we really want to maintain this feature?
28309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28310 ac_sed_extra="$ac_vpsub
28313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28315 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28316 s|@configure_input@|
$ac_sed_conf_input|
;t t
28317 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28318 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28319 s
&@srcdir@
&$ac_srcdir&;t t
28320 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28321 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28322 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28323 s
&@builddir@
&$ac_builddir&;t t
28324 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28325 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28326 s
&@INSTALL@
&$ac_INSTALL&;t t
28327 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28328 $ac_datarootdir_hack
28330 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28331 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28333 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28334 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28335 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28337 which seems to be undefined. Please make sure it is defined." >&5
28338 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28339 which seems to be undefined. Please make sure it is defined." >&2;}
28343 -) cat "$tmp/out" && rm -f "$tmp/out";;
28344 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28346 || as_fn_error "could not create $ac_file" "$LINENO" 5
28352 if test x"$ac_file" != x-; then
28354 $as_echo "/* $configure_input */" \
28355 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28356 } >"$tmp/config.h" \
28357 || as_fn_error "could not create $ac_file" "$LINENO" 5
28358 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28359 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28360 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28363 mv "$tmp/config.h" "$ac_file" \
28364 || as_fn_error "could not create $ac_file" "$LINENO" 5
28367 $as_echo "/* $configure_input */" \
28368 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28369 || as_fn_error "could not create -" "$LINENO" 5
28371 # Compute "$ac_file"'s index
in $config_headers.
28374 for _am_header
in $config_headers :; do
28375 case $_am_header in
28376 $_am_arg |
$_am_arg:* )
28379 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28382 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28383 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28384 X"$_am_arg" : 'X\(//\)[^/]' \| \
28385 X"$_am_arg" : 'X\(//\)$' \| \
28386 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28387 $as_echo X"$_am_arg" |
28388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28392 /^X\(\/\/\)[^/].*/{
28404 s/.*/./; q'`/stamp-h
$_am_stamp_count
28407 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28408 $as_echo "$as_me: executing $ac_file commands" >&6;}
28413 case $ac_file$ac_mode in
28415 # Only add multilib support code if we just rebuilt the top-level
28417 case " $CONFIG_FILES " in
28419 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28422 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28423 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28424 # are listed without --file. Let's play safe and only enable the eval
28425 # if we detect the quoting.
28426 case $CONFIG_FILES in
28427 *\'*) eval set x
"$CONFIG_FILES" ;;
28428 *) set x
$CONFIG_FILES ;;
28433 # Strip MF so we end up with the name of the file.
28434 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28435 # Check whether this is an Automake generated Makefile or not.
28436 # We used to match only the files named `Makefile.in', but
28437 # some people rename them; so instead we look at the file content.
28438 # Grep'ing the first line is not enough: some people post-process
28439 # each Makefile.in and add a new line on top of each file to say so.
28440 # Grep'ing the whole file is not good either: AIX grep has a line
28441 # limit of 2048, but all sed's we know have understand at least 4000.
28442 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28443 dirpart
=`$as_dirname -- "$mf" ||
28444 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28445 X"$mf" : 'X\(//\)[^/]' \| \
28446 X"$mf" : 'X\(//\)$' \| \
28447 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28453 /^X\(\/\/\)[^/].*/{
28469 # Extract the definition of DEPDIR, am__include, and am__quote
28470 # from the Makefile without running `make'.
28471 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28472 test -z "$DEPDIR" && continue
28473 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28474 test -z "am__include" && continue
28475 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28476 # When using ansi2knr, U may be empty or an underscore; expand it
28477 U
=`sed -n 's/^U = //p' < "$mf"`
28478 # Find all dependency output files, they are included files with
28479 # $(DEPDIR) in their names. We invoke sed twice because it is the
28480 # simplest approach to changing $(DEPDIR) to its actual value in the
28482 for file in `sed -n "
28483 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28484 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28485 # Make sure the directory exists.
28486 test -f "$dirpart/$file" && continue
28487 fdir
=`$as_dirname -- "$file" ||
28488 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28489 X"$file" : 'X\(//\)[^/]' \| \
28490 X"$file" : 'X\(//\)$' \| \
28491 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28492 $as_echo X"$file" |
28493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28497 /^X\(\/\/\)[^/].*/{
28510 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28511 # echo "creating $dirpart/$file"
28512 echo '# dummy' > "$dirpart/$file"
28519 # See if we are running on zsh, and set the options which allow our
28520 # commands through without removal of \ escapes.
28521 if test -n "${ZSH_VERSION+set}" ; then
28522 setopt NO_GLOB_SUBST
28525 cfgfile
="${ofile}T"
28526 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28529 cat <<_LT_EOF >> "$cfgfile"
28532 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28533 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28534 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28535 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28537 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28538 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28539 # Written by Gordon Matzigkeit, 1996
28541 # This file is part of GNU Libtool.
28543 # GNU Libtool is free software; you can redistribute it and/or
28544 # modify it under the terms of the GNU General Public License as
28545 # published by the Free Software Foundation; either version 2 of
28546 # the License, or (at your option) any later version.
28548 # As a special exception to the GNU General Public License,
28549 # if you distribute this file as part of a program or library that
28550 # is built using GNU Libtool, you may include this file under the
28551 # same distribution terms that you use for the rest of that program.
28553 # GNU Libtool is distributed in the hope that it will be useful,
28554 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28555 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28556 # GNU General Public License for more details.
28558 # You should have received a copy of the GNU General Public License
28559 # along with GNU Libtool; see the file COPYING. If not, a copy
28560 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28561 # obtained by writing to the Free Software Foundation, Inc.,
28562 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28565 # The names of the tagged configurations supported by this script.
28566 available_tags="FC "
28568 # ### BEGIN LIBTOOL CONFIG
28570 # A sed program that does not truncate output.
28573 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28574 Xsed="\$SED -e 1s/^X//"
28576 # A grep program that handles long lines.
28582 # A literal string matcher.
28585 # Shell to use when invoking shell scripts.
28588 # An echo program that protects backslashes.
28591 # Which release of libtool.m4 was used?
28592 macro_version=$macro_version
28593 macro_revision=$macro_revision
28595 # Whether or not to build shared libraries.
28596 build_libtool_libs=$enable_shared
28598 # Whether or not to build static libraries.
28599 build_old_libs=$enable_static
28601 # What type of objects to build.
28604 # Whether or not to optimize for fast installation.
28605 fast_install=$enable_fast_install
28608 host_alias=$host_alias
28612 # The build system.
28613 build_alias=$build_alias
28617 # A BSD- or MS-compatible name lister.
28620 # Whether we need soft or hard links.
28623 # What is the maximum length of a command?
28624 max_cmd_len=$max_cmd_len
28626 # Object file suffix (normally "o").
28629 # Executable file suffix (normally "").
28632 # whether the shell understands "unset".
28635 # turn spaces into newlines.
28638 # turn newlines into spaces.
28641 # An object symbol dumper.
28642 OBJDUMP=$lt_OBJDUMP
28644 # Method to check whether dependent libraries are shared objects.
28645 deplibs_check_method=$lt_deplibs_check_method
28647 # Command to use when deplibs_check_method == "file_magic".
28648 file_magic_cmd=$lt_file_magic_cmd
28652 AR_FLAGS=$lt_AR_FLAGS
28654 # A symbol stripping program.
28657 # Commands used to install an old-style archive.
28659 old_postinstall_cmds=$lt_old_postinstall_cmds
28660 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28662 # Whether to use a lock for old archive extraction.
28663 lock_old_archive_extraction=$lock_old_archive_extraction
28668 # LTCC compiler flags.
28669 LTCFLAGS=$lt_CFLAGS
28671 # Take the output of nm and produce a listing of raw symbols and C names.
28672 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28674 # Transform the output of nm in a proper C declaration.
28675 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28677 # Transform the output of nm in a C name address pair.
28678 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28680 # Transform the output of nm in a C name address pair when lib prefix is needed.
28681 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28683 # The name of the directory that contains temporary libtool files.
28686 # Used to examine libraries when file_magic_cmd begins with "file".
28687 MAGIC_CMD=$MAGIC_CMD
28689 # Must we lock files when doing compilation?
28690 need_locks=$lt_need_locks
28692 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28693 DSYMUTIL=$lt_DSYMUTIL
28695 # Tool to change global to local symbols on Mac OS X.
28698 # Tool to manipulate fat objects and archives on Mac OS X.
28701 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28704 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28705 OTOOL64=$lt_OTOOL64
28707 # Old archive suffix (normally "a").
28710 # Shared library suffix (normally ".so").
28711 shrext_cmds=$lt_shrext_cmds
28713 # The commands to extract the exported symbol list from a shared archive.
28714 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28716 # Variables whose values should be saved in libtool wrapper scripts and
28717 # restored at link time.
28718 variables_saved_for_relink=$lt_variables_saved_for_relink
28720 # Do we need the "lib" prefix for modules?
28721 need_lib_prefix=$need_lib_prefix
28723 # Do we need a version for libraries?
28724 need_version=$need_version
28726 # Library versioning type.
28727 version_type=$version_type
28729 # Shared library runtime path variable.
28730 runpath_var=$runpath_var
28732 # Shared library path variable.
28733 shlibpath_var=$shlibpath_var
28735 # Is shlibpath searched before the hard-coded library search path?
28736 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28738 # Format of library name prefix.
28739 libname_spec=$lt_libname_spec
28741 # List of archive names. First name is the real one, the rest are links.
28742 # The last name is the one that the linker finds with -lNAME
28743 library_names_spec=$lt_library_names_spec
28745 # The coded name of the library, if different from the real name.
28746 soname_spec=$lt_soname_spec
28748 # Permission mode override for installation of shared libraries.
28749 install_override_mode=$lt_install_override_mode
28751 # Command to use after installation of a shared archive.
28752 postinstall_cmds=$lt_postinstall_cmds
28754 # Command to use after uninstallation of a shared archive.
28755 postuninstall_cmds=$lt_postuninstall_cmds
28757 # Commands used to finish a libtool library installation in a directory.
28758 finish_cmds=$lt_finish_cmds
28760 # As "finish_cmds", except a single script fragment to be evaled but
28762 finish_eval=$lt_finish_eval
28764 # Whether we should hardcode library paths into libraries.
28765 hardcode_into_libs=$hardcode_into_libs
28767 # Compile-time system search path for libraries.
28768 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28770 # Run-time system search path for libraries.
28771 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28773 # Whether dlopen is supported.
28774 dlopen_support=$enable_dlopen
28776 # Whether dlopen of programs is supported.
28777 dlopen_self=$enable_dlopen_self
28779 # Whether dlopen of statically linked programs is supported.
28780 dlopen_self_static=$enable_dlopen_self_static
28782 # Commands to strip libraries.
28783 old_striplib=$lt_old_striplib
28784 striplib=$lt_striplib
28787 # The linker used to build libraries.
28790 # How to create reloadable object files.
28791 reload_flag=$lt_reload_flag
28792 reload_cmds=$lt_reload_cmds
28794 # Commands used to build an old-style archive.
28795 old_archive_cmds=$lt_old_archive_cmds
28797 # A language specific compiler.
28800 # Is the compiler the GNU compiler?
28803 # Compiler flag to turn off builtin functions.
28804 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28806 # How to pass a linker flag through the compiler.
28807 wl=$lt_lt_prog_compiler_wl
28809 # Additional compiler flags for building library objects.
28810 pic_flag=$lt_lt_prog_compiler_pic
28812 # Compiler flag to prevent dynamic linking.
28813 link_static_flag=$lt_lt_prog_compiler_static
28815 # Does compiler simultaneously support -c and -o options?
28816 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28818 # Whether or not to add -lc for building shared libraries.
28819 build_libtool_need_lc=$archive_cmds_need_lc
28821 # Whether or not to disallow shared libs when runtime libs are static.
28822 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28824 # Compiler flag to allow reflexive dlopens.
28825 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28827 # Compiler flag to generate shared objects directly from archives.
28828 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28830 # Whether the compiler copes with passing no objects directly.
28831 compiler_needs_object=$lt_compiler_needs_object
28833 # Create an old-style archive from a shared archive.
28834 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28836 # Create a temporary old-style archive to link instead of a shared archive.
28837 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28839 # Commands used to build a shared archive.
28840 archive_cmds=$lt_archive_cmds
28841 archive_expsym_cmds=$lt_archive_expsym_cmds
28843 # Commands used to build a loadable module if different from building
28844 # a shared archive.
28845 module_cmds=$lt_module_cmds
28846 module_expsym_cmds=$lt_module_expsym_cmds
28848 # Whether we are building with GNU ld or not.
28849 with_gnu_ld=$lt_with_gnu_ld
28851 # Flag that allows shared libraries with undefined symbols to be built.
28852 allow_undefined_flag=$lt_allow_undefined_flag
28854 # Flag that enforces no undefined symbols.
28855 no_undefined_flag=$lt_no_undefined_flag
28857 # Flag to hardcode \$libdir into a binary during linking.
28858 # This must work even if \$libdir does not exist
28859 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28861 # If ld is used when linking, flag to hardcode \$libdir into a binary
28862 # during linking. This must work even if \$libdir does not exist.
28863 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28865 # Whether we need a single "-rpath" flag with a separated argument.
28866 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28868 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28869 # DIR into the resulting binary.
28870 hardcode_direct=$hardcode_direct
28872 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28873 # DIR into the resulting binary and the resulting library dependency is
28874 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28875 # library is relocated.
28876 hardcode_direct_absolute=$hardcode_direct_absolute
28878 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28879 # into the resulting binary.
28880 hardcode_minus_L=$hardcode_minus_L
28882 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28883 # into the resulting binary.
28884 hardcode_shlibpath_var=$hardcode_shlibpath_var
28886 # Set to "yes" if building a shared library automatically hardcodes DIR
28887 # into the library and all subsequent libraries and executables linked
28889 hardcode_automatic=$hardcode_automatic
28891 # Set to yes if linker adds runtime paths of dependent libraries
28892 # to runtime path list.
28893 inherit_rpath=$inherit_rpath
28895 # Whether libtool must link a program against all its dependency libraries.
28896 link_all_deplibs=$link_all_deplibs
28898 # Fix the shell variable \$srcfile for the compiler.
28899 fix_srcfile_path=$lt_fix_srcfile_path
28901 # Set to "yes" if exported symbols are required.
28902 always_export_symbols=$always_export_symbols
28904 # The commands to list exported symbols.
28905 export_symbols_cmds=$lt_export_symbols_cmds
28907 # Symbols that should not be listed in the preloaded symbols.
28908 exclude_expsyms=$lt_exclude_expsyms
28910 # Symbols that must always be exported.
28911 include_expsyms=$lt_include_expsyms
28913 # Commands necessary for linking programs (against libraries) with templates.
28914 prelink_cmds=$lt_prelink_cmds
28916 # Specify filename containing input files.
28917 file_list_spec=$lt_file_list_spec
28919 # How to hardcode a shared library path into an executable.
28920 hardcode_action=$hardcode_action
28922 # The directories searched by this compiler when creating a shared library.
28923 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28925 # Dependencies to place before and after the objects being linked to
28926 # create a shared library.
28927 predep_objects=$lt_predep_objects
28928 postdep_objects=$lt_postdep_objects
28929 predeps=$lt_predeps
28930 postdeps=$lt_postdeps
28932 # The library search path used internally by the compiler when linking
28933 # a shared library.
28934 compiler_lib_search_path=$lt_compiler_lib_search_path
28936 # ### END LIBTOOL CONFIG
28942 cat <<\_LT_EOF
>> "$cfgfile"
28943 # AIX sometimes has problems with the GCC collect2 program. For some
28944 # reason, if we set the COLLECT_NAMES environment variable, the problems
28945 # vanish in a puff of smoke.
28946 if test "X${COLLECT_NAMES+set}" != Xset
; then
28948 export COLLECT_NAMES
28955 ltmain
="$ac_aux_dir/ltmain.sh"
28958 # We use sed instead of cat because bash on DJGPP gets confused if
28959 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28960 # text mode, it properly converts lines to CR/LF. This bash problem
28961 # is reportedly fixed, but why not run on old versions too?
28962 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28963 ||
(rm -f "$cfgfile"; exit 1)
28967 cat << \_LT_EOF
>> "$cfgfile"
28969 # func_dirname file append nondir_replacement
28970 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28971 # otherwise set result to NONDIR_REPLACEMENT.
28975 */*) func_dirname_result
="${1%/*}${2}" ;;
28976 * ) func_dirname_result
="${3}" ;;
28980 # func_basename file
28983 func_basename_result
="${1##*/}"
28986 # func_dirname_and_basename file append nondir_replacement
28987 # perform func_basename and func_dirname in a single function
28989 # dirname: Compute the dirname of FILE. If nonempty,
28990 # add APPEND to the result, otherwise set result
28991 # to NONDIR_REPLACEMENT.
28992 # value returned in "$func_dirname_result"
28993 # basename: Compute filename of FILE.
28994 # value retuned in "$func_basename_result"
28995 # Implementation must be kept synchronized with func_dirname
28996 # and func_basename. For efficiency, we do not delegate to
28997 # those functions but instead duplicate the functionality here.
28998 func_dirname_and_basename
()
29001 */*) func_dirname_result
="${1%/*}${2}" ;;
29002 * ) func_dirname_result
="${3}" ;;
29004 func_basename_result
="${1##*/}"
29007 # func_stripname prefix suffix name
29008 # strip PREFIX and SUFFIX off of NAME.
29009 # PREFIX and SUFFIX must not contain globbing or regex special
29010 # characters, hashes, percent signs, but SUFFIX may contain a leading
29011 # dot (in which case that matches only a dot).
29014 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29015 # positional parameters, so assign one to ordinary parameter first.
29016 func_stripname_result
=${3}
29017 func_stripname_result
=${func_stripname_result#"${1}"}
29018 func_stripname_result
=${func_stripname_result%"${2}"}
29024 func_opt_split_opt
=${1%%=*}
29025 func_opt_split_arg
=${1#*=}
29032 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29033 *) func_lo2o_result
=${1} ;;
29037 # func_xform libobj-or-source
29040 func_xform_result
=${1%.*}.lo
29043 # func_arith arithmetic-term...
29046 func_arith_result
=$
(( $
* ))
29050 # STRING may not start with a hyphen.
29053 func_len_result
=${#1}
29058 *) # Bourne compatible functions.
29059 cat << \_LT_EOF
>> "$cfgfile"
29061 # func_dirname file append nondir_replacement
29062 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29063 # otherwise set result to NONDIR_REPLACEMENT.
29066 # Extract subdirectory from the argument.
29067 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29068 if test "X$func_dirname_result" = "X${1}"; then
29069 func_dirname_result
="${3}"
29071 func_dirname_result
="$func_dirname_result${2}"
29075 # func_basename file
29078 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29082 # func_stripname prefix suffix name
29083 # strip PREFIX and SUFFIX off of NAME.
29084 # PREFIX and SUFFIX must not contain globbing or regex special
29085 # characters, hashes, percent signs, but SUFFIX may contain a leading
29086 # dot (in which case that matches only a dot).
29087 # func_strip_suffix prefix name
29091 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29092 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29097 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29098 my_sed_long_arg
='1s/^-[^=]*=//'
29103 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29104 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29110 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29113 # func_xform libobj-or-source
29116 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29119 # func_arith arithmetic-term...
29122 func_arith_result
=`expr "$@"`
29126 # STRING may not start with a hyphen.
29129 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29135 case $lt_shell_append in
29137 cat << \_LT_EOF
>> "$cfgfile"
29139 # func_append var value
29140 # Append VALUE to the end of shell variable VAR.
29148 cat << \_LT_EOF
>> "$cfgfile"
29150 # func_append var value
29151 # Append VALUE to the end of shell variable VAR.
29162 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29163 ||
(rm -f "$cfgfile"; exit 1)
29165 mv -f "$cfgfile" "$ofile" ||
29166 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29170 cat <<_LT_EOF >> "$ofile"
29172 # ### BEGIN LIBTOOL TAG CONFIG: FC
29174 # The linker used to build libraries.
29177 # How to create reloadable object files.
29178 reload_flag=$lt_reload_flag_FC
29179 reload_cmds=$lt_reload_cmds_FC
29181 # Commands used to build an old-style archive.
29182 old_archive_cmds=$lt_old_archive_cmds_FC
29184 # A language specific compiler.
29187 # Is the compiler the GNU compiler?
29190 # Compiler flag to turn off builtin functions.
29191 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29193 # How to pass a linker flag through the compiler.
29194 wl=$lt_lt_prog_compiler_wl_FC
29196 # Additional compiler flags for building library objects.
29197 pic_flag=$lt_lt_prog_compiler_pic_FC
29199 # Compiler flag to prevent dynamic linking.
29200 link_static_flag=$lt_lt_prog_compiler_static_FC
29202 # Does compiler simultaneously support -c and -o options?
29203 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29205 # Whether or not to add -lc for building shared libraries.
29206 build_libtool_need_lc=$archive_cmds_need_lc_FC
29208 # Whether or not to disallow shared libs when runtime libs are static.
29209 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29211 # Compiler flag to allow reflexive dlopens.
29212 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29214 # Compiler flag to generate shared objects directly from archives.
29215 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29217 # Whether the compiler copes with passing no objects directly.
29218 compiler_needs_object=$lt_compiler_needs_object_FC
29220 # Create an old-style archive from a shared archive.
29221 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29223 # Create a temporary old-style archive to link instead of a shared archive.
29224 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29226 # Commands used to build a shared archive.
29227 archive_cmds=$lt_archive_cmds_FC
29228 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29230 # Commands used to build a loadable module if different from building
29231 # a shared archive.
29232 module_cmds=$lt_module_cmds_FC
29233 module_expsym_cmds=$lt_module_expsym_cmds_FC
29235 # Whether we are building with GNU ld or not.
29236 with_gnu_ld=$lt_with_gnu_ld_FC
29238 # Flag that allows shared libraries with undefined symbols to be built.
29239 allow_undefined_flag=$lt_allow_undefined_flag_FC
29241 # Flag that enforces no undefined symbols.
29242 no_undefined_flag=$lt_no_undefined_flag_FC
29244 # Flag to hardcode \$libdir into a binary during linking.
29245 # This must work even if \$libdir does not exist
29246 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29248 # If ld is used when linking, flag to hardcode \$libdir into a binary
29249 # during linking. This must work even if \$libdir does not exist.
29250 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29252 # Whether we need a single "-rpath" flag with a separated argument.
29253 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29255 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29256 # DIR into the resulting binary.
29257 hardcode_direct=$hardcode_direct_FC
29259 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29260 # DIR into the resulting binary and the resulting library dependency is
29261 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29262 # library is relocated.
29263 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29265 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29266 # into the resulting binary.
29267 hardcode_minus_L=$hardcode_minus_L_FC
29269 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29270 # into the resulting binary.
29271 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29273 # Set to "yes" if building a shared library automatically hardcodes DIR
29274 # into the library and all subsequent libraries and executables linked
29276 hardcode_automatic=$hardcode_automatic_FC
29278 # Set to yes if linker adds runtime paths of dependent libraries
29279 # to runtime path list.
29280 inherit_rpath=$inherit_rpath_FC
29282 # Whether libtool must link a program against all its dependency libraries.
29283 link_all_deplibs=$link_all_deplibs_FC
29285 # Fix the shell variable \$srcfile for the compiler.
29286 fix_srcfile_path=$lt_fix_srcfile_path_FC
29288 # Set to "yes" if exported symbols are required.
29289 always_export_symbols=$always_export_symbols_FC
29291 # The commands to list exported symbols.
29292 export_symbols_cmds=$lt_export_symbols_cmds_FC
29294 # Symbols that should not be listed in the preloaded symbols.
29295 exclude_expsyms=$lt_exclude_expsyms_FC
29297 # Symbols that must always be exported.
29298 include_expsyms=$lt_include_expsyms_FC
29300 # Commands necessary for linking programs (against libraries) with templates.
29301 prelink_cmds=$lt_prelink_cmds_FC
29303 # Specify filename containing input files.
29304 file_list_spec=$lt_file_list_spec_FC
29306 # How to hardcode a shared library path into an executable.
29307 hardcode_action=$hardcode_action_FC
29309 # The directories searched by this compiler when creating a shared library.
29310 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29312 # Dependencies to place before and after the objects being linked to
29313 # create a shared library.
29314 predep_objects=$lt_predep_objects_FC
29315 postdep_objects=$lt_postdep_objects_FC
29316 predeps=$lt_predeps_FC
29317 postdeps=$lt_postdeps_FC
29319 # The library search path used internally by the compiler when linking
29320 # a shared library.
29321 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29323 # ### END LIBTOOL TAG CONFIG: FC
29328 if test "$GCC" = yes; then
29329 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29331 echo "/* generated for $CC */" > tmp-stdint.h
29334 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29336 #ifndef GCC_GENERATED_STDINT_H
29337 #define GCC_GENERATED_STDINT_H 1
29339 #include <sys/types.h>
29342 if test "$acx_cv_header_stdint" != stdint.h
; then
29343 echo "#include <stddef.h>" >> tmp-stdint.h
29345 if test "$acx_cv_header_stdint" != stddef.h
; then
29346 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29349 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29350 /* glibc uses these symbols as guards to prevent redefinitions. */
29351 #ifdef __int8_t_defined
29356 #ifdef __uint32_t_defined
29362 # ----------------- done header, emit basic int types -------------
29363 if test "$acx_cv_header_stdint" = stddef.h
; then
29364 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29368 #ifndef __uint8_t_defined
29369 #define __uint8_t_defined
29371 typedef unsigned $acx_cv_type_int8_t uint8_t;
29378 #ifndef __uint16_t_defined
29379 #define __uint16_t_defined
29381 typedef unsigned $acx_cv_type_int16_t uint16_t;
29388 #ifndef __uint32_t_defined
29389 #define __uint32_t_defined
29391 typedef unsigned $acx_cv_type_int32_t uint32_t;
29398 #ifndef __int8_t_defined
29399 #define __int8_t_defined
29401 typedef $acx_cv_type_int8_t int8_t;
29408 #ifndef __int16_t_defined
29409 #define __int16_t_defined
29411 typedef $acx_cv_type_int16_t int16_t;
29418 #ifndef __int32_t_defined
29419 #define __int32_t_defined
29421 typedef $acx_cv_type_int32_t int32_t;
29426 elif test "$ac_cv_type_u_int32_t" = yes; then
29427 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29429 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29442 #ifndef __uint8_t_defined
29443 #define __uint8_t_defined
29445 typedef u_int8_t uint8_t;
29452 #ifndef __uint16_t_defined
29453 #define __uint16_t_defined
29455 typedef u_int16_t uint16_t;
29462 #ifndef __uint32_t_defined
29463 #define __uint32_t_defined
29465 typedef u_int32_t uint32_t;
29471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29473 /* Some systems have guard macros to prevent redefinitions, define them. */
29495 # ------------- done basic int types, emit int64_t types ------------
29496 if test "$ac_cv_type_uint64_t" = yes; then
29497 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29499 /* system headers have good uint64_t and int64_t */
29507 elif test "$ac_cv_type_u_int64_t" = yes; then
29508 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29510 /* system headers have an u_int64_t (and int64_t) */
29516 #ifndef __uint64_t_defined
29517 #define __uint64_t_defined
29519 typedef u_int64_t uint64_t;
29524 elif test -n "$acx_cv_type_int64_t"; then
29525 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29527 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29531 typedef $acx_cv_type_int64_t int64_t;
29536 #ifndef __uint64_t_defined
29537 #define __uint64_t_defined
29539 typedef unsigned $acx_cv_type_int64_t uint64_t;
29545 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29547 /* some common heuristics for int64_t, using compiler-specific tests */
29548 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29551 #ifndef __int64_t_defined
29553 typedef long long int64_t;
29560 typedef unsigned long long uint64_t;
29564 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29565 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29566 does not implement __extension__. But that compiler doesn't define
29568 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29569 # define __extension__
29575 __extension__ typedef long long int64_t;
29581 __extension__ typedef unsigned long long uint64_t;
29585 #elif !defined __STRICT_ANSI__
29586 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29591 typedef __int64 int64_t;
29597 typedef unsigned __int64 uint64_t;
29600 # endif /* compiler */
29602 #endif /* ANSI version */
29606 # ------------- done int64_t types, emit intptr types ------------
29607 if test "$ac_cv_type_uintptr_t" != yes; then
29608 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29610 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29611 #ifndef __uintptr_t_defined
29613 typedef u$acx_cv_type_intptr_t uintptr_t;
29616 #ifndef __intptr_t_defined
29618 typedef $acx_cv_type_intptr_t intptr_t;
29624 # ------------- done intptr types, emit int_least types ------------
29625 if test "$ac_cv_type_int_least32_t" != yes; then
29626 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29628 /* Define int_least types */
29629 typedef int8_t int_least8_t;
29630 typedef int16_t int_least16_t;
29631 typedef int32_t int_least32_t;
29633 typedef int64_t int_least64_t;
29636 typedef uint8_t uint_least8_t;
29637 typedef uint16_t uint_least16_t;
29638 typedef uint32_t uint_least32_t;
29640 typedef uint64_t uint_least64_t;
29645 # ------------- done intptr types, emit int_fast types ------------
29646 if test "$ac_cv_type_int_fast32_t" != yes; then
29647 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29649 /* Define int_fast types. short is often slow */
29650 typedef int8_t int_fast8_t;
29651 typedef int int_fast16_t;
29652 typedef int32_t int_fast32_t;
29654 typedef int64_t int_fast64_t;
29657 typedef uint8_t uint_fast8_t;
29658 typedef unsigned int uint_fast16_t;
29659 typedef uint32_t uint_fast32_t;
29661 typedef uint64_t uint_fast64_t;
29666 if test "$ac_cv_type_uintmax_t" != yes; then
29667 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29669 /* Define intmax based on what we found */
29672 typedef int64_t intmax_t;
29674 typedef long intmax_t;
29679 typedef uint64_t uintmax_t;
29681 typedef unsigned long uintmax_t;
29687 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29689 #endif /* GCC_GENERATED_STDINT_H */
29692 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29695 mv -f tmp-stdint.h gstdint.h
29706 ac_clean_files
=$ac_clean_files_save
29708 test $ac_write_fail = 0 ||
29709 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29712 # configure is writing to config.log, and then calls config.status.
29713 # config.status does its own redirection, appending to config.log.
29714 # Unfortunately, on DOS this fails, as config.log is still kept open
29715 # by configure, so config.status won't be able to write to it; its
29716 # output is simply discarded. So we exec the FD to /dev/null,
29717 # effectively closing config.log, so it can be properly (re)opened and
29718 # appended to by config.status. When coming back to configure, we
29719 # need to make the FD available again.
29720 if test "$no_create" != yes; then
29722 ac_config_status_args
=
29723 test "$silent" = yes &&
29724 ac_config_status_args
="$ac_config_status_args --quiet"
29726 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29728 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29729 # would make configure fail if this is the last instruction.
29730 $ac_cs_success || as_fn_exit $?
29732 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29734 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}